View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0002000 | ardour | bugs | public | 2007-12-26 20:43 | 2008-11-21 00:04 |
| Reporter | Aondo | Assigned To | paul | ||
| Priority | normal | Severity | crash | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Product Version | SVN/2.0-ongoing | ||||
| Summary | 0002000: ardour crash when loading a session | ||||
| Description | Only experienced this with one particular session file. And it always happen. cleaning ~./ardour2 does not help. Running with jackd svn | ||||
| Tags | No tags attached. | ||||
|
2007-12-26 20:43
|
ardour2-ongoing-r2813-segfault.txt (13,528 bytes)
stian@Aondo:~/download/source/audio/ardour-2-ongoing/gtk2_ardour$ ./ardbg
GNU gdb 6.6-debian
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i486-linux-gnu"...
Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
(gdb) run
Starting program: /home/stian/download/source/audio/ardour-2-ongoing/gtk2_ardour/ardour-2.1
[Thread debugging using libthread_db enabled]
[New Thread -1238493504 (LWP 6403)]
Ardour/GTK 2.1
(built using 2513 and GCC version 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2))
Copyright (C) 1999-2007 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.
loading default ui configuration file gtk2_ardour/ardour2_ui_default.conf
loading user ui configuration file /home/stian/.ardour2/ardour2_ui.conf
ardour: [INFO]: Loading ui configuration file gtk2_ardour/ardour2_ui_dark.rc
theme_init() called from internal clearlooks engine
loading system configuration file /home/stian/bin/ardour2-ongoing/etc/ardour2/ardour_system.rc
loading user configuration file /home/stian/.ardour2/ardour.rc
ardour: [INFO]: Using SSE optimized routines
[New Thread -1241117808 (LWP 6406)]
[New Thread -1249510512 (LWP 6407)]
ardour: [INFO]: looking for control protocols in /home/stian/.ardour2/surfaces/:/home/stian/bin/ardour2-ongoing/lib/ardour2/surfaces/
ardour: [INFO]: Control surface protocol discovered: "Generic MIDI"
ardour: [INFO]: Control surface protocol discovered: "Mackie"
powermate: Opening of powermate failed - No such file or directory
ardour: [INFO]: Control protocol powermate not usable
ardour: [INFO]: Control protocol Tranzport not usable
[New Thread -1282491504 (LWP 6408)]
[New Thread -1290884208 (LWP 6409)]
[Thread -1290884208 (LWP 6409) exited]
[Thread -1282491504 (LWP 6408) exited]
[New Thread -1282491504 (LWP 6410)]
[New Thread -1290884208 (LWP 6411)]
[Thread -1290884208 (LWP 6411) exited]
[New Thread -1290884208 (LWP 6414)]
[New Thread -1299276912 (LWP 6415)]
[New Thread -1307669616 (LWP 6416)]
[Thread -1307669616 (LWP 6416) exited]
[Thread -1299276912 (LWP 6415) exited]
[Thread -1290884208 (LWP 6414) exited]
[Thread -1282491504 (LWP 6410) exited]
[New Thread -1282491504 (LWP 6417)]
[New Thread -1290884208 (LWP 6418)]
[New Thread -1299276912 (LWP 6419)]
[New Thread -1307669616 (LWP 6420)]
[Thread -1307669616 (LWP 6420) exited]
[Thread -1290884208 (LWP 6418) exited]
[Thread -1282491504 (LWP 6417) exited]
[New Thread -1320162128 (LWP 6423)]
loading bindings from gtk2_ardour/ardour.bindings
[New Thread -1282491504 (LWP 6424)]
nsd now on page 1
Loading session /home/stian/musikkprod/somedays using snapshot somedays (1)
[New Thread -1322734416 (LWP 6425)]
[New Thread -1323238224 (LWP 6426)]
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1282491504 (LWP 6424)]
0xb67a7cbc in memcpy () from /lib/tls/i686/cmov/libc.so.6
(gdb) thread apply all bt
Thread 18 (Thread -1323238224 (LWP 6426)):
#0 0xffffe410 in __kernel_vsyscall ()
#1 0xb67ff5e7 in poll () from /lib/tls/i686/cmov/libc.so.6
#2 0xb7e394e0 in ARDOUR::Session::midi_thread_work (this=0x8f8ca00) at libs/ardour/session_midi.cc:1220
#3 0xb7e39a6d in ARDOUR::Session::_midi_thread_work (arg=0x8f8ca00) at libs/ardour/session_midi.cc:1141
#4 0xb699346b in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#5 0xb68096de in clone () from /lib/tls/i686/cmov/libc.so.6
Thread 17 (Thread -1322734416 (LWP 6425)):
#0 0xffffe410 in __kernel_vsyscall ()
#1 0xb699a1fb in ?? () from /lib/tls/i686/cmov/libpthread.so.0
#2 0xb6ce4698 in psf_fread (ptr=0xb0d7f008, bytes=4, items=262144, psf=0xb1740ec8) at libs/libsndfile/src/file_io.c:316
#3 0xb6cbf66e in host_read_f (psf=0xb1740ec8, ptr=0xb0d7f008, len=65536) at libs/libsndfile/src/float32.c:538
#4 0xb6ccf2d9 in sf_read_float (sndfile=0xb1740ec8, ptr=0xb0d7f008, len=65536) at libs/libsndfile/src/sndfile.c:1566
#5 0xb7e6c346 in ARDOUR::SndFileSource::read_unlocked (this=0xb170a710, dst=0xb0d7f008, start=65536, cnt=65536) at libs/ardour/sndfilesource.cc:341
#6 0xb7d037c1 in ARDOUR::AudioSource::read (this=0xb170a710, dst=0xb0d7f008, start=65536, cnt=65536) at libs/ardour/audiosource.cc:242
#7 0xb7cfac0a in ARDOUR::AudioRegion::_read_at (this=0xb10effa8, srcs=@0xb10f003c, buf=0xb0d7f008, mixdown_buffer=0xb0d7f008, gain_buffer=0x8fcf468, position=65536,
cnt=65536, chan_n=1, read_frames=0, skip_frames=0) at libs/ardour/audioregion.cc:498
#8 0xb7cfb192 in ARDOUR::AudioRegion::read_at (this=0xb10effa8, buf=0xb0d7f008, mixdown_buffer=0x8f8f460, gain_buffer=0x8fcf468, position=65536, cnt=65536, chan_n=1,
read_frames=0, skip_frames=0) at libs/ardour/audioregion.cc:445
#9 0xb7cceae2 in ARDOUR::AudioPlaylist::read (this=0xb10efdc0, buf=0xb0d7f008, mixdown_buffer=0x8f8f460, gain_buffer=0x8fcf468, start=65536, cnt=65536, chan_n=1)
at libs/ardour/audio_playlist.cc:198
#10 0xb7cb9f4c in ARDOUR::AudioDiskstream::read (this=0xb10f1b80, buf=0xb0d7f008, mixdown_buffer=0x8f8f460, gain_buffer=0x8fcf468, start=@0xb128a33c, cnt=65536,
channel_info=0xb10f26f0, channel=1, reversed=false) at libs/ardour/audio_diskstream.cc:1076
#11 0xb7cbaafd in ARDOUR::AudioDiskstream::_do_refill (this=0xb10f1b80, mixdown_buffer=0x8f8f460, gain_buffer=0x8fcf468) at libs/ardour/audio_diskstream.cc:1326
#12 0xb7cc77e1 in ARDOUR::AudioDiskstream::do_refill (this=0xb10f1b80) at libs/ardour/ardour/audio_diskstream.h:219
#13 0xb7e1b43b in ARDOUR::Session::butler_thread_work (this=0x8f8ca00) at libs/ardour/session_butler.cc:256
#14 0xb7e1bdd3 in ARDOUR::Session::_butler_thread_work (arg=0x8f8ca00) at libs/ardour/session_butler.cc:157
#15 0xb699346b in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#16 0xb68096de in clone () from /lib/tls/i686/cmov/libc.so.6
Thread 16 (Thread -1282491504 (LWP 6424)):
#0 0xb67a7cbc in memcpy () from /lib/tls/i686/cmov/libc.so.6
#1 0xb7d76f35 in ARDOUR::IO::collect_input (this=0xb0b41f60, bufs=@0x8f8cbc8, nbufs=3, nframes=1024, offset=0) at libs/ardour/io.cc:570
#2 0xb7dce4c0 in ARDOUR::Route::passthru (this=0xb0b41f60, start_frame=0, end_frame=1024, nframes=1024, offset=0, declick=0, meter_first=false)
at libs/ardour/route.cc:740
#3 0xb7cdf246 in ARDOUR::AudioTrack::no_roll (this=0xb0b41f60, nframes=1024, start_frame=0, end_frame=1024, offset=0, session_state_changing=false, can_record=false,
rec_monitors_input=false) at libs/ardour/audio_track.cc:521
#4 0xb7e41c6b in ARDOUR::Session::no_roll (this=0x8f8ca00, nframes=1024, offset=0) at libs/ardour/session_process.cc:103
#5 0xb7e42a8e in ARDOUR::Session::process_without_events (this=0x8f8ca00, nframes=1024) at libs/ardour/session_process.cc:742
#6 0xb7e42e79 in ARDOUR::Session::process_with_events (this=0x8f8ca00, nframes=1024) at libs/ardour/session_process.cc:288
#7 0xb7e43512 in ARDOUR::Session::process (this=0x8f8ca00, nframes=1024) at libs/ardour/session_process.cc:62
#8 0xb7ce8f8e in ARDOUR::AudioEngine::process_callback (this=0x8c3f398, nframes=1024) at libs/ardour/audioengine.cc:304
#9 0xb7ce925a in ARDOUR::AudioEngine::_process_callback (nframes=1024, arg=0x8c3f398) at libs/ardour/audioengine.cc:258
#10 0xb69ad279 in jack_client_thread (arg=0x8c80ba8) at client.c:1551
#11 0xb699346b in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#12 0xb68096de in clone () from /lib/tls/i686/cmov/libc.so.6
Thread 15 (Thread -1320162128 (LWP 6423)):
#0 0xffffe410 in __kernel_vsyscall ()
#1 0xb699a9f6 in ?? () from /lib/tls/i686/cmov/libpthread.so.0
#2 0xb7562962 in g_usleep () from /usr/lib/libglib-2.0.so.0
#3 0xb6c7fa75 in Glib::usleep (microseconds=10000) at libs/glibmm2/glibmm/timer.cc:68
#4 0xb7ce8a40 in ARDOUR::AudioEngine::meter_thread (this=0x8c3f398) at libs/ardour/audioengine.cc:431
#5 0xb7ceb78e in sigc::bound_mem_functor0<void, ARDOUR::AudioEngine>::operator() (this=0x8c380a4) at libs/sigc++2/sigc++/functors/mem_fun.h:1781
#6 0xb7ceb7b0 in sigc::adaptor_functor<sigc::bound_mem_functor0<void, ARDOUR::AudioEngine> >::operator() (this=0x8c380a0)
at libs/sigc++2/sigc++/adaptors/adaptor_trait.h:251
#7 0xb7ceb7dc in sigc::internal::slot_call0<sigc::bound_mem_functor0<void, ARDOUR::AudioEngine>, void>::call_it (rep=0x8c38088)
at libs/sigc++2/sigc++/functors/slot.h:103
#8 0x083b30c8 in sigc::slot0<void>::operator() (this=0x8c38108) at libs/sigc++2/sigc++/functors/slot.h:440
#9 0xb6c7f943 in call_thread_entry_slot (data=0x8c38108) at libs/glibmm2/glibmm/thread.cc:43
#10 0xb75605af in ?? () from /usr/lib/libglib-2.0.so.0
#11 0x08c38108 in ?? ()
#12 0x08c74e48 in ?? ()
#13 0x00000000 in ?? ()
Thread 13 (Thread -1299276912 (LWP 6419)):
#0 0xffffe410 in __kernel_vsyscall ()
#1 0xb69978fc in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2 0xb75d7123 in ?? () from /usr/lib/libgthread-2.0.so.0
#3 0xb4dd71f8 in ?? ()
#4 0x08b5ecf8 in ?? ()
#5 0xb28e9308 in ?? ()
#6 0xb75ca21c in ?? () from /usr/lib/libglib-2.0.so.0
#7 0xb6996c80 in ?? () from /lib/tls/i686/cmov/libpthread.so.0
#8 0x00000001 in ?? ()
#9 0xb754ce9f in g_queue_peek_tail_link () from /usr/lib/libglib-2.0.so.0
#10 0xb751fe91 in ?? () from /usr/lib/libglib-2.0.so.0
#11 0xb4dd71f8 in ?? ()
#12 0x08b5ecf8 in ?? ()
#13 0xb28e9384 in ?? ()
#14 0xb751ff1f in g_async_queue_timed_pop_unlocked () from /usr/lib/libglib-2.0.so.0
#15 0xb75622c3 in ?? () from /usr/lib/libglib-2.0.so.0
#16 0x08b5ec00 in ?? ()
#17 0xb28e9384 in ?? ()
#18 0xb28e9398 in ?? ()
#19 0x00000001 in ?? ()
#20 0xb6999f31 in __lll_mutex_unlock_wake () from /lib/tls/i686/cmov/libpthread.so.0
#21 0xb6996c98 in _L_mutex_unlock_175 () from /lib/tls/i686/cmov/libpthread.so.0
#22 0xb6996984 in __pthread_mutex_unlock_usercnt () from /lib/tls/i686/cmov/libpthread.so.0
#23 0x00000000 in ?? ()
Thread 3 (Thread -1249510512 (LWP 6407)):
#0 0xffffe410 in __kernel_vsyscall ()
#1 0xb6997676 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2 0xb6c7eee5 in Glib::Cond::wait (this=0x8b33d28, mutex=@0xb7f14984) at libs/glibmm2/glibmm/thread.cc:362
#3 0xb7e72f91 in peak_thread_work () at libs/ardour/source_factory.cc:61
#4 0x086db6ad in sigc::pointer_functor0<void>::operator() (this=0x8b3f85c) at libs/sigc++2/sigc++/functors/ptr_fun.h:77
#5 0x086db6c4 in sigc::adaptor_functor<sigc::pointer_functor0<void> >::operator() (this=0x8b3f858) at libs/sigc++2/sigc++/adaptors/adaptor_trait.h:251
#6 0x086db6e0 in sigc::internal::slot_call0<sigc::pointer_functor0<void>, void>::call_it (rep=0x8b3f840) at libs/sigc++2/sigc++/functors/slot.h:103
#7 0x083b30c8 in sigc::slot0<void>::operator() (this=0x8b3f830) at libs/sigc++2/sigc++/functors/slot.h:440
#8 0xb6c7f943 in call_thread_entry_slot (data=0x8b3f830) at libs/glibmm2/glibmm/thread.cc:43
#9 0xb75605af in ?? () from /usr/lib/libglib-2.0.so.0
#10 0x08b3f830 in ?? ()
#11 0x08b3f868 in ?? ()
#12 0x00000000 in ?? ()
Thread 2 (Thread -1241117808 (LWP 6406)):
#0 0xffffe410 in __kernel_vsyscall ()
#1 0xb6997676 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2 0xb6c7eee5 in Glib::Cond::wait (this=0x8b33d28, mutex=@0xb7f14984) at libs/glibmm2/glibmm/thread.cc:362
#3 0xb7e72f91 in peak_thread_work () at libs/ardour/source_factory.cc:61
#4 0x086db6ad in sigc::pointer_functor0<void>::operator() (this=0x8b3f764) at libs/sigc++2/sigc++/functors/ptr_fun.h:77
#5 0x086db6c4 in sigc::adaptor_functor<sigc::pointer_functor0<void> >::operator() (this=0x8b3f760) at libs/sigc++2/sigc++/adaptors/adaptor_trait.h:251
#6 0x086db6e0 in sigc::internal::slot_call0<sigc::pointer_functor0<void>, void>::call_it (rep=0x8b3f748) at libs/sigc++2/sigc++/functors/slot.h:103
#7 0x083b30c8 in sigc::slot0<void>::operator() (this=0x8b3ea90) at libs/sigc++2/sigc++/functors/slot.h:440
#8 0xb6c7f943 in call_thread_entry_slot (data=0x8b3ea90) at libs/glibmm2/glibmm/thread.cc:43
#9 0xb75605af in ?? () from /usr/lib/libglib-2.0.so.0
#10 0x08b3ea90 in ?? ()
#11 0x08b3f770 in ?? ()
#12 0xb698e000 in ?? ()
#13 0x00015084 in ?? ()
#14 0xb673da6c in ?? () from /lib/tls/i686/cmov/libc.so.6
#15 0xb69a2ff4 in ?? () from /lib/tls/i686/cmov/libpthread.so.0
#16 0xb6995530 in ?? () from /lib/tls/i686/cmov/libpthread.so.0
#17 0xb69a2ff4 in ?? () from /lib/tls/i686/cmov/libpthread.so.0
#18 0x00000000 in ?? ()
Thread 1 (Thread -1238493504 (LWP 6403)):
#0 0xb699697e in __pthread_mutex_unlock_usercnt () from /lib/tls/i686/cmov/libpthread.so.0
#1 0xb75615d7 in g_static_rw_lock_writer_lock () from /usr/lib/libglib-2.0.so.0
#2 0xb760b9ee in g_type_class_ref () from /usr/lib/libgobject-2.0.so.0
#3 0xb75f25b3 in g_object_new_valist () from /usr/lib/libgobject-2.0.so.0
#4 0xb75f2940 in g_object_new () from /usr/lib/libgobject-2.0.so.0
#5 0xb66a8c33 in ?? () from /usr/lib/libpangoft2-1.0.so.0
#6 0x08cd9be0 in ?? ()
#7 0xb66c6c5b in ?? () from /usr/lib/libpangoft2-1.0.so.0
#8 0xb4df3e50 in ?? ()
#9 0x00000000 in ?? ()
#0 0xb67a7cbc in memcpy () from /lib/tls/i686/cmov/libc.so.6
(gdb)
|
|
2007-12-26 20:44
|
|
|
|
sampo_v2 made a hack (not real-time safe) that made my session open. http://rafb.net/p/htQSG818.html |
|
|
Is this the same as bug 1971? It looks similar to me... |
|
|
Fixed at r2834 |
|
|
see notes. |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2007-12-26 20:43 | Aondo | New Issue | |
| 2007-12-26 20:43 | Aondo | File Added: ardour2-ongoing-r2813-segfault.txt | |
| 2007-12-26 20:44 | Aondo | File Added: somedays.ardour | |
| 2007-12-26 21:41 | Aondo | Note Added: 0004613 | |
| 2008-01-02 14:47 | colinf | Note Added: 0004618 | |
| 2008-01-07 21:13 | Aondo | Note Added: 0004626 | |
| 2008-01-10 20:16 | paul | Status | new => resolved |
| 2008-01-10 20:16 | paul | Resolution | open => fixed |
| 2008-01-10 20:16 | paul | Assigned To | => paul |
| 2008-01-10 20:16 | paul | Note Added: 0004633 | |
| 2008-11-21 00:04 | seablade | Status | resolved => closed |