View Issue Details

IDProjectCategoryView StatusLast Update
0001820ardourbugspublic2020-04-19 20:12
Reporternowhiskey Assigned Tocth103  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version2.0 
Summary0001820: segfault every time on creating a new session
Descriptionhi,
this bug i about ardour2-ongoing.
i just realized that if i start ardour and try to create a new session, ardour will segfault every time, after that, the session is created and i am able to open it via session dialog.
to reproduce:

-start ardour
-in the session dialog choose 'new session'
-choose the session path
-click 'new'
-ardour segfaults creating a coredump
....
-starting ardour again
-now choosing 'open session'
-choose the session which before should get created
-ardour successfully opens the session.


here is the backtrace:

Thread 5 (process 10704):
#0 0xb6a6b3ec in __nanosleep_nocancel () from /lib/libpthread.so.0
0000001 0xb760a832 in g_usleep () from /usr/share/qt4/lib/libglib-2.0.so.0
#2 0xb6d4b97d in Glib::usleep (microseconds=10000) at
#libs/glibmm2/glibmm/timer.cc:68
#3 0xb7d3d528 in ARDOUR::AudioEngine::meter_thread (this=0x8b47e28) at
#libs/ardour/audioengine.cc:412
0000004 0xb7d4013e in sigc::bound_mem_functor0<void,
#ARDOUR::AudioEngine>::operator() (this=0x8b47454) at
#libs/sigc++2/sigc++/functors/mem_fun.h:1781
0000005 0xb7d40160 in sigc::adaptor_functor<sigc::bound_mem_functor0<void,
#ARDOUR::AudioEngine> >::operator() (this=0x8b47450)
    at libs/sigc++2/sigc++/adaptors/adaptor_trait.h:251
#6 0xb7d4018c in sigc::internal::slot_call0<sigc::bound_mem_functor0<void,
ARDOUR::AudioEngine>, void>::call_it (rep=0x8b47438)
    at libs/sigc++2/sigc++/functors/slot.h:103
#7 0x0839634e in sigc::slot0<void>::operator() (this=0x8ac1370) at
libs/sigc++2/sigc++/functors/slot.h:440
0000008 0xb6d68a63 in call_thread_entry_slot (data=0x8ac1370) at
libs/glibmm2/glibmm/thread.cc:43
0000009 0xb760864f in g_thread_create_full () from
/usr/share/qt4/lib/libglib-2.0.so.0
0000010 0xb6a64183 in start_thread () from /lib/libpthread.so.0
0000011 0xb68f3d2e in clone () from /lib/libc.so.6

Thread 4 (process 10705):
#0 0xb68e9eb9 in poll () from /lib/libc.so.6
0000001 0xb6a7c4bb in jack_client_thread (arg=0x8b51cf8) at client.c:1309
#2 0xb6a82a30 in jack_thread_proxy (varg=0x8d779e0) at thread.c:111
#3 0xb6a64183 in start_thread () from /lib/libpthread.so.0
0000004 0xb68f3d2e in clone () from /lib/libc.so.6

Thread 3 (process 10726):
#0 0xb68e9eb9 in poll () from /lib/libc.so.6
0000001 0xb7e662df in ARDOUR::Session::butler_thread_work (this=0x8dd1800) at
#libs/ardour/session_butler.cc:176
#2 0xb7e670dd in ARDOUR::Session::_butler_thread_work (arg=0x8dd1800) at
#libs/ardour/session_butler.cc:157
#3 0xb6a64183 in start_thread () from /lib/libpthread.so.0
0000004 0xb68f3d2e in clone () from /lib/libc.so.6

Thread 2 (process 10727):
#0 0xb68e9eb9 in poll () from /lib/libc.so.6
0000001 0xb7e8425e in ARDOUR::Session::midi_thread_work (this=0x8dd1800) at
#libs/ardour/session_midi.cc:1220
#2 0xb7e847cf in ARDOUR::Session::_midi_thread_work (arg=0x8dd1800) at
#libs/ardour/session_midi.cc:1141
#3 0xb6a64183 in start_thread () from /lib/libpthread.so.0
0000004 0xb68f3d2e in clone () from /lib/libc.so.6

Thread 1 (process 10701):
#0 0xb7e86fba in MIDI::MachineControl::send_device_id (this=0x0) at
libs/midi++2/midi++/mmc.h:97
0000001 0xb7e82159 in ARDOUR::Session::setup_midi_control (this=0x8dd1800) at
libs/ardour/session_midi.cc:401
#2 0xb7e9f4b0 in ARDOUR::Session::second_stage_init (this=0x8dd1800,
new_session=true) at libs/ardour/session_state.cc:309
#3 0xb7e45b95 in Session (this=0x8dd1800, eng=@0x8b47e28,
fullpath=@0xbfb1b8a4, snapshot_name=@0xbfb1b8a8,
#input_ac=ARDOUR::AutoConnectPhysical,
    output_ac=ARDOUR::AutoConnectMaster, control_out_channels=0,
#master_out_channels=2, requested_physical_in=1, requested_physical_out=1,
initial_length=14400000)
    at libs/ardour/session.cc:401
0000004 0x083a1508 in ARDOUR_UI::build_session (this=0x886bbe8,
path=@0xbfb1b948, snap_name=@0xbfb1b94c, control_channels=0,
#master_channels=2,
    input_connect=ARDOUR::AutoConnectPhysical,
#output_connect=ARDOUR::AutoConnectMaster, nphysin=1, nphysout=1,
initial_length=14400000)
    at gtk2_ardour/ardour_ui.cc:2090
0000005 0x083a28f0 in ARDOUR_UI::new_session (this=0x886bbe8,
predetermined_path=@0xbfb1b9f0) at gtk2_ardour/ardour_ui.cc:1967
#6 0x085f071d in maybe_load_session () at gtk2_ardour/main.cc:107
#7 0x085f15bd in main (argc=1, argv=0xbfb1bb64) at gtk2_ardour/main.cc:272



cheers,
doc
 
TagsNo tags attached.

Activities

nowhiskey

2007-08-07 21:52

reporter   ~0004242

...bug solved in rev2266.

thanks paul&co!

cth103

2009-10-20 01:13

administrator   ~0006757

Reporter reports fixed.

system

2020-04-19 20:12

developer   ~0021549

Issue has been closed automatically, by Trigger Close Plugin.
Feel free to re-open with additional information if you think the issue is not resolved.

Issue History

Date Modified Username Field Change
2007-08-07 21:24 nowhiskey New Issue
2007-08-07 21:52 nowhiskey Note Added: 0004242
2009-10-20 01:13 cth103 cost => 0.00
2009-10-20 01:13 cth103 Note Added: 0006757
2009-10-20 01:13 cth103 Status new => resolved
2009-10-20 01:13 cth103 Resolution open => fixed
2009-10-20 01:13 cth103 Assigned To => cth103
2020-04-19 20:12 system Note Added: 0021549
2020-04-19 20:12 system Status resolved => closed