The new version currently segfaults on my setup and I've taken it upstream.
(In reply to comment #0) > The new version currently segfaults on my setup and I've taken it upstream. > I've seen your mail, and have the same issue here. The problem is upstream answering they dont support syslibs... well I'd really like to build it with syslibs, just for packaging quality, including tens of libs that we already have installed, rebuild them and link statically is insane. I'd prefer getting who's faulty here and fix it. Another question raises with this bump : it can now be slotted with gtk1 ardour properly... but do we really want that ? Or do we just want to kill gtk1 ardour ?
hmmm while running ardour2 through strace I don't get the segfault...
I'm not giving up syslibs yet, though it I might release a non-syslib ebuild for the short term. slotting is possible if I recall correct, I think they even sorted out the messages resources upstream. Though I my take on it is that 1.x (that is, 0.9x) is as much "unstable" as the current ardour2 series, offers less or comparable, and we'll punt them off the tree in a few releases.
in CVS - but I can't get it to work well with SYSLIBS on. I'm disabling SYSLIBS for now.
(In reply to comment #4) > in CVS - but I can't get it to work well with SYSLIBS on. I'm disabling SYSLIBS > for now. > I'd suggest to mask it then: - their internal libsndfile has automagics iirc - it disables flac for flac >= 1.1.3 while the one we ship is fine - the internal libs they ship *must* be checked for security issues - that it doesn't work with syslibs is probably a bug in ardour that should be tracked and fixed; or also a bug in the libs we ship that should be reported - didn't check it bug the other libs might have automagic aswell - libsndfile has had a security fix recently, the one shipped with ardour 2.1 is not patched
Good idea - I've p.mask'd it.
I've just added 2.2, I've had no issue with syslibs & friends, so I've let it go in ~arch, could anyone confirm this so that we can remove 2.1 & close this bug ?
Confirmed that 2.2 compiles on x86. However, when you try to run ardour2 it segfaults whether you try create a new session or open an existing one. Agreed that the 0.9x branches should go--the 2.x series is *much* more stable/usable than the 0.9x branch ever was.
(In reply to comment #8) > Confirmed that 2.2 compiles on x86. However, when you try to run ardour2 it > segfaults whether you try create a new session or open an existing one. mind attaching a backtrace please ? and also what could help is what versions you have of ardour's depenencies (just check the ebuild, there are a lot :/) to see what differs from your system to mine
Here's the backtrace: Program received signal SIGSEGV, Segmentation fault. [Switching to Thread -1239464224 (LWP 12407)] 0xb72214ac in Glib::Interface::Interface () from /usr/lib/libglibmm-2.4.so.1 (gdb) bt #0 0xb72214ac in Glib::Interface::Interface () from /usr/lib/libglibmm-2.4.so.1 #1 0xb75e8351 in Atk::Implementor::Implementor () from /usr/lib/libatkmm-1.6.so.1 #2 0xb788373e in Gtk::Widget::Widget () from /usr/lib/libgtkmm-2.4.so.1 #3 0xb77dee36 in Gtk::Container::Container () from /usr/lib/libgtkmm-2.4.so.1 #4 0xb7807f06 in Gtk::Layout::Layout () from /usr/lib/libgtkmm-2.4.so.1 #5 0xb6eda156 in Gnome::Canvas::Canvas::Canvas () from /usr/lib/libgnomecanvasmm-2.6.so.1 #6 0xb6edacf1 in Gnome::Canvas::CanvasAA::CanvasAA () from /usr/lib/libgnomecanvasmm-2.6.so.1 #7 0x084d14b1 in Editor::Editor () #8 0x0841ceb0 in ARDOUR_UI::create_editor () #9 0x0840048e in ARDOUR_UI::setup_windows () #10 0x083e13f5 in ARDOUR_UI::post_engine () #11 0x083e1c6b in ARDOUR_UI::create_engine () #12 0x083e291c in ARDOUR_UI::get_session_parameters () #13 0x083e4644 in ARDOUR_UI::startup () #14 0x083ed577 in sigc::bound_mem_functor0<void, ARDOUR_UI>::operator() () #15 0x083ed58e in sigc::adaptor_functor<sigc::bound_mem_functor0<void, ARDOUR_UI> >::operator() () #16 0x083ed5aa in sigc::internal::slot_call0<sigc::bound_mem_functor0<void, ARDOUR_UI>, void>::call_it () #17 0x083f0179 in sigc::internal::signal_emit0<void, sigc::nil>::emit () #18 0x083f022e in sigc::signal0<void, sigc::nil>::emit () #19 0x083f0241 in sigc::signal0<void, sigc::nil>::operator() () #20 0xb7ab8ed1 in Gtkmm2ext::UI::run () from /usr/lib/ardour2/libgtkmm2ext.so #21 0x08664173 in main () This was after selecting an existing session. I could see a small dialog pop up saying "Starting audio engine..." right before it crashed. Also, it crashes whether I have JACK running or not. Here's the libs linked in (from objdump & equery): NEEDED libardour.so (ardour-2.2) NEEDED libardour_cp.so (ardour-2.2) NEEDED libgtkmm2ext.so (ardour-2.2) NEEDED libmidi++.so (ardour-2.2) NEEDED libpbd.so (ardour-2.2) NEEDED libgtkmm-2.4.so.1 (gtkmm-2.10.10) NEEDED libgdkmm-2.4.so.1 (gtkmm-2.10.10) NEEDED libatkmm-1.6.so.1 (gtkmm-2.10.10) NEEDED libgtk-x11-2.0.so.0 (gtk+-2.10.14) NEEDED libpangomm-1.4.so.1 (gtkmm-2.10.10) NEEDED libcairomm-1.0.so.1 (cairomm-1.2.4) NEEDED libglibmm-2.4.so.1 (glibmm-2.12.10) NEEDED libsigc-2.0.so.0 (libsigc++-2.0.17) NEEDED libgdk-x11-2.0.so.0 (gtk+-2.10.14) NEEDED libatk-1.0.so.0 (atk-1.18.0) NEEDED libgdk_pixbuf-2.0.so.0 (gtk+-2.10.14) NEEDED libpangocairo-1.0.so.0 (pango-1.16.5) NEEDED libpango-1.0.so.0 (pango-1.16.5) NEEDED libcairo.so.2 (cairo-1.4.10) NEEDED libgobject-2.0.so.0 (glib-2.12.13) NEEDED libgmodule-2.0.so.0 (glib-2.12.13) NEEDED libdl.so.2 (glibc-2.7-r1) NEEDED libglib-2.0.so.0 (glib-2.12.13) NEEDED libgthread-2.0.so.0 (glib-2.12.13) NEEDED librt.so.1 (glibc-2.7-r1) NEEDED libgnomecanvas-2.so.0 (libgnomecanvas-2.14.0) NEEDED libart_lgpl_2.so.2 (libart_lgpl-2.3.19-r1) NEEDED libpangoft2-1.0.so.0 (pango-1.16.5) NEEDED libm.so.6 (glibc-2.7-r1) NEEDED libgnomecanvasmm-2.6.so.1 (libgnomecanvasmm-2.16.0) NEEDED libasound.so.2 (alsa-lib-1.0.15) NEEDED libsndfile.so.1 (libsndfile-1.0.17) NEEDED liblrdf.so.2 (liblrdf-0.4.0) NEEDED libxml2.so.2 (libxml2-2.6.30) NEEDED libxslt.so.1 (libxslt-1.1.22) NEEDED libz.so.1 (zlib-1.2.3-r1) NEEDED libsamplerate.so.0 (libsamplerate-0.1.2-r1) NEEDED libjack.so.0 (jack-audio-connection-kit-0.109.0) NEEDED libpthread.so.0 (glibc-2.7-r1) NEEDED libfftw3f.so.3 (fftw-3.1.2) NEEDED librubberband.so (ardour-2.2) NEEDED libvampsdk.so (ardour-2.2) NEEDED libfftw3.so.3 (fftw-3.1.2) NEEDED libstdc++.so.6 (gcc-4.2.2) NEEDED libgcc_s.so.1 (gcc-4.2.2) NEEDED libc.so.6 (glibc-2.7-r1)
interesting, thanks seems the deps aren't perfect then, let's try to improve them: could you please try with gtkmm 2.12.3, libgnomecanvasmm 2.20.0, glibmm 2.14.2 ? that's what I have here and your segfault seems to appear in those libs
hmm. this seems alot like the bt I got for 2.1...
OK, I upgraded gtkmm and glibmm first, and it still segfaulted. But once I upgraded libgnomecanvasmm it worked! :-D So yeah, you probably need to tighten up the deps before blessing this one. Side note: 2.2 is much better than even the 2.0.x series! Feel free to nuke the 0.99.x branches as they are GTK1 apps and buggy as hell.
(In reply to comment #13) > OK, I upgraded gtkmm and glibmm first, and it still segfaulted. But once I > upgraded libgnomecanvasmm it worked! :-D thanks a lot, I've bumped gnomecanvasmm deps then > Side note: 2.2 is much better than even the 2.0.x series! Feel free to nuke the > 0.99.x branches as they are GTK1 apps and buggy as hell. yep this is planned, but I prefer making sure ardour 2.2 is fine before nuking it ;) By the way, does is still fail with only the ~arch libgnomecanvasmm and stable glibmm & gtkmm ? From your comment I'd say it doesn't, but I'm not 100% sure.
I'm not exactly sure what you mean, but currently my glibmm is ver. 2.14.2 (stable) and gtkmm is 2.12.3 (~arch).
(In reply to comment #15) > I'm not exactly sure what you mean, but currently my glibmm is ver. 2.14.2 > (stable) and gtkmm is 2.12.3 (~arch). > thanks, I've updated the deps for ardour 2.3.1 to match these ones, let's hope this is fixed now and please reopen if you're still having issues
ardour 2.2 and 2.3.1 both segfault on my machine using: gtkmm 2.12.3 or 2.12.4 libgnomecanvasmm 2.20.0 glibmm 2.14.2 currently emerging ardour 2.0.5 to see if the problem still exists there... should this bug perhaps be reopened? if you need a backtrace or anything else, let me know.
(In reply to comment #17) > ardour 2.2 and 2.3.1 both segfault on my machine using: [...] Same situation here. 2.0.5 works great, instead.
(In reply to comment #17) > > currently emerging ardour 2.0.5 to see if the problem still exists there... > should this bug perhaps be reopened? it seems...
*** Bug 210552 has been marked as a duplicate of this bug. ***
Interesting info from bug #210552 that I'm pasting here for reference: I'm using: media-sound/ardour-2.3.1 dev-cpp/libgnomecanvasmm-2.20.0 dev-cpp/glibmm-2.14.2 dev-cpp/gtkmm-2.12.4 And I get exactly the same crash as of comments #8 #9 #10 of bug #194437. [-> segfaults whether you try create a new session or open an existing one] Here is my bt: Program received signal SIGSEGV, Segmentation fault. [Switching to Thread -1235769152 (LWP 6620)] 0xb7a87a49 in Glib::Interface::Interface () from /usr/lib/libglibmm-2.4.so.1 (gdb) bt #0 0xb7a87a49 in Glib::Interface::Interface () from /usr/lib/libglibmm-2.4.so.1 #1 0xb7ac9191 in Atk::Implementor::Implementor () from /usr/lib/libatkmm-1.6.so.1 #2 0xb71c615e in Gtk::Widget::Widget () from /usr/lib/libgtkmm-2.4.so.1 #3 0xb711a036 in Gtk::Container::Container () from /usr/lib/libgtkmm-2.4.so.1 #4 0xb7143bf6 in Gtk::Layout::Layout () from /usr/lib/libgtkmm-2.4.so.1 #5 0xb6e311f6 in Gnome::Canvas::Canvas::Canvas () from /usr/lib/libgnomecanvasmm-2.6.so.1 #6 0xb6e31d4e in Gnome::Canvas::CanvasAA::CanvasAA () from /usr/lib/libgnomecanvasmm-2.6.so.1 #7 0x084f367f in Editor::Editor () #8 0x083f8dc6 in ARDOUR_UI::create_editor () #9 0x083b2c44 in ARDOUR_UI::setup_windows () #10 0x083cc3a1 in ARDOUR_UI::post_engine () #11 0x083ccce2 in ARDOUR_UI::create_engine () #12 0x083cd284 in ARDOUR_UI::get_session_parameters () #13 0x083cdaed in ARDOUR_UI::startup () #14 0x083b4bf3 in sigc::bound_mem_functor0<void, ARDOUR_UI>::operator() () #15 0x083b4c0a in sigc::adaptor_functor<sigc::bound_mem_functor0<void, ARDOUR_UI> >::operator() () #16 0x083b4c26 in sigc::internal::slot_call0<sigc::bound_mem_functor0<void, ARDOUR_UI>, void>::call_it () #17 0x083d91f5 in sigc::internal::signal_emit0<void, sigc::nil>::emit () #18 0x083d92b0 in sigc::signal0<void, sigc::nil>::emit () #19 0x083d92c3 in sigc::signal0<void, sigc::nil>::operator() () #20 0xb6f45ddb in Gtkmm2ext::UI::run () from /usr/lib/ardour2/libgtkmm2ext.so #21 0x0864c94c in main () And here is my linked libs form objdump and equery: libardour.so (ardour-2.3.1) libardour_cp.so (ardour-2.3.1) libatkmm-1.6.so.1 (gtkmm-2.12.4) libglibmm-2.4.so.1 (glibmm-2.14.2) libatk-1.0.so.0 (atk-1.20.0) libsigc-2.0.so.0 (libsigc++-2.0.17) libgobject-2.0.so.0 (glib-2.14.6) libgmodule-2.0.so.0 (glib-2.14.6) libdl.so.2 (glibc-2.5-r2) libglib-2.0.so.0 (glib-2.14.6) libfftw3.so.3 (fftw-3.0.1-r1) libfftw3f.so.3 (fftw-3.0.1-r1) libm.so.6 (glibc-2.5-r2) libgdkmm-2.4.so.1 (gtkmm-2.12.4) libpangomm-1.4.so.1 (gtkmm-2.12.4) libgdk-x11-2.0.so.0 (gtk+-2.12.8) libcairomm-1.0.so.1 (cairomm-1.2.4) libgdk_pixbuf-2.0.so.0 (gtk+-2.12.8) libpangocairo-1.0.so.0 (pango-1.18.4) libpango-1.0.so.0 (pango-1.18.4) libcairo.so.2 (cairo-1.4.6) libgthread-2.0.so.0 (glib-2.14.6) librt.so.1 (glibc-2.5-r2) libgtk-x11-2.0.so.0 (gtk+-2.12.8) libgtkmm-2.4.so.1 (gtkmm-2.12.4) libgtkmm2ext.so (ardour-2.3.1) libjack.so.0 (jack-audio-connection-kit-0.109.2) libpthread.so.0 (glibc-2.5-r2) libgnomecanvas-2.so.0 (libgnomecanvas-2.20.1.1) libart_lgpl_2.so.2 (libart_lgpl-2.3.19-r1) libgnomecanvasmm-2.6.so.1 (libgnomecanvasmm-2.20.0) liblrdf.so.2 (liblrdf-0.4.0) libmidi++.so (ardour-2.3.1) libpbd.so (ardour-2.3.1) libsamplerate.so.0 (libsamplerate-0.1.2) libsndfile.so.1 (libsndfile-1.0.17-r1) libasound.so.2 (alsa-lib-1.0.16_rc2) libvampsdk.so (ardour-2.3.1) libvamphostsdk.so (ardour-2.3.1) libxml2.so.2 (libxml2-2.6.28) libxslt.so.1 (libxslt-1.1.20) libz.so.1 (zlib-1.2.3-r1) librubberband.so (ardour-2.3.1) libstdc++.so.6 (gcc-3.4.6-r2 sys-devel/gcc-4.1.2) libgcc_s.so.1 (gcc-3.3.6-r1 sys-devel/gcc-3.4.6-r2 sys-devel/gcc-4.1.2) libc.so.6 (glibc-2.5-r2) Also downgraded to gtkmm-2.12.3, but no luck.
Reassigning to herd since eldad has retired from Gentoo.
i have also a segfault for the version: $ ardour2 Ardour/GTK 2.3 (built using 3029 and GCC version 4.2.2 (Gentoo 4.2.2 p1.0)) 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 /etc/ardour2/ardour2_ui_default.conf loading user ui configuration file /home/gentux/.ardour2/ardour2_ui.conf Loading ui configuration file /etc/ardour2/ardour2_ui_dark.rc theme_init() called from internal clearlooks engine loading system configuration file /etc/ardour2/ardour_system.rc loading user configuration file /home/gentux/.ardour2/ardour.rc ardour: [INFO]: Using SSE optimized routines ardour: [INFO]: looking for control protocols in /home/gentux/.ardour2/surfaces/:/usr/lib/ardour2/surfaces/ ardour: [INFO]: Control surface protocol discovered: "Generic MIDI" ardour: [INFO]: Control protocol Tranzport not usable ardour: [INFO]: Control surface protocol discovered: "Mackie" powermate: Opening of powermate failed - No such file or directory ardour: [INFO]: Control protocol powermate not usable JACK tmpdir identified as [/var/run/jack] JACK COMMAND: /usr/bin/jackd -p 128 -T -d alsa -n 3 -r 48000 -p 1024 -d hw:0,0 JACK tmpdir identified as [/var/run/jack] jackd 0.103.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 System V SHM support. loading driver .. apparent rate = 48000 creating alsa driver ... hw:0,0|hw:0,0|1024|3|48000|0|0|nomon|swmeter|-|32bit control device hw:0 configuring for 48000Hz, period = 1024 frames, buffer = 3 periods ALSA: final selected sample format for capture: 32bit little-endian ALSA: use 3 periods for capture ALSA: final selected sample format for playback: 32bit little-endian ALSA: use 3 periods for playback Segmentation fault and with gdb: $ ardour2 GNU gdb 6.7.1 Copyright (C) 2007 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 "i686-pc-linux-gnu"... Using host libthread_db library "/lib/libthread_db.so.1". (gdb) run Starting program: /usr/lib/ardour2/ardour-2.3 [Thread debugging using libthread_db enabled] [New Thread 0xb66a86d0 (LWP 7124)] Ardour/GTK 2.3 (built using 3029 and GCC version 4.2.2 (Gentoo 4.2.2 p1.0)) 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 /etc/ardour2/ardour2_ui_default.conf loading user ui configuration file /home/gentux/.ardour2/ardour2_ui.conf Loading ui configuration file /etc/ardour2/ardour2_ui_dark.rc theme_init() called from internal clearlooks engine loading system configuration file /etc/ardour2/ardour_system.rc loading user configuration file /home/gentux/.ardour2/ardour.rc ardour: [INFO]: Using SSE optimized routines [New Thread 0xb64bbb90 (LWP 7127)] [New Thread 0xb5cbab90 (LWP 7128)] [New Thread 0xb54b9b90 (LWP 7129)] ardour: [INFO]: looking for control protocols in /home/gentux/.ardour2/surfaces/:/usr/lib/ardour2/surfaces/ ardour: [INFO]: Control surface protocol discovered: "Generic MIDI" ardour: [INFO]: Control protocol Tranzport not usable ardour: [INFO]: Control surface protocol discovered: "Mackie" powermate: Opening of powermate failed - No such file or directory ardour: [INFO]: Control protocol powermate not usable JACK tmpdir identified as [/var/run/jack] JACK COMMAND: /usr/bin/jackd -p 128 -T -d alsa -n 3 -r 48000 -p 1024 -d hw:0,0 JACK tmpdir identified as [/var/run/jack] jackd 0.103.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 System V SHM support. loading driver .. apparent rate = 48000 creating alsa driver ... hw:0,0|hw:0,0|1024|3|48000|0|0|nomon|swmeter|-|32bit control device hw:0 configuring for 48000Hz, period = 1024 frames, buffer = 3 periods ALSA: final selected sample format for capture: 32bit little-endian ALSA: use 3 periods for capture ALSA: final selected sample format for playback: 32bit little-endian ALSA: use 3 periods for playback [New Thread 0xb3eafcb0 (LWP 7137)] Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0xb66a86d0 (LWP 7124)] 0xb7c2c97c in Glib::Interface::Interface () from /usr/lib/libglibmm-2.4.so.1 (gdb) bt #0 0xb7c2c97c in Glib::Interface::Interface () from /usr/lib/libglibmm-2.4.so.1 #1 0xb7c6eb51 in Atk::Implementor::Implementor () from /usr/lib/libatkmm-1.6.so.1 #2 0xb72ae77e in Gtk::Widget::Widget () from /usr/lib/libgtkmm-2.4.so.1 #3 0xb72036a6 in Gtk::Container::Container () from /usr/lib/libgtkmm-2.4.so.1 #4 0xb722ce36 in Gtk::Layout::Layout () from /usr/lib/libgtkmm-2.4.so.1 #5 0xb6f39c26 in Gnome::Canvas::Canvas::Canvas () from /usr/lib/libgnomecanvasmm-2.6.so.1 #6 0xb6f3a7be in Gnome::Canvas::CanvasAA::CanvasAA () from /usr/lib/libgnomecanvasmm-2.6.so.1 #7 0x0832f760 in Editor::Editor () #8 0x08232da2 in ARDOUR_UI::create_editor () #9 0x08205234 in ARDOUR_UI::setup_windows () #10 0x0822303f in ARDOUR_UI::post_engine () #11 0x08223852 in ARDOUR_UI::create_engine () #12 0x08223fc4 in ARDOUR_UI::get_session_parameters () #13 0x08224dc0 in ARDOUR_UI::startup () #14 0xb7028055 in Gtkmm2ext::UI::run () from /usr/lib/ardour2/libgtkmm2ext.so #15 0x08455999 in main () is it the same problem?
(In reply to comment #23) > i have also a segfault for the version: oops i've forgotten to put the verison: 2.3.1 from portage
Is that still a problem with 2.4.1 ? I haven't been able to reproduce it for a while now :( (while some of you seems to have had problems with it when I had not)
(In reply to comment #25) > Is that still a problem with 2.4.1 ? I haven't been able to reproduce it for a > while now :( (while some of you seems to have had problems with it when I had > not) closing as worksforme then