View Issue Details

IDProjectCategoryView StatusLast Update
0001301ardourbugspublic2008-11-20 23:46
Reporterforest Assigned Topaul  
PrioritynormalSeveritycrashReproducibilityalways
Status closedResolutionfixed 
Summary0001301: Ardour 2 -> Export Recorded Waveform By Right Clicking In Track: Segfault.
DescriptionArdour 2 segfaults when right-click export is chosen for a recorded waveform in the main window. Contact me for a core, if desired.
TagsNo tags attached.

Activities

2006-11-06 22:43

 

backtrace.txt (11,446 bytes)   
Ardour comes with ABSOLUTELY NO WARRANTY
not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
This is free software, and you are welcome to redistribute it 
under certain conditions; see the source for copying conditions.
Loading ui configuration file gtk2_ardour/ardour2_ui.rc
[New Thread -1237066848 (LWP 3620)]
loading system configuration file /etc/ardour2/ardour_system.rc
loading user configuration file /home/marco/.ardour2/ardour.rc
OSC @ osc.udp://michel.neverland:3819/
[New Thread -1245623392 (LWP 3621)]
Enabling SSE optimized routines
ardour: [INFO]: looking for control protocols in /home/marco/.ardour2/surfaces/:/usr/lib/ardour2/surfaces/
ardour: [INFO]: Control protocol Tranzport not usable
ardour: [INFO]: Control surface protocol discovered: "Generic MIDI"
[New Thread -1265075296 (LWP 3622)]
[New Thread -1273468000 (LWP 3623)]
ardour: [WARNING]: Your system generates "Mod2" when the NumLock key is pressed. This can cause problems when editing so Ardour will use Mod3 to mean Meta rather than Mod2
[New Thread -1282425952 (LWP 3624)]
[New Thread -1291211872 (LWP 3625)]
[Thread -1273468000 (LWP 3623) exited]
[Thread -1265075296 (LWP 3622) exited]
[Thread -1291211872 (LWP 3625) exited]
Loading session /home/marco/test using snapshot test (1)
[New Thread -1265075296 (LWP 3626)]
[New Thread -1291211872 (LWP 3627)]
Loading history from '/home/marco/test/test.history'.
[New Thread -1304962144 (LWP 3628)]
[New Thread -1273468000 (LWP 3629)]
ardour.bin: /usr/include/boost/shared_ptr.hpp:253: T* boost::shared_ptr<T>::operator->() const [with T = ARDOUR::AudioRegion]: Assertion `px != 0' failed.

Program received signal SIGABRT, Aborted.
[Switching to Thread -1273468000 (LWP 3629)]
0xffffe410 in __kernel_vsyscall ()
(gdb) thread apply all bt

Thread 11 (Thread -1273468000 (LWP 3629)):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb69c07b1 in raise () from /lib/libc.so.6
#2  0xb69c1e49 in abort () from /lib/libc.so.6
#3  0xb69b9ebc in __assert_fail () from /lib/libc.so.6
#4  0x084122c5 in boost::shared_ptr<ARDOUR::AudioRegion>::operator-> (this=0x9028050) at /usr/include/boost/shared_ptr.hpp:253
#5  0x0851f941 in ExportRegionDialog::export_region (this=0x9027a00) at gtk2_ardour/export_region_dialog.cc:71
#6  0x0851f9df in ExportRegionDialog::_export_region_thread (arg=0x9027a00) at gtk2_ardour/export_region_dialog.cc:64
#7  0xb6abb514 in start_thread () from /lib/libpthread.so.0
#8  0xb6a540ee in clone () from /lib/libc.so.6

Thread 10 (Thread -1304962144 (LWP 3628)):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb6a4b243 in poll () from /lib/libc.so.6
#2  0xb6ca31fb in jack_client_thread (arg=0x89c06b8) at client.c:1278
#3  0xb6ca85c0 in jack_thread_proxy (varg=0x8f7bd80) at thread.c:111
#4  0xb6abb514 in start_thread () from /lib/libpthread.so.0
#5  0xb6a540ee in clone () from /lib/libc.so.6

Thread 9 (Thread -1291211872 (LWP 3627)):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb6a4b243 in poll () from /lib/libc.so.6
 #2  0xb7ea5655 in ARDOUR::Session::midi_thread_work (this=0x8d965c0) at libs/ardour/session_midi.cc:1206
#3  0xb7ea5bbd in ARDOUR::Session::_midi_thread_work (arg=0x8d965c0) at libs/ardour/session_midi.cc:1127
#4  0xb6abb514 in start_thread () from /lib/libpthread.so.0
#5  0xb6a540ee in clone () from /lib/libc.so.6

Thread 8 (Thread -1265075296 (LWP 3626)):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb6a4b243 in poll () from /lib/libc.so.6
#2  0xb7e8b1eb in ARDOUR::Session::butler_thread_work (this=0x8d965c0) at libs/ardour/session_butler.cc:177
#3  0xb7e8bf6f in ARDOUR::Session::_butler_thread_work (arg=0x8d965c0) at libs/ardour/session_butler.cc:156
#4  0xb6abb514 in start_thread () from /lib/libpthread.so.0
#5  0xb6a540ee in clone () from /lib/libc.so.6

Thread 6 (Thread -1282425952 (LWP 3624)):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb6a4b243 in poll () from /lib/libc.so.6
#2  0xb7d9d64e in ARDOUR::AudioSource::peak_thread_work (arg=0x0) at libs/ardour/audiosource.cc:137
#3  0xb6abb514 in start_thread () from /lib/libpthread.so.0
#4  0xb6a540ee in clone () from /lib/libc.so.6

Thread 3 (Thread -1245623392 (LWP 3621)):
#0  0xffffe410 in __kernel_vsyscall ()
---Type <return> to continue, or q <return> to quit---  
#1  0xb6a4b243 in poll () from /lib/libc.so.6
#2  0xb7ee7365 in ARDOUR::OSC::osc_receiver (this=0x89db668) at libs/ardour/osc.cc:309
#3  0xb7ee7527 in ARDOUR::OSC::_osc_receiver (arg=0x89db668) at libs/ardour/osc.cc:269
#4  0xb6abb514 in start_thread () from /lib/libpthread.so.0
#5  0xb6a540ee in clone () from /lib/libc.so.6

Thread 2 (Thread -1237066848 (LWP 3620)):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb6ac1826 in __nanosleep_nocancel () from /lib/libpthread.so.0
#2  0xb7733312 in IA__g_usleep (microseconds=10000) at gtimer.c:323
#3  0xb6f7debd in Glib::usleep (microseconds=10000) at libs/glibmm2/glibmm/timer.cc:68
#4  0xb7d81782 in ARDOUR::AudioEngine::meter_thread (this=0x89c05c8) at libs/ardour/audioengine.cc:387
#5  0xb7d847d4 in sigc::bound_mem_functor0<void, ARDOUR::AudioEngine>::operator() (this=0x89c0464) at libs/sigc++2/sigc++/functors/mem_fun.h:1781
#6  0xb7d847f6 in sigc::adaptor_functor<sigc::bound_mem_functor0<void, ARDOUR::AudioEngine> >::operator() (this=0x89c0460) at libs/sigc++2/sigc++/adaptors/adaptor_trait.h:251
#7  0xb7d84822 in sigc::internal::slot_call0<sigc::bound_mem_functor0<void, ARDOUR::AudioEngine>, void>::call_it (rep=0x89c0448) at libs/sigc++2/sigc++/functors/slot.h:103
#8  0x08354448 in sigc::slot0<void>::operator() (this=0x89c8418) at libs/sigc++2/sigc++/functors/slot.h:440
#9  0xb6f8293b in call_thread_entry_slot (data=0x89c8418) at libs/glibmm2/glibmm/thread.cc:43
#10 0xb773135f in g_thread_create_proxy (data=0x89c1738) at gthread.c:553
#11 0xb6abb514 in start_thread () from /lib/libpthread.so.0
#12 0xb6a540ee in clone () from /lib/libc.so.6

Thread 1 (Thread -1234188624 (LWP 3617)):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb6a23076 in __nanosleep_nocancel () from /lib/libc.so.6
#2  0xb6a4e2ea in usleep () from /lib/libc.so.6
#3  0x0851fadc in ExportRegionDialog::export_audio_data (this=0x9027a00) at gtk2_ardour/export_region_dialog.cc:53
#4  0x0850dd61 in ExportDialog::do_export (this=0x9027a00) at gtk2_ardour/export_dialog.cc:912
#5  0x0851b192 in sigc::bound_mem_functor0<void, ExportDialog>::operator() (this=0x903d0c4) at libs/sigc++2/sigc++/functors/mem_fun.h:1781
#6  0x0851b1a8 in sigc::adaptor_functor<sigc::bound_mem_functor0<void, ExportDialog> >::operator() (this=0x903d0c0) at libs/sigc++2/sigc++/adaptors/adaptor_trait.h:251
#7  0x0851b1c4 in sigc::internal::slot_call0<sigc::bound_mem_functor0<void, ExportDialog>, void>::call_it (rep=0x903d0a8) at libs/sigc++2/sigc++/functors/slot.h:103
#8  0x08354448 in sigc::slot0<void>::operator() (this=0x903d094) at libs/sigc++2/sigc++/functors/slot.h:440
#9  0xb6f7e961 in Glib::SignalProxyNormal::slot0_void_callback (self=0x8f04aa0, data=0x903d090) at libs/glibmm2/glibmm/signalproxy.cc:95
#10 0xb76c44cb in IA__g_cclosure_marshal_VOID__VOID (closure=0x903d0f0, return_value=0x0, n_param_values=1, param_values=0xbfc7383c, invocation_hint=0xbfc7374c, 
    marshal_data=0xb6f7e91c) at gmarshal.c:77
#11 0xb76b703b in IA__g_closure_invoke (closure=0x903d0f0, return_value=0x0, n_param_values=1, param_values=0xbfc7383c, invocation_hint=0xbfc7374c) at gclosure.c:490
#12 0xb76c78c3 in signal_emit_unlocked_R (node=0x88440c8, detail=0, instance=0x8f04aa0, emission_return=0x0, instance_and_params=0xbfc7383c) at gsignal.c:2510
#13 0xb76c8ad9 in IA__g_signal_emit_valist (instance=0x8f04aa0, signal_id=114, detail=0, var_args=0xbfc73a7c "\n\2365·ðfn· Jð\b\230:Ç¿¼º5· Jð\b\200º5·¸:Ç¿ËDl· Jð\b`l\201\b")
    at gsignal.c:2199
