View Issue Details

IDProjectCategoryView StatusLast Update
0002642ardourbugspublic2020-04-19 20:14
Reportervizzy Assigned Tocth103  
PrioritynormalSeveritycrashReproducibilityalways
Status closedResolutionfixed 
Product Version2.8 
Summary0002642: crashing on loading old sessionfile
Descriptionardour crashes when loading a sesion file created with a previous version of ardour.

using ardour 2.8 source, compiled with scons DEBUG=1 on debian lenny stable.
session file: http://www.vizzy.de/Files/livesaufnahmen.ardour

a summary and debug backtrace is here:
http://pastebin.com/f7989c29a
Additional Information#
Starting program: /home.local/voa/ardour-2.8/gtk2_ardour/ardour-2.8
#
[Thread debugging using libthread_db enabled]
#
Ardour/GTK 2.8
#
   (built using 4918 and GCC version 4.3.2)
#
Copyright (C) 1999-2008 Paul Davis
#
Some portions Copyright (C) Steve Harris, Ari Johnson, Brett Viren, Joel Baker
#
 
#
Ardour comes with ABSOLUTELY NO WARRANTY
#
not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
#
This is free software, and you are welcome to redistribute it
#
under certain conditions; see the source for copying conditions.
#
[New Thread 0xb5bcf6d0 (LWP 2850)]
#
loading default ui configuration file gtk2_ardour/ardour2_ui_default.conf
#
loading user ui configuration file /home/voa/.ardour2/ardour2_ui.conf
#
Loading ui configuration file gtk2_ardour/ardour2_ui_dark.rc
#
theme_init() called from internal clearlooks engine
#
ardour: [INFO]: Ardour will be limited to 1024 open files
#
loading system configuration file ./ardour_system.rc
#
ALSA lib seq_hw.c:457:(snd_seq_hw_open) open /dev/snd/seq failed: No such file or directory
#
ardour: [WARNING]: The ALSA MIDI system is not available. No ports based on it will be created
#
ardour: [WARNING]: No MMC control (MIDI port "default" not available)
#
ardour: [INFO]: Using SSE optimized routines
#
[New Thread 0xb5944b90 (LWP 2855)]
#
[New Thread 0xb5143b90 (LWP 2856)]
#
[New Thread 0xb4942b90 (LWP 2857)]
#
ardour: [INFO]: looking for control protocols in /home/voa/.ardour2/surfaces/:/usr/local/lib/ardour2/surfaces/
#
ardour: [INFO]: Control surface protocol discovered: "Generic MIDI"
#
ardour: [INFO]: Control protocol Tranzport not usable
#
ardour: [ERROR]: No port called mcu. Add it to ardour.rc.
#
ardour: [INFO]: Control protocol Mackie not usable
#
powermate: Opening of powermate failed - No such file or directory
#
ardour: [INFO]: Control protocol powermate not usable
#
loading bindings from gtk2_ardour/mnemonic-us.bindings
#
[New Thread 0xb3ac1b90 (LWP 2866)]
#
[New Thread 0xb32bfcb0 (LWP 2867)]
#
Loading session /home.local/voa/livesaufnahmen using snapshot livesaufnahmen (1)
#
[New Thread 0xb3012cb0 (LWP 2868)]
#
[New Thread 0xb2f97cb0 (LWP 2869)]
#
 
#
Program received signal SIGSEGV, Segmentation fault.
#
[Switching to Thread 0xb5bcf6d0 (LWP 2850)]
#
0xb65d5c51 in std::string::compare () from /usr/lib/libstdc++.so.6
#
 
#
creating core file? enter some magic commands:
#
(gdb) thread apply all bt
#
 
#
 
