Failure to remove file from tree-view-model in some cases
Precondition: Preferences --> Advanced --> Use intermediate file on copy --> Always
. I'll update the issue accordingly
- Create 10.000 files via console:
for i in {1..10000}; do touch $i; done
- Open that folder in list-view
CTRL+A
CTRL+C
CTRL+V
This will result in the following critical:
(thunar:4972): thunar-CRITICAL **: 08:38:27.479: thunar_tree_view_model_dir_remove_file: assertion 'iter != ((void *)0)' failed
thunar_file_reload - destroy for: 130 (Kopie 1).partial~
(thunar:4972): thunar-CRITICAL **: 08:38:27.481: thunar_tree_view_model_dir_remove_file: assertion 'iter != ((void *)0)' failed
thunar_file_reload - destroy for: 131 (Kopie 1).partial~
(thunar:4972): thunar-CRITICAL **: 08:38:27.483: thunar_tree_view_model_dir_remove_file: assertion 'iter != ((void *)0)' failed
thunar_file_reload - destroy for: 133 (Kopie 1).partial~
(thunar:4972): thunar-CRITICAL **: 08:38:27.488: thunar_tree_view_model_dir_remove_file: assertion 'iter != ((void *)0)' failed
thunar_file_reload - destroy for: 366 (Kopie 1).partial~
(thunar:4972): thunar-CRITICAL **: 08:38:27.979: thunar_tree_view_model_dir_remove_file: assertion 'iter != ((void *)0)' failed
thunar_file_reload - destroy for: 404 (Kopie 1).partial~
(thunar:4972): thunar-CRITICAL **: 08:38:28.129: thunar_tree_view_model_dir_remove_file: assertion 'iter != ((void *)0)' failed
thunar_file_reload - destroy for: 873 (Kopie 1).partial~
Click to expand Backtrace
thunar:ERROR:thunar-tree-view-model.c:2258:thunar_tree_view_model_dir_remove_file: assertion failed: (iter != NULL)
Bail out! thunar:ERROR:thunar-tree-view-model.c:2258:thunar_tree_view_model_dir_remove_file: assertion failed: (iter != NULL)
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 0x00007ffff6e9dd2f in __pthread_kill_internal (signo=6, threadid=<optimized out>) at ./nptl/pthread_kill.c:78
#2 0x00007ffff6e4eef2 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 0x000055555561999e in thunar_tree_view_model_dir_remove_file (node=node@entry=0x555555ed9a80, file=file@entry=0x55555699b5e0)
at thunar-tree-view-model.c:2258
#7 0x0000555555619ae9 in _thunar_tree_view_model_dir_files_removed (node=0x555555ed9a80, files=<optimized out>) at thunar-tree-view-model.c:2521
#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 0x00005555555bbe63 in thunar_folder_file_destroyed (file_monitor=<optimized out>, file=0x55555699b5e0, folder=0x555555cc2490)
at thunar-folder.c:688
#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 0x00005555555b7d25 in thunar_file_destroy (file=0x55555699b5e0) at thunar-file.c:4436
#18 0x00005555555b8e58 in thunar_file_reload (file=0x55555699b5e0) at thunar-file.c:4350
#19 0x00007ffff720d703 in () at /lib/x86_64-linux-gnu/libgio-2.0.so.0
#20 0x00007ffff71425a9 in () at /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#21 0x00007ffff715bbbf in g_signal_emit_valist () at /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#22 0x00007ffff715bdbf in g_signal_emit () at /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#23 0x00007ffff72c250a in () at /lib/x86_64-linux-gnu/libgio-2.0.so.0
#24 0x00007ffff70487a9 in g_main_context_dispatch () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#25 0x00007ffff7048a38 in () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#26 0x00007ffff7048acc in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#27 0x00007ffff726865d in g_application_run () at /lib/x86_64-linux-gnu/libgio-2.0.so.0
Edited by Alexander Schwinn