View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0004547 | ardour | bugs | public | 2011-12-09 11:42 | 2015-09-18 15:17 |
| Reporter | colinf | Assigned To | cth103 | ||
| Priority | normal | Severity | crash | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Summary | 0004547: Crash on opening/creating session with r10942 | ||||
| Description | Something in svn r10942 makes A3 crash on opening or creating a session: ardour-3.0: /usr/include/boost/smart_ptr/shared_ptr.hpp:418: T* boost::shared_ptr< <template-parameter-1-1> >::operator->() const [with T = ARDOUR::IO]: Assertion `px != 0' failed. | ||||
| Additional Information | Backtrace attached. | ||||
| Tags | No tags attached. | ||||
|
2011-12-09 11:42
|
r10942-bt.txt (13,949 bytes)
ardour-3.0: /usr/include/boost/smart_ptr/shared_ptr.hpp:418: T* boost::shared_ptr< <template-parameter-1-1> >::operator->() const [with T = ARDOUR::IO]: Assertion `px != 0' failed.
Program received signal SIGABRT, Aborted.
0xb7fe2424 in __kernel_vsyscall ()
(gdb) subgraph starting at ardour timed out (subgraph_wait_fd=14, status = 0, state = Triggered, pollret = 0 revents = 0x0)
pp: cannot clean up byte from graph wait fd (Resource temporarily unavailable)
(gdb) thread apply all bt
Thread 18 (Thread 0xb0c1eb70 (LWP 24419)):
#0 0xb7fe2424 in __kernel_vsyscall ()
#1 0xb4a1fb86 in *__GI___poll (fds=0xb4ab5ff4, nfds=10, timeout=-1)
at ../sysdeps/unix/sysv/linux/poll.c:87
#2 0xb606d4eb in g_poll () from /lib/libglib-2.0.so.0
#3 0xb60600ac in ?? () from /lib/libglib-2.0.so.0
#4 0xb6060817 in g_main_loop_run () from /lib/libglib-2.0.so.0
#5 0xb61774b5 in Glib::MainLoop::run() () from /usr/lib/libglibmm-2.4.so.1
#6 0xb649319d in BaseUI::main_thread (this=0xb036ec70)
at ../libs/pbd/base_ui.cc:77
#7 0xb6494572 in sigc::bound_mem_functor0<void, BaseUI>::operator() (
this=0xa8496f4c) at /usr/include/sigc++-2.0/sigc++/functors/mem_fun.h:1787
#8 0xb64943e2 in sigc::adaptor_functor<sigc::bound_mem_functor0<void, BaseUI> >::operator() (this=0xa8496f48)
at /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:251
#9 0xb6494152 in sigc::internal::slot_call0<sigc::bound_mem_functor0<void, BaseUI>, void>::call_it (rep=0xa8496f30)
at /usr/include/sigc++-2.0/sigc++/functors/slot.h:103
#10 0xb6171eb2 in ?? () from /usr/lib/libglibmm-2.4.so.1
#11 0xb6086def in ?? () from /lib/libglib-2.0.so.0
#12 0xb4fd296e in start_thread (arg=0xb0c1eb70) at pthread_create.c:300
#13 0xb4a2da4e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130
---Type <return> to continue, or q <return> to quit---
Thread 17 (Thread 0xa81fec90 (LWP 24418)):
#0 0xb7fe2424 in __kernel_vsyscall ()
#1 0xb4a1fb86 in *__GI___poll (fds=0xb4ab5ff4, nfds=1, timeout=-1)
at ../sysdeps/unix/sysv/linux/poll.c:87
#2 0xb75fcef3 in ARDOUR::Butler::thread_work (this=0xa8c5e28)
at ../libs/ardour/butler.cc:153
#3 0xb75fce6a in ARDOUR::Butler::_thread_work (arg=0xa8c5e28)
at ../libs/ardour/butler.cc:137
#4 0xb64c8664 in fake_thread_start (arg=0xb0324928)
at ../libs/pbd/pthread_utils.cc:81
#5 0xb4fd296e in start_thread (arg=0xa81fec90) at pthread_create.c:300
#6 0xb4a2da4e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130
Thread 16 (Thread 0xa86fab70 (LWP 24417)):
#0 0xb7fe2424 in __kernel_vsyscall ()
#1 0xb4fd9245 in sem_wait@@GLIBC_2.1 ()
at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/sem_wait.S:80
#2 0xb76ec36f in PBD::ProcessSemaphore::wait() ()
from gtk2_ardour/../build/libs/ardour/libardour.so.3
#3 0xb76ea9c1 in ARDOUR::Graph::main_thread (this=0xa8c6988)
at ../libs/ardour/graph.cc:439
#4 0xb76f062f in boost::_mfi::mf0<void, ARDOUR::Graph>::operator()(ARDOUR::Grap---Type <return> to continue, or q <return> to quit---
h*) const () from gtk2_ardour/../build/libs/ardour/libardour.so.3
#5 0xb76f00d4 in void boost::_bi::list1<boost::_bi::value<ARDOUR::Graph*> >::operator()<boost::_mfi::mf0<void, ARDOUR::Graph>, boost::_bi::list0>(boost::_bi::type<void>, boost::_mfi::mf0<void, ARDOUR::Graph>&, boost::_bi::list0&, int) ()
from gtk2_ardour/../build/libs/ardour/libardour.so.3
#6 0xb76efc58 in boost::_bi::bind_t<void, boost::_mfi::mf0<void, ARDOUR::Graph>, boost::_bi::list1<boost::_bi::value<ARDOUR::Graph*> > >::operator()() ()
from gtk2_ardour/../build/libs/ardour/libardour.so.3
#7 0xb76ef70a in boost::detail::function::void_function_obj_invoker0<boost::_bi::bind_t<void, boost::_mfi::mf0<void, ARDOUR::Graph>, boost::_bi::list1<boost::_bi::value<ARDOUR::Graph*> > >, void>::invoke(boost::detail::function::function_buffer&) () from gtk2_ardour/../build/libs/ardour/libardour.so.3
#8 0x08c172f5 in boost::function0<void>::operator() (this=0xa86fa27c)
at /usr/include/boost/function/function_template.hpp:1013
#9 0xb757b929 in ARDOUR::AudioEngine::_start_process_thread (arg=0xa8cec28)
at ../libs/ardour/audioengine.cc:1475
#10 0xb4ff5d48 in jack_thread_proxy () from /usr/lib/libjack.so.0
#11 0x0a8cec28 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
Thread 15 (Thread 0xa887bb70 (LWP 24416)):
#0 0xb7fe2424 in __kernel_vsyscall ()
#1 0xb4a1fb86 in *__GI___poll (fds=0xb4ab5ff4, nfds=2, timeout=1000)
---Type <return> to continue, or q <return> to quit---
at ../sysdeps/unix/sysv/linux/poll.c:87
#2 0xb4ff08d7 in jack_client_core_wait () from /usr/lib/libjack.so.0
#3 0x00194c57 in ?? ()
#4 0xb4ff9ff4 in ?? () from /usr/lib/libjack.so.0
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
Thread 14 (Thread 0xaa0f7b70 (LWP 24406)):
#0 0xb7fe2424 in __kernel_vsyscall ()
#1 0xb4fd7015 in pthread_cond_wait@@GLIBC_2.3.2 ()
at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:122
#2 0xb4ff174c in mb_thread_func () from /usr/lib/libjack.so.0
#3 0x00000000 in ?? ()
Thread 12 (Thread 0xafafeb70 (LWP 24404)):
#0 0xb7fe2424 in __kernel_vsyscall ()
#1 0xb4fd7342 in pthread_cond_timedwait@@GLIBC_2.3.2 ()
at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_timedwait.S:179
#2 0xb60f60ce in ?? () from /usr/lib/libgthread-2.0.so.0
#3 0xb6036bbc in ?? () from /lib/libglib-2.0.so.0
#4 0xb6036ced in g_async_queue_timed_pop () from /lib/libglib-2.0.so.0
#5 0xb6088c6f in ?? () from /lib/libglib-2.0.so.0
---Type <return> to continue, or q <return> to quit---
#6 0xb6086def in ?? () from /lib/libglib-2.0.so.0
#7 0xb4fd296e in start_thread (arg=0xafafeb70) at pthread_create.c:300
#8 0xb4a2da4e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130
Thread 10 (Thread 0xaf2fdb70 (LWP 24400)):
#0 0xb7fe2424 in __kernel_vsyscall ()
#1 0xb4a1fb86 in *__GI___poll (fds=0xb4ab5ff4, nfds=2, timeout=-1)
at ../sysdeps/unix/sysv/linux/poll.c:87
#2 0xaeaca502 in ?? () from /usr/lib/libpulse.so.0
#3 0xaeab6a59 in pa_mainloop_poll () from /usr/lib/libpulse.so.0
#4 0xaeab8a13 in pa_mainloop_iterate () from /usr/lib/libpulse.so.0
#5 0xaeab8ae4 in pa_mainloop_run () from /usr/lib/libpulse.so.0
#6 0xaeaca2a3 in ?? () from /usr/lib/libpulse.so.0
#7 0xaea8ae02 in ?? () from /usr/lib/libpulsecommon-0.9.21.so
#8 0xb4fd296e in start_thread (arg=0xaf2fdb70) at pthread_create.c:300
#9 0xb4a2da4e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130
Thread 5 (Thread 0xb24f7b70 (LWP 24393)):
#0 0xb7fe2424 in __kernel_vsyscall ()
#1 0xb4fd7015 in pthread_cond_wait@@GLIBC_2.3.2 ()
at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:122
#2 0xb61713a8 in Glib::Cond::wait(Glib::Mutex&) ()
---Type <return> to continue, or q <return> to quit---
from /usr/lib/libglibmm-2.4.so.1
#3 0xb75049af in ARDOUR::Analyser::work () at ../libs/ardour/analyser.cc:85
#4 0xb75046ea in analyser_work () at ../libs/ardour/analyser.cc:49
#5 0x0915e77b in sigc::pointer_functor0<void>::operator() (this=0x9c1ea1c)
at /usr/include/sigc++-2.0/sigc++/functors/ptr_fun.h:77
#6 0x0915c804 in sigc::adaptor_functor<sigc::pointer_functor0<void> >::operator() (this=0x9c1ea18)
at /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:251
#7 0x0915a168 in sigc::internal::slot_call0<sigc::pointer_functor0<void>, void>::call_it (rep=0x9c1ea00) at /usr/include/sigc++-2.0/sigc++/functors/slot.h:103
#8 0xb6171eb2 in ?? () from /usr/lib/libglibmm-2.4.so.1
#9 0xb6086def in ?? () from /lib/libglib-2.0.so.0
#10 0xb4fd296e in start_thread (arg=0xb24f7b70) at pthread_create.c:300
#11 0xb4a2da4e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130
Thread 4 (Thread 0xb2cf8b70 (LWP 24392)):
#0 0xb7fe2424 in __kernel_vsyscall ()
#1 0xb4fd7015 in pthread_cond_wait@@GLIBC_2.3.2 ()
at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:122
#2 0xb61713a8 in Glib::Cond::wait(Glib::Mutex&) ()
from /usr/lib/libglibmm-2.4.so.1
#3 0xb7a0272d in peak_thread_work () at ../libs/ardour/source_factory.cc:68
---Type <return> to continue, or q <return> to quit---
#4 0x0915e77b in sigc::pointer_functor0<void>::operator() (this=0x9c1ec34)
at /usr/include/sigc++-2.0/sigc++/functors/ptr_fun.h:77
#5 0x0915c804 in sigc::adaptor_functor<sigc::pointer_functor0<void> >::operator() (this=0x9c1ec30)
at /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:251
#6 0x0915a168 in sigc::internal::slot_call0<sigc::pointer_functor0<void>, void>::call_it (rep=0x9c1ec18) at /usr/include/sigc++-2.0/sigc++/functors/slot.h:103
#7 0xb6171eb2 in ?? () from /usr/lib/libglibmm-2.4.so.1
#8 0xb6086def in ?? () from /lib/libglib-2.0.so.0
#9 0xb4fd296e in start_thread (arg=0xb2cf8b70) at pthread_create.c:300
#10 0xb4a2da4e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130
Thread 3 (Thread 0xb34f9b70 (LWP 24391)):
#0 0xb7fe2424 in __kernel_vsyscall ()
#1 0xb4fd7015 in pthread_cond_wait@@GLIBC_2.3.2 ()
at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:122
#2 0xb61713a8 in Glib::Cond::wait(Glib::Mutex&) ()
from /usr/lib/libglibmm-2.4.so.1
#3 0xb7a0272d in peak_thread_work () at ../libs/ardour/source_factory.cc:68
#4 0x0915e77b in sigc::pointer_functor0<void>::operator() (this=0x9c1a25c)
at /usr/include/sigc++-2.0/sigc++/functors/ptr_fun.h:77
#5 0x0915c804 in sigc::adaptor_functor<sigc::pointer_functor0<void> >::operator---Type <return> to continue, or q <return> to quit---
() (this=0x9c1a258)
at /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:251
#6 0x0915a168 in sigc::internal::slot_call0<sigc::pointer_functor0<void>, void>::call_it (rep=0x9c1a240) at /usr/include/sigc++-2.0/sigc++/functors/slot.h:103
#7 0xb6171eb2 in ?? () from /usr/lib/libglibmm-2.4.so.1
#8 0xb6086def in ?? () from /lib/libglib-2.0.so.0
#9 0xb4fd296e in start_thread (arg=0xb34f9b70) at pthread_create.c:300
#10 0xb4a2da4e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130
Thread 2 (Thread 0xb3cfab70 (LWP 24390)):
#0 0xb7fe2424 in __kernel_vsyscall ()
#1 0xb49f7ce6 in nanosleep () at ../sysdeps/unix/syscall-template.S:82
#2 0xb4a2744c in usleep (useconds=1000)
at ../sysdeps/unix/sysv/linux/usleep.c:33
#3 0x093d2437 in gui_event_loop (ptr=0x0)
at ../gtk2_ardour/linux_vst_gui_support.cc:363
#4 0xb4fd296e in start_thread (arg=0xb3cfab70) at pthread_create.c:300
#5 0xb4a2da4e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130
Thread 1 (Thread 0xb4277780 (LWP 24387)):
#0 0xb7fe2424 in __kernel_vsyscall ()
#1 0xb498a651 in *__GI_raise (sig=6)
at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
---Type <return> to continue, or q <return> to quit---
#2 0xb498da82 in *__GI_abort () at abort.c:92
#3 0xb4983718 in *__GI___assert_fail (assertion=0x93e08d4 "px != 0",
file=0x93e08a8 "/usr/include/boost/smart_ptr/shared_ptr.hpp", line=418,
function=0x93e09a0 "T* boost::shared_ptr< <template-parameter-1-1> >::operator->() const [with T = ARDOUR::IO]") at assert.c:81
#4 0x08bba111 in boost::shared_ptr<ARDOUR::IO>::operator-> (this=0xa7e23454)
at /usr/include/boost/smart_ptr/shared_ptr.hpp:418
#5 0xb788f96a in ARDOUR::Return::configure_io (this=0xa7e23340, in=...,
out=...) at ../libs/ardour/return.cc:142
#6 0xb789bbb7 in ARDOUR::Route::configure_processors_unlocked (
this=0xa7e1b798, err=0x0) at ../libs/ardour/route.cc:1606
#7 0xb78a104f in ARDOUR::Route::set_processor_state (this=0xa7e1b798,
node=...) at ../libs/ardour/route.cc:2427
#8 0xb789d9fe in ARDOUR::Route::set_state (this=0xa7e1b798, node=...,
version=3000) at ../libs/ardour/route.cc:1933
#9 0xb7996ff0 in ARDOUR::Session::XMLRouteFactory (this=0xa8c2548, node=...,
version=3000) at ../libs/ardour/session_state.cc:1510
#10 0xb79967cd in ARDOUR::Session::load_routes (this=0xa8c2548, node=...,
version=3000) at ../libs/ardour/session_state.cc:1446
#11 0xb79960b5 in ARDOUR::Session::set_state (this=0xa8c2548, node=...,
version=3000) at ../libs/ardour/session_state.cc:1376
#12 0xb798e996 in ARDOUR::Session::second_stage_init (this=0xa8c2548)
at ../libs/ardour/session_state.cc:320
---Type <return> to continue, or q <return> to quit---
#13 0xb78e6cb1 in Session (this=0xa8c2548, eng=..., fullpath=...,
snapshot_name=..., bus_profile=0x0, mix_template=...)
at ../libs/ardour/session.cc:194
#14 0x08be0f0d in ARDOUR_UI::load_session (this=0x9a79150, path=...,
snap_name=..., mix_template=...) at ../gtk2_ardour/ardour_ui.cc:2808
#15 0x08be0b29 in ARDOUR_UI::get_session_parameters (this=0x9a79150,
quit_on_cancel=true, should_be_new=false, load_template=...)
at ../gtk2_ardour/ardour_ui.cc:2743
#16 0x08bd7872 in ARDOUR_UI::startup (this=0x9a79150)
at ../gtk2_ardour/ardour_ui.cc:720
#17 0x08c0063a in sigc::bound_mem_functor0<void, ARDOUR_UI>::operator() (
this=0x9d8762c) at /usr/include/sigc++-2.0/sigc++/functors/mem_fun.h:1787
#18 0x08bfb754 in sigc::adaptor_functor<sigc::bound_mem_functor0<void, ARDOUR_UI> >::operator() (this=0x9d87628)
at /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:251
#19 0x08bf7002 in sigc::internal::slot_call0<sigc::bound_mem_functor0<void, ARDOUR_UI>, void>::call_it (rep=0x9d87610)
at /usr/include/sigc++-2.0/sigc++/functors/slot.h:103
#20 0x08bc3274 in sigc::internal::signal_emit0<void, sigc::nil>::emit (
impl=0x9b795f0) at /usr/include/sigc++-2.0/sigc++/signal.h:776
#21 0x08bc4868 in sigc::signal0<void, sigc::nil>::emit (this=0x9a791b4)
at /usr/include/sigc++-2.0/sigc++/signal.h:2671
#22 0x08bc3f85 in sigc::signal0<void, sigc::nil>::operator() (this=0x9a791b4)
---Type <return> to continue, or q <return> to quit---
at /usr/include/sigc++-2.0/sigc++/signal.h:2679
#23 0xb6681ff9 in Gtkmm2ext::UI::run (this=0x9a79150, old_receiver=...)
at ../libs/gtkmm2ext/gtk_ui.cc:264
#24 0x08fd5ef3 in main (argc=1, argv=0xbfffeb94) at ../gtk2_ardour/main.cc:555
(gdb)
|
|
|
Should be fixed in SVN 10944. |
|
|
Closing old issues reported by me: these have long since been fixed. |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2011-12-09 11:42 | colinf | New Issue | |
| 2011-12-09 11:42 | colinf | File Added: r10942-bt.txt | |
| 2011-12-09 14:12 | cth103 | cost | => 0.00 |
| 2011-12-09 14:12 | cth103 | Note Added: 0012329 | |
| 2011-12-09 14:12 | cth103 | Status | new => resolved |
| 2011-12-09 14:12 | cth103 | Resolution | open => fixed |
| 2011-12-09 14:12 | cth103 | Assigned To | => cth103 |
| 2015-09-18 15:17 | colinf | Note Added: 0017275 | |
| 2015-09-18 15:17 | colinf | Status | resolved => closed |