Segmentation fault in thunar_location_buttons_size_allocate()
Not sure if this is a issue of my system or not but here is the backtrace. I only run thunar trash://
and the error occurs. Version of thunar is 4.18.0 compiled on my Xubuntu 22.10.
(gdb) run trash://
Starting program: /usr/local/bin/thunar trash://
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7ffff4dff6c0 (LWP 3829)]
[New Thread 0x7fffeffff6c0 (LWP 3830)]
[New Thread 0x7fffef7fe6c0 (LWP 3831)]
[New Thread 0x7fffeeffd6c0 (LWP 3832)]
Downloading 0.14 MB separate debug info for /usr/lib/x86_64-linux-gnu/gio/modules/libgioremote-volume-monitor.so
[Thread 0x7fffeeffd6c0 (LWP 3832) exited]
[New Thread 0x7fffeeffd6c0 (LWP 3834)]
[Thread 0x7fffeeffd6c0 (LWP 3834) exited]
[New Thread 0x7fffeeffd6c0 (LWP 3835)]
[New Thread 0x7fffed5ff6c0 (LWP 3836)]
[Thread 0x7fffeeffd6c0 (LWP 3835) exited]
[Thread 0x7fffed5ff6c0 (LWP 3836) exited]
[New Thread 0x7fffed5ff6c0 (LWP 3837)]
[New Thread 0x7fffeeffd6c0 (LWP 3838)]
[Thread 0x7fffed5ff6c0 (LWP 3837) exited]
[Thread 0x7fffeeffd6c0 (LWP 3838) exited]
Thread 1 "thunar" received signal SIGSEGV, Segmentation fault.
thunar_location_buttons_size_allocate (widget=<optimized out>, allocation=<optimized out>) at thunar-location-buttons.c:740
740 for (lp = buttons->first_visible_button->next; lp != NULL; lp = lp->next)
(gdb) bt
#0 thunar_location_buttons_size_allocate
(widget=<optimized out>, allocation=<optimized out>)
at thunar-location-buttons.c:740
#1 0x00007ffff799c668 in gtk_widget_size_allocate_with_baseline
(widget=0x555555859130, allocation=<optimized out>, baseline=<optimized out>) at ../../../../gtk/gtkwidget.c:6179
#2 0x00007ffff77268f3 in gtk_bin_size_allocate
(widget=0x7fffe8016310, allocation=0x7fffffffc9a0)
at ../../../../gtk/gtkbin.c:312
#3 0x00007ffff799c668 in gtk_widget_size_allocate_with_baseline
(widget=0x7fffe8016310, allocation=<optimized out>, baseline=<optimized out>) at ../../../../gtk/gtkwidget.c:6179
#4 0x00007ffff7949f6c in gtk_tool_item_size_allocate
(widget=0x7fffe801f660, allocation=0x7fffffffcac0)
at ../../../../gtk/gtktoolitem.c:534
#5 0x00007ffff799c668 in gtk_widget_size_allocate_with_baseline
(widget=0x7fffe801f660, allocation=<optimized out>, baseline=<optimized out>) at ../../../../gtk/gtkwidget.c:6179
#6 0x00007ffff794ce2e in toolbar_content_size_allocate
(allocation=0x7fffffffcbd0, content=0x55555567c590)
at ../../../../gtk/gtktoolbar.c:3470
#7 gtk_toolbar_allocate
(gadget=<optimized out>, allocation=<optimized out>, baseline=<optimized out--Type <RET> for more, q to quit, c to continue without paging--
>, out_clip=<optimized out>, data=<optimized out>)
at ../../../../gtk/gtktoolbar.c:1831
#8 0x00007ffff7787d7e in gtk_css_gadget_allocate
(gadget=0x555555a8be10, allocation=0x7fffffffcde0, baseline=-1, out_clip=0x7fffffffcd10) at ../../../../gtk/gtkcssgadget.c:790
#9 0x00007ffff7947c15 in gtk_toolbar_size_allocate
(widget=0x555555749280, allocation=0x7fffffffcde0)
at ../../../../gtk/gtktoolbar.c:1881
#10 0x00007ffff799c668 in gtk_widget_size_allocate_with_baseline
(widget=0x555555749280, allocation=<optimized out>, baseline=<optimized out>) at ../../../../gtk/gtkwidget.c:6179
#11 0x00007ffff780dbe8 in gtk_grid_request_allocate_children
(allocation=0x7fffffffd050, request=0x7fffffffcf80)
at ../../../../gtk/gtkgrid.c:1634
#12 gtk_grid_allocate
(gadget=<optimized out>, allocation=0x7fffffffd050, baseline=<optimized out>, out_clip=<optimized out>, data=<optimized out>)
at ../../../../gtk/gtkgrid.c:1697
#13 0x00007ffff7787d7e in gtk_css_gadget_allocate
(gadget=0x555555807ba0, allocation=0x7fffffffd190, baseline=-1, out_clip=0x7fffffffd0d0) at ../../../../gtk/gtkcssgadget.c:790
#14 0x00007ffff780af37 in gtk_grid_size_allocate
(widget=0x5555557a2140, allocation=0x7fffffffd190)
--Type <RET> for more, q to quit, c to continue without paging--
at ../../../../gtk/gtkgrid.c:1648
#15 0x00007ffff799c668 in gtk_widget_size_allocate_with_baseline
(widget=0x5555557a2140, allocation=<optimized out>, baseline=<optimized out>) at ../../../../gtk/gtkwidget.c:6179
#16 0x00007ffff79b8bdb in gtk_window_size_allocate
(widget=0x555555837520, allocation=<optimized out>)
at ../../../../gtk/gtkwindow.c:8071
#17 0x00007ffff7140f60 in g_closure_invoke
(closure=0x555555703ad0, return_value=0x0, n_param_values=2, param_values=0x7fffffffd3c0, invocation_hint=0x7fffffffd340)
at ../../../gobject/gclosure.c:832
#18 0x00007ffff716e9fd in signal_emit_unlocked_R.isra.0
(node=node@entry=0x555555703b20, detail=detail@entry=0, instance=instance@entry=0x555555837520, emission_return=emission_return@entry=0x0, instance_and_params=instance_and_params@entry=0x7fffffffd3c0) at ../../../gobject/gsignal.c:3726
#19 0x00007ffff715f12a in g_signal_emit_valist
(instance=<optimized out>, signal_id=<optimized out>, detail=<optimized out>, var_args=var_args@entry=0x7fffffffd580) at ../../../gobject/gsignal.c:3549
#20 0x00007ffff715f3b3 in g_signal_emit
(instance=instance@entry=0x555555837520, signal_id=<optimized out>, detail=detail@entry=0) at ../../../gobject/gsignal.c:3606
#21 0x00007ffff799c96a in gtk_widget_size_allocate_with_baseline
(widget=0x555555837520, allocation=<optimized out>, baseline=<optimized out>--Type <RET> for more, q to quit, c to continue without paging--
) at ../../../../gtk/gtkwidget.c:6177
#22 0x00007ffff79bd492 in gtk_window_move_resize (window=0x555555837520)
at ../../../../gtk/gtkwindow.c:10300
#23 0x00007ffff715f2cc in _g_closure_invoke_va
(param_types=<optimized out>, n_params=<optimized out>, args=0x7fffffffd9d0, instance=<optimized out>, return_value=<optimized out>, closure=0x5555556b4340) at ../../../gobject/gclosure.c:895
#24 g_signal_emit_valist
(instance=<optimized out>, signal_id=<optimized out>, detail=<optimized out>, var_args=var_args@entry=0x7fffffffd9d0) at ../../../gobject/gsignal.c:3456
#25 0x00007ffff715f3b3 in g_signal_emit
(instance=instance@entry=0x555555837520, signal_id=<optimized out>, detail=detail@entry=0) at ../../../gobject/gsignal.c:3606
#26 0x00007ffff7774871 in gtk_container_check_resize
(container=container@entry=0x555555837520)
at ../../../../gtk/gtkcontainer.c:2176
#27 0x00007ffff7774980 in gtk_container_idle_sizer
(clock=0x5555556fbbf0, container=0x555555837520)
at ../../../../gtk/gtkcontainer.c:2066
#28 0x00007ffff715f2cc in _g_closure_invoke_va
(param_types=<optimized out>, n_params=<optimized out>, args=0x7fffffffdc60, instance=<optimized out>, return_value=<optimized out>, closure=0x5555558674d0) at ../../../gobject/gclosure.c:895
--Type <RET> for more, q to quit, c to continue without paging--
#29 g_signal_emit_valist
(instance=<optimized out>, signal_id=<optimized out>, detail=<optimized out>, var_args=var_args@entry=0x7fffffffdc60) at ../../../gobject/gsignal.c:3456
#30 0x00007ffff715f3b3 in g_signal_emit
(instance=instance@entry=0x5555556fbbf0, signal_id=<optimized out>, detail=detail@entry=0) at ../../../gobject/gsignal.c:3606
#31 0x00007ffff753ec3b in _gdk_frame_clock_emit_layout
(frame_clock=0x5555556fbbf0) at ../../../../gdk/gdkframeclock.c:651
#32 gdk_frame_clock_paint_idle (data=0x5555556fbbf0)
at ../../../../gdk/gdkframeclockidle.c:575
#33 0x00007ffff752b2ab in gdk_threads_dispatch (data=0x55555595c9a0)
at ../../../../gdk/gdk.c:769
#34 0x00007ffff7049a92 in g_timeout_dispatch
(source=0x555555c9b7b0, callback=<optimized out>, user_data=<optimized out>) at ../../../glib/gmain.c:5007
#35 0x00007ffff70493cf in g_main_dispatch (context=0x555555670ec0)
at ../../../glib/gmain.c:3444
#36 g_main_context_dispatch (context=0x555555670ec0)
at ../../../glib/gmain.c:4162
#37 0x00007ffff709e228 in g_main_context_iterate.constprop.0
(context=0x555555670ec0, block=<optimized out>, dispatch=1, self=<optimized out>) at ../../../glib/gmain.c:4238
#38 0x00007ffff7046cb0 in g_main_context_iteration
--Type <RET> for more, q to quit, c to continue without paging--
(context=context@entry=0x555555670ec0, may_block=may_block@entry=1)
at ../../../glib/gmain.c:4303
#39 0x00007ffff726e36d in g_application_run
(application=0x5555556890f0, argc=argc@entry=2, argv=argv@entry=0x7fffffffe048) at ../../../gio/gapplication.c:2571
#40 0x0000555555585b73 in main (argc=2, argv=0x7fffffffe048) at main.c:86