[ardour-dev] Segfault with current SVN (rev: 639)

Benny Sjöstrand gorm at cucumelo.org
Sun Jun 25 11:00:36 PDT 2006


Hi!

It has been a while since I used ardour, however must say that ardour2
looks just great! I'm impressed!!

After fighting a while with scons, recompiled glib-2.11 for SuSE 10.1,
finally managed to bulid ardour2.
Playing around a little bit, in the new UI when setting a track for
recording and pressing the record button I got a segmentation fault,
the stack look like the following with GDB:

GNU gdb 6.4
Copyright 2005 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 "x86_64-suse-linux"...Using host libthread_db
library "/lib64/libthread_db.so.1".

(gdb) run
Starting program: /usr/local/lib/ardour2/ardour.bin
[Thread debugging using libthread_db enabled]
[New Thread 47564134608048 (LWP 26563)]
Ardour/GTK 2.0beta2
   (built using 1.0.2 with libardour 1.0.0 and GCC version 4.1.0 (SUSE
Linux))
Copyright (C) 1999-2006 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 /usr/local/etc/ardour2/ardour2_ui.rc
[New Thread 1074006336 (LWP 26566)]
[New Thread 1074272576 (LWP 26567)]
[New Thread 1074538816 (LWP 26568)]
[New Thread 1082931520 (LWP 26569)]
jackd 0.100.0
Copyright 2001-2005 Paul Davis and others.
jackd comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome to redistribute it
under certain conditions; see the file COPYING for details

JACK compiled with POSIX SHM support.
loading driver ..
creating alsa driver ... hw:0|hw:0|1024|2|48000|0|0|nomon|swmeter|-|32bit
control device hw:0
configuring for 48000Hz, period = 1024 frames, buffer = 2 periods
Note: audio device hw:0 doesn't support a 32bit sample format so JACK
will try a 24bit format instead
Note: audio device hw:0 doesn't support a 24bit sample format so JACK
will try a 16bit format instead
nperiods = 2 for capture
Note: audio device hw:0 doesn't support a 32bit sample format so JACK
will try a 24bit format instead
Note: audio device hw:0 doesn't support a 24bit sample format so JACK
will try a 16bit format instead
nperiods = 2 for playback
ardour: [INFO]: JACK server started
loading system configuration file /usr/local/etc/ardour2/ardour_system.rc
loading user configuration file /usr/local/etc/ardour2/ardour.rc
OSC @ osc.udp://cucumelo64.site64:3819/
[New Thread 1091324224 (LWP 26575)]
Enabling SSE optimized routines
looking for control protocols in
/home/benny/.ardour2/surfaces/:/usr/local/lib/ardour2/surfaces/
ardour: [INFO]: Control surface protocol discovered: "Generic MIDI"
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 1099716928 (LWP 26576)]
Loading session /home/benny/test using snapshot test
[New Thread 1108109632 (LWP 26577)]
[New Thread 1116502336 (LWP 26578)]
[New Thread 1124895040 (LWP 26579)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 47564134608048 (LWP 26563)]
0x00002b4262435f1e in std::basic_string<char, std::char_traits<char>,
std::allocator<char> >::basic_string ()
   from /usr/lib64/libstdc++.so.6
(gdb) where
#0  0x00002b4262435f1e in std::basic_string<char,
std::char_traits<char>, std::allocator<char> >::basic_string ()
   from /usr/lib64/libstdc++.so.6
#1  0x00002b425e4083c1 in ARDOUR::AudioDiskstream::get_state () from
/usr/local/lib/ardour2/libardour.so
#2  0x00002b425e51fe9f in ARDOUR::Session::state () from
/usr/local/lib/ardour2/libardour.so
#3  0x00002b425e52bbc3 in ARDOUR::Session::save_state () from
/usr/local/lib/ardour2/libardour.so
#4  0x00002b425e4e61be in ARDOUR::Session::maybe_enable_record () from
/usr/local/lib/ardour2/libardour.so
#5  0x00000000004cd453 in ARDOUR_UI::transport_record ()
#6  0x00002b42615aba33 in Glib::SignalProxyNormal::slot0_void_callback
() from /usr/local/lib/ardour2/libglibmm2.so
#7  0x00002b425f1feb9d in g_closure_invoke (closure=0x104feb0,
return_value=0x0, n_param_values=1, param_values=0x7fff4c819760,
    invocation_hint=0x7fff4c819610) at gclosure.c:490
#8  0x00002b425f20fd5c in signal_emit_unlocked_R (node=0xec0a60,
detail=0, instance=0x104db10, emission_return=0x0,
    instance_and_params=0x7fff4c819760) at gsignal.c:2508
#9  0x00002b425f210e69 in g_signal_emit_valist (instance=0x104db10,
signal_id=<value optimized out>, detail=0,
    var_args=0x7fff4c8199e0) at gsignal.c:2197
