Ardour 4.2 Crashes When Displaying Plugin GUI

Unofficial support for the KXStudio Linux distribution and applications.
More info at http://kxstudio.linuxaudio.org/

Moderators: MattKingUSA, khz

RockHopper
Established Member
Posts: 142
Joined: Thu Apr 18, 2013 3:19 pm
Contact:

Ardour 4.2 Crashes When Displaying Plugin GUI

Post by RockHopper »

Ardour 4.2 crashes with a segmentation fault when I double-click on a plugin in the editor mixer strip. This happens for all plugins with a custom GUI. Plugins with a generic GUI are displayed OK. This seems to be specific to KXStudio as this doesn't happen when running Ardour 4.2 on AVLinux. I installed KXStudio 14.04.2 64-bit fairly recently and only just tried out Ardour today.
varpa
Established Member
Posts: 509
Joined: Fri Feb 25, 2011 6:40 pm
Been thanked: 13 times

Re: Ardour 4.2 Crashes When Displaying Plugin GUI

Post by varpa »

This is not a general problem with Ardour/kxstudio 14.04 which I use and it does not have this problem. I suggest starting Ardour at the command line and checking the terminal messages when it crashes.
RockHopper
Established Member
Posts: 142
Joined: Thu Apr 18, 2013 3:19 pm
Contact:

Re: Ardour 4.2 Crashes When Displaying Plugin GUI

Post by RockHopper »

varpa wrote:This is not a general problem with Ardour/kxstudio 14.04 which I use and it does not have this problem. I suggest starting Ardour at the command line and checking the terminal messages when it crashes.
The only error message I get when starting Ardour from a terminal is "segmentation fault", I was hoping to get more of a clue than that!
falkTX wrote:Are you using Debian Testing or Ubuntu 15.10?
No, I'm using the KXStudio 14.04.2 64-bit ISO
RockHopper
Established Member
Posts: 142
Joined: Thu Apr 18, 2013 3:19 pm
Contact:

Re: Ardour 4.2 Crashes When Displaying Plugin GUI

Post by RockHopper »

falkTX wrote:It's probably a broken plugin.
Did you install new ones recently?
I'm trying out the plugins that come with KXStudio as standard, all are up-to-date.

I noticed that the following plugins work OK:

synthv1
drumkv1
helm
amsynth

but the following cause Ardour to crash:

Calf Organ
Noize Mark3r
Sorcer
Fabla

Here is the terminal output in case it's helpful:

Code: Select all

$ ardour4
bind txt domain [gtk2_ardour4] to /opt/ardour4/share/locale
Ardour4.2.0 (built using 4.2 and GCC version 4.4.7)
ardour: [INFO]: Your system is configured to limit Ardour to only 65536 open files
ardour: [WARNING]: Illegal value loaded for N6ARDOUR16AutoReturnTargetE (15) - LastLocate used instead
ardour: [INFO]: Loading system configuration file /opt/ardour4/etc/system_config
Loading user configuration file /home/spidermonkey/.config/ardour4/config
CPU vendor: AuthenticAMD
ardour: [INFO]: AVX-capable processor
ardour: [INFO]: CPU brand: AMD A10-5700 APU with Radeon(tm) HD Graphics   
ardour: [INFO]: Using SSE optimized routines
ardour: [INFO]: Loading default ui configuration file /opt/ardour4/etc/default_ui_config
ardour: [INFO]: Loading user ui configuration file /home/spidermonkey/.config/ardour4/ui_config

(ardour-4.2.0:2076): Gtk-WARNING **: Unable to locate theme engine in module_path: "qtcurve",
ardour: [INFO]: Loading colour file /opt/ardour4/etc/dark.colors

(ardour-4.2.0:2076): Gtk-WARNING **: Unable to locate theme engine in module_path: "qtcurve",
ardour: [INFO]: Loading ui configuration file /opt/ardour4/etc/clearlooks.rc
ardour: [INFO]: Loading ui configuration file /opt/ardour4/etc/clearlooks.rc
EngineControl::set_state
Found nothing along /home/spidermonkey/.config/ardour4/templates:/opt/ardour4/share/templates
run dialog
Announcement is: 
Scanning folders for bundled LV2s: /opt/ardour4/lib/LV2
Set cursor set to default
Set buffering params to 262144|131072|10|10
Set buffering params to 262144|131072|10|10
Skip explicit buffer seconds, preset in use
Skip explicit buffer seconds, preset in use
CALF DEBUG: instance 0x11c02cb0 data 0x11339808
CALF DEBUG: calf 0x7efbd9e33ab0 cpi 0x7efbd926e650
Send configures...
Segmentation fault
luciorgomes
Established Member
Posts: 120
Joined: Wed Feb 04, 2015 11:29 pm
Has thanked: 38 times
Been thanked: 7 times

