View Issue Details

IDProjectCategoryView StatusLast Update
0001765ardourbugspublic2014-01-04 01:19
Reportersongshop Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionfixed 
Product Version2.0 
Summary0001765: Ardour2 crashes out when using punch-in record mode.
DescriptionDiscovered major flaw in write action, depth of bug was heightened by use of mtc. Recorded a passage then did punch in which first generated "disk too slow" errors. With MTC sync enabled playback continued where ardour would normally have stopped on error. Eventually this caused disk butler errors and crashes ardour with a segfault.

Maybe as a result ardour reporting jack zombie condition even though jack was running and functional. May or may not be related.

Note from Sampo:
the write_source is null
Additional Informationno space in Ardour-UI request buffer for thread disk butler
no space in Ardour-UI request buffer for thread disk butler
ardour-2.0.3: /usr/include/boost/shared_ptr.hpp:253: T* boost::shared_ptr<T>::operator->() const [with T = ARDOUR::AudioFileSource]: Assertion `px != 0' failed.

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

Thread 5 (Thread -1264214864 (LWP 5750)):
#0 0xb7f86410 in __kernel_vsyscall ()
0000001 0xb6ae8833 in poll () from /lib/libc.so.6
#2 0xb7ec0567 in ARDOUR::Session::midi_thread_work (this=0x8d9c220) at libs/ardour/session_midi.cc:1207
#3 0xb7ec0acf in ARDOUR::Session::_midi_thread_work (arg=0x8d9c220) at libs/ardour/session_midi.cc:1128
0000004 0xb6c4e4bb in start_thread () from /lib/libpthread.so.0
0000005 0xb6af188e in clone () from /lib/libc.so.6

Thread 4 (Thread -1263711056 (LWP 5749)):
#0 0xb7f86410 in __kernel_vsyscall ()
0000001 0xb6a5c711 in raise () from /lib/libc.so.6
#2 0xb6a5de48 in abort () from /lib/libc.so.6
#3 0xb6a55fcc in __assert_fail () from /lib/libc.so.6
0000004 0x084c6e41 in boost::shared_ptr<ARDOUR::AudioFileSource>::operator-> (this=0x9ad57f8)
    at /usr/include/boost/shared_ptr.hpp:253
0000005 0xb7d48e3e in ARDOUR::AudioDiskstream::transport_stopped (this=0x9ad55f0, when=@0xb6b5c300, twhen=1184306029,
    abort_capture=false) at libs/ardour/audio_diskstream.cc:1586
#6 0xb7eece30 in ARDOUR::Session::non_realtime_stop (this=0x8d9c220, abort=false, on_entry=1, finished=@0xb4ad4367)
    at libs/ardour/session_transport.cc:355
#7 0xb7eedb2c in ARDOUR::Session::butler_transport_work (this=0x8d9c220) at libs/ardour/session_transport.cc:238
0000008 0xb7ea2a77 in ARDOUR::Session::butler_thread_work (this=0x8d9c220) at libs/ardour/session_butler.cc:241
0000009 0xb7ea34d7 in ARDOUR::Session::_butler_thread_work (arg=0x8d9c220) at libs/ardour/session_butler.cc:157
0000010 0xb6c4e4bb in start_thread () from /lib/libpthread.so.0
0000011 0xb6af188e in clone () from /lib/libc.so.6

Thread 3 (Thread -1252246640 (LWP 5748)):
#0 0xb7f86410 in __kernel_vsyscall ()
0000001 0xb6ae8833 in poll () from /lib/libc.so.6
#2 0xb6c6771b in ?? () from /usr/lib/libjack.so.0
#3 0x08a8bb08 in ?? ()
0000004 0x00000002 in ?? ()
0000005 0x00000001 in ?? ()
#6 0x00000000 in ?? ()

Thread 2 (Thread -1237619536 (LWP 5747)):
#0 0xb7f86410 in __kernel_vsyscall ()
0000001 0xb6c55b26 in ?? () from /lib/libpthread.so.0
#2 0xb76e7b12 in g_usleep () from /usr/lib/libglib-2.0.so.0
#3 0xb6f3264d in Glib::usleep (microseconds=10000) at libs/glibmm2/glibmm/timer.cc:68
0000004 0xb7d79cb4 in ARDOUR::AudioEngine::meter_thread (this=0x8a8bd38) at libs/ardour/audioengine.cc:412
0000005 0xb7d7c9ba in sigc::bound_mem_functor0<void, ARDOUR::AudioEngine>::operator() (this=0x8a8b634)
    at libs/sigc++2/sigc++/functors/mem_fun.h:1781
#6 0xb7d7c9dc in sigc::adaptor_functor<sigc::bound_mem_functor0<void, ARDOUR::AudioEngine> >::operator() (this=0x8a8b630)
    at libs/sigc++2/sigc++/adaptors/adaptor_trait.h:251
#7 0xb7d7ca08 in sigc::internal::slot_call0<sigc::bound_mem_functor0<void, ARDOUR::AudioEngine>, void>::call_it (
    rep=0x8a8b618) at libs/sigc++2/sigc++/functors/slot.h:103
0000008 0x08362e9c in sigc::slot0<void>::operator() (this=0x8a02730) at libs/sigc++2/sigc++/functors/slot.h:440
---Type <return> to continue, or q <return> to quit---
0000009 0xb6f4c78b in call_thread_entry_slot (data=0x8a02730) at libs/glibmm2/glibmm/thread.cc:43
0000010 0xb76e58cf in ?? () from /usr/lib/libglib-2.0.so.0
0000011 0x08a02730 in ?? ()
0000012 0x08a8b660 in ?? ()
0000013 0xb6c49000 in ?? ()
0000014 0x000140f4 in ?? ()
#15 0xb6a3f164 in ?? () from /lib/libc.so.6
0000016 0xb6c5cff4 in ?? () from /lib/libpthread.so.0
#17 0xb6c50760 in ?? () from /lib/libpthread.so.0
0000018 0xb6c5cff4 in ?? () from /lib/libpthread.so.0
0000019 0x00000000 in ?? ()

Thread 1 (Thread -1233238352 (LWP 5743)):
#0 0xb76d65ca in g_pattern_match () from /usr/lib/libglib-2.0.so.0
0000001 0xb74164ae in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#2 0x08975638 in ?? ()
#3 0x00000024 in ?? ()
0000004 0xb741859f in gtk_rc_get_style () from /usr/lib/libgtk-x11-2.0.so.0
0000005 0xb74eb5e8 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#6 0x0af0e508 in ?? ()
#7 0x088489e0 in ?? ()
0000008 0xbff30b38 in ?? ()
0000009 0xb796bbf3 in Gtk::Widget::set_name (this=0xaf0e508, name=@0xb7b9f170) at libs/gtkmm2/gtk/gtkmm/widget.cc:5200
0000010 0xb796a9d9 in Gtk::Widget::ensure_style (this=0xbff30b6c) at libs/gtkmm2/gtk/gtkmm/widget.cc:5490
0000011 0x086ec1db in rgba_from_style (style=@0xbff30e60, r=255, g=0, b=0, a=0, attr=@0xbff30e58, state=0, rgba=false)
    at gtk2_ardour/utils.cc:284
0000012 0x0850e147 in Editor::add_audio_region_to_region_display (this=0x8be5608, region=@0xbff30ff8)
    at gtk2_ardour/editor_region_list.cc:131
0000013 0x0850f6b9 in Editor::handle_new_audio_region (this=0x8be5608, wregion=@0xbff3103c)
    at gtk2_ardour/editor_region_list.cc:72
0000014 0x0847ce37 in sigc::bound_mem_functor1<void, Editor, boost::weak_ptr<ARDOUR::AudioRegion> >::operator() (
    this=0xae3c3298, _A_a1=@0xae3c32a4) at libs/sigc++2/sigc++/functors/mem_fun.h:1838
#15 0x0850fe3b in sigc::adaptor_functor<sigc::bound_mem_functor1<void, Editor, boost::weak_ptr<ARDOUR::AudioRegion> > >::operator()<boost::weak_ptr<ARDOUR::AudioRegion>&> (this=0xae3c3294, _A_arg1=@0xae3c32a4)
    at libs/sigc++2/sigc++/adaptors/adaptor_trait.h:84
0000016 0x0850fe5c in sigc::bind_functor<-1, sigc::bound_mem_functor1<void, Editor, boost::weak_ptr<ARDOUR::AudioRegion> >, boost::weak_ptr<ARDOUR::AudioRegion>, sigc::nil_, sigc::nil_, sigc::nil_, sigc::nil_, sigc::nil_, sigc::nil_>::operator() (
    this=0xae3c3290) at libs/sigc++2/sigc++/adaptors/bind.h:1269
#17 0x0850fe78 in sigc::internal::slot_call0<sigc::bind_functor<-1, sigc::bound_mem_functor1<void, Editor, boost::weak_ptr<ARDOUR::AudioRegion> >, boost::weak_ptr<ARDOUR::AudioRegion>, sigc::nil_, sigc::nil_, sigc::nil_, sigc::nil_, sigc::nil_, sigc::nil_>, void>::call_it (rep=0xae3c3278) at libs/sigc++2/sigc++/functors/slot.h:103
0000018 0x08362e9c in sigc::slot0<void>::operator() (this=0x8db253c) at libs/sigc++2/sigc++/functors/slot.h:440
0000019 0xb7b5c6aa in Gtkmm2ext::UI::do_request (this=0x882d660, req=0x8db2510) at libs/gtkmm2ext/gtk_ui.cc:359
0000020 0xb7b663d3 in AbstractUI<Gtkmm2ext::UIRequest>::handle_ui_requests (this=0x882d670) at libs/pbd/pbd/abstract_ui.cc:106
0000021 0xb7b5c521 in Gtkmm2ext::UI::signal_pipe_callback (arg=0x882d660, fd=6, cond=GDK_INPUT_READ)
    at libs/gtkmm2ext/gtk_ui.cc:341
0000022 0xb7238cf5 in ?? () from /usr/lib/libgdk-x11-2.0.so.0
0000023 0x0882d660 in ?? ()
---Type <return> to continue, or q <return> to quit---
#24 0x00000006 in ?? ()
0000025 0xb76f11df in ?? () from /usr/lib/libglib-2.0.so.0
0000026 0x08859230 in ?? ()
0000027 0x00000001 in ?? ()
0000028 0xb772e480 in ?? () from /usr/lib/libglib-2.0.so.0
0000029 0xb6c51ef0 in ?? () from /lib/libpthread.so.0
0000030 0x08859288 in ?? ()
0000031 0xbff312b8 in ?? ()
0000032 0xb76c7bc1 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
#0 0xb7f86410 in __kernel_vsyscall ()
TagsNo tags attached.

Activities

songshop

2007-07-19 21:41

reporter   ~0004174

i have noticed a substantial increase in "p" buffer usage when slaving to mtc tho... increases the used amount by 20-30%.

track number is unimportant.crossfade "depth" is an issue here. if you have multiple crossfades present on the timeline at a given point and they are active (curves visible) this will cause playback to stop.

g

Issue History

Date Modified Username Field Change
2007-07-13 08:33 songshop New Issue
2007-07-19 21:41 songshop Note Added: 0004174
2014-01-04 01:19 songshop Status new => closed
2014-01-04 01:19 songshop Resolution open => fixed