View Issue Details

IDProjectCategoryView StatusLast Update
0000083ardourbugspublic2004-06-02 18:51
Reporternbd Assigned Topaul  
PrioritynormalSeveritycrashReproducibilityalways
Status closedResolutionfixed 
Summary0000083: Clicking location bar's right arrow after closing session crashes the next loaded session
DescriptionStart ardour, make new session, close it, (the location bar stays "small") click the right arrow on location bar (the location bar extends to full scale), load session -> gaboom
Additional InformationCvs from few hours ago..

gdb tells me:

Thread 9 (Thread 114696 (LWP 1526)):
0 0x406ce666 in poll () from /lib/libc.so.6
1 0x084bb695 in ARDOUR::Session::midi_thread_work() () at basic_signal.cc:25
2 0x084bb623 in ARDOUR::Session::_midi_thread_work(void*) () at basic_signal.cc:25
3 0x40291c00 in pthread_start_thread () from /lib/libpthread.so.0
4 0x40291c7f in pthread_start_thread_event () from /lib/libpthread.so.0
5 0x406d6ae7 in clone () from /lib/libc.so.6

Thread 8 (Thread 98311 (LWP 1525)):
0 0x40294364 in __pthread_sigsuspend () from /lib/libpthread.so.0
1 0x40294128 in __pthread_wait_for_restart_signal () from /lib/libpthread.so.0
2 0x40290ccb in pthread_cond_wait@GLIBC_2.0 () from /lib/libpthread.so.0
3 0x0849a804 in ARDOUR::Session::butler_thread_work() () at basic_signal.cc:25
4 0x0849a753 in ARDOUR::Session::_butler_thread_work(void*) () at basic_signal.cc:25
5 0x40291c00 in pthread_start_thread () from /lib/libpthread.so.0
6 0x40291c7f in pthread_start_thread_event () from /lib/libpthread.so.0
7 0x406d6ae7 in clone () from /lib/libc.so.6

Thread 5 (Thread 49156 (LWP 1522)):
0 0x406ce666 in poll () from /lib/libc.so.6
1 0x40285afa in jack_client_thread (arg=0x86a06e8) at client.c:685
2 0x40291c00 in pthread_start_thread () from /lib/libpthread.so.0
3 0x40291c7f in pthread_start_thread_event () from /lib/libpthread.so.0
4 0x406d6ae7 in clone () from /lib/libc.so.6

Thread 4 (Thread 32771 (LWP 1521)):
0 0x40294364 in __pthread_sigsuspend () from /lib/libpthread.so.0
1 0x40294128 in __pthread_wait_for_restart_signal () from /lib/libpthread.so.0
2 0x40290ccb in pthread_cond_wait@GLIBC_2.0 () from /lib/libpthread.so.0
3 0x084e235c in ARDOUR::Source::peak_thread_work(void*) () at basic_signal.cc:25
4 0x40291c00 in pthread_start_thread () from /lib/libpthread.so.0
5 0x40291c7f in pthread_start_thread_event () from /lib/libpthread.so.0
6 0x406d6ae7 in clone () from /lib/libc.so.6

Thread 3 (Thread 16386 (LWP 1520)):
0 0x40628727 in sigsuspend () from /lib/libc.so.6
1 0x40294746 in sigwait () from /lib/libpthread.so.0
2 0x082a73e3 in signal_thread(void*) () at basic_signal.cc:25
3 0x40291c00 in pthread_start_thread () from /lib/libpthread.so.0
4 0x40291c7f in pthread_start_thread_event () from /lib/libpthread.so.0
5 0x406d6ae7 in clone () from /lib/libc.so.6

Thread 2 (Thread 32769 (LWP 1519)):
0 0x406ce666 in poll () from /lib/libc.so.6
1 0x4029190e in __pthread_manager () from /lib/libpthread.so.0
2 0x40291b07 in __pthread_manager_event () from /lib/libpthread.so.0
3 0x406d6ae7 in clone () from /lib/libc.so.6