Re: Ardour 4.2 Crashes When Displaying Plugin GUI

Post by luciorgomes »

Carla too...

Code: Select all

lucio@lucio-Inspiron-linux:~$ ardour4
bind txt domain [gtk2_ardour4] to /this/cannot/exist
Ardour4.2.0 (built using 4.2 and GCC version 4.4.7)
ardour: [INFO]: Your system is configured to limit Ardour to only 65536 open files
ardour: [WARNING]: Illegal value loaded for N6ARDOUR16AutoReturnTargetE (15) - LastLocate used instead
ardour: [INFO]: Loading system configuration file /opt/ardour4/etc/system_config
Loading user configuration file /home/lucio/.config/ardour4/config
CPU vendor: GenuineIntel
ardour: [INFO]: AVX-capable processor
ardour: [INFO]: CPU brand: Intel(R) Core(TM) i7-4510U CPU @ 2.00GHz
ardour: [INFO]: Using SSE optimized routines
ardour: [INFO]: Loading default ui configuration file /opt/ardour4/etc/default_ui_config
ardour: [INFO]: Loading user ui configuration file /home/lucio/.config/ardour4/ui_config

(ardour-4.2.0:8962): Gtk-WARNING **: Incapaz de localizar motor de temas na module_path: "oxygen-gtk",

(ardour-4.2.0:8962): Gtk-WARNING **: Incapaz de localizar motor de temas na module_path: "oxygen-gtk",
ardour: [INFO]: Loading color file /opt/ardour4/etc/dark.colors

(ardour-4.2.0:8962): Gtk-WARNING **: Incapaz de localizar motor de temas na module_path: "oxygen-gtk",

