View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0001415 | ardour | bugs | public | 2007-01-10 23:31 | 2008-11-20 23:50 |
| Reporter | flowbot | Assigned To | paul | ||
| Priority | normal | Severity | crash | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Summary | 0001415: Segmentation fault on opening recent ardour session | ||||
| Description | Trying to open a recently created Ardour2 session with latest svn 1303 (about 2 mono and 2 stereo tracks, no automation, synced to Jack transport) i keep getting a segfault. The backup files don't work either. This is the backtrace: Loading session /home/flowbot/audio-projects/ardour/wishing_well_125 using snapshot wishing_well_125 (1) [New Thread -1264116544 (LWP 8134)] [New Thread -1264620352 (LWP 8135)] Program received signal SIGSEGV, Segmentation fault. [Switching to Thread -1252492384 (LWP 8126)] 0xb7f24264 in ARDOUR::Session::start_locate (this=0x9071608, target_frame=0, with_roll=false, with_flush=true, with_loop=false) at libs/ardour/session_transport.cc:592 592 _slave->speed_and_position (sp, pos); (gdb) thread apply all bt Thread 7 (Thread -1264620352 (LWP 8135)): #0 0xb7fb8410 in ?? () 0000001 0xb49f6478 in ?? () #2 0xffffffff in ?? () #3 0x00000002 in ?? () 0000004 0x00000002 in ?? () 0000005 0xb49f6cc0 in ?? () #6 0x00000000 in ?? () Thread 6 (Thread -1264116544 (LWP 8134)): #0 0xb7d9f224 in ARDOUR::AudioPlaylist::read (this=0x91cffc8, buf=0xb30b4008, mixdown_buffer=0xb4c8a008, gain_buffer=0xb4c49008, start=65536, cnt=65536, chan_n=1) at libs/ardour/audio_playlist.cc:141 0000001 0xb7d8ca98 in ARDOUR::AudioDiskstream::read (this=0x91cc318, buf=0xb30b4008, mixdown_buffer=0xb4c8a008, gain_buffer=0xb4c49008, start=@0xb4a713ec, cnt=65536, channel_info=@0x91d0818, channel=1, reversed=false) at libs/ardour/audio_diskstream.cc:1031 #2 0xb7d8d257 in ARDOUR::AudioDiskstream::_do_refill (this=0x91cc318, mixdown_buffer=0xb4c8a008, gain_buffer=0xb4c49008) at libs/ardour/audio_diskstream.cc:1233 #3 0xb7d988a3 in ARDOUR::AudioDiskstream::do_refill (this=0x91cc318) at libs/ardour/ardour/audio_diskstream.h:213 ---Type <return> to continue, or q <return> to quit--- 0000004 0xb7ed8d85 in ARDOUR::Session::butler_thread_work (this=0x9071608) at libs/ardour/session_butler.cc:255 0000005 0xb7ed96f5 in ARDOUR::Session::_butler_thread_work (arg=0x9071608) at libs/ardour/session_butler.cc:156 #6 0xb69ac504 in start_thread () from /lib/tls/i686/cmov/libpthread.so.0 #7 0xb694051e in clone () from /lib/tls/i686/cmov/libc.so.6 Thread 5 (Thread -1252492384 (LWP 8126)): #0 0xb7f24264 in ARDOUR::Session::start_locate (this=0x9071608, target_frame=0, with_roll=false, with_flush=true, with_loop=false) at libs/ardour/session_transport.cc:592 0000001 0xb7eee206 in ARDOUR::Session::process_event (this=0x9071608, ev=0x87dad70) at libs/ardour/session_events.cc:337 #2 0xb7eee938 in ARDOUR::Session::merge_event (this=0x9071608, ev=0x87dad70) at libs/ardour/session_events.cc:148 #3 0xb7effda9 in ARDOUR::Session::process_with_events (this=0x9071608, nframes=1024) at libs/ardour/session_process.cc:264 0000004 0xb7f0045a in ARDOUR::Session::process (this=0x9071608, nframes=1024) at libs/ardour/session_process.cc:61 0000005 0xb7db9da9 in ARDOUR::AudioEngine::process_callback (this=0x8aea428, nframes=1024) at libs/ardour/audioengine.cc:301 #6 0xb7db9f66 in ARDOUR::AudioEngine::_process_callback (nframes=1024, arg=0x8aea428) at libs/ardour/audioengine.cc:256 ---Type <return> to continue, or q <return> to quit--- #7 0xb6b860fa in jack_client_close () from /usr/lib/libjack-0.100.0.so.0 0000008 0xb69ac504 in start_thread () from /lib/tls/i686/cmov/libpthread.so.0 0000009 0xb694051e in clone () from /lib/tls/i686/cmov/libc.so.6 Thread 4 (Thread -1251550016 (LWP 8125)): #0 0xb7fb8410 in ?? () 0000001 0xb566d518 in ?? () #2 0xffffffff in ?? () #3 0x00000001 in ?? () 0000004 0x00000000 in ?? () Thread 3 (Thread -1242370880 (LWP 8124)): #0 0xb7fb8410 in ?? () 0000001 0xb5f2e4c8 in ?? () #2 0xb779c1e4 in ?? () from /usr/lib/libglib-2.0.so.0 #3 0xb5f2e4ac in ?? () 0000004 0xb69b2bf6 in __nanosleep_nocancel () from /lib/tls/i686/cmov/libpthread.so.0 0000005 0xb77562f2 in g_usleep () from /usr/lib/libglib-2.0.so.0 #6 0xb6e4c481 in Glib::usleep (microseconds=10000) at libs/glibmm2/glibmm/timer.cc:68 #7 0xb7db9874 in ARDOUR::AudioEngine::meter_thread (this=0x8aea428) at libs/ardour/audioengine.cc:411 ---Type <return> to continue, or q <return> to quit--- 0000008 0xb7dbc5bc in sigc::bound_mem_functor0<void, ARDOUR::AudioEngine>::operator() (this=0x8ae9c94) at libs/sigc++2/sigc++/functors/mem_fun.h:1781 0000009 0xb7dbc5de in sigc::adaptor_functor<sigc::bound_mem_functor0<void, ARDOUR::AudioEngine> >::operator() (this=0x8ae9c90) at libs/sigc++2/sigc++/adaptors/adaptor_trait.h:251 0000010 0xb7dbc60a in sigc::internal::slot_call0<sigc::bound_mem_functor0<void, ARDOUR::AudioEngine>, void>::call_it (rep=0x8ae9c78) at libs/sigc++2/sigc++/functors/slot.h:103 0000011 0x08359bd6 in sigc::slot0<void>::operator() (this=0x8a0f5e0) at libs/sigc++2/sigc++/functors/slot.h:440 0000012 0xb6e52933 in call_thread_entry_slot (data=0x8a0f5e0) at libs/glibmm2/glibmm/thread.cc:43 0000013 0xb775438f in g_thread_create_full () from /usr/lib/libglib-2.0.so.0 0000014 0xb69ac504 in start_thread () from /lib/tls/i686/cmov/libpthread.so.0 #15 0xb694051e in clone () from /lib/tls/i686/cmov/libc.so.6 Thread 2 (Thread -1238496064 (LWP 8119)): #0 0xb7fb8410 in ?? () 0000001 0xb62e0518 in ?? () #2 0xffffffff in ?? () #3 0x00000002 in ?? () 0000004 0x00000000 in ?? () ---Type <return> to continue, or q <return> to quit--- Thread 1 (Thread -1236719952 (LWP 8108)): #0 0xb76f6b11 in g_type_check_value () from /usr/lib/libgobject-2.0.so.0 0000001 0xb76fc112 in g_value_unset () from /usr/lib/libgobject-2.0.so.0 #2 0xb76ec0d6 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0 #3 0xb76ec279 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0 0000004 0xb73943a4 in gtk_container_set_focus_child () from /usr/lib/libgtk-x11-2.0.so.0 0000005 0xb7548b22 in gtk_widget_freeze_child_notify () from /usr/lib/libgtk-x11-2.0.so.0 #6 0xb791c634 in Gtk::Widget_Class::grab_focus_callback (self=0x8df8550) at libs/gtkmm2/gtk/gtkmm/widget.cc:3659 #7 0xb76e7b29 in g_cclosure_marshal_VOID__VOID () from /usr/lib/libgobject-2.0.so.0 0000008 0xb76d8fb9 in g_value_set_boxed () from /usr/lib/libgobject-2.0.so.0 0000009 0xb76da79b in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0 0000010 0xb76eb1e3 in g_signal_chain_from_overridden () from /usr/lib/libgobject-2.0.so.0 0000011 0xb76ec0b7 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0 0000012 0xb76ec279 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0 0000013 0xb7541362 in gtk_widget_grab_focus () from /usr/lib/libgtk-x11-2.0.so.0 0000014 0xb79191e7 in Gtk::Widget::grab_focus (this=0x8ddced8) at libs/gtkmm2/gtk/gtkmm/widget.cc:5190 #15 0x083b3702 in AudioClock::set_mode (this=0x8ddc934, m=AudioClock::SMPTE) ---Type <return> to continue, or q <return> to quit--- at gtk2_ardour/audio_clock.cc:1843 0000016 0x083b411d in AudioClock::set_session (this=0x8ddc934, s=0x9071608) at gtk2_ardour/audio_clock.cc:604 #17 0x084421b5 in Editor::connect_to_session (this=0x8dda940, t=0x9071608) at gtk2_ardour/editor.cc:1190 0000018 0x0838ffc6 in ARDOUR_UI::connect_dependents_to_session (this=0x87f5900, s=0x9071608) at gtk2_ardour/ardour_ui_dependents.cc:99 0000019 0x083919dc in ARDOUR_UI::connect_to_session (this=0x87f5900, s=0x9071608) at gtk2_ardour/ardour_ui_dialogs.cc:126 0000020 0x083648ff in ARDOUR_UI::load_session (this=0x87f5900, path=@0xbfd62b98, snap_name=@0xbfd62b9c, mix_template=0x0) at gtk2_ardour/ardour_ui.cc:1829 0000021 0x08365043 in ARDOUR_UI::new_session (this=0x87f5900, predetermined_path=@0xbfd62c44) at gtk2_ardour/ardour_ui.cc:1666 0000022 0x0859a631 in maybe_load_session () at gtk2_ardour/main.cc:303 0000023 0x0859b496 in main (argc=1, argv=0xbfd62d94) at gtk2_ardour/main.cc:454 0xb7f24264 592 _slave->speed_and_position (sp, pos); (gdb) | ||||
| Tags | No tags attached. | ||||
|
2007-01-10 23:31
|
|
|
2007-01-10 23:37
|
|
|
|
ok, it seems to be related to the session template i've been using, which i've attached. if i create any session now with this template, ardour2 segfaults on creation of session, and also when trying to open. fresh session not using template seem to be fine. |
|
|
i am pretty certain its the slave setting. edit the template and/or session file and make "slave-source" have the value "0" not "2". that will likely get rid of it. i will investigate the crash in the meantime. |
|
2007-01-11 22:07
|
|
|
|
i changed the value from "2" to "0" in both session and template file, and there is no longer any crash ... unfortunately, there is no longer any audio or audio tracks. it looks pretty wierd, so i attached a screenshot of it. |
|
|
very strange. the good news is that i can reproduce the crash here with your session. i also edited the session file, and it loads just fine for me. are you sure there were no other errors during loading? the screenshot looks like ardour with no session loaded at all. a fix for the original problem will be forthcoming. |
|
|
the fix for this was just committed to svn, revision 1317. hope this will help you out with this session. let me know. |
|
|
still won't load :( ... i keep getting what you see in the screenshot, though i didn't notice this from the terminal until now: Loading session /home/flowbot/audio-projects/ardour/wishing_well_125 using snapshot wishing_well_125 (1) ardour: [ERROR]: SndFileSource: cannot open file "/home/flowbot/audio-projects/ardour/wishing_well_125/interchange/wishing_well_125/audiofiles/drums 2-1%R.wav" for reading (Supported file format but file is malformed.) ardour: [ERROR]: Session "/home/flowbot/audio-projects/ardour/wishing_well_125 (snapshot wishing_well_125)" did not load successfully not even sure if the session still uses the drums 2-1%R.wav file that i'd recorded, either ... in any case, these are all the files in the audiofiles directory: back_vocal_2-1.wav keyboard-4%L.wav wishing_well_drums_125-L.wav bass-15.wav keyboard-4%R.wav wishing_well_drums_125-R.wav drums 2-1%R.wav rhy_guitar-1.wav wishing_well_intro_drums_125-L.wav keyboard-1%L.wav rhy_guitar-2.wav wishing_well_intro_drums_125-R.wav keyboard-1%R.wav vocal-1.wav it could be a file that was recorded when i was testing out the "stop + forget capture" function, but i don't really know ... something seems to have gone seriously wrong with this session ... if all else fails, it probly wouldn't be too hard to import what i've done so far into a new session except for the regions edits i've done. also, i can use the original template and session files now without segfault, so i'd say that is fixed :) i'll try catching you on IRC if it might be easier to nail it that way. |
|
|
all is good - i deleted the drums 2-1%R.wav file (which, as i suspected, was no longer part of the session), and the session loaded perfectly :) whew! |
|
|
see notes. fix in svn. |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2007-01-10 23:31 | flowbot | New Issue | |
| 2007-01-10 23:31 | flowbot | File Added: wishing_well_125.ardour | |
| 2007-01-10 23:37 | flowbot | File Added: default-template.template | |
| 2007-01-10 23:39 | flowbot | Note Added: 0003047 | |
| 2007-01-11 20:00 | paul | Note Added: 0003051 | |
| 2007-01-11 22:07 | flowbot | File Added: Screenshot.png | |
| 2007-01-11 22:11 | flowbot | Note Added: 0003053 | |
| 2007-01-12 01:58 | paul | Note Added: 0003054 | |
| 2007-01-12 02:11 | paul | Status | new => resolved |
| 2007-01-12 02:11 | paul | Resolution | open => fixed |
| 2007-01-12 02:11 | paul | Assigned To | => paul |
| 2007-01-12 02:11 | paul | Note Added: 0003055 | |
| 2007-01-12 04:21 | flowbot | Status | resolved => feedback |
| 2007-01-12 04:21 | flowbot | Resolution | fixed => reopened |
| 2007-01-12 04:21 | flowbot | Note Added: 0003056 | |
| 2007-01-12 04:22 | flowbot | Note Edited: 0003056 | |
| 2007-01-12 23:39 | flowbot | Note Added: 0003059 | |
| 2007-01-15 18:16 | paul | Status | feedback => resolved |
| 2007-01-15 18:16 | paul | Resolution | reopened => fixed |
| 2007-01-15 18:16 | paul | Note Added: 0003067 | |
| 2008-11-20 23:50 | seablade | Status | resolved => closed |