[ardour-dev] quick crash report

Wolfgang Woehl tito at rumford.de
Wed Sep 7 03:05:48 PDT 2005


With jackd in non-realtime-mode my X survives.

(gdb) r
Starting program: /home/tina/music/bin/ARDOURstuff/ardour-cvs/ardour-nonopt/gtk_ardour/ardour.bin
[New Thread 16384 (LWP 1791)]
[New Thread 32769 (LWP 1793)]
[New Thread 16386 (LWP 1794)]
Ardour/GTK 0.9beta29
   (built using 0.602.0 with libardour 0.898.0)
Copyright (C) 1999-2005 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 UI configuration file /home/tina/.ardour/ardour_ui.rc
Loading user configuration file /home/tina/.ardour/ardour.rc
ardour: [WARNING]: Your system generates "Mod2" when the NumLock key is pressed. This can cause problems when editing so Ardour will use Mod3 to mean Meta rather than Mod2
[New Thread 32771 (LWP 1795)]
[New Thread 49156 (LWP 1796)]
Loading session /home/tina/music/tmp/0907iii using snapshot 0907iii
[New Thread 65541 (LWP 1797)]
[New Thread 81926 (LWP 1798)]
[New Thread 98311 (LWP 1799)]

------ transport, gain automation is in "write" mode, hit "clear" -> freeze
------ ctrl-z in gdb

Program received signal SIGTSTP, Stopped (user).
[Switching to Thread 98311 (LWP 1799)]
0x407e1b66 in poll () from /lib/i686/libc.so.6
(gdb) thread apply all bt

Thread 8 (Thread 98311 (LWP 1799)):
#0  0x407e1b66 in poll () from /lib/i686/libc.so.6
#1  0x084250a6 in ARDOUR::Session::feedback_thread_work() (this=0x8acc890) at libs/ardour/session_feedback.cc:137
#2  0x08424f7b in ARDOUR::Session::_feedback_thread_work(void*) (arg=0x8acc890) at libs/ardour/session_feedback.cc:112
#3  0x40505f60 in pthread_start_thread () from /lib/i686/libpthread.so.0
#4  0x405060fe in pthread_start_thread_event () from /lib/i686/libpthread.so.0
#5  0x407ea327 in clone () from /lib/i686/libc.so.6

Thread 7 (Thread 81926 (LWP 1798)):
#0  0x407e1b66 in poll () from /lib/i686/libc.so.6
#1  0x0842a087 in ARDOUR::Session::midi_thread_work() (this=0x8acc890) at libs/ardour/session_midi.cc:1336
#2  0x08429bf3 in ARDOUR::Session::_midi_thread_work(void*) (arg=0x8acc890) at libs/ardour/session_midi.cc:1257
#3  0x40505f60 in pthread_start_thread () from /lib/i686/libpthread.so.0
#4  0x405060fe in pthread_start_thread_event () from /lib/i686/libpthread.so.0
#5  0x407ea327 in clone () from /lib/i686/libc.so.6

Thread 6 (Thread 65541 (LWP 1797)):
#0  0x407e1b66 in poll () from /lib/i686/libc.so.6
#1  0x0841d592 in ARDOUR::Session::butler_thread_work() (this=0x8acc890) at libs/ardour/session_butler.cc:183
#2  0x0841d4dd in ARDOUR::Session::_butler_thread_work(void*) (arg=0x8acc890) at libs/ardour/session_butler.cc:158
#3  0x40505f60 in pthread_start_thread () from /lib/i686/libpthread.so.0
#4  0x405060fe in pthread_start_thread_event () from /lib/i686/libpthread.so.0
#5  0x407ea327 in clone () from /lib/i686/libc.so.6

Thread 5 (Thread 49156 (LWP 1796)):
#0  0x080ce50a in _List_iterator (this=0x42e60abc, __x=0x8b18be8) at stl_list.h:156
#1  0x080ce530 in std::list<ARDOUR::ControlEvent*, std::allocator<ARDOUR::ControlEvent*> >::end() (this=0x8b763a4) at stl_list.h:583
#2  0x0835bb61 in ARDOUR::AutomationList::rt_add(double, double) (this=0x8b7638c, when=380928, value=0.6864357590675354) at libs/ardour/automation_event.cc:307
#3  0x083a721f in ARDOUR::IO::automation_snapshot(unsigned) (this=0x8b76220, now=380928) at libs/ardour/io.cc:2728
#4  0x083f3c92 in ARDOUR::Route::automation_snapshot(unsigned) (this=0x8b76220, now=380928) at libs/ardour/route.cc:2242
#5  0x083407a4 in ARDOUR::AudioTrack::roll(unsigned, unsigned, unsigned, unsigned, int, bool, bool) (this=0x8b76220, nframes=2048, start_frame=380928, end_frame=382976, offset=0, declick=0,
    can_record=false, rec_monitors_input=false) at libs/ardour/audio_track.cc:569