#
output:
#
Thread 8 (Thread 0xb2f97cb0 (LWP 2869)):
#
#0 0xb7f0e424 in __kernel_vsyscall ()
#
0000001 0xb64aee67 in poll () from /lib/i686/cmov/libc.so.6
#
#2 0xb7e29fbb in ARDOUR::Session::midi_thread_work (this=0xa2c8000) at libs/ardour/session_midi.cc:1223
#
#3 0xb7e2a559 in ARDOUR::Session::_midi_thread_work (arg=0xa2c8000) at libs/ardour/session_midi.cc:1141
#
0000004 0xb6cd04c0 in start_thread () from /lib/i686/cmov/libpthread.so.0
#
0000005 0xb64b96de in clone () from /lib/i686/cmov/libc.so.6
#
 
#
Thread 7 (Thread 0xb3012cb0 (LWP 2868)):
#
#0 0xb7f0e424 in __kernel_vsyscall ()
#
0000001 0xb64aee67 in poll () from /lib/i686/cmov/libc.so.6
#
#2 0xb7dc5cde in ARDOUR::Session::butler_thread_work (this=0xa2c8000) at libs/ardour/session_butler.cc:179
#
#3 0xb7dc6d45 in ARDOUR::Session::_butler_thread_work (arg=0xa2c8000) at libs/ardour/session_butler.cc:159
#
0000004 0xb6cd04c0 in start_thread () from /lib/i686/cmov/libpthread.so.0
#
0000005 0xb64b96de in clone () from /lib/i686/cmov/libc.so.6
#
 
#
Thread 6 (Thread 0xb32bfcb0 (LWP 2867)):
#
#0 0xb7f0e424 in __kernel_vsyscall ()
#
0000001 0xb6cd78a6 in nanosleep () from /lib/i686/cmov/libpthread.so.0
#
#2 0xb76a9432 in IA__g_usleep (microseconds=3006002124) at /build/buildd-glib2.0_2.16.6-1+lenny1-i386-HI4TzI/glib2.0-2.16.6/glib/gtimer.c:170
#
#3 0xb7629315 in Glib::usleep (microseconds=10000) at libs/glibmm2/glibmm/timer.cc:68
#
0000004 0xb7c8826c in ARDOUR::AudioEngine::meter_thread (this=0xa11a600) at libs/ardour/audioengine.cc:431
#
0000005 0xb7c8c18f in sigc::bound_mem_functor0<void, ARDOUR::AudioEngine>::operator() (this=0xa28761c) at libs/sigc++2/sigc++/functors/mem_fun.h:1787
#
#6 0xb7c8c1b6 in sigc::adaptor_functor<sigc::bound_mem_functor0<void, ARDOUR::AudioEngine> >::operator() (this=0xa287618) at libs/sigc++2/sigc++/adaptors/adaptor_trait.h:251
#
#7 0xb7c8c1e2 in sigc::internal::slot_call0<sigc::bound_mem_functor0<void, ARDOUR::AudioEngine>, void>::call_it (rep=0xa287600) at libs/sigc++2/sigc++/functors/slot.h:103
#
0000008 0x0840275a in sigc::slot0<void>::operator() (this=0xa27b388) at libs/sigc++2/sigc++/functors/slot.h:440
#
0000009 0xb762ceff in call_thread_entry_slot (data=0xa27b388) at libs/glibmm2/glibmm/thread.cc:43
#
0000010 0xb76a716f in g_thread_create_proxy (data=0xa27b228) at /build/buildd-glib2.0_2.16.6-1+lenny1-i386-HI4TzI/glib2.0-2.16.6/glib/gthread.c:635
#
0000011 0xb6cd04c0 in start_thread () from /lib/i686/cmov/libpthread.so.0
#
0000012 0xb64b96de in clone () from /lib/i686/cmov/libc.so.6
#
 
#
Thread 5 (Thread 0xb3ac1b90 (LWP 2866)):
#
#0 0xb7f0e424 in __kernel_vsyscall ()
#
0000001 0xb64aee67 in poll () from /lib/i686/cmov/libc.so.6
#
#2 0xb6cea9ca in ?? () from /usr/lib/libjack.so.0
#
#3 0x0a0d1508 in ?? ()
#
0000004 0x00000002 in ?? ()
#
0000005 0x000003e8 in ?? ()
#
#6 0xb6cf2170 in ?? () from /usr/lib/libjack.so.0
#
#7 0xb3cd9000 in ?? ()
#
0000008 0xb3cd9000 in ?? ()
#
0000009 0x2d116299 in ?? ()
#
0000010 0x00000000 in ?? ()
#
 
