Thunar segfault on directory listing g_themed_icon_get_names: assertion 'G_IS_THEMED_ICON (icon)' failed
Version information
4.20.0
Arch extra-testing repository
I'm receiving segfault error when trying to scroll my home directory.
Valgrind output
(thunar:2023213): thunar-WARNING **: 14:40:32.337: Name 'org.freedesktop.FileManager1' lost on the message dbus.
(thunar:2023213): GLib-GIO-CRITICAL **: 14:40:38.607: g_themed_icon_get_names: assertion 'G_IS_THEMED_ICON (icon)' failed
==2023213== Thread 1:
==2023213== Invalid read of size 8
==2023213== at 0x146853: thunar_file_get_emblem_names (thunar-file.c:3786)
==2023213== by 0x151A18: thunar_icon_renderer_render (thunar-icon-renderer.c:640)
==2023213== by 0x4A43594: gtk_cell_renderer_render (gtkcellrenderer.c:833)
==2023213== by 0x48F33B9: exo_icon_view_paint_item.part.0.lto_priv.0 (exo-icon-view.c:3797)
==2023213== by 0x48ED021: UnknownInlinedFun (exo-icon-view.c:3724)
==2023213== by 0x48ED021: exo_icon_view_draw (exo-icon-view.c:1861)
==2023213== by 0x4CBE9E9: gtk_widget_draw_internal (gtkwidget.c:7084)
==2023213== by 0x4A6DB01: gtk_container_propagate_draw (gtkcontainer.c:3854)
==2023213== by 0x4A6DC2C: gtk_container_draw (gtkcontainer.c:3674)
==2023213== by 0x4BEA656: gtk_scrolled_window_render (gtkscrolledwindow.c:2119)
==2023213== by 0x4A6E664: gtk_css_custom_gadget_draw (gtkcsscustomgadget.c:159)
==2023213== by 0x4A83749: gtk_css_gadget_draw (gtkcssgadget.c:885)
==2023213== by 0x4BE1C84: gtk_scrolled_window_draw (gtkscrolledwindow.c:3044)
==2023213== Address 0x0 is not stack'd, malloc'd or (recently) free'd
==2023213==
==2023213==
==2023213== Process terminating with default action of signal 11 (SIGSEGV): dumping core
==2023213== Access not within mapped region at address 0x0
==2023213== at 0x146853: thunar_file_get_emblem_names (thunar-file.c:3786)
==2023213== by 0x151A18: thunar_icon_renderer_render (thunar-icon-renderer.c:640)
==2023213== by 0x4A43594: gtk_cell_renderer_render (gtkcellrenderer.c:833)
==2023213== by 0x48F33B9: exo_icon_view_paint_item.part.0.lto_priv.0 (exo-icon-view.c:3797)
==2023213== by 0x48ED021: UnknownInlinedFun (exo-icon-view.c:3724)
==2023213== by 0x48ED021: exo_icon_view_draw (exo-icon-view.c:1861)
==2023213== by 0x4CBE9E9: gtk_widget_draw_internal (gtkwidget.c:7084)
==2023213== by 0x4A6DB01: gtk_container_propagate_draw (gtkcontainer.c:3854)
==2023213== by 0x4A6DC2C: gtk_container_draw (gtkcontainer.c:3674)
==2023213== by 0x4BEA656: gtk_scrolled_window_render (gtkscrolledwindow.c:2119)
==2023213== by 0x4A6E664: gtk_css_custom_gadget_draw (gtkcsscustomgadget.c:159)
==2023213== by 0x4A83749: gtk_css_gadget_draw (gtkcssgadget.c:885)
==2023213== by 0x4BE1C84: gtk_scrolled_window_draw (gtkscrolledwindow.c:3044)
==2023213== If you believe this happened as a result of a stack
==2023213== overflow in your program's main thread (unlikely but
==2023213== possible), you can try to increase the size of the
==2023213== main thread stack using the --main-stacksize= flag.
==2023213== The main thread stack size used in this run was 8388608.
==2023213==
==2023213== HEAP SUMMARY:
==2023213== in use at exit: 8,081,604 bytes in 95,082 blocks
==2023213== total heap usage: 796,614 allocs, 701,532 frees, 67,528,260 bytes allocated
==2023213==
==2023213== LEAK SUMMARY:
==2023213== definitely lost: 21,504 bytes in 9 blocks
==2023213== indirectly lost: 31,537 bytes in 1,330 blocks
==2023213== possibly lost: 35,166 bytes in 276 blocks
==2023213== still reachable: 7,308,357 bytes in 87,605 blocks
==2023213== suppressed: 216 bytes in 1 blocks
==2023213== Rerun with --leak-check=full to see details of leaked memory
==2023213==
==2023213== Use --track-origins=yes to see where uninitialised values come from
==2023213== For lists of detected and suppressed errors, rerun with: -s
==2023213== ERROR SUMMARY: 8 errors from 7 contexts (suppressed: 0 from 0)
Edited by Nikita Demidov