(ardour-4.2.0:8962): Gtk-WARNING **: Incapaz de localizar motor de temas na module_path: "oxygen-gtk",
ardour: [INFO]: Loading ui configuration file /opt/ardour4/etc/clearlooks.rc
ardour: [INFO]: Loading ui configuration file /opt/ardour4/etc/clearlooks.rc
EngineControl::set_state
Found 5 along /home/lucio/.config/ardour4/templates:/opt/ardour4/share/templates
Announcement is: 
run dialog
Scanning folders for bundled LV2s: /opt/ardour4/lib/LV2
Error opening file /home/lucio/.lv2/Phaser.pedalboard/Phaser.ttl (Arquivo ou diretório não encontrado)
lilv_world_load_file(): error: Error loading file `file:///home/lucio/.lv2/Phaser.pedalboard/Phaser.ttl'
lilv_plugin_get_name(): warning: Plugin <file:///home/lucio/.lv2/Phaser.pedalboard/Phaser.ttl> has no (mandatory) doap:name
error: failed to expand CURIE `param:OscillatorControls'
error: attempt to add quad with NULL field
error: failed to expand CURIE `param:OscillatorControls'
error: attempt to add quad with NULL field
error: failed to expand CURIE `param:OscillatorControls'
error: attempt to add quad with NULL field
error: failed to expand CURIE `param:OscillatorControls'
error: attempt to add quad with NULL field
error: failed to expand CURIE `param:OscillatorControls'
error: attempt to add quad with NULL field
error: failed to expand CURIE `param:OscillatorControls'
error: attempt to add quad with NULL field
error: failed to expand CURIE `param:OscillatorControls'
error: attempt to add quad with NULL field
error: failed to expand CURIE `param:OscillatorControls'
error: attempt to add quad with NULL field
Set cursor set to default
Set buffering params to 262144|131072|10|10
Set buffering params to 262144|131072|10|10
Skip explicit buffer seconds, preset in use
Skip explicit buffer seconds, preset in use
actually writing state to /home/lucio/Ardour/carlatest/carlatest.tmp
renaming state to /home/lucio/Ardour/carlatest/carlatest.ardour
actually writing state to /home/lucio/Ardour/carlatest/carlatest.tmp
renaming state to /home/lucio/Ardour/carlatest/carlatest.ardour
actually writing state to /home/lucio/Ardour/carlatest/carlatest.tmp
renaming state to /home/lucio/Ardour/carlatest/carlatest.ardour
actually writing state to /home/lucio/Ardour/carlatest/carlatest.tmp
renaming state to /home/lucio/Ardour/carlatest/carlatest.ardour
actually writing state to /home/lucio/Ardour/carlatest/carlatest.tmp
renaming state to /home/lucio/Ardour/carlatest/carlatest.ardour
Falha de segmentação
lucio@lucio-Inspiron-linux:~$ 
RockHopper
Established Member
Posts: 142
Joined: Thu Apr 18, 2013 3:19 pm
Contact:

Re: Ardour 4.2 Crashes When Displaying Plugin GUI

Post by RockHopper »

falkTX wrote: @RockHopper:
Please do a full system update and check if things got better (or not...).
Unfortunately not :(

Here's the terminal output when trying to view the Noize Mak3r GUI:

Code: Select all

$ ardour4
bind txt domain [gtk2_ardour4] to /opt/ardour4/share/locale
Ardour4.2.358 (built using 4.2-358-gb753704 and GCC version 4.4.7)
ardour: [INFO]: Your system is configured to limit Ardour to only 65536 open files
ardour: [INFO]: Loading system configuration file /opt/ardour4/etc/system_config
Loading user configuration file /home/spidermonkey/.config/ardour4/config
CPU vendor: AuthenticAMD
ardour: [INFO]: AVX-capable processor
ardour: [INFO]: CPU brand: AMD A10-5700 APU with Radeon(tm) HD Graphics   
ardour: [INFO]: Using SSE optimized routines
ardour: [INFO]: Loading default ui configuration file /opt/ardour4/etc/default_ui_config
ardour: [INFO]: Loading user ui configuration file /home/spidermonkey/.config/ardour4/ui_config

(ardour-4.2.358:2195): Gtk-WARNING **: Unable to locate theme engine in module_path: "qtcurve",
ardour: [INFO]: Loading colour file /opt/ardour4/etc/dark.colors

(ardour-4.2.358:2195): Gtk-WARNING **: Unable to locate theme engine in module_path: "qtcurve",
ardour: [INFO]: Loading ui configuration file /opt/ardour4/etc/clearlooks.rc
ardour: [INFO]: Loading ui configuration file /opt/ardour4/etc/clearlooks.rc
EngineControl::set_state
Found nothing along /home/spidermonkey/.config/ardour4/templates:/opt/ardour4/share/templates
run dialog
Announcement is: 
Scanning folders for bundled LV2s: /opt/ardour4/lib/LV2
Set cursor set to default
Set buffering params to 262144|131072|10|10
Set buffering params to 262144|131072|10|10
Skip explicit buffer seconds, preset in use
Skip explicit buffer seconds, preset in use
actually writing state to /media/Audio/Ardour4/NewTest/NewTest.tmp
renaming state to /media/Audio/Ardour4/NewTest/NewTest.ardour
actually writing state to /media/Audio/Ardour4/NewTest/NewTest.tmp
renaming state to /media/Audio/Ardour4/NewTest/NewTest.ardour
Segmentation fault
luciorgomes
Established Member
Posts: 120
Joined: Wed Feb 04, 2015 11:29 pm
Has thanked: 38 times
Been thanked: 7 times

Re: Ardour 4.2 Crashes When Displaying Plugin GUI

Post by luciorgomes »

The same to Carla:

Code: Select all

lucio@lucio-Inspiron-linux:~$ ardour4
bind txt domain [gtk2_ardour4] to /this/cannot/exist
Ardour4.2.358 (built using 4.2-358-gb753704 and GCC version 4.4.7)
ardour: [INFO]: Your system is configured to limit Ardour to only 65536 open files
ardour: [INFO]: Loading system configuration file /opt/ardour4/etc/system_config
Loading user configuration file /home/lucio/.config/ardour4/config
CPU vendor: GenuineIntel
ardour: [INFO]: AVX-capable processor
ardour: [INFO]: CPU brand: Intel(R) Core(TM) i7-4510U CPU @ 2.00GHz
ardour: [INFO]: Using SSE optimized routines
ardour: [INFO]: Loading default ui configuration file /opt/ardour4/etc/default_ui_config
ardour: [INFO]: Loading user ui configuration file /home/lucio/.config/ardour4/ui_config

(ardour-4.2.358:5124): Gtk-WARNING **: Incapaz de localizar motor de temas na module_path: "oxygen-gtk",

(ardour-4.2.358:5124): Gtk-WARNING **: Incapaz de localizar motor de temas na module_path: "oxygen-gtk",
ardour: [INFO]: Loading color file /opt/ardour4/etc/dark.colors

(ardour-4.2.358:5124): Gtk-WARNING **: Incapaz de localizar motor de temas na module_path: "oxygen-gtk",

(ardour-4.2.358:5124): Gtk-WARNING **: Incapaz de localizar motor de temas na module_path: "oxygen-gtk",
ardour: [INFO]: Loading ui configuration file /opt/ardour4/etc/clearlooks.rc
ardour: [INFO]: Loading ui configuration file /opt/ardour4/etc/clearlooks.rc
EngineControl::set_state
Found 5 along /home/lucio/.config/ardour4/templates:/opt/ardour4/share/templates
run dialog
Announcement is: 
Scanning folders for bundled LV2s: /opt/ardour4/lib/LV2
Error opening file /home/lucio/.lv2/Phaser.pedalboard/Phaser.ttl (Arquivo ou diretório não encontrado)
lilv_world_load_file(): error: Error loading file `file:///home/lucio/.lv2/Phaser.pedalboard/Phaser.ttl'
lilv_plugin_get_name(): warning: Plugin <file:///home/lucio/.lv2/Phaser.pedalboard/Phaser.ttl> has no (mandatory) doap:name
error: failed to expand CURIE `param:OscillatorControls'
error: attempt to add quad with NULL field
error: failed to expand CURIE `param:OscillatorControls'
error: attempt to add quad with NULL field
error: failed to expand CURIE `param:OscillatorControls'
error: attempt to add quad with NULL field
error: failed to expand CURIE `param:OscillatorControls'
error: attempt to add quad with NULL field
error: failed to expand CURIE `param:OscillatorControls'
error: attempt to add quad with NULL field
error: failed to expand CURIE `param:OscillatorControls'
error: attempt to add quad with NULL field
error: failed to expand CURIE `param:OscillatorControls'
error: attempt to add quad with NULL field
error: failed to expand CURIE `param:OscillatorControls'
error: attempt to add quad with NULL field
Set cursor set to default
Set buffering params to 262144|131072|10|10
Set buffering params to 262144|131072|10|10
Skip explicit buffer seconds, preset in use
Skip explicit buffer seconds, preset in use
Falha de segmentação
lucio@lucio-Inspiron-linux:~$ 
RockHopper
Established Member
Posts: 142
Joined: Thu Apr 18, 2013 3:19 pm
Contact:

Re: Ardour 4.2 Crashes When Displaying Plugin GUI

Post by RockHopper »

OK, I've installed the debugging symbols for Ardour4 (the dbg package from the KXStudio repos) and followed the instructions here to get a proper backtrace.

I think the most relevant part is here:

Code: Select all

Program received signal SIGSEGV, Segmentation fault.
0x00007fffa93e4c4e in suil_wrapper_new () from /opt/ardour4/lib/libsuil_x11_in_gtk2.so
This bit may or may not be relevant as well:

Code: Select all

Thread 22 (Thread 0x7fffb07be700 (LWP 2202)):
#0  0x00007fffb0151242 in max(float, float) () from /usr/lib/lv2/sorcer.lv2/sorcer.so
#1  0x00007fffb0153c04 in mydsp::compute(int, float**, float**) () from /usr/lib/lv2/sorcer.lv2/sorcer.so
#2  0x00007fffb014f807 in ?? () from /usr/lib/lv2/sorcer.lv2/sorcer.so
#3  0x00007ffff708ef48 in ARDOUR::LV2Plugin::run(unsigned int) () from /opt/ardour4/lib/libardour.so.3
#4  0x00007ffff7095f20 in ARDOUR::LV2Plugin::connect_and_run(ARDOUR::BufferSet&, ARDOUR::ChanMapping, ARDOUR::ChanMapping, unsigned int, long) ()
   from /opt/ardour4/lib/libardour.so.3