Thread 1 (Thread 16384 (LWP 1517)):
0 0x0823cf9d in Editor::metric_get_bbt(_GtkCustomRulerMark**, unsigned long, unsigned long, int) ()
    at basic_signal.cc:25
1 0x0823c991 in Editor::_metric_get_bbt(_GtkCustomRulerMark**, unsigned long, unsigned long, int) ()
    at basic_signal.cc:25
2 0x082633f6 in gtk_custom_hruler_draw_ticks (ruler=0x881d480) at gtk-custom-hruler.c:163
3 0x08263e56 in gtk_custom_ruler_draw_ticks (ruler=0x881d480) at gtk-custom-ruler.c:221
4 0x08264466 in gtk_custom_ruler_expose (widget=0x881d480, event=0xbfffe010)
    at gtk-custom-ruler.c:323
5 0x083f46ed in gtkmm_marshal_INT__POINTER(_GtkObject*, void (*)(), void*, _GtkArg*) (
    object=0x88effc0, func=0x8264370 <gtk_custom_ruler_expose>, func_data=0x88effc0, args=0xbb80)
    at marshal.cc:240
6 0x400e6d77 in gtk_signal_set_funcs () from /usr/lib/libgtk-1.2.so.0
7 0x400e4ea8 in gtk_signal_emit () from /usr/lib/libgtk-1.2.so.0
8 0x4011aa5a in gtk_widget_event () from /usr/lib/libgtk-1.2.so.0
9 0x400aef49 in gtk_layout_get_type () from /usr/lib/libgtk-1.2.so.0
10 0x400b83f3 in gtk_marshal_NONE__NONE () from /usr/lib/libgtk-1.2.so.0
11 0x400e7a9e in gtk_signal_remove_emission_hook () from /usr/lib/libgtk-1.2.so.0
12 0x400e6f1c in gtk_signal_set_funcs () from /usr/lib/libgtk-1.2.so.0
13 0x400e4ea8 in gtk_signal_emit () from /usr/lib/libgtk-1.2.so.0
14 0x4004fc54 in gtk_adjustment_value_changed () from /usr/lib/libgtk-1.2.so.0
15 0x4004fad7 in gtk_adjustment_set_value () from /usr/lib/libgtk-1.2.so.0
16 0x081f09b1 in Editor::connect_to_session(ARDOUR::Session*) () at basic_signal.cc:25
17 0x0817ac55 in ARDOUR_UI::connect_dependents_to_session(ARDOUR::Session*) () at basic_signal.cc:25
18 0x0817b7a7 in ARDOUR_UI::connect_to_session(ARDOUR::Session*) () at basic_signal.cc:25
19 0x081669d6 in ARDOUR_UI::load_session(std::string, std::string, std::string*) ()
    at basic_signal.cc:25
20 0x08169317 in ARDOUR_UI::open_ok_clicked() () at basic_signal.cc:25
21 0x0817092e in SigC::ObjectSlot0_<void, ARDOUR_UI>::callback(void*) () at basic_signal.cc:25
22 0x08170aef in Gtk::ProxySignal0<void, Gtk::Button, _GtkButton, 2>::gtk_callback(_GtkObject*, void*) () at basic_signal.cc:25
23 0x400b83f3 in gtk_marshal_NONE__NONE () from /usr/lib/libgtk-1.2.so.0
24 0x400e7a9e in gtk_signal_remove_emission_hook () from /usr/lib/libgtk-1.2.so.0
25 0x400e6f1c in gtk_signal_set_funcs () from /usr/lib/libgtk-1.2.so.0
26 0x400e4ea8 in gtk_signal_emit () from /usr/lib/libgtk-1.2.so.0
27 0x40057e00 in gtk_button_clicked () from /usr/lib/libgtk-1.2.so.0
28 0x4005936f in gtk_button_get_relief () from /usr/lib/libgtk-1.2.so.0
29 0x400b83f3 in gtk_marshal_NONE__NONE () from /usr/lib/libgtk-1.2.so.0
30 0x400e6cce in gtk_signal_set_funcs () from /usr/lib/libgtk-1.2.so.0
31 0x400e4ea8 in gtk_signal_emit () from /usr/lib/libgtk-1.2.so.0
32 0x40057d44 in gtk_button_released () from /usr/lib/libgtk-1.2.so.0
33 0x40058d0e in gtk_button_get_relief () from /usr/lib/libgtk-1.2.so.0
34 0x083f46ed in gtkmm_marshal_INT__POINTER(_GtkObject*, void (*)(), void*, _GtkArg*) (
    object=0x88effc0, func=0x40058c68 <gtk_button_get_relief+3112>, func_data=0x88effc0, args=0xbb80)
    at marshal.cc:240