#
Thread 4 (Thread 0xb4942b90 (LWP 2857)):
#
#0 0xb7f0e424 in __kernel_vsyscall ()
#
0000001 0xb6cd4025 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i686/cmov/libpthread.so.0
#
#2 0xb762c47d in Glib::Cond::wait (this=0x9d25bb0, mutex=@0xb7f0aa8c) at libs/glibmm2/glibmm/thread.cc:362
#
#3 0xb7c6761b in ARDOUR::Analyser::work () at libs/ardour/analyser.cc:85
#
---Type <return> to continue, or q <return> to quit---
#
0000004 0xb7c67781 in analyser_work () at libs/ardour/analyser.cc:49
#
0000005 0x087ca8e1 in sigc::pointer_functor0<void>::operator() (this=0x9d1eb7c) at libs/sigc++2/sigc++/functors/ptr_fun.h:77
#
#6 0x087ca8f8 in sigc::adaptor_functor<sigc::pointer_functor0<void> >::operator() (this=0x9d1eb78) at libs/sigc++2/sigc++/adaptors/adaptor_trait.h:251
#
#7 0x087ca914 in sigc::internal::slot_call0<sigc::pointer_functor0<void>, void>::call_it (rep=0x9d1eb60) at libs/sigc++2/sigc++/functors/slot.h:103
#
0000008 0x0840275a in sigc::slot0<void>::operator() (this=0x9d19530) at libs/sigc++2/sigc++/functors/slot.h:440
#
0000009 0xb762ceff in call_thread_entry_slot (data=0x9d19530) at libs/glibmm2/glibmm/thread.cc:43
#
0000010 0xb76a716f in g_thread_create_proxy (data=0x9d1d560) at /build/buildd-glib2.0_2.16.6-1+lenny1-i386-HI4TzI/glib2.0-2.16.6/glib/gthread.c:635
#
0000011 0xb6cd04c0 in start_thread () from /lib/i686/cmov/libpthread.so.0
#
0000012 0xb64b96de in clone () from /lib/i686/cmov/libc.so.6
#
 
#
Thread 3 (Thread 0xb5143b90 (LWP 2856)):
#
#0 0xb7f0e424 in __kernel_vsyscall ()
#
0000001 0xb6cd4025 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i686/cmov/libpthread.so.0
#
#2 0xb762c47d in Glib::Cond::wait (this=0x9d213c0, mutex=@0xb7f0af64) at libs/glibmm2/glibmm/thread.cc:362
#
#3 0xb7e68d46 in peak_thread_work () at libs/ardour/source_factory.cc:65
#
0000004 0x087ca8e1 in sigc::pointer_functor0<void>::operator() (this=0x9d24ec4) at libs/sigc++2/sigc++/functors/ptr_fun.h:77
#
0000005 0x087ca8f8 in sigc::adaptor_functor<sigc::pointer_functor0<void> >::operator() (this=0x9d24ec0) at libs/sigc++2/sigc++/adaptors/adaptor_trait.h:251
#
#6 0x087ca914 in sigc::internal::slot_call0<sigc::pointer_functor0<void>, void>::call_it (rep=0x9d24ea8) at libs/sigc++2/sigc++/functors/slot.h:103
#
#7 0x0840275a in sigc::slot0<void>::operator() (this=0x9d19220) at libs/sigc++2/sigc++/functors/slot.h:440
#
0000008 0xb762ceff in call_thread_entry_slot (data=0x9d19220) at libs/glibmm2/glibmm/thread.cc:43
#
0000009 0xb76a716f in g_thread_create_proxy (data=0x9d251c8) at /build/buildd-glib2.0_2.16.6-1+lenny1-i386-HI4TzI/glib2.0-2.16.6/glib/gthread.c:635
#
0000010 0xb6cd04c0 in start_thread () from /lib/i686/cmov/libpthread.so.0
#
0000011 0xb64b96de in clone () from /lib/i686/cmov/libc.so.6
#
 
