[ardour-dev] export problems - testers requested

Wolfgang Woehl tito at rumford.de
Sun May 1 03:15:51 PDT 2005


> > I will give you more details later but i think it is pretty easily
> > to reproduce once you now how - and it pretty much brings down jack
> > and ardour.

Paul, none of what you suggested crashed ardour here. All tests (7 
minute session, 1 mono track, up- and downsampling, rt and non-rt) 
were with jackstart -p 2048 though. Read Jan's message and tried to 
reproduce David's crash. I get the crash too, in realtime-mode it's 
a freaking hard crash, in non-realtime ardour goes and jackd is 
alive. See below for the backtrace.

Happens *only* with jackd @ -p 128 -n 2 and upsampling 44.1 -> 48, 
not with -p <> 128 and not with 44.1 -> 44.1

Wolfgang

jack's messages has
subgraph starting at ardour timed out (subgraph_wait_fd=11, status = 0, state = Triggered)
process cycle within freewheel failed
when it happens.

jackd 0.99.30 (jackstart -p 512 -d alsa -r 44100 -p 128 -n 2)
Ardour/GTK 0.9beta29 (built using 0.594.0 with libardour 0.890.0)

/lib/libc.so.6 says
GNU C Library stable release version 2.3.2 (20030827), by Roland McGrath et al.
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Configured for i686-suse-linux.
Compiled by GNU CC version 3.3.1 (SuSE Linux).
Compiled on a Linux 2.6.0-test3 system on 2003-09-23.
Available extensions:
        GNU libio by Per Bothner
        crypt add-on version 2.1 by Michael Glad and others
        linuxthreads-0.10 by Xavier Leroy
        NoVersion patch for broken glibc 2.0 binaries
        BIND-8.2.3-T5B
        libthread_db work sponsored by Alpha Processor Inc
        NIS(YP)/NIS+ NSS modules 0.19 by Thorsten Kukuk