#5  0x00007ffff6f12f31 in ARDOUR::PluginInsert::connect_and_run(ARDOUR::BufferSet&, unsigned int, long, bool, long) () from /opt/ardour4/lib/libardour.so.3
#6  0x00007ffff6f137b9 in ARDOUR::PluginInsert::run(ARDOUR::BufferSet&, long, long, unsigned int, bool) () from /opt/ardour4/lib/libardour.so.3
#7  0x00007ffff6f87f29 in ARDOUR::Route::process_output_buffers(ARDOUR::BufferSet&, long, long, unsigned int, int, bool) () from /opt/ardour4/lib/libardour.so.3
#8  0x00007ffff6f7622e in ARDOUR::Route::passthru(ARDOUR::BufferSet&, long, long, unsigned int, int) () from /opt/ardour4/lib/libardour.so.3
#9  0x00007ffff707c604 in ARDOUR::Track::no_roll(unsigned int, long, long, bool) () from /opt/ardour4/lib/libardour.so.3
#10 0x00007ffff6ebf6ec in ARDOUR::MidiTrack::no_roll(unsigned int, long, long, bool) () from /opt/ardour4/lib/libardour.so.3
#11 0x00007ffff6e30330 in ARDOUR::Graph::process_one_route(ARDOUR::Route*) () from /opt/ardour4/lib/libardour.so.3
#12 0x00007ffff6e30643 in ARDOUR::Graph::run_one() () from /opt/ardour4/lib/libardour.so.3
#13 0x00007ffff6e306c8 in ARDOUR::Graph::helper_thread() () from /opt/ardour4/lib/libardour.so.3
#14 0x000000000084c1c3 in boost::function0<void>::operator()() const ()
#15 0x00007fffe2491719 in ARDOUR::JACKAudioBackend::_start_process_thread(void*) () from /opt/ardour4/lib/backends/libjack_audiobackend.so
#16 0x00007ffff0ee8182 in start_thread (arg=0x7fffb07be700) at pthread_create.c:312
#17 0x00007fffedf7547d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
Here is the full thing:

Code: Select all

$ ardour4 --debug
gdb: /opt/ardour4/lib/liblzma.so.5: no version information available (required by gdb)
GNU gdb (Ubuntu 7.7.1-0ubuntu5~14.04.2) 7.7.1
Copyright (C) 2014 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 "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /opt/ardour4/bin/ardour-4.2.358...(no debugging symbols found)...done.
(gdb) run
Starting program: /opt/ardour4/bin/ardour-4.2.358 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Traceback (most recent call last):
  File "/usr/share/gdb/auto-load/usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.19-gdb.py", line 63, in <module>
    from libstdcxx.v6.printers import register_libstdcxx_printers
ImportError: No module named 'libstdcxx'
bind txt domain [gtk2_ardour4] to /opt/ardour4/share/locale
Ardour4.2.358 (built using 4.2-358-gb753704 and GCC version 4.4.7)
ardour: [INFO]: Your system is configured to limit Ardour to only 65536 open files
[New Thread 0x7fffea62d700 (LWP 2181)]
ardour: [INFO]: Loading system configuration file /opt/ardour4/etc/system_config
Loading user configuration file /home/spidermonkey/.config/ardour4/config
CPU vendor: AuthenticAMD
ardour: [INFO]: AVX-capable processor
ardour: [INFO]: CPU brand: AMD A10-5700 APU with Radeon(tm) HD Graphics   
ardour: [INFO]: Using SSE optimized routines
[New Thread 0x7fffe9e2c700 (LWP 2182)]
[New Thread 0x7fffe962b700 (LWP 2183)]
[New Thread 0x7fffe8e2a700 (LWP 2184)]
[New Thread 0x7fffe3de4700 (LWP 2185)]
[New Thread 0x7fffe35e3700 (LWP 2186)]                                                                                                                                               
Cannot xinstall SIGPIPE error handler                                                                                                                                                
ardour: [INFO]: Loading default ui configuration file /opt/ardour4/etc/default_ui_config                                                                                             
ardour: [INFO]: Loading user ui configuration file /home/spidermonkey/.config/ardour4/ui_config                                                                                      
                                                                                                                                                                                     
