View Issue Details

IDProjectCategoryView StatusLast Update
0001857ardourbugspublic2007-09-05 15:38
Reporterseablade Assigned To 
PrioritynormalSeveritycrashReproducibilityalways
Status closedResolutionfixed 
Product Version2.0 
Summary0001857: Crash on Session Open
DescriptionArdour 2.0-ongoing

Opening a session I am working on and need to finish, I can consistently get a crash, at first I thought in the mackie control surface update code however recently I am not so sure after doing some testing with the help of las on IRC

gdb last few lines of output and bt to follow...

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1234753872 (LWP 8273)]
0xb19c02c7 in Mackie::SurfacePort::write (this=0x9e8e2b8, mba=@0xbfdbe758)
    at libs/surfaces/mackie/surface_port.cc:139
139 cerr << "Time of Day: " << tv->tv_sec << endl;
(gdb) thread apply all bt

Thread 6 (Thread -1315550016 (LWP 8280)):
#0 0xb7ef0410 in ?? ()
0000001 0xb19644b8 in ?? ()
#2 0x0000000a in ?? ()
#3 0xb19bcb4a in MackieControlProtocol::poll_ports (this=0x9e49650)
    at libs/surfaces/mackie/mackie_control_protocol_poll.cc:149
0000004 0xb19bd254 in MackieControlProtocol::monitor_work (this=0x9e49650)
    at libs/surfaces/mackie/mackie_control_protocol_poll.cc:56
0000005 0xb19d0455 in MackieControlProtocol::_monitor_work (arg=0x9e49650)
    at libs/surfaces/mackie/mackie_control_protocol.cc:742
#6 0xb6a16294 in start_thread () from /lib/libpthread.so.0
#7 0xb69ae32e in clone () from /lib/libc.so.6

Thread 5 (Thread -1259438912 (LWP 8279)):
#0 0xb7ef0410 in ?? ()
0000001 0xb4ee7478 in ?? ()
#2 0xffffffff in ?? ()
#3 0x00000002 in ?? ()
0000004 0x00000002 in ?? ()
0000005 0x00000000 in ?? ()

Thread 4 (Thread -1258935104 (LWP 8278)):
#0 0xb7ef0410 in ?? ()
0000001 0xb4f62428 in ?? ()
#2 0xffffffff in ?? ()
#3 0x00000001 in ?? ()
0000004 0x00000000 in ?? ()

Thread 3 (Thread -1249789024 (LWP 8277)):
#0 0xb7ef0410 in ?? ()
0000001 0xb581a408 in ?? ()
#2 0x000003e8 in ?? ()
#3 0x00000002 in ?? ()
0000004 0x00000000 in ?? ()

Thread 2 (Thread -1249112896 (LWP 8276)):
#0 0xb7ef0410 in ?? ()
0000001 0xb58c04b8 in ?? ()
#2 0xb76861e4 in ?? () from /usr/lib/libglib-2.0.so.0
#3 0xb58c049c in ?? ()
0000004 0xb6a1c7f6 in ?? () from /lib/libpthread.so.0
0000005 0xb7640b92 in g_usleep () from /usr/lib/libglib-2.0.so.0
#6 0xb6ea463d in Glib::usleep (microseconds=10000)
    at libs/glibmm2/glibmm/timer.cc:68
#7 0xb7ce2fc8 in ARDOUR::AudioEngine::meter_thread (this=0x8bdd800)
    at libs/ardour/audioengine.cc:412
0000008 0xb7ce5cce in sigc::bound_mem_functor0<void, ARDOUR::AudioEngine>::operator() (this=0x8bd0e24) at libs/sigc++2/sigc++/functors/mem_fun.h:1781
0000009 0xb7ce5cf0 in sigc::adaptor_functor<sigc::bound_mem_functor0<void, ARDOUR::AudioEngine> >::operator() (this=0x8bd0e20)
    at libs/sigc++2/sigc++/adaptors/adaptor_trait.h:251
0000010 0xb7ce5d1c in sigc::internal::slot_call0<sigc::bound_mem_functor0<void, ARDOUR::AudioEngine>, void>::call_it (rep=0x8bd0e08)
    at libs/sigc++2/sigc++/functors/slot.h:103
0000011 0x08371dea in sigc::slot0<void>::operator() (this=0x8bc7f30)
    at libs/sigc++2/sigc++/functors/slot.h:440
0000012 0xb6ebe77b in call_thread_entry_slot (data=0x8bc7f30)
    at libs/glibmm2/glibmm/thread.cc:43
0000013 0xb763ebef in ?? () from /usr/lib/libglib-2.0.so.0
0000014 0x08bc7f30 in ?? ()
#15 0x08bd0b60 in ?? ()
0000016 0xb6a11000 in ?? ()
#17 0x000100e8 in ?? ()
0000018 0xb68fdffc in ?? () from /lib/libc.so.6
0000019 0xb6a20ff4 in ?? () from /lib/libpthread.so.0
0000020 0xb6a182d0 in ?? () from /lib/libpthread.so.0
0000021 0xb6a20ff4 in ?? () from /lib/libpthread.so.0
0000022 0x00000000 in ?? ()

