View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0005039 | ardour | bugs | public | 2012-07-28 06:55 | 2020-04-19 20:16 |
Reporter | Snowie | Assigned To | paul | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | no change required | ||
Product Version | 3.0 beta5 | ||||
Target Version | 3.0 | ||||
Summary | 0005039: Ardour 3 beta 5 crashes on session load on Ubuntu 12.04 | ||||
Description | Ardour asks for new/load and session options, but when trying to load session and start UI, crashes on load screen with segmentation fault. Below is gdb result. Please let me know if you need any further information. | ||||
Additional Information | USER@PC:/opt/Ardour-3.0beta5_13072/bin$ ./ardour3 --debug GNU gdb (Ubuntu/Linaro 7.4-2012.04-0ubuntu2) 7.4-2012.04 Copyright (C) 2012 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-linux-gnu". For bug reporting instructions, please see: <http://bugs.launchpad.net/gdb-linaro/>... Reading symbols from /opt/Ardour-3.0beta5_13072/bin/ardour-3.0...done. (gdb) run Starting program: /opt/Ardour-3.0beta5_13072/bin/ardour-3.0 [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1". Ardour3.0beta5 (built using ['13072'] and GCC version 4.4.6) Cannot xinstall SIGPIPE error handler Gtk-Message: Failed to load module "canberra-gtk-module" ardour: [INFO]: Loading default ui configuration file /opt/Ardour-3.0beta5_13072/etc/ardour3_ui_default.conf Loading user ui configuration file /opt/Ardour-3.0beta5_13072/etc/ardour3_ui.conf ardour: [INFO]: Loading ui configuration file /opt/Ardour-3.0beta5_13072/etc/ardour3_ui_dark.rc ardour: [INFO]: Ardour will be limited to 4096 open files [New Thread 0xb7d94b40 (LWP 31499)] ardour: [INFO]: Loading system configuration file /opt/Ardour-3.0beta5_13072/etc/ardour_system.rc Loading user configuration file /home/USER/.config/ardour3/ardour.rc Using SSE optimized routines [New Thread 0xb7593b40 (LWP 31500)] [New Thread 0xb6d92b40 (LWP 31501)] [New Thread 0xb6591b40 (LWP 31502)] [New Thread 0xaf71ab40 (LWP 31503)] [New Thread 0xaef19b40 (LWP 31504)] [New Thread 0xae718b40 (LWP 31505)] [New Thread 0xae697b40 (LWP 31506)] [Thread 0xae697b40 (LWP 31506) exited] [Thread 0xae718b40 (LWP 31505) exited] [Thread 0xaf71ab40 (LWP 31503) exited] Found 5 along /home/USER/.config/ardour3/templates:/opt/Ardour-3.0beta5_13072/share/templates [New Thread 0xaf71ab40 (LWP 31507)] [Thread 0xaf71ab40 (LWP 31507) exited] [New Thread 0xae718b40 (LWP 31508)] [New Thread 0xae697b40 (LWP 31509)] [Thread 0xaef19b40 (LWP 31504) exited] [New Thread 0xa94c3b40 (LWP 31524)] [New Thread 0xa81adc40 (LWP 31525)] [New Thread 0xaef19b40 (LWP 31526)] [New Thread 0xa80bdc40 (LWP 31527)] [New Thread 0xa8042c40 (LWP 31528)] Program received signal SIGSEGV, Segmentation fault. 0x023e4a79 in Gdk::Pixbuf::gobj() const () from /opt/Ardour-3.0beta5_13072/lib/libgdkmm-2.4.so.1 (gdb) bt #0 0x023e4a79 in Gdk::Pixbuf::gobj() const () from /opt/Ardour-3.0beta5_13072/lib/libgdkmm-2.4.so.1 0000001 0x023e428d in Gdk::Pixbuf::get_height() const () from /opt/Ardour-3.0beta5_13072/lib/libgdkmm-2.4.so.1 #2 0x010605f5 in Gtkmm2ext::PixFader::PixFader (this=0xa68b368, __vtt_parm=0x8fe1ca8, belt=..., belt_desensitised=..., adj=..., orientation=2, fader_length=115, __in_chrg=<optimized out>) at ../libs/gtkmm2ext/pixfader.cc:54 #3 0x0106e364 in Gtkmm2ext::SliderController::SliderController ( this=0xa68b368, __vtt_parm=0x8fe1ca4, image=..., image_desensitised=..., adj=0xa682d68, orientation=2, fader_length=115, __in_chrg=<optimized out>) at ../libs/gtkmm2ext/slider_controller.cc:39 0000004 0x0106f063 in Gtkmm2ext::HSliderController::HSliderController ( this=0xa68b368, image=..., image_desensitised=..., adj=0xa682d68, fader_length=115, with_numeric=false, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../libs/gtkmm2ext/slider_controller.cc:82 0000005 0x08aec5df in GainMeterBase::GainMeterBase (this=0xa682ce0, s=0xa16af68, pix=..., pix_desensitised=..., horizontal=true, fader_length=115, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../gtk2_ardour/gain_meter.cc:107 #6 0x08d6b282 in RouteTimeAxisView::RouteTimeAxisView (this=0xa682598, __vtt_parm=0x8f5a004, ed=..., sess=0xa16af68, canvas=..., __in_chrg=<optimized out>) at ../gtk2_ardour/route_time_axis.cc:121 ---Type <return> to continue, or q <return> to quit--- #7 0x0887ec0c in AudioTimeAxisView::AudioTimeAxisView (this=0xa682598, ed=..., sess=0xa16af68, canvas=..., __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../gtk2_ardour/audio_time_axis.cc:71 0000008 0x0891d926 in Editor::add_routes (this=0x9d39010, routes=...) at ../gtk2_ardour/editor.cc:4809 0000009 0x08a3a021 in EditorRoutes::initial_display (this=0x9d8cc60) at ../gtk2_ardour/editor_routes.cc:1345 0000010 0x08a33349 in EditorRoutes::set_session (this=0x9d8cc60, s=0xa16af68) at ../gtk2_ardour/editor_routes.cc:351 0000011 0x08902db6 in Editor::set_session (this=0x9d39010, t=0xa16af68) at ../gtk2_ardour/editor.cc:1201 0000012 0x0881d69f in ARDOUR_UI::connect_dependents_to_session (this=0x93489f8, s=0xa16af68) at ../gtk2_ardour/ardour_ui_dependents.cc:78 0000013 0x0881fe33 in ARDOUR_UI::set_session (this=0x93489f8, s=0xa16af68) at ../gtk2_ardour/ardour_ui_dialogs.cc:182 0000014 0x087f1fce in ARDOUR_UI::build_session (this=0x93489f8, path=..., snap_name=..., bus_profile=...) at ../gtk2_ardour/ardour_ui.cc:2765 #15 0x087efcf0 in ARDOUR_UI::build_session_from_nsd (this=0x93489f8, session_path=..., session_name=...) at ../gtk2_ardour/ardour_ui.cc:2377 0000016 0x087f0ca9 in ARDOUR_UI::get_session_parameters (this=0x93489f8, quit_on_cancel=true, should_be_new=false, load_template=...) at ../gtk2_ardour/ardour_ui.cc:2548 #17 0x087e77db in ARDOUR_UI::startup (this=0x93489f8) ---Type <return> to continue, or q <return> to quit--- at ../gtk2_ardour/ardour_ui.cc:646 0000018 0x0880f7d0 in sigc::bound_mem_functor0<void, ARDOUR_UI>::operator() ( this=0x964ca8c) at /home/harrison/a3/inst/include/sigc++-2.0/sigc++/functors/mem_fun.h:1787 0000019 0x0880bcee in sigc::adaptor_functor<sigc::bound_mem_functor0<void, ARDOUR_UI> >::operator() (this=0x964ca88) at /home/harrison/a3/inst/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:251 0000020 0x08807872 in sigc::internal::slot_call0<sigc::bound_mem_functor0<void, ARDOUR_UI>, void>::call_it (rep=0x964ca70) at /home/harrison/a3/inst/include/sigc++-2.0/sigc++/functors/slot.h:103 0000021 0x087d65fe in sigc::internal::signal_emit0<void, sigc::nil>::emit ( impl=0x964ca40) at /home/harrison/a3/inst/include/sigc++-2.0/sigc++/signal.h:772 0000022 0x087d8964 in sigc::signal0<void, sigc::nil>::emit (this=0x9348a70) at /home/harrison/a3/inst/include/sigc++-2.0/sigc++/signal.h:2669 0000023 0x087d7b7f in sigc::signal0<void, sigc::nil>::operator() (this=0x9348a70) at /home/harrison/a3/inst/include/sigc++-2.0/sigc++/signal.h:2677 #24 0x0103bc70 in Gtkmm2ext::UI::run (this=0x93489f8, old_receiver=...) at ../libs/gtkmm2ext/gtk_ui.cc:266 0000025 0x08b59865 in main (argc=1, argv=0xbffff2c4) at ../gtk2_ardour/main.cc:455 (gdb) quit A debugging session is active. Inferior 1 [process 31496] will be killed. Quit anyway? (y or n) y USER@PC:/opt/Ardour-3.0beta5_13072/bin$ | ||||
Tags | No tags attached. | ||||
Users sponsoring this issue | ||
Sponsors List |
Total Sponsorship = US$ 5 2012-07-29 06:22: Snowie (US$ 5) |
---|
|
This is a bug that we saw in beta4 and was believed to be caused by a packaging issue (i.e. its not a programming error, but comes from some wierd details of how programs actually get executed). It was believed to be fixed in beta5, but this is the second report of it I've seen so far. Currently there is no workaround. |
|
after some investigation, this bug appears to be caused by very odd behaviour in Ubuntu 12.04's runtime linker. more information to come .... |
2012-08-07 01:34
|
caps.patch (864 bytes)
diff -ur caps-0.4.5.orig/interface.cc caps-0.4.5/interface.cc --- caps-0.4.5.orig/interface.cc 2011-03-21 13:23:22.000000000 -0400 +++ caps-0.4.5/interface.cc 2012-07-31 16:14:11.167071642 -0400 @@ -70,7 +70,7 @@ extern "C" { __attribute__ ((constructor)) -void _init() +void my_init() { DescriptorStub ** d = descriptors; @@ -126,7 +126,7 @@ } __attribute__ ((destructor)) -void _fini() +void my_fini() { for (ulong i = 0; i < N; ++i) delete descriptors[i]; diff -ur caps-0.4.5.orig/Makefile caps-0.4.5/Makefile --- caps-0.4.5.orig/Makefile 2011-03-24 04:15:02.000000000 -0400 +++ caps-0.4.5/Makefile 2012-07-31 16:13:39.966945748 -0400 @@ -6,7 +6,7 @@ OPTS = -O2 -funroll-loops -Wall -fPIC -DPIC #OPTS = -g -DDEBUG -_LDFLAGS = -nostartfiles -shared +_LDFLAGS = -shared STRIP = strip -include defines.make Only in caps-0.4.5: tags |
|
This crash is caused by some errors in the CAPS plugins. The attached patch, when applied to the CAPS plugin source and used to rebuild them and then installing the result, fixes the problem. Not an Ardour bug, but triggered by wierd behaviour of the runtime linker in Ubuntu 12.04 interacting with the wierdness in CAPS. CAPS author has been notified. |
|
Thanks so much mate. I's really like to see this running on my machine. Assuming I'm new to building from source, is there any walkthrough you could point me to try this on my machine? |
|
I thought I should let you know I got the patch installed as per http://quitte.de/dsp/caps.html#Installation and it worked. Now running and having fun learning the new version in more detail. |
|
Issue has been closed automatically, by Trigger Close Plugin. Feel free to re-open with additional information if you think the issue is not resolved. |
Date Modified | Username | Field | Change |
---|---|---|---|
2012-07-28 06:55 | Snowie | New Issue | |
2012-07-28 15:57 | paul | Note Added: 0013932 | |
2012-07-29 06:22 | Snowie | Sponsorship Added | Snowie: US$ 5 |
2012-07-29 06:22 | Snowie | Sponsorship Total | 0 => 5 |
2012-07-30 18:45 | paul | Note Added: 0013935 | |
2012-08-05 23:05 | cth103 | cost | => 0.00 |
2012-08-05 23:05 | cth103 | Target Version | => 3.0 |
2012-08-07 01:34 | paul | File Added: caps.patch | |
2012-08-07 01:35 | paul | Note Added: 0013966 | |
2012-08-07 01:35 | paul | Status | new => resolved |
2012-08-07 01:35 | paul | Resolution | open => no change required |
2012-08-07 01:35 | paul | Assigned To | => paul |
2012-08-10 05:30 | Snowie | Note Added: 0013971 | |
2012-08-10 07:14 | Snowie | Note Added: 0013972 | |
2020-04-19 20:16 | system | Note Added: 0023129 | |
2020-04-19 20:16 | system | Status | resolved => closed |