35 0x400e6d77 in gtk_signal_set_funcs () from /usr/lib/libgtk-1.2.so.0
36 0x400e4ea8 in gtk_signal_emit () from /usr/lib/libgtk-1.2.so.0
37 0x4011aa5a in gtk_widget_event () from /usr/lib/libgtk-1.2.so.0
38 0x400b805c in gtk_propagate_event () from /usr/lib/libgtk-1.2.so.0
39 0x400b717d in gtk_main_do_event () from /usr/lib/libgtk-1.2.so.0
40 0x4015fe20 in gdk_wm_protocols_filter () from /usr/lib/libgdk-1.2.so.0
TagsNo tags attached.

Activities

paul

2003-11-05 04:08

administrator   ~0000143

fixed in paul's code november 4th 2003.

another no-default-session bug.

nbd

2003-12-12 22:19

reporter   ~0000290

Crashes if different session is loaded than the just closed one. Doesn't crash if the same session (which was just closed) is opened.

nbd

2003-12-12 22:31

reporter   ~0000291

Well, the original bug was fixed (clicking location bar's right arrow), but this goes to the same category: clicking the location bar itself. Sorry for not filing different bug, but just noticed this difference (right arrow vs. location bar) after reopening this bug.

Gdb says:
0x0824233d in Editor::metric_get_bbt(_GtkCustomRulerMark**, unsigned long, unsigned long, int) ()
    at basic_signal.cc:25

And you must click on a point other than where the location bar 'bar' is.

Just noticed that this is not always reproducible, so I guess you can't reproduce this if you try.

nbd

2003-12-12 22:44

reporter   ~0000292

Better chances to reproduce this if you zoom in enough to make the location 'bar' small and then move it near the end (right side). Then when you close, the small 'bar' stays visible and try fiddling with that and then load some other session. At least I got some unstability last time I tried (disk butler and transport threads got closed and memory usage kept rising)

I know these all are based on the "no-default-session" issue. This shall be the last bug report about these. I guess I'm just wasting your time with these, since you already know the problem and these bugs relate to that. Sorry for that.

paul

2004-05-26 12:14

administrator   ~0000834

i really do believe that this is solved now. it will need to be reopened if not.

nbd

2004-06-02 18:51

reporter   ~0000956

ok

Issue History

Date Modified Username Field Change
2003-10-24 00:04 nbd New Issue
2003-11-05 04:08 paul Status new => resolved
2003-11-05 04:08 paul Resolution open => fixed
2003-11-05 04:08 paul Assigned To => paul
2003-11-05 04:08 paul Note Added: 0000143
2003-12-12 16:04 taybin Status resolved => closed
2003-12-12 22:19 nbd Status closed => feedback
2003-12-12 22:19 nbd Resolution fixed => reopened
2003-12-12 22:19 nbd Note Added: 0000290
2003-12-12 22:31 nbd Note Added: 0000291
2003-12-12 22:44 nbd Note Added: 0000292
2004-05-26 12:14 paul Status feedback => resolved
2004-05-26 12:14 paul Resolution reopened => fixed
2004-05-26 12:14 paul Note Added: 0000834
2004-06-02 18:51 nbd Status resolved => closed
2004-06-02 18:51 nbd Note Added: 0000956