(ardour-4.2.358:2177): Gtk-WARNING **: Unable to locate theme engine in module_path: "qtcurve",                                                                                      
ardour: [INFO]: Loading colour file /opt/ardour4/etc/dark.colors                                                                                                                     
                                                                                                                                                                                     
(ardour-4.2.358:2177): Gtk-WARNING **: Unable to locate theme engine in module_path: "qtcurve",                                                                                      
ardour: [INFO]: Loading ui configuration file /opt/ardour4/etc/clearlooks.rc                                                                                                         
ardour: [INFO]: Loading ui configuration file /opt/ardour4/etc/clearlooks.rc                                                                                                         
[New Thread 0x7fffe1cf6800 (LWP 2187)]                                                                                                                                               
EngineControl::set_state                                                                                                                                                             
[New Thread 0x7fffe1646700 (LWP 2188)]                                                                                                                                               
[New Thread 0x7fffe15c5700 (LWP 2189)]                                                                                                                                               
[Thread 0x7fffe15c5700 (LWP 2189) exited]                                                                                                                                            
[Thread 0x7fffe1646700 (LWP 2188) exited]                                                                                                                                            
[New Thread 0x7fffe1646700 (LWP 2190)]                                                                                                                                               
[New Thread 0x7fffe15c5700 (LWP 2191)]                                                                                                                                               
[Thread 0x7fffe15c5700 (LWP 2191) exited]                                                                                                                                            
[Thread 0x7fffe1646700 (LWP 2190) exited]                                                                                                                                            
[New Thread 0x7fffe1544700 (LWP 2192)]                                                                                                                                               
[New Thread 0x7fffb0fbf700 (LWP 2193)]                                                                                                                                               
[New Thread 0x7fffabfff700 (LWP 2194)]                                                                                                                                               
Found nothing along /home/spidermonkey/.config/ardour4/templates:/opt/ardour4/share/templates                                                                                        
run dialog                                                                                                                                                                           
[Thread 0x7fffabfff700 (LWP 2194) exited]                                                                                                                                            
Announcement is:                                                                                                                                                                     
[Thread 0x7fffe1cf6800 (LWP 2187) exited]                                                                                                                                            
[New Thread 0x7fffabfff700 (LWP 2195)]                                                                                                                                               
[Thread 0x7fffabfff700 (LWP 2195) exited]                                                                                                                                            
[Thread 0x7fffb0fbf700 (LWP 2193) exited]                                                                                                                                            
[New Thread 0x7fffe1646700 (LWP 2196)]
[New Thread 0x7fffe15c5700 (LWP 2197)]
[New Thread 0x7fffe0157700 (LWP 2198)]
Scanning folders for bundled LV2s: /opt/ardour4/lib/LV2
[New Thread 0x7fffb0fbf700 (LWP 2200)]
[Thread 0x7fffb0fbf700 (LWP 2200) exited]
Set cursor set to default
[New Thread 0x7fffe00d6700 (LWP 2201)]
[New Thread 0x7fffb07be700 (LWP 2202)]
[New Thread 0x7fffb073d700 (LWP 2203)]
Set buffering params to 262144|131072|10|10
[New Thread 0x7fffb06bb800 (LWP 2204)]
[New Thread 0x7fffb0fbf700 (LWP 2205)]
Set buffering params to 262144|131072|10|10
Skip explicit buffer seconds, preset in use
Skip explicit buffer seconds, preset in use
actually writing state to /media/Audio/Ardour4/DebugTest/DebugTest.tmp
renaming state to /media/Audio/Ardour4/DebugTest/DebugTest.ardour
[New Thread 0x7fffabfff700 (LWP 2206)]
[New Thread 0x7fffaa7fc700 (LWP 2207)]
actually writing state to /media/Audio/Ardour4/DebugTest/DebugTest.tmp
renaming state to /media/Audio/Ardour4/DebugTest/DebugTest.ardour
[New Thread 0x7fffa9ffb700 (LWP 2208)]
[Thread 0x7fffa9ffb700 (LWP 2208) exited]

Program received signal SIGSEGV, Segmentation fault.
0x00007fffa93e4c4e in suil_wrapper_new () from /opt/ardour4/lib/libsuil_x11_in_gtk2.so
(gdb) thread apply all bt