#6  0x0842d071 in ARDOUR::Session::process_routes(unsigned, unsigned) (this=0x8acc890, nframes=2048, offset=0) at libs/ardour/session_process.cc:138
#7  0x0842e60f in ARDOUR::Session::process_without_events(unsigned) (this=0x8acc890, nframes=2048) at libs/ardour/session_process.cc:750
#8  0x0842d716 in ARDOUR::Session::process_with_events(unsigned) (this=0x8acc890, nframes=2048) at libs/ardour/session_process.cc:276
#9  0x0842cb7f in ARDOUR::Session::process(unsigned) (this=0x8acc890, nframes=2048) at libs/ardour/session_process.cc:62
#10 0x083461c4 in ARDOUR::AudioEngine::process_callback(unsigned) (this=0x87b5250, nframes=2048) at libs/ardour/audioengine.cc:315
#11 0x08345e74 in ARDOUR::AudioEngine::_process_callback(unsigned, void*) (nframes=2048, arg=0x87b5250) at libs/ardour/audioengine.cc:210
#12 0x40632b0a in jack_client_thread (arg=0x87b5360) at client.c:1272
#13 0x40505f60 in pthread_start_thread () from /lib/i686/libpthread.so.0
#14 0x405060fe in pthread_start_thread_event () from /lib/i686/libpthread.so.0
#15 0x407ea327 in clone () from /lib/i686/libc.so.6

Thread 4 (Thread 32771 (LWP 1795)):
#0  0x407e1b66 in poll () from /lib/i686/libc.so.6
#1  0x0845c109 in ARDOUR::Source::peak_thread_work(void*) (arg=0x0) at libs/ardour/source.cc:161
#2  0x40505f60 in pthread_start_thread () from /lib/i686/libpthread.so.0
#3  0x405060fe in pthread_start_thread_event () from /lib/i686/libpthread.so.0
#4  0x407ea327 in clone () from /lib/i686/libc.so.6

Thread 3 (Thread 16386 (LWP 1794)):
#0  0x40737c47 in sigsuspend () from /lib/i686/libc.so.6
#1  0x40508fb8 in sigwait () from /lib/i686/libpthread.so.0
#2  0x0823f299 in signal_thread (arg=0x0) at gtk_ardour/main.cc:156
#3  0x40505f60 in pthread_start_thread () from /lib/i686/libpthread.so.0
#4  0x405060fe in pthread_start_thread_event () from /lib/i686/libpthread.so.0
#5  0x407ea327 in clone () from /lib/i686/libc.so.6

Thread 2 (Thread 32769 (LWP 1793)):
#0  0x407e1b66 in poll () from /lib/i686/libc.so.6
#1  0x40505a8e in __pthread_manager () from /lib/i686/libpthread.so.0
#2  0x40505d63 in __pthread_manager_event () from /lib/i686/libpthread.so.0
#3  0x407ea327 in clone () from /lib/i686/libc.so.6

Thread 1 (Thread 16384 (LWP 1791)):
#0  0x407e1b66 in poll () from /lib/i686/libc.so.6
#1  0x402d71b0 in g_main_poll () from /opt/gnome/lib/libglib-1.2.so.0
#2  0x402d6b4c in g_main_iterate () from /opt/gnome/lib/libglib-1.2.so.0
#3  0x402d6ed4 in g_main_run () from /opt/gnome/lib/libglib-1.2.so.0
#4  0x401e440f in gtk_main () from /opt/gnome/lib/libgtk-1.2.so.0
#5  0x084de077 in Gtk::Main::run_impl() (this=0x872d648) at libs/gtkmm/src/gtk--/main.cc:11
#6  0x0806d3b9 in Gtk::Main::run() () at main.h:168
#7  0x0847a006 in Gtkmmext::UI::run(Receiver&) (this=0x872ed38, old_receiver=@0x8718b60) at libs/gtkmmext/gtk_ui.cc:171
#8  0x08241237 in main (argc=1, argv=0xbffff0d4) at gtk_ardour/main.cc:485
#0  0x407e1b66 in poll () from /lib/i686/libc.so.6
(gdb)

Doug McLain <dougmclain at cayf.org>:
> Sampo Savolainen wrote:
> > On Wed, 2005-09-07 at 03:20 -0400, Doug McLain wrote:
> >>Wolfgang Woehl wrote:
> >>>Reproducable with a new session. With bus and track. No backtrace
> >>> either because the X-lockup *is* hard (ardour/gtk 0.602.0
> >>> libardour 0.898.0)
> >>>
> >>>How do you dump core again?
> >>
> >>ulimit -c unlimited on the shell that you will run ardour from.
> >
> > That doesn't help if ardour freezes completely. That means that it
> > doesn't exit at all due to a fault which would cause a segmentation
> > fault.
> >
> > You can get a backtrace by running ardour withing gdb, and stopping
> > the application from gdb when ardour is frozen. You can stop ardour
> > by pressing CTRL-Z from the gdb console. Then give gdb the magic
> > command "thread apply all bt" and send the results here.
> >
> > It's also probably a good idea to run jackd without -R and in soft
> > mode, so gdb doesn't slow ardour down so much that it would be
> > kicked out of jackd.
>
> If its just an X freeze and not a system freeze, and ulimit -c was
> set, and another machine is available on your network (I assume alot,
> im spoiled i guess) you can ssh/telnet in and kill -s 11 <pid of
> ardour> to force a segfault. I take these measures since I never have
> good luck getting very far with ardour running inside gdb.
> --
> http://nostar.net/
> _______________________________________________
> ardour-dev mailing list
> ardour-dev at lists.ardour.org
> http://lists.ardour.org/listinfo.cgi/ardour-dev-ardour.org




More information about the Ardour-Dev mailing list