[Ardour-Dev] ardour3 segfault due to gtk.rc
Robin Gareus
robin at gareus.org
Sun Jun 12 14:31:03 PDT 2011
Hi,
ardour3 rev9563 segfaults on startup (before showing any windows) with
both ./ardev and ./ardbg.
Before I start digging (libgtk version, trying to install it instead of
running from source-folder, reading ardour3_ui_dark.rc)
Is anyone else seeing this issue? Any hints?
The last version I've tested and can confirm to be working is rev 8980.
./ardbg
GNU gdb (GDB) 7.2-debian
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from
/home/rgareus/src/git/ardour-3.0/build/default/gtk2_ardour/ardour-3.0...done.
(gdb) run
Starting program:
/home/rgareus/src/git/ardour-3.0/build/default/gtk2_ardour/ardour-3.0
[Thread debugging using libthread_db enabled]
Ardour3.0alpha6 (built using git 520ad4 and GCC version 4.5.3)
Copyright (C) 1999-2011 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.
Cannot xinstall SIGPIPE error handler
ardour: [INFO]: Loading default ui configuration file
./../gtk2_ardour/ardour3_ui_default.conf
Loading user ui configuration file
/home/rgareus/.config/ardour3/ardour3_ui.conf
ardour: [INFO]: Loading ui configuration file
./../build/default/gtk2_ardour/ardour3_ui_dark.rc
Program received signal SIGSEGV, Segmentation fault.
0xb571e582 in ?? () from /lib/libglib-2.0.so.0
(gdb) thread apply all bt
Thread 1 (Thread 0xb26dfad0 (LWP 21610)):
#0 0xb571e582 in ?? () from /lib/libglib-2.0.so.0
#1 0xb571fd04 in g_build_filename () from /lib/libglib-2.0.so.0
#2 0xb51f72ba in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#3 0xb51f8ba5 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#4 0xb51f8d0c in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#5 0xb51f8ff8 in gtk_rc_parse () from /usr/lib/libgtk-x11-2.0.so.0
#6 0xb4a43f55 in Gtk::RC::RC(Glib::ustring const&) ()
from /usr/lib/libgtkmm-2.4.so.1
#7 0xb60d790f in Gtkmm2ext::UI::load_rcfile (this=0x9e10618, path=...,
themechange=false) at ../libs/gtkmm2ext/gtk_ui.cc:156
#8 0x095a7dbb in load_rc_file (filename=..., themechange=false)
at ../gtk2_ardour/theme_manager.cc:205
#9 0x095a866b in ThemeManager::setup_theme (this=0x9ec7200)
at ../gtk2_ardour/theme_manager.cc:287
#10 0x095a6d73 in ThemeManager::ThemeManager (this=0x9ec7200,
__in_chrg=<value optimized out>, __vtt_parm=<value optimized out>)
at ../gtk2_ardour/theme_manager.cc:99
#11 0x08e6376f in ARDOUR_UI::ARDOUR_UI (this=0x9e10618, argcp=0xbfffeaf0,
argvp=0xbfffeaf4, __in_chrg=<value optimized out>,
__vtt_parm=<value optimized out>) at ../gtk2_ardour/ardour_ui.cc:210
#12 0x0928955d in main (argc=1, argv=0xbfffeb94) at
../gtk2_ardour/main.cc:551
(gdb) up
#1 0xb571fd04 in g_build_filename () from /lib/libglib-2.0.so.0
(gdb) up
#2 0xb51f72ba in ?? () from /usr/lib/libgtk-x11-2.0.so.0
(gdb) up
#3 0xb51f8ba5 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
(gdb) up
#4 0xb51f8d0c in ?? () from /usr/lib/libgtk-x11-2.0.so.0
(gdb) up
#5 0xb51f8ff8 in gtk_rc_parse () from /usr/lib/libgtk-x11-2.0.so.0
(gdb) up
#6 0xb4a43f55 in Gtk::RC::RC(Glib::ustring const&) ()
from /usr/lib/libgtkmm-2.4.so.1
(gdb) up
#7 0xb60d790f in Gtkmm2ext::UI::load_rcfile (this=0x9e10618, path=...,
themechange=false) at ../libs/gtkmm2ext/gtk_ui.cc:156
156 RC rc (path.c_str());
(gdb) print path
$1 = {static npos = <optimized out>,
_M_dataplus = {<std::allocator<char>> =
{<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>},
_M_p = 0x9ef1d9c "./../build/default/gtk2_ardour/ardour3_ui_dark.rc"}}
(gdb) quit
A debugging session is active.
Inferior 1 [process 21610] will be killed.
Quit anyway? (y or n) y
More information about the Ardour-Dev
mailing list