#
Thread 2 (Thread 0xb5944b90 (LWP 2855)):
#
#0 0xb7f0e424 in __kernel_vsyscall ()
#
0000001 0xb6cd4025 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i686/cmov/libpthread.so.0
#
#2 0xb762c47d in Glib::Cond::wait (this=0x9d213c0, mutex=@0xb7f0af64) at libs/glibmm2/glibmm/thread.cc:362
#
#3 0xb7e68d46 in peak_thread_work () at libs/ardour/source_factory.cc:65
#
0000004 0x087ca8e1 in sigc::pointer_functor0<void>::operator() (this=0x9d26374) at libs/sigc++2/sigc++/functors/ptr_fun.h:77
#
0000005 0x087ca8f8 in sigc::adaptor_functor<sigc::pointer_functor0<void> >::operator() (this=0x9d26370) at libs/sigc++2/sigc++/adaptors/adaptor_trait.h:251
#
#6 0x087ca914 in sigc::internal::slot_call0<sigc::pointer_functor0<void>, void>::call_it (rep=0x9d26358) at libs/sigc++2/sigc++/functors/slot.h:103
#
#7 0x0840275a in sigc::slot0<void>::operator() (this=0x9d191c0) at libs/sigc++2/sigc++/functors/slot.h:440
#
0000008 0xb762ceff in call_thread_entry_slot (data=0x9d191c0) at libs/glibmm2/glibmm/thread.cc:43
#
0000009 0xb76a716f in g_thread_create_proxy (data=0x9d25538) at /build/buildd-glib2.0_2.16.6-1+lenny1-i386-HI4TzI/glib2.0-2.16.6/glib/gthread.c:635
#
0000010 0xb6cd04c0 in start_thread () from /lib/i686/cmov/libpthread.so.0
#
0000011 0xb64b96de in clone () from /lib/i686/cmov/libc.so.6
#
 
#
Thread 1 (Thread 0xb5bcf6d0 (LWP 2850)):
#
#0 0xb65d5c51 in std::string::compare () from /usr/lib/libstdc++.so.6
#
0000001 0x0840baba in std::operator==<char, std::char_traits<char>, std::allocator<char> > (__lhs=@0x4, __rhs=0xb7e93799 "unknown") at /usr/include/c++/4.3/bits/basic_string.h:2189
#
#2 0xb7e3fa40 in ARDOUR::Session::load_routes (this=0xa2c8000, node=@0xa331cd8) at libs/ardour/session_state.cc:1362
#
#3 0xb7e4820b in ARDOUR::Session::set_state (this=0xa2c8000, node=@0xa2d5a78) at libs/ardour/session_state.cc:1326
#
0000004 0xb7e486ef in ARDOUR::Session::second_stage_init (this=0xa2c8000, new_session=false) at libs/ardour/session_state.cc:286
#
0000005 0xb7de97c2 in Session (this=0xa2c8000, eng=@0xa11a600, fullpath=@0xbfc2a008, snapshot_name=@0xbfc2a00c, mix_template=
#
        {static npos = 4294967295, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0xbfc2a010 "\224�b�\005"}})
#
    at libs/ardour/session.cc:320
#
#6 0x08414b0b in ARDOUR_UI::load_session (this=0x9bf4d48, path=@0xbfc2a0a4, snap_name=@0xbfc2a0a8, mix_template=
#
          {static npos = 4294967295, string_ = {static npos = 4294967295, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0xbfc2a0e4 "\224�b�������B\b��B\b�x\213\bX�¿\035[B\bHM�\t\001"}}}) at gtk2_ardour/ardour_ui.cc:2444
#
 
#
 ??? erm, continue? continue!
#
---Type <return> to continue, or q <return> to quit---
#
 
