Crash in list-view & duplicate in icon-view on F5 after file rename on remote location
Happens when using a remote location, tested via using sftp to a local folder: sftp://schwinn@localhost/home/schwinn/.thunartest/
Steps to reproduce:
- Rename some file
- Press F5
In list view, I directly get a crash, in icon view, the file will be displayed twice
Here the trace:
thunar:ERROR:thunar-tree-view-model.c:2221:thunar_tree_view_model_dir_add_file: assertion failed: (!g_hash_table_contains (node->set, file))
Bail out! thunar:ERROR:thunar-tree-view-model.c:2221:thunar_tree_view_model_dir_add_file: assertion failed: (!g_hash_table_contains (node->set, file))
Thread 1 "thunar" received signal SIGABRT, Aborted.
__pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at ./nptl/pthread_kill.c:44
44 ./nptl/pthread_kill.c: Datei oder Verzeichnis nicht gefunden.
(gdb) bt
#0 __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at ./nptl/pthread_kill.c:44
#1 0x00007ffff6e9dd9f in __pthread_kill_internal (signo=6, threadid=<optimized out>) at ./nptl/pthread_kill.c:78
#2 0x00007ffff6e4ef32 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#3 0x00007ffff6e39472 in __GI_abort () at ./stdlib/abort.c:79
#4 0x00007ffff7011ec8 in () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5 0x00007ffff7071e1a in g_assertion_message_expr () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6 0x0000555555619f07 in thunar_tree_view_model_dir_add_file (node=node@entry=0x555555eb1920, file=file@entry=0x555555d30200)
at thunar-tree-view-model.c:2221
#7 0x000055555561a517 in _thunar_tree_view_model_dir_files_added (node=0x555555eb1920, files=<optimized out>)
at thunar-tree-view-model.c:2490
#8 0x00007ffff71423b0 in g_closure_invoke () at /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#9 0x00007ffff7155076 in () at /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#10 0x00007ffff715bbf5 in g_signal_emit_valist () at /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#11 0x00007ffff715bdbf in g_signal_emit () at /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#12 0x00005555555bc683 in thunar_folder_finished (job=<optimized out>, folder=0x555555e55240) at thunar-folder.c:509
#13 0x00007ffff71423b0 in g_closure_invoke () at /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#14 0x00007ffff7155076 in () at /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#15 0x00007ffff715bbf5 in g_signal_emit_valist () at /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#16 0x00007ffff715bdbf in g_signal_emit () at /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#17 0x00007ffff7f71edf in exo_job_finished (job=<optimized out>) at exo-job.c:437
#18 exo_job_async_ready (user_data=<optimized out>) at exo-job.c:274
#19 0x00007ffff704867f in g_main_context_dispatch () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#20 0x00007ffff7048a38 in () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#21 0x00007ffff7048acc in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#22 0x00007ffff726865d in g_application_run () at /lib/x86_64-linux-gnu/libgio-2.0.so.0
#23 0x0000555555581152 in main (argc=2, argv=0x7fffffffe0d8) at main.c:86