Thread 27 (Thread 0x7fffaa7fc700 (LWP 2207)):
#0  0x00007ffff0eefb9d in nanosleep () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007ffff5103298 in g_usleep () from /opt/ardour4/lib/libglib-2.0.so.0
#2  0x00007ffff6d8183f in ARDOUR::AutomationWatch::thread() () from /opt/ardour4/lib/libardour.so.3
#3  0x00007ffff5660b72 in ?? () from /opt/ardour4/lib/libglibmm-2.4.so.1
#4  0x00007ffff51017f5 in ?? () from /opt/ardour4/lib/libglib-2.0.so.0
#5  0x00007ffff0ee8182 in start_thread (arg=0x7fffaa7fc700) at pthread_create.c:312
#6  0x00007fffedf7547d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 26 (Thread 0x7fffabfff700 (LWP 2206)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007ffff7012843 in ARDOUR::Session::emit_thread_run() () from /opt/ardour4/lib/libardour.so.3
#2  0x00007ffff7012869 in ARDOUR::Session::emit_thread(void*) () from /opt/ardour4/lib/libardour.so.3
#3  0x00007ffff0ee8182 in start_thread (arg=0x7fffabfff700) at pthread_create.c:312
#4  0x00007fffedf7547d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 25 (Thread 0x7fffb0fbf700 (LWP 2205)):
#0  0x00007fffedf6812d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007ffff50d6aa5 in ?? () from /opt/ardour4/lib/libglib-2.0.so.0
#2  0x00007ffff50d6bb5 in g_main_loop_run () from /opt/ardour4/lib/libglib-2.0.so.0
#3  0x00007ffff61dfeac in BaseUI::main_thread() () from /opt/ardour4/lib/libpbd.so.4
#4  0x00007ffff5660b72 in ?? () from /opt/ardour4/lib/libglibmm-2.4.so.1
#5  0x00007ffff51017f5 in ?? () from /opt/ardour4/lib/libglib-2.0.so.0
#6  0x00007ffff0ee8182 in start_thread (arg=0x7fffb0fbf700) at pthread_create.c:312
#7  0x00007fffedf7547d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 24 (Thread 0x7fffb06bb800 (LWP 2204)):
#0  0x00007fffedf6812d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007ffff61ec2e4 in CrossThreadChannel::poll_for_request() () from /opt/ardour4/lib/libpbd.so.4
#2  0x00007ffff61ec34a in CrossThreadChannel::receive(char&, bool) () from /opt/ardour4/lib/libpbd.so.4
#3  0x00007ffff6d8ee20 in ARDOUR::Butler::thread_work() () from /opt/ardour4/lib/libardour.so.3
#4  0x00007ffff6d8eecf in ARDOUR::Butler::_thread_work(void*) () from /opt/ardour4/lib/libardour.so.3
#5  0x00007ffff6204190 in ?? () from /opt/ardour4/lib/libpbd.so.4
#6  0x00007ffff0ee8182 in start_thread (arg=0x7fffb06bb800) at pthread_create.c:312
#7  0x00007fffedf7547d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 23 (Thread 0x7fffb073d700 (LWP 2203)):
#0  sem_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S:85
#1  0x00007ffff6e305ff in ARDOUR::Graph::run_one() () from /opt/ardour4/lib/libardour.so.3
#2  0x00007ffff6e306c8 in ARDOUR::Graph::helper_thread() () from /opt/ardour4/lib/libardour.so.3
#3  0x000000000084c1c3 in boost::function0<void>::operator()() const ()
#4  0x00007fffe2491719 in ARDOUR::JACKAudioBackend::_start_process_thread(void*) () from /opt/ardour4/lib/backends/libjack_audiobackend.so
#5  0x00007ffff0ee8182 in start_thread (arg=0x7fffb073d700) at pthread_create.c:312
#6  0x00007fffedf7547d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 22 (Thread 0x7fffb07be700 (LWP 2202)):
#0  0x00007fffb0151242 in max(float, float) () from /usr/lib/lv2/sorcer.lv2/sorcer.so
#1  0x00007fffb0153c04 in mydsp::compute(int, float**, float**) () from /usr/lib/lv2/sorcer.lv2/sorcer.so
#2  0x00007fffb014f807 in ?? () from /usr/lib/lv2/sorcer.lv2/sorcer.so
#3  0x00007ffff708ef48 in ARDOUR::LV2Plugin::run(unsigned int) () from /opt/ardour4/lib/libardour.so.3
#4  0x00007ffff7095f20 in ARDOUR::LV2Plugin::connect_and_run(ARDOUR::BufferSet&, ARDOUR::ChanMapping, ARDOUR::ChanMapping, unsigned int, long) ()
   from /opt/ardour4/lib/libardour.so.3