#14 0xb76c8c89 in IA__g_signal_emit (instance=0x8f04aa0, signal_id=114, detail=0) at gsignal.c:2243
#15 0xb7359e51 in IA__gtk_button_clicked (button=0x8f04aa0) at gtkbutton.c:889
#16 0xb735babc in gtk_real_button_released (button=0x8f04aa0) at gtkbutton.c:1484
#17 0xb76c44cb in IA__g_cclosure_marshal_VOID__VOID (closure=0x8846f40, return_value=0x0, n_param_values=1, param_values=0xbfc73cfc, invocation_hint=0xbfc73c0c, 
    marshal_data=0xb735ba80) at gmarshal.c:77
#18 0xb76b5679 in g_type_class_meta_marshal (closure=0x8846f40, return_value=0x0, n_param_values=1, param_values=0xbfc73cfc, invocation_hint=0xbfc73c0c, marshal_data=0x1a4)
    at gclosure.c:567
---Type <return> to continue, or q <return> to quit---
#19 0xb76b703b in IA__g_closure_invoke (closure=0x8846f40, return_value=0x0, n_param_values=1, param_values=0xbfc73cfc, invocation_hint=0xbfc73c0c) at gclosure.c:490
#20 0xb76c7a68 in signal_emit_unlocked_R (node=0x8846f68, detail=0, instance=0x8f04aa0, emission_return=0x0, instance_and_params=0xbfc73cfc) at gsignal.c:2370
#21 0xb76c8ad9 in IA__g_signal_emit_valist (instance=0x8f04aa0, signal_id=113, detail=0, 
    var_args=0xbfc73f3c "\232\2365·p=c· \2375·X?Ç¿A\2375· Jð\b \2375·x?Ç¿Â\230B· Jð\bp\037\003\t°^\201\bðfn·¼AÇ¿X\221\202\b¨?Ç¿yVk·X\221\202\bà@Ç¿\002") at gsignal.c:2199