Thread 1 (Thread -1234753872 (LWP 8273)):
#0 0xb19c02c7 in Mackie::SurfacePort::write (this=0x9e8e2b8, mba=@0xbfdbe758)
    at libs/surfaces/mackie/surface_port.cc:139
0000001 0xb19cf916 in MackieControlProtocol::notify_name_changed (this=0x9e49650,
    route_signal=0x9e56860)
    at libs/surfaces/mackie/mackie_control_protocol.cc:1003
#2 0xb19b627e in Mackie::RouteSignal::notify_all (this=0x9e56860)
    at libs/surfaces/mackie/route_signal.cc:94
#3 0xb19d4be3 in MackieControlProtocol::switch_banks (this=0x9e49650,
    initial=0) at libs/surfaces/mackie/mackie_control_protocol.cc:282
0000004 0xb19d5457 in MackieControlProtocol::update_surface (this=0x9e49650)
    at libs/surfaces/mackie/mackie_control_protocol.cc:514
0000005 0xb19d5919 in MackieControlProtocol::set_active (this=0x9e49650, yn=true)
    at libs/surfaces/mackie/mackie_control_protocol.cc:405
#6 0xb19b14a2 in new_mackie_protocol (descriptor=0xb1a35520, s=0x8d45b00)
    at libs/surfaces/mackie/interface.cc:51
#7 0xb7d36a55 in ARDOUR::ControlProtocolManager::instantiate (
    this=0x8b06370, cpi=@0x8b07010)
    at libs/ardour/control_protocol_manager.cc:121
0000008 0xb7d37b67 in ARDOUR::ControlProtocolManager::set_session (
    this=0x8b06370, s=@0x8d45b00)
    at libs/ardour/control_protocol_manager.cc:75
0000009 0xb7e452dc in ARDOUR::Session::second_stage_init (this=0x8d45b00,
    new_session=false) at libs/ardour/session_state.cc:340
0000010 0xb7de85bb in Session (this=0x8d45b00, eng=@0x8bdd800,
    fullpath=@0xbfdbecc8, snapshot_name=@0xbfdbeccc, mix_template=0x0)
    at libs/ardour/session.cc:299
0000011 0x0837d83c in ARDOUR_UI::load_session (this=0x886e718, path=@0xbfdbed7c,
    snap_name=@0xbfdbed80, mix_template=0x0) at gtk2_ardour/ardour_ui.cc:2225
0000012 0x0838b4df in ARDOUR_UI::get_session_parameters (this=0x886e718,
    predetermined_path=@0xbfdbee64, have_engine=true, should_be_new=false)
    at gtk2_ardour/ardour_ui.cc:2035
0000013 0x0838c56f in ARDOUR_UI::startup (this=0x886e718)
    at gtk2_ardour/ardour_ui.cc:631
0000014 0x083953e6 in sigc::bound_mem_functor0<void, ARDOUR_UI>::operator() (
    this=0x8b0743c) at libs/sigc++2/sigc++/functors/mem_fun.h:1781
#15 0x083953fc in sigc::adaptor_functor<sigc::bound_mem_functor0<void, ARDOUR_UI> >::operator() (this=0x8b07438)
    at libs/sigc++2/sigc++/adaptors/adaptor_trait.h:251
0000016 0x08395418 in sigc::internal::slot_call0<sigc::bound_mem_functor0<void, ARDOUR_UI>, void>::call_it (rep=0x8b07420)
    at libs/sigc++2/sigc++/functors/slot.h:103
#17 0x0839701f in sigc::internal::signal_emit0<void, sigc::nil_>::emit (
    impl=0x8b06a50) at libs/sigc++2/sigc++/signal.h:517
0000018 0x083970ba in sigc::signal0<void, sigc::nil_>::emit (this=0x886e760)
    at libs/sigc++2/sigc++/signal.h:1584
0000019 0x083970cd in sigc::signal0<void, sigc::nil_>::operator() (this=0x886e760)
    at libs/sigc++2/sigc++/signal.h:1588
0000020 0xb7ac57df in Gtkmm2ext::UI::run (this=0x886e718, old_receiver=@0x88515b0)
    at libs/gtkmm2ext/gtk_ui.cc:220
0000021 0x085dce07 in main (argc=1, argv=0xbfdbf064) at gtk2_ardour/main.cc:266
(gdb)

             Seablade

TagsNo tags attached.

Activities

paul

2007-09-05 15:38

administrator   ~0004343

bug caused by error in user's debugging code.

Issue History

Date Modified Username Field Change
2007-09-05 15:28 seablade New Issue
2007-09-05 15:38 paul Status new => closed
2007-09-05 15:38 paul Note Added: 0004343
2007-09-05 15:38 paul Resolution open => fixed