Opened 8 years ago

Closed 8 years ago

#901 closed Bug Report (fixed)

idle wrapper crash when GUI is closed

Reported by: Robin Gareus Owned by: David Robillard
Priority: major Component: Suil
Keywords: Cc:


reproduce: Close a LV2 GUI that uses the idle-wrapper in Ardour3. Most of the time this crashes ardour.

The problem seems to be that the window has already gone away but the idle-thread is still active:

Program received signal SIGSEGV, Segmentation fault.
0xa21fd68c in suil_x11_wrapper_idle () from .../lib/suil-0/
(gdb) bt
#0  0xa21fd68c in suil_x11_wrapper_idle () from .../lib/suil-0/                                                          
#1  0xb6949fdf in g_timeout_dispatch (source=0xb57fdb8, callback=0xa21fd65d <suil_x11_wrapper_idle>, user_data=0xb536108) at gmain.c:3882
#2  0xb69492e6 in g_main_dispatch (context=0x9700678) at gmain.c:2539
#3  g_main_context_dispatch (context=0x9700678) at gmain.c:3075
#4  0xb6949685 in g_main_context_iterate (dispatch=1, block=-1231720896, context=0x9700678, self=<optimized out>) at gmain.c:3146
#5  g_main_context_iterate (context=0x9700678, block=-1231720896, dispatch=1, self=<optimized out>) at gmain.c:3083
#6  0xb6949acb in g_main_loop_run (loop=0xaa175c8) at gmain.c:3340
#7  0xb65c0bef in IA__gtk_main () at /build/buildd-gtk+2.0_2.24.8-2-i386-QCV9OW/gtk+2.0-2.24.8/gtk/gtkmain.c:1256
#8  0xb5d35264 in Gtk::Main::run_impl() () from /usr/lib/
#9  0xb5d35c9f in Gtk::Main::run() () from /usr/lib/
#10 0xb6f90418 in Gtkmm2ext::UI::run (this=0x96d8c10, old_receiver=...) at ../libs/gtkmm2ext/
#11 0x08dd4b1c in main (argc=2, argv=0xbfffeb64) at ../gtk2_ardour/

(Alas, libsuil was not compiled with debug symbols, if it helps I can do that.)

libsuil version 0.6.12 -- SVN Revision: 5103

Change History (1)

comment:1 Changed 8 years ago by David Robillard

Resolution: fixed
Status: newclosed

Fixed in r5105.

Note: See TracTickets for help on using tickets.