#22 0xb76c8c89 in IA__g_signal_emit (instance=0x8f04aa0, signal_id=113, detail=0) at gsignal.c:2243
#23 0xb7359ee1 in IA__gtk_button_released (button=0x8f04aa0) at gtkbutton.c:881
#24 0xb7359f41 in gtk_button_button_release (widget=0x8f04aa0, event=0x9031f70) at gtkbutton.c:1377
#25 0xb74298c2 in _gtk_marshal_BOOLEAN__BOXED (closure=0x8829158, return_value=0xbfc740e0, n_param_values=2, param_values=0xbfc741bc, invocation_hint=0xbfc740cc, 
    marshal_data=0xb7359f20) at gtkmarshalers.c:84
#26 0xb76b5679 in g_type_class_meta_marshal (closure=0x8829158, return_value=0xbfc740e0, n_param_values=2, param_values=0xbfc741bc, invocation_hint=0xbfc740cc, 
    marshal_data=0xb4) at gclosure.c:567
#27 0xb76b703b in IA__g_closure_invoke (closure=0x8829158, return_value=0xbfc740e0, n_param_values=2, param_values=0xbfc741bc, invocation_hint=0xbfc740cc) at gclosure.c:490
#28 0xb76c7c1f in signal_emit_unlocked_R (node=0x8827fc8, detail=0, instance=0x8f04aa0, emission_return=0xbfc7437c, instance_and_params=0xbfc741bc) at gsignal.c:2478
#29 0xb76c88b8 in IA__g_signal_emit_valist (instance=0x8f04aa0, signal_id=29, detail=0, var_args=0xbfc74400 "\030DÇ¿p\037\003\t Jð\b¿úS· Jð\b°^\201\b") at gsignal.c:2209
#30 0xb76c8c89 in IA__g_signal_emit (instance=0x8f04aa0, signal_id=29, detail=0) at gsignal.c:2243
#31 0xb753b644 in gtk_widget_event_internal (widget=0x8f04aa0, event=0x9031f70) at gtkwidget.c:3911
#32 0xb7422cf3 in IA__gtk_propagate_event (widget=0x8f04aa0, event=0x9031f70) at gtkmain.c:2188
#33 0xb7423ed7 in IA__gtk_main_do_event (event=0x9031f70) at gtkmain.c:1422
#34 0xb72b9aca in gdk_event_dispatch (source=0x8811068, callback=0, user_data=0x0) at gdkevents-x11.c:2320
#35 0xb77137a1 in IA__g_main_context_dispatch (context=0x88110b0) at gmain.c:2045
#36 0xb7716816 in g_main_context_iterate (context=0x88110b0, block=1, dispatch=1, self=0x87de7d0) at gmain.c:2677
#37 0xb7716bd7 in IA__g_main_loop_run (loop=0x87dd248) at gmain.c:2881
#38 0xb7424351 in IA__gtk_main () at gtkmain.c:1001
#39 0xb7921e19 in Gtk::Main::run_impl (this=0x87df9b0) at libs/gtkmm2/gtk/gtkmm/main.cc:503
#40 0xb7921c26 in Gtk::Main::run () at libs/gtkmm2/gtk/gtkmm/main.cc:450
#41 0xb7b86b13 in Gtkmm2ext::UI::run (this=0x87e1a28, old_receiver=@0x87c2ea4) at libs/gtkmm2ext/gtk_ui.cc:214
#42 0x0858c8d8 in main (argc=1, argv=0xbfc74794) at gtk2_ardour/main.cc:448
#0  0xffffe410 in __kernel_vsyscall ()
(gdb) 
backtrace.txt (11,446 bytes)   

atreju

2006-11-06 22:44

updater   ~0002698

Last edited: 2006-11-06 22:44

Attached backtrace made with rev 1083.

paul

2006-11-08 05:37

administrator   ~0002711

fixed in subversion. caused by a local variable overriding a member variable assignment.

Issue History

Date Modified Username Field Change
2006-11-06 00:04 forest New Issue
2006-11-06 22:43 atreju File Added: backtrace.txt
2006-11-06 22:44 atreju Note Added: 0002698
2006-11-06 22:44 atreju Note Edited: 0002698
2006-11-08 05:37 paul Status new => resolved
2006-11-08 05:37 paul Resolution open => fixed
2006-11-08 05:37 paul Assigned To => paul
2006-11-08 05:37 paul Note Added: 0002711
2008-11-20 23:46 seablade Status resolved => closed