View Issue Details

IDProjectCategoryView StatusLast Update
0000075ardourbugspublic2003-12-12 16:04
Reporternbd Assigned Topaul  
PrioritynormalSeveritycrashReproducibilityalways
Status closedResolutionfixed 
Summary0000075: clicking marker line with range tool crashes when no session loaded
DescriptionStart ardour, select range tool, click the marker line -> crash
Additional InformationFrom cvs updated less than an hour ago.

gdb output:

Thread 5 (Thread 49156 (LWP 15864)):
0 0x406ce666 in poll () from /lib/libc.so.6
1 0x40285afa in jack_client_thread (arg=0x86a06f0) 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 15863)):
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 15862)):
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 15861)):
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 15859)):
0 0x084d86b4 in ARDOUR::Session::bbt_time(unsigned, ARDOUR::BBT_Time&) () at basic_signal.cc:25
1 0x08221ea1 in Editor::show_verbose_time_cursor(unsigned, double, double, double) () at basic_signal.cc:25
2 0x082224c2 in Editor::start_selection_op(_GtkCanvasItem*, _GdkEvent*, Editor::SelectionOp) () at basic_signal.cc:25
3 0x0821cfbb in Editor::button_press_handler(_GtkCanvasItem*, _GdkEvent*, Editor::ItemType) () at basic_signal.cc:25
4 0x08209c36 in Editor::typed_event(_GtkCanvasItem*, _GdkEvent*, Editor::ItemType) () at basic_signal.cc:25
5 0x0820a848 in Editor::canvas_marker_bar_event(_GtkCanvasItem*, _GdkEvent*) () at basic_signal.cc:25
6 0x083a6536 in gtk_canvas_item_marshal_signal_1 (object=0x1,
    func=0x8209a30 <Editor::_canvas_marker_bar_event(_GtkCanvasItem*, _GdkEvent*, void*)>, func_data=0x1, args=0x861702c)
    at gtk-canvas.c:542
7 0x400e7a9e in gtk_signal_remove_emission_hook () from /usr/lib/libgtk-1.2.so.0
8 0x400e6f1c in gtk_signal_set_funcs () from /usr/lib/libgtk-1.2.so.0
9 0x400e4ea8 in gtk_signal_emit () from /usr/lib/libgtk-1.2.so.0
10 0x083aa54e in emit_event (canvas=0x88216d0, event=0xbffff16c) at gtk-canvas.c:2819
11 0x083aabca in gtk_canvas_button (widget=0x88216d0, event=0x88b2f60) at gtk-canvas.c:3029
12 0x083f46ed in gtkmm_marshal_INT__POINTER(_GtkObject*, void (*)(), void*, _GtkArg*) (object=0x1,
    func=0x83aaa40 <gtk_canvas_button>, func_data=0x1, args=0x861702c) at marshal.cc:240
13 0x400e6d77 in gtk_signal_set_funcs () from /usr/lib/libgtk-1.2.so.0
14 0x400e4ea8 in gtk_signal_emit () from /usr/lib/libgtk-1.2.so.0
15 0x4011aa5a in gtk_widget_event () from /usr/lib/libgtk-1.2.so.0
16 0x400b805c in gtk_propagate_event () from /usr/lib/libgtk-1.2.so.0
17 0x400b717d in gtk_main_do_event () from /usr/lib/libgtk-1.2.so.0
18 0x4015fe20 in gdk_wm_protocols_filter () from /usr/lib/libgdk-1.2.so.0
TagsNo tags attached.

Activities

paul

2003-10-24 03:05

administrator   ~0000075

this bug is indicative of a pervasive problem in ardour: the missing session. tim suggested some time ago that we should do something akin to what emacs does when started without an explicit file: just have a default buffer sitting there.

it would eliminate a huge class of bugs, and remove all the if (!session) code that is dotted all over the place.

paul

2003-11-05 03:41

administrator   ~0000142

fixed in paul's code, november 4th 2003.

another clear example of the problems caused by not having a default session.

Issue History

Date Modified Username Field Change
2003-10-23 22:30 nbd New Issue
2003-10-24 03:05 paul Note Added: 0000075
2003-11-05 03:41 paul Status new => resolved
2003-11-05 03:41 paul Resolution open => fixed
2003-11-05 03:41 paul Assigned To => paul
2003-11-05 03:41 paul Note Added: 0000142
2003-12-12 16:04 taybin Status resolved => closed