#10 0x00002b425f211123 in g_signal_emit (instance=0x7fff4c819180,
signal_id=184, detail=22082856) at gsignal.c:2241
#11 0x00002b425fa22813 in gtk_accessible_connect_widget_destroyed ()
from /opt/gnome/lib64/libgtk-x11-2.0.so.0
#12 0x00002b425f1feb9d in g_closure_invoke (closure=0x1077a60,
return_value=0x0, n_param_values=1, param_values=0x7fff4c819da0,
    invocation_hint=0x7fff4c819c50) at gclosure.c:490
#13 0x00002b425f20fa95 in signal_emit_unlocked_R (node=0x9d5890,
detail=0, instance=0x9da630, emission_return=0x0,
    instance_and_params=0x7fff4c819da0) at gsignal.c:2438
#14 0x00002b425f210e69 in g_signal_emit_valist (instance=0x9da630,
signal_id=<value optimized out>, detail=0,
    var_args=0x7fff4c81a020) at gsignal.c:2197
#15 0x00002b425f211123 in g_signal_emit (instance=0x7fff4c819180,
signal_id=184, detail=22082856) at gsignal.c:2241
#16 0x00002b425fa2fba9 in gtk_button_set_alignment () from
/opt/gnome/lib64/libgtk-x11-2.0.so.0
#17 0x00002b425ede8b10 in Gtk::Button_Class::released_callback () from
/usr/local/lib/ardour2/libgtkmm2.so
#18 0x00002b425f1feb9d in g_closure_invoke (closure=0x9d1f50,
return_value=0x0, n_param_values=1, param_values=0x7fff4c81a3f0,
    invocation_hint=0x7fff4c81a2a0) at gclosure.c:490
#19 0x00002b425f20fefd in signal_emit_unlocked_R (node=0x9d7fa0,
detail=0, instance=0x9da630, emission_return=0x0,
    instance_and_params=0x7fff4c81a3f0) at gsignal.c:2368
#20 0x00002b425f210e69 in g_signal_emit_valist (instance=0x9da630,
signal_id=<value optimized out>, detail=0,
    var_args=0x7fff4c81a670) at gsignal.c:2197
#21 0x00002b425f211123 in g_signal_emit (instance=0x7fff4c819180,
signal_id=184, detail=22082856) at gsignal.c:2241
#22 0x00002b425fa2e709 in gtk_button_released () from
/opt/gnome/lib64/libgtk-x11-2.0.so.0
#23 0x00002b425ee0f3a2 in Gtk::Widget::on_button_release_event () from
/usr/local/lib/ardour2/libgtkmm2.so
#24 0x00002b425ee0cc67 in
Gtk::Widget_Class::button_release_event_callback () from
/usr/local/lib/ardour2/libgtkmm2.so
#25 0x00002b425faebdbd in gtk_marshal_BOOLEAN__VOID () from
/opt/gnome/lib64/libgtk-x11-2.0.so.0
#26 0x00002b425f1feb9d in g_closure_invoke (closure=0x9a4c10,
return_value=0x7fff4c81a980, n_param_values=2,
    param_values=0x7fff4c81aa90, invocation_hint=0x7fff4c81a940) at
gclosure.c:490
#27 0x00002b425f2100cc in signal_emit_unlocked_R (node=0x9a4eb0,
detail=0, instance=0x9da630, emission_return=0x7fff4c81acb0,
    instance_and_params=0x7fff4c81aa90) at gsignal.c:2476
#28 0x00002b425f210cfd in g_signal_emit_valist (instance=0x9da630,
signal_id=<value optimized out>, detail=0,
    var_args=0x7fff4c81ad10) at gsignal.c:2207
#29 0x00002b425f211123 in g_signal_emit (instance=0x7fff4c819180,
signal_id=184, detail=22082856) at gsignal.c:2241
#30 0x00002b425fbc5e6e in gtk_widget_get_default_style () from
/opt/gnome/lib64/libgtk-x11-2.0.so.0
#31 0x00002b425fae5a8d in gtk_propagate_event () from
/opt/gnome/lib64/libgtk-x11-2.0.so.0
---Type <return> to continue, or q <return> to quit---
#32 0x00002b425fae6ac1 in gtk_main_do_event () from
/opt/gnome/lib64/libgtk-x11-2.0.so.0
#33 0x00002b425fe3351c in gdk_add_client_message_filter () from
/opt/gnome/lib64/libgdk-x11-2.0.so.0
#34 0x00002b425f081c5a in g_main_context_dispatch (context=0x976730) at
gmain.c:1916
#35 0x00002b425f084dc5 in g_main_context_iterate (context=0x976730,
block=1, dispatch=1, self=<value optimized out>)
    at gmain.c:2547
#36 0x00002b425f0850ed in g_main_loop_run (loop=0x957fb0) at gmain.c:2751
#37 0x00002b425fae6e53 in gtk_main () from
/opt/gnome/lib64/libgtk-x11-2.0.so.0
#38 0x00002b425e80ee4d in Gtkmm2ext::UI::run () from
/usr/local/lib/ardour2/libgtkmm2ext.so
#39 0x00000000006620a5 in main ()
(gdb)


I'm using Suse 10.1 with Athlon64, nForce4 motherboard.

/Benny




More information about the Ardour-Dev mailing list