#
#7 0x08425826 in ARDOUR_UI::get_session_parameters (this=0x9bf4d48, backend_audio_is_running=true, should_be_new=false) at gtk2_ardour/ardour_ui.cc:2375
#
0000008 0x08425b1d in ARDOUR_UI::startup (this=0x9bf4d48) at gtk2_ardour/ardour_ui.cc:653
#
0000009 0x0842ffd7 in sigc::bound_mem_functor0<void, ARDOUR_UI>::operator() (this=0x9ec9144) at libs/sigc++2/sigc++/functors/mem_fun.h:1787
#
0000010 0x0842ffee in sigc::adaptor_functor<sigc::bound_mem_functor0<void, ARDOUR_UI> >::operator() (this=0x9ec9140) at libs/sigc++2/sigc++/adaptors/adaptor_trait.h:251
#
0000011 0x0843000a in sigc::internal::slot_call0<sigc::bound_mem_functor0<void, ARDOUR_UI>, void>::call_it (rep=0x9ec9128) at libs/sigc++2/sigc++/functors/slot.h:103
#
0000012 0x08432ec6 in sigc::internal::signal_emit0<void, sigc::nil>::emit (impl=0x9eb8118) at libs/sigc++2/sigc++/signal.h:772
#
0000013 0x08432f8e in sigc::signal0<void, sigc::nil>::emit (this=0x9bf4d90) at libs/sigc++2/sigc++/signal.h:2667
#
0000014 0x08432fa1 in sigc::signal0<void, sigc::nil>::operator() (this=0x9bf4d90) at libs/sigc++2/sigc++/signal.h:2675
#
#15 0xb6d7767f in Gtkmm2ext::UI::run (this=0x9bf4d48, old_receiver=@0x8a01c8c) at libs/gtkmm2ext/gtk_ui.cc:224
#
0000016 0x08714d02 in main (argc=1, argv=0xbfc2a354) at gtk2_ardour/main.cc:346
#
(gdb)
#
now? quit?
#
(gdb) quit
#
yes, quit is what i want?!
#
The program is running. Exit anyway? (y or n) y
TagsNo tags attached.

Activities

paul

2009-04-29 13:40

administrator   ~0005942

should be fixed in current SVN and will be present in the next release (2.8.1)

please confirm that this works for you.

vizzy

2009-07-02 09:00

reporter   ~0006206

hi,

i just checke out svn (2.0-ongoing) last night and did a fresh build.

i ran 'scons' as a user and 'scons install' as root.

for some reason i get errors that libardour cannot be found
"/usr/local/lib/ardour2/ardour-2.8: error while loading shared libraries: libardour.so: cannot open shared object file: No such file or directory
"

but starting ardev from the sourcedirectory works fine.

the old session file now loads as expected.
but i didn't test anything more yet, if the structure is ok etc., but i guess so :)

thx.

if you have a solution for the lib problem it would be great to hear from you. or maybe the svn is currently under high development :))

v.

cth103

2010-04-13 15:10

administrator   ~0007483

The original problem is reported fixed, so marking this as resolved. Please open a new report if you are still experiencing build problems. Thanks!

system

2020-04-19 20:14

developer   ~0021898

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
2009-04-24 13:14 vizzy New Issue
2009-04-29 13:40 paul Note Added: 0005942
2009-04-29 13:40 paul Status new => feedback
2009-07-02 09:00 vizzy Note Added: 0006206
2010-04-13 15:10 cth103 cost => 0.00
2010-04-13 15:10 cth103 Note Added: 0007483
2010-04-13 15:10 cth103 Status feedback => resolved
2010-04-13 15:10 cth103 Resolution open => fixed
2010-04-13 15:10 cth103 Assigned To => cth103
2010-04-24 10:28 cth103 Category bugs => bugs2
2010-04-24 10:29 cth103 Category bugs2 => bugs
2020-04-19 20:14 system Note Added: 0021898
2020-04-19 20:14 system Status resolved => closed