GIMP 2.10.12 File Dialog Crash (issue in Glib, requires 2.62.x and up to fix)
GIMP version: 2.10.12
Operating System: Arch Linux
Package: https://www.archlinux.org/packages/extra/x86_64/gimp/
Description of the bug
Program crashes immediately when trying to open or save files to my desktop or downloads folder
Reproduction
Is the bug reproducible? Always
Reproduction steps:
- Start Gimp
- Click File
- Click Open
- Click Desktop (or Downloads)
Expected result: Able to save or open files from any location Actual result: Program crashes
Additional information
gimp --verbose
(script-fu:3347): LibGimpBase-WARNING **: 16:02:09.859: script-fu: gimp_wire_read(): error
Segmentation fault (core dumped)
Backtrace:
Thread 1 "gimp" received signal SIGSEGV, Segmentation fault.
__gio_xdg_cache_mime_type_subclass (mime=0x7fffc462f1dc "application/zip", base=base@entry=0x7fffb0001650 "image/x-flic") at ../glib/gio/xdgmime/xdgmimecache.c:910
910 umime = _xdg_mime_cache_unalias_mime_type (mime);
(gdb) bt
#0 0x00007ffff67be109 in __gio_xdg_cache_mime_type_subclass (mime=0x7fffc462f1dc "application/zip", base=base@entry=0x7fffb0001650 "image/x-flic") at ../glib/gio/xdgmime/xdgmimecache.c:910
#1 0x00007ffff67be311 in __gio_xdg_cache_mime_type_subclass (mime=<optimized out>, base=<optimized out>, base@entry=0x7fffb0001650 "image/x-flic") at ../glib/gio/xdgmime/xdgmimecache.c:968
.....
#87337 0x00007ffff67be311 in __gio_xdg_cache_mime_type_subclass (mime=<optimized out>, base=<optimized out>) at ../glib/gio/xdgmime/xdgmimecache.c:968
#87338 0x00007ffff682cde3 in _gio_xdg_mime_type_subclass (base=0x7fffb0001650 "image/x-flic", mime=0x555559123000 "application/wps-office.xlsx") at ../glib/gio/xdgmime/xdgmime.c:884
#87339 0x00007ffff682cde3 in g_content_type_is_a (type=0x555559123000 "application/wps-office.xlsx", supertype=0x7fffb0001650 "image/x-flic", type=<optimized out>, supertype=<optimized out>) at ../glib/gio/gcontenttype.c:262
#87340 0x00007ffff73d24e9 in gtk_file_filter_filter () at /usr/lib/libgtk-x11-2.0.so.0
#87341 0x00007ffff73d6592 in () at /usr/lib/libgtk-x11-2.0.so.0
#87342 0x00007ffff73d6d9c in () at /usr/lib/libgtk-x11-2.0.so.0
#87343 0x00007ffff73d6feb in () at /usr/lib/libgtk-x11-2.0.so.0
#87344 0x00007ffff6887f1b in next_async_callback_wrapper (source_object=0x555559191860, res=<optimized out>, user_data=<optimized out>) at ../glib/gio/gfileenumerator.c:305
#87345 0x00007ffff6841084 in g_task_return_now (task=0x5555591939c0) at ../glib/gio/gtask.c:1209
#87346 0x00007ffff68410b9 in complete_in_idle_cb (task=0x5555591939c0) at ../glib/gio/gtask.c:1223
#87347 0x00007ffff666d7b1 in g_main_dispatch (context=0x555555f85850) at ../glib/glib/gmain.c:3189
#87348 0x00007ffff666d7b1 in g_main_context_dispatch (context=context@entry=0x555555f85850) at ../glib/glib/gmain.c:3854
#87349 0x00007ffff666f869 in g_main_context_iterate (context=0x555555f85850, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/glib/gmain.c:3927
#87350 0x00007ffff66707f2 in g_main_loop_run (loop=0x5555584d1860) at ../glib/glib/gmain.c:4123
#87351 0x000055555561cc4e in app_run (full_prog_name=<optimized out>, filenames=<optimized out>, alternate_system_gimprc=<optimized out>, alternate_gimprc=<optimized out>, session_name=<optimized out>, batch_interpreter=0x0, batch_commands=0x0, as_new=0, no_interface=0, no_data=0, no_fonts=0, no_splash=0, be_verbose=0, use_shm=1, use_cpu_accel=1, console_messages=0, use_debug_handler=0, show_playground=0, show_debug_menu=0, stack_trace_mode=GIMP_STACK_TRACE_NEVER, pdb_compat_mode=GIMP_PDB_COMPAT_ON, backtrace_file=0x555555e9a390 "/home/ripster/.config/GIMP/2.10/CrashLog/GIMP-crash-1562713195.txt") at app.c:433
#87352 0x000055555561c4ea in main (argc=<optimized out>, argv=<optimized out>) at main.c:531
Edited by Michael Schumacher