GLib-GIO-CRITICAL when moving files during search
Reproducer:
- mkdir -p test/sub/folder
- touch test/sub/folderfile
- open test in thunar
- start search, insert "folder" as search string
- Drag and Drop
folderfile
intofolder
- Open
folder
by activating it - Drag and Drop
folderfile
back intosub
- goto 3.
On the second iteration the GLib-GIO-CRITICAL messages will be shown on step 5.
Console messages:
(thunar:19876): thunar-WARNING **: 15:01:56.853: Content type loading failed for folderfile: Fehler beim Holen der Informationen für Datei »/home/schwinn/test/sub/folderfile«: Datei oder Verzeichnis nicht gefunden
(thunar:19876): GLib-GIO-CRITICAL **: 15:01:56.853: g_file_info_get_attribute_uint32: assertion 'G_IS_FILE_INFO (info)' failed
(thunar:19876): GLib-GIO-CRITICAL **: 15:01:56.853: g_file_info_get_attribute_uint32: assertion 'G_IS_FILE_INFO (info)' failed
(thunar:19876): thunar-CRITICAL **: 15:01:56.853: thunar_file_get_preview_icon: assertion '(((__extension__ ({ GTypeInstance *__inst = (GTypeInstance*) ((file->info)); GType __t = ((g_file_info_get_type ())); gboolean __r; if (!__inst) __r = (0); else if (__inst->g_class && __inst->g_class->g_type == __t) __r = (!(0)); else __r = g_type_check_instance_is_a (__inst, __t); __r; }))))' failed
backtrace when using --g-fatal-warnings
:
Thread 1 "thunar" received signal SIGTRAP, Trace/breakpoint trap.
0x00007ffff70569da in g_logv () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
(gdb) bt
#0 0x00007ffff70569da in g_logv () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#1 0x00007ffff7056c8f in g_log () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2 0x00005555555b2390 in thunar_file_get_content_type (file=file@entry=0x7fffd80510b0) at thunar-file.c:2511
#3 0x00005555555b247f in thunar_file_get_content_type_desc (file=0x7fffd80510b0) at thunar-file.c:2551
#4 0x00005555555c7020 in thunar_list_model_get_value
(model=0x555555bdc130, iter=<optimized out>, column=<optimized out>, value=0x7fffffffbf60) at thunar-list-model.c:959
#5 0x00007ffff77d6de0 in () at /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#6 0x00007ffff703cd50 in g_hash_table_foreach () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#7 0x00007ffff77d6cbb in () at /usr/lib/x86_64-linux-gnu/libgtk-3.so.0