#5  0x00007ffff6f12f31 in ARDOUR::PluginInsert::connect_and_run(ARDOUR::BufferSet&, unsigned int, long, bool, long) () from /opt/ardour4/lib/libardour.so.3
#6  0x00007ffff6f137b9 in ARDOUR::PluginInsert::run(ARDOUR::BufferSet&, long, long, unsigned int, bool) () from /opt/ardour4/lib/libardour.so.3
#7  0x00007ffff6f87f29 in ARDOUR::Route::process_output_buffers(ARDOUR::BufferSet&, long, long, unsigned int, int, bool) () from /opt/ardour4/lib/libardour.so.3
#8  0x00007ffff6f7622e in ARDOUR::Route::passthru(ARDOUR::BufferSet&, long, long, unsigned int, int) () from /opt/ardour4/lib/libardour.so.3
#9  0x00007ffff707c604 in ARDOUR::Track::no_roll(unsigned int, long, long, bool) () from /opt/ardour4/lib/libardour.so.3
#10 0x00007ffff6ebf6ec in ARDOUR::MidiTrack::no_roll(unsigned int, long, long, bool) () from /opt/ardour4/lib/libardour.so.3
#11 0x00007ffff6e30330 in ARDOUR::Graph::process_one_route(ARDOUR::Route*) () from /opt/ardour4/lib/libardour.so.3
#12 0x00007ffff6e30643 in ARDOUR::Graph::run_one() () from /opt/ardour4/lib/libardour.so.3
#13 0x00007ffff6e306c8 in ARDOUR::Graph::helper_thread() () from /opt/ardour4/lib/libardour.so.3
#14 0x000000000084c1c3 in boost::function0<void>::operator()() const ()
#15 0x00007fffe2491719 in ARDOUR::JACKAudioBackend::_start_process_thread(void*) () from /opt/ardour4/lib/backends/libjack_audiobackend.so
#16 0x00007ffff0ee8182 in start_thread (arg=0x7fffb07be700) at pthread_create.c:312
#17 0x00007fffedf7547d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 21 (Thread 0x7fffe00d6700 (LWP 2201)):
#0  sem_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S:85
#1  0x00007ffff6e305ff in ARDOUR::Graph::run_one() () from /opt/ardour4/lib/libardour.so.3
RockHopper
Established Member
Posts: 142
Joined: Thu Apr 18, 2013 3:19 pm
Contact:

Re: Ardour 4.2 Crashes When Displaying Plugin GUI

Post by RockHopper »

Don't know if this is relevant but I'll post it here anyway just in case.

I downloaded the latest nightly build from the Ardour website but when I ran the installer I got this:

Code: Select all

sh: 1: /opt//bin/gcc-glibmm-abi-check: not found

WARNING: GCC4/5 libstdc++ ABI Mismatch

Ardour was compiled with gcc4, your system uses a newer version of the
standard c++ library. Plugins on your system may not load or plugin-UIs
may cause crashes.

Continue anyway? [y/n]:
I decided not to continue. The version of libstdc++ installed is 4.8.4-2ubuntu1~14.04
RockHopper
Established Member
Posts: 142
Joined: Thu Apr 18, 2013 3:19 pm
Contact:

Re: Ardour 4.2 Crashes When Displaying Plugin GUI

Post by RockHopper »

Thanks falkTX.

OT but worth mentioning, I discovered that the Ardour4 startup script needs to be modified if using it with NSM otherwise you end up with multiple instances of Ardour: http://tracker.ardour.org/view.php?id=6620. For that bug report I was trying out the official release binary on AVLinux, but the same applies in KXStudio.

The fix is simple, just change this line in /usr/bin/ardour4

Code: Select all

export ARDOUR_SELF="$0"
to this

Code: Select all

export ARDOUR_SELF="`basename $0`"
RockHopper
Established Member
Posts: 142
Joined: Thu Apr 18, 2013 3:19 pm
Contact:

Re: Ardour 4.2 Crashes When Displaying Plugin GUI

Post by RockHopper »

Just a quick update to say it's all working now :)
Post Reply