Thread-local storage support included.
Report bugs using the `glibcbug' script to <bugs at gnu.org>.

Backtrace of the crash:
./ardbg
GNU gdb 5.3.92
(gdb) r
Starting program: ~/music/bin/ARDOURstuff/ardour-cvs/ardour-nonopt/gtk_ardour/ardour.bin
[New Thread 16384 (LWP 2498)]
[New Thread 32769 (LWP 2500)]
[New Thread 16386 (LWP 2501)]
Ardour/GTK 0.9beta29
   (built using 0.594.0 with libardour 0.890.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 ~/.ardour/ardour_ui.rc
Loading user configuration file ~/.ardour/ardour.rc
[New Thread 32771 (LWP 2504)]
[New Thread 49156 (LWP 2505)]
ardour: [INFO]: detecting VST plugins along ~/music/bin/vstplugins
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 65541 (LWP 2506)]
[New Thread 81926 (LWP 2507)]
Loading session ~/music/testing/crashingexport using snapshot crashingexport
[New Thread 98311 (LWP 2508)]
[New Thread 114696 (LWP 2509)]
[New Thread 131081 (LWP 2510)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 2498)]
0x408a305a in _int_malloc () from /lib/i686/libc.so.6
(gdb) thread apply all bt

Thread 10 (Thread 131081 (LWP 2510)):
#0  0x40901b66 in poll () from /lib/i686/libc.so.6
#1  0x0841f1ee in ARDOUR::Session::feedback_thread_work() (this=0x8b32888) at libs/ardour/session_feedback.cc:137
#2  0x0841f0c3 in ARDOUR::Session::_feedback_thread_work(void*) (arg=0x8b32888) at libs/ardour/session_feedback.cc:112
#3  0x40506f60 in pthread_start_thread () from /lib/i686/libpthread.so.0
#4  0x405070fe in pthread_start_thread_event () from /lib/i686/libpthread.so.0
#5  0x4090a327 in clone () from /lib/i686/libc.so.6

Thread 9 (Thread 114696 (LWP 2509)):
#0  0x40901b66 in poll () from /lib/i686/libc.so.6
#1  0x084241cf in ARDOUR::Session::midi_thread_work() (this=0x8b32888) at libs/ardour/session_midi.cc:1336
#2  0x08423d3b in ARDOUR::Session::_midi_thread_work(void*) (arg=0x8b32888) at libs/ardour/session_midi.cc:1257
#3  0x40506f60 in pthread_start_thread () from /lib/i686/libpthread.so.0
#4  0x405070fe in pthread_start_thread_event () from /lib/i686/libpthread.so.0
#5  0x4090a327 in clone () from /lib/i686/libc.so.6

Thread 8 (Thread 98311 (LWP 2508)):
#0  0x40901b66 in poll () from /lib/i686/libc.so.6
#1  0x0841775e in ARDOUR::Session::butler_thread_work() (this=0x8b32888) at libs/ardour/session_butler.cc:183
#2  0x084176a9 in ARDOUR::Session::_butler_thread_work(void*) (arg=0x8b32888) at libs/ardour/session_butler.cc:158
#3  0x40506f60 in pthread_start_thread () from /lib/i686/libpthread.so.0
#4  0x405070fe in pthread_start_thread_event () from /lib/i686/libpthread.so.0
#5  0x4090a327 in clone () from /lib/i686/libc.so.6

Thread 7 (Thread 81926 (LWP 2507)):
#0  0x40901b66 in poll () from /lib/i686/libc.so.6
#1  0x406334f4 in jack_client_thread () from /usr/local/lib/libjack.so.0

Thread 6 (Thread 65541 (LWP 2506)):
#0  0x40901b66 in poll () from /lib/i686/libc.so.6
#1  0x08455b1b in ARDOUR::Source::peak_thread_work(void*) (arg=0x0) at libs/ardour/source.cc:161
#2  0x40506f60 in pthread_start_thread () from /lib/i686/libpthread.so.0
#3  0x405070fe in pthread_start_thread_event () from /lib/i686/libpthread.so.0
#4  0x4090a327 in clone () from /lib/i686/libc.so.6

Thread 5 (Thread 49156 (LWP 2505)):
#0  0x4050cb6b in read () from /lib/i686/libpthread.so.0
#1  0x4128dec0 in __JCR_LIST__ () from /usr/local/lib/wine/ntdll.dll.so

Thread 4 (Thread 32771 (LWP 2504)):
#0  0x4050cb6b in read () from /lib/i686/libpthread.so.0
#1  0x40659500 in __JCR_LIST__ () from /usr/local/lib/libfst.so

Thread 3 (Thread 16386 (LWP 2501)):
#0  0x40857c47 in sigsuspend () from /lib/i686/libc.so.6
#1  0x40509fb8 in sigwait () from /lib/i686/libpthread.so.0
#2  0x0823b965 in signal_thread (arg=0x0) at gtk_ardour/main.cc:156
#3  0x40506f60 in pthread_start_thread () from /lib/i686/libpthread.so.0
#4  0x405070fe in pthread_start_thread_event () from /lib/i686/libpthread.so.0
#5  0x4090a327 in clone () from /lib/i686/libc.so.6

Thread 2 (Thread 32769 (LWP 2500)):
#0  0x40901b66 in poll () from /lib/i686/libc.so.6
#1  0x40506a8e in __pthread_manager () from /lib/i686/libpthread.so.0
#2  0x40506d63 in __pthread_manager_event () from /lib/i686/libpthread.so.0
#3  0x4090a327 in clone () from /lib/i686/libc.so.6

Thread 1 (Thread 16384 (LWP 2498)):
#0  0x408a305a in _int_malloc () from /lib/i686/libc.so.6
#1  0x408a206c in malloc () from /lib/i686/libc.so.6
#2  0x40042d77 in art_uta_from_irect (bbox=0x44000010) at art_uta_rect.c:52
#3  0x08529217 in gtk_canvas_request_redraw (canvas=0x8aac6f8, x1=0, y1=0, x2=20, y2=852) at libs/gtk-canvas/gtk-canvas.c:3894
#4  0x08520a82 in redraw_if_visible (item=0x8ab1908) at libs/gtk-canvas/gtk-canvas.c:339
#5  0x08521438 in gtk_canvas_item_set_valist (item=0x8ab1908, first_arg_name=0x85583a8 "points", args=0xbfffdd98 "Ð\030«\b") at libs/gtk-canvas/gtk-canvas.c:601
#6  0x085212f2 in gtk_canvas_item_set (item=0x8ab1908, first_arg_name=0x85583a8 "points") at libs/gtk-canvas/gtk-canvas.c:563
#7  0x08155d8c in Editor::Cursor::set_position(unsigned) (this=0x8ab18b0, frame=235776) at gtk_ardour/editor_cursors.cc:101
#8  0x08171c61 in Editor::update_current_screen() (this=0x8a65b48) at gtk_ardour/editor_mixer.cc:188
#9  0x08148ed4 in SigC::ObjectSlot0_<void, Editor>::callback(void*) (d=0x4406566c) at object_slot.h:56
#10 0x0806caa1 in SigC::Callback0<void>::call() (this=0x4406566c) at slot.h:260
#11 0x0806d7c1 in SigC::Signal0<void, SigC::Marshal<void> >::emit() (this=0x871333c) at basic_signal.h:193
#12 0x0806d703 in SigC::Signal0<void, SigC::Marshal<void> >::operator()() (this=0x871333c) at basic_signal.h:171
#13 0x0807a9e1 in ARDOUR_UI::every_point_zero_one_seconds() (this=0x8729fe8) at gtk_ardour/ardour_ui.cc:1205
#14 0x08088ffe in SigC::ObjectSlot0_<int, ARDOUR_UI>::callback(void*) (d=0x4409995c) at object_slot.h:56
#15 0x083a499d in SigC::Callback0<int>::call() (this=0x4409995c) at slot.h:260
#16 0x084dad97 in Gtk::TimeoutSig::gtk_callback(void*) (d=0x4409995c) at libs/gtkmm/src/gtk--/main.cc:198
#17 0x402d8813 in g_timeout_dispatch () from /opt/gnome/lib/libglib-1.2.so.0
#18 0x402d770b in g_main_dispatch () from /opt/gnome/lib/libglib-1.2.so.0
#19 0x402d7d98 in g_main_iterate () from /opt/gnome/lib/libglib-1.2.so.0
#20 0x402d7e59 in g_main_iteration () from /opt/gnome/lib/libglib-1.2.so.0
#21 0x401e56a6 in gtk_main_iteration () from /opt/gnome/lib/libgtk-1.2.so.0
#22 0x081c5c0d in ExportDialog::do_export() (this=0x44058b58) at gtk_ardour/export_dialog.cc:1051
#23 0x081c98b8 in SigC::ObjectSlot0_<void, ExportDialog>::callback(void*) (d=0x440ac4dc) at object_slot.h:56
#24 0x0806caa1 in SigC::Callback0<void>::call() (this=0x440ac4dc) at slot.h:260
#25 0x0806ca88 in Gtk::ProxySignal0<void, Gtk::Button, _GtkButton, 2>::gtk_callback(_GtkObject*, void*) (d=0x440ac510) at proxy.h:90
#26 0x401e7116 in gtk_marshal_NONE__NONE () from /opt/gnome/lib/libgtk-1.2.so.0
#27 0x4021d812 in gtk_handlers_run () from /opt/gnome/lib/libgtk-1.2.so.0
#28 0x4021cabd in gtk_signal_real_emit () from /opt/gnome/lib/libgtk-1.2.so.0
#29 0x4021a4b5 in gtk_signal_emit () from /opt/gnome/lib/libgtk-1.2.so.0
#30 0x40176b51 in gtk_button_clicked () from /opt/gnome/lib/libgtk-1.2.so.0
#31 0x401783e0 in gtk_real_button_released () from /opt/gnome/lib/libgtk-1.2.so.0
#32 0x084c0b79 in Gtk::Button::released_impl() (this=0x44059020) at libs/gtkmm/src/gtk--/button.cc:175
#33 0x084c0af7 in Gtk::Button_Class::released_callback(_GtkButton*) (o_=0x440732e8) at libs/gtkmm/src/gtk--/button.cc:157
#34 0x401e7116 in gtk_marshal_NONE__NONE () from /opt/gnome/lib/libgtk-1.2.so.0
#35 0x4021c8e9 in gtk_signal_real_emit () from /opt/gnome/lib/libgtk-1.2.so.0
#36 0x4021a4b5 in gtk_signal_emit () from /opt/gnome/lib/libgtk-1.2.so.0
#37 0x40176a71 in gtk_button_released () from /opt/gnome/lib/libgtk-1.2.so.0
#38 0x40177c9c in gtk_button_button_release () from /opt/gnome/lib/libgtk-1.2.so.0
#39 0x0850347c in Gtk::Widget::button_release_event_impl(_GdkEventButton*) (this=0x44059020, p0=0x8b1c1f8) at libs/gtkmm/src/gtk--/widget.cc:1534
#40 0x085033de in Gtk::Widget_Class::button_release_event_callback(_GtkWidget*, _GdkEventButton*) (o_=0x440732e8, p0=0x8b1c1f8) at libs/gtkmm/src/gtk--/widget.cc:1514
#41 0x084db76b in gtkmm_marshal_INT__POINTER(_GtkObject*, void (*)(), void*, _GtkArg*) (object=0x440732e8,
    func=0x85033a6 <Gtk::Widget_Class::button_release_event_callback(_GtkWidget*, _GdkEventButton*)>, func_data=0x0, args=0xbfffeac0) at libs/gtkmm/src/gtk--/marshal.cc:240
#42 0x4021c996 in gtk_signal_real_emit () from /opt/gnome/lib/libgtk-1.2.so.0
#43 0x4021a4b5 in gtk_signal_emit () from /opt/gnome/lib/libgtk-1.2.so.0
#44 0x40259ed4 in gtk_widget_event () from /opt/gnome/lib/libgtk-1.2.so.0
#45 0x401e6bfc in gtk_propagate_event () from /opt/gnome/lib/libgtk-1.2.so.0
#46 0x401e5b1d in gtk_main_do_event () from /opt/gnome/lib/libgtk-1.2.so.0
#47 0x402a33a0 in gdk_event_dispatch () from /opt/gnome/lib/libgdk-1.2.so.0
#48 0x402d770b in g_main_dispatch () from /opt/gnome/lib/libglib-1.2.so.0
#49 0x402d7d98 in g_main_iterate () from /opt/gnome/lib/libglib-1.2.so.0
#50 0x402d7ed4 in g_main_run () from /opt/gnome/lib/libglib-1.2.so.0
#51 0x401e540f in gtk_main () from /opt/gnome/lib/libgtk-1.2.so.0
#52 0x084d9e8b in Gtk::Main::run_impl() (this=0x87288f0) at libs/gtkmm/src/gtk--/main.cc:11
#53 0x0806d6d9 in Gtk::Main::run() () at main.h:168
---Type <return> to continue, or q <return> to quit---
#54 0x08475dc6 in Gtkmmext::UI::run(Receiver&) (this=0x8729fe8, old_receiver=@0x8713b60) at libs/gtkmmext/gtk_ui.cc:171
#55 0x0823d903 in main (argc=1, argv=0xbffff0e4) at gtk_ardour/main.cc:485


>
>     I just tested this and get a segfault when JACK is running at
> 128. At 2048 , no problems regardless of the settings (up/down
> sample).
>
> Running
> /lib/libc.so.6
> jack 0.99.61
> Ardour/GTK 0.9beta29
>    (built using 0.594.0 with libardour 0.890.0)
>
> Jan




More information about the Ardour-Dev mailing list