View Issue Details

IDCategoryLast Update
0007502bugs2018-12-19 23:19
Reporterjerome.barbazaAssigned Tox42 
Reproducibilityalways 
Status resolvedResolutionno change required 
PlatformAMD FX6300OSubuntu studioOS Version17.10
Product Version5.12 
Fixed in Version 
Summary0007502: crach since ubuntu upgrade
Descriptioni upgraded ubuntu studio 17.04 to 17.10.
Since this change, i can't open Ardour 5.12
only the default version 5.11 can be uses

the ardour 5.12 open the start window and crash after any choice (open or create a project)


Steps To Reproducei removed ardour 5.12 and reinstall with the file Ardour-5.12.0-x86_64.run
the problem is the same.
Additional InformationI launch in terminal
/opt/Ardour-5.12.0/bin/ardour5
the answer :
bind txt domain [gtk2_ardour5] to /opt/Ardour-5.12.0/share/locale
Ardour5.12.0 (construit avec 5.12 et GCC version 5.2.1 20150903)
ardour: [INFO]: Votre configuration-système limite Ardour à 1048576 fichiers ouverts
ardour: [INFO]: Chargement du fichier de configuration-système /opt/Ardour-5.12.0/etc/system_config
ardour: [INFO]: Chargement du fichier de configuration-utilisateur /home/jerome/.config/ardour5/config
ardour: [INFO]: CPU vendor: AuthenticAMD
ardour: [INFO]: AVX-capable processor
ardour: [INFO]: CPU brand: AMD FX(tm)-6300 Six-Core Processor
ardour: [INFO]: Using SSE optimized routines
Impossible d'installer le gestionnaire d'erreurs SIGPIPE
ardour: [INFO]: Chargement du fichier de style par défaut (/opt/Ardour-5.12.0/etc/default_ui_config) pour l'interface graphique
ardour: [INFO]: Chargement du fichier utilisateur de la configuration de l'interface graphique /home/jerome/.config/ardour5/ui_config
Couleur shuttle bg introuvable
ardour: [INFO]: Chargement du fichier de couleur /opt/Ardour-5.12.0/share/themes/dark-ardour.colors
ardour: [INFO]: Loading ui configuration file /opt/Ardour-5.12.0/etc/clearlooks.rc
ardour: [INFO]: Loading ui configuration file /opt/Ardour-5.12.0/etc/clearlooks.rc
Found nothing along /home/jerome/.config/ardour5/templates:/opt/Ardour-5.12.0/share/templates
run dialog
protocol Wiimote not found
*** Error in `/opt/Ardour-5.12.0/bin/ardour-5.12.0': free(): invalid pointer: 0x0000000002dce2ac ***
Abandon (core dumped)
TagsNo tags attached.

Users sponsoring this issue
Sponsors List Total Sponsorship = US$ 5

2018-03-05 11:41: jihema (US$ 5)
Users sponsoring this issue (Total Sponsorship = US$ 5)

Relationships

duplicate of 0007489 closed pointer exception on startup for new project in safe mode 

Activities

driedstr

2018-01-22 02:47

reporter   ~0020129

I just ran into this issue on a fresh install of Ardour 5.12 on my Intel machine, also Ubuntu 17.10. Selecting new project works, the audio driver dialog opens, then crashes when ALSA driver is started or sync to Jack is selected. Here's my console output:

bind txt domain [gtk2_ardour5] to /opt/Ardour-5.12.0/share/locale
Ardour5.12.0 (built using 5.12 and GCC version 5.2.1 20150903)
ardour: [INFO]: Your system is configured to limit Ardour to only 4096 open files
ardour: [INFO]: Loading system configuration file /opt/Ardour-5.12.0/etc/system_config
ardour: [INFO]: Loading user configuration file /home/dried/.config/ardour5/config
ardour: [INFO]: CPU vendor: GenuineIntel
ardour: [INFO]: AVX-capable processor
ardour: [INFO]: CPU brand: Intel(R) Core(TM) i5-4250U CPU @ 1.30GHz
ardour: [INFO]: Using SSE optimized routines
Cannot xinstall SIGPIPE error handler
ardour: [INFO]: Loading default ui configuration file /opt/Ardour-5.12.0/etc/default_ui_config
Color shuttle bg not found
ardour: [INFO]: Loading color file /opt/Ardour-5.12.0/share/themes/dark-ardour.colors
ardour: [INFO]: Loading ui configuration file /opt/Ardour-5.12.0/etc/clearlooks.rc
ardour: [INFO]: Loading ui configuration file /opt/Ardour-5.12.0/etc/clearlooks.rc
Found nothing along /home/dried/.config/ardour5/templates:/opt/Ardour-5.12.0/share/templates
run dialog
*** Error in `/opt/Ardour-5.12.0/bin/ardour-5.12.0': free(): invalid pointer: 0x0000000002a8964c ***
Aborted (core dumped)

julianyon

2018-01-27 16:53

reporter   ~0020138

Last edited: 2018-01-27 16:56

View 3 revisions

Not usually one to make “me too” bug reports, but as this is an absolute showstopper: Me too. Going to try to upload a backtrace.

Edit: It appeared to upload. Go me.
Edit 2: Ubuntu Studio 17.10, x86_64, AMD A6-7310, official Ardour 5.12 build.

julianyon

2018-01-27 16:53

reporter  

ardour_backtrace.txt (14,082 bytes)
GNU gdb (Ubuntu 8.0.1-0ubuntu1) 8.0.1
Copyright (C) 2017 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/Ardour-5.12.0/bin/ardour-5.12.0...(no debugging symbols found)...done.
(gdb) run
Starting program: /opt/Ardour-5.12.0/bin/ardour-5.12.0 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Ardour5.12.0 (built using 5.12 and GCC version 5.2.1 20150903)
ardour: [INFO]: Your system is configured to limit Ardour to only 1048576 open files
ardour: [INFO]: Loading system configuration file /opt/Ardour-5.12.0/etc/system_config
ardour: [INFO]: Loading user configuration file /home/julian/.config/ardour5/config
[New Thread 0x7fffe8279700 (LWP 9041)]
ardour: [INFO]: CPU vendor: AuthenticAMD
ardour: [INFO]: AVX-capable processor
ardour: [INFO]: CPU brand: AMD A6-7310 APU with AMD Radeon R4 Graphics    
ardour: [INFO]: Using SSE optimized routines
[New Thread 0x7fffe7a78700 (LWP 9042)]
[New Thread 0x7fffe7277700 (LWP 9043)]
[New Thread 0x7fffe6a76700 (LWP 9044)]
[New Thread 0x7fffd7fff700 (LWP 9045)]
[New Thread 0x7fffd77fe700 (LWP 9046)]
ardour: [INFO]: Loading default ui configuration file /opt/Ardour-5.12.0/etc/default_ui_config
ardour: [INFO]: Loading user ui configuration file /home/julian/.config/ardour5/ui_config
ardour: [INFO]: Loading colour file /opt/Ardour-5.12.0/share/themes/dark-ardour.colors
ardour: [INFO]: Loading ui configuration file /opt/Ardour-5.12.0/etc/clearlooks.rc
ardour: [INFO]: Loading ui configuration file /opt/Ardour-5.12.0/etc/clearlooks.rc
[New Thread 0x7fffe4093800 (LWP 9047)]
[New Thread 0x7fffd51c5700 (LWP 9048)]
[New Thread 0x7fffd42de700 (LWP 9049)]
[Thread 0x7fffd51c5700 (LWP 9048) exited]
[New Thread 0x7fffd425d700 (LWP 9050)]
[Thread 0x7fffd425d700 (LWP 9050) exited]
[Thread 0x7fffd42de700 (LWP 9049) exited]
[New Thread 0x7fffd42de700 (LWP 9051)]
[New Thread 0x7fffd425d700 (LWP 9052)]
[Thread 0x7fffd425d700 (LWP 9052) exited]
[Thread 0x7fffd42de700 (LWP 9051) exited]
[New Thread 0x7fffd51c5700 (LWP 9053)]
[New Thread 0x7fffc6ef0700 (LWP 9054)]
[New Thread 0x7fffc66ef700 (LWP 9055)]
ardour: [ERROR]: XML error: failed to load external entity "/home/julian/devel/ardour_templates/.git/.git.template"
[Thread 0x7fffc66ef700 (LWP 9055) exited]
[Thread 0x7fffe4093800 (LWP 9047) exited]
[New Thread 0x7fffd42de700 (LWP 9056)]
[New Thread 0x7fffd425d700 (LWP 9057)]
[New Thread 0x7fffc5a6d700 (LWP 9058)]

Thread 1 "ardour-5.12.0" received signal SIGABRT, Aborted.
__GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
(gdb) thread apply all bt

Thread 19 (Thread 0x7fffc5a6d700 (LWP 9058)):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007fffd6ad9477 in ?? () from /usr/lib/x86_64-linux-gnu/libjack.so.0
#2  0x00007fffd6ab23c5 in ?? () from /usr/lib/x86_64-linux-gnu/libjack.so.0
#3  0x00007fffd6ab0ba9 in ?? () from /usr/lib/x86_64-linux-gnu/libjack.so.0
#4  0x00007fffe436c412 in ARDOUR::JACKAudioBackend::process_thread() ()
   from /opt/Ardour-5.12.0/lib/backends/libjack_audiobackend.so
#5  0x00007fffd6ab0b1b in ?? () from /usr/lib/x86_64-linux-gnu/libjack.so.0
#6  0x00007fffd6ad70e6 in ?? () from /usr/lib/x86_64-linux-gnu/libjack.so.0
#7  0x00007ffff04b27fc in start_thread (arg=0x7fffc5a6d700)
    at pthread_create.c:465
#8  0x00007fffed150b5f in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 18 (Thread 0x7fffd425d700 (LWP 9057)):
#0  0x00007ffff04bcd5d in __libc_read (fd=15, buf=0x7fffd425cbd0, nbytes=4)
    at ../sysdeps/unix/sysv/linux/read.c:26
#1  0x00007fffd6ad879e in ?? () from /usr/lib/x86_64-linux-gnu/libjack.so.0
#2  0x00007fffd6adc355 in ?? () from /usr/lib/x86_64-linux-gnu/libjack.so.0
#3  0x00007fffd6ad70e6 in ?? () from /usr/lib/x86_64-linux-gnu/libjack.so.0
#4  0x00007ffff04b27fc in start_thread (arg=0x7fffd425d700)
    at pthread_create.c:465
#5  0x00007fffed150b5f in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 17 (Thread 0x7fffd42de700 (LWP 9056)):
#0  0x00007ffff04b9072 in futex_wait_cancelable (private=<optimised out>, 
    expected=0, futex_word=0x2d2a158)
    at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x2d2a100, cond=0x2d2a130)
    at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x2d2a130, mutex=0x2d2a100)
    at pthread_cond_wait.c:655
#3  0x00007fffd6ad7efc in ?? () from /usr/lib/x86_64-linux-gnu/libjack.so.0
#4  0x00007fffd6ac7f75 in ?? () from /usr/lib/x86_64-linux-gnu/libjack.so.0
#5  0x00007fffd6ad70e6 in ?? () from /usr/lib/x86_64-linux-gnu/libjack.so.0
#6  0x00007ffff04b27fc in start_thread (arg=0x7fffd42de700)
    at pthread_create.c:465
#7  0x00007fffed150b5f in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 15 (Thread 0x7fffc6ef0700 (LWP 9054)):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007ffff47a1121 in g_cond_wait_until ()
   from /opt/Ardour-5.12.0/lib/libglib-2.0.so.0
#2  0x00007ffff471b24b in g_async_queue_timeout_pop ()
   from /opt/Ardour-5.12.0/lib/libglib-2.0.so.0
#3  0x00007ffff477f9fa in ?? () from /opt/Ardour-5.12.0/lib/libglib-2.0.so.0
#4  0x00007ffff477f235 in ?? () from /opt/Ardour-5.12.0/lib/libglib-2.0.so.0
#5  0x00007ffff04b27fc in start_thread (arg=0x7fffc6ef0700)
    at pthread_create.c:465
#6  0x00007fffed150b5f in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 14 (Thread 0x7fffd51c5700 (LWP 9053)):
#0  0x00007fffed144951 in __GI___poll (fds=0x15bb750, nfds=2, timeout=-1)
    at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007ffff474f6b4 in ?? () from /opt/Ardour-5.12.0/lib/libglib-2.0.so.0
#2  0x00007ffff474f7bc in g_main_context_iteration ()
   from /opt/Ardour-5.12.0/lib/libglib-2.0.so.0
#3  0x00007ffff474f7f9 in ?? () from /opt/Ardour-5.12.0/lib/libglib-2.0.so.0
#4  0x00007ffff477f235 in ?? () from /opt/Ardour-5.12.0/lib/libglib-2.0.so.0
#5  0x00007ffff04b27fc in start_thread (arg=0x7fffd51c5700)
    at pthread_create.c:465
#6  0x00007fffed150b5f in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 7 (Thread 0x7fffd77fe700 (LWP 9046)):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007ffff47a100c in g_cond_wait ()
   from /opt/Ardour-5.12.0/lib/libglib-2.0.so.0
#2  0x00007ffff6d6c1e4 in ARDOUR::AudioEngine::do_devicelist_update() ()
   from /opt/Ardour-5.12.0/lib/libardour.so.3
#3  0x00007ffff4ce8e7d in ?? () from /opt/Ardour-5.12.0/lib/libglibmm-2.4.so.1
#4  0x00007ffff477f235 in ?? () from /opt/Ardour-5.12.0/lib/libglib-2.0.so.0
#5  0x00007ffff04b27fc in start_thread (arg=0x7fffd77fe700)
    at pthread_create.c:465
#6  0x00007fffed150b5f in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 0x7fffd7fff700 (LWP 9045)):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007ffff47a100c in g_cond_wait ()
   from /opt/Ardour-5.12.0/lib/libglib-2.0.so.0
#2  0x00007ffff6d6d186 in ARDOUR::AudioEngine::do_reset_backend() ()
   from /opt/Ardour-5.12.0/lib/libardour.so.3
#3  0x00007ffff4ce8e7d in ?? () from /opt/Ardour-5.12.0/lib/libglibmm-2.4.so.1
#4  0x00007ffff477f235 in ?? () from /opt/Ardour-5.12.0/lib/libglib-2.0.so.0
#5  0x00007ffff04b27fc in start_thread (arg=0x7fffd7fff700)
    at pthread_create.c:465
#6  0x00007fffed150b5f in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7fffe6a76700 (LWP 9044)):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007ffff47a100c in g_cond_wait ()
   from /opt/Ardour-5.12.0/lib/libglib-2.0.so.0
#2  0x00007ffff6d1b61b in ARDOUR::Analyser::work() ()
   from /opt/Ardour-5.12.0/lib/libardour.so.3
#3  0x00007ffff4ce8e7d in ?? () from /opt/Ardour-5.12.0/lib/libglibmm-2.4.so.1
#4  0x00007ffff477f235 in ?? () from /opt/Ardour-5.12.0/lib/libglib-2.0.so.0
#5  0x00007ffff04b27fc in start_thread (arg=0x7fffe6a76700)
    at pthread_create.c:465
#6  0x00007fffed150b5f in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7fffe7277700 (LWP 9043)):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007ffff47a100c in g_cond_wait ()
   from /opt/Ardour-5.12.0/lib/libglib-2.0.so.0
#2  0x00007ffff727b9cb in ?? () from /opt/Ardour-5.12.0/lib/libardour.so.3
#3  0x00007ffff4ce8e7d in ?? () from /opt/Ardour-5.12.0/lib/libglibmm-2.4.so.1
#4  0x00007ffff477f235 in ?? () from /opt/Ardour-5.12.0/lib/libglib-2.0.so.0
#5  0x00007ffff04b27fc in start_thread (arg=0x7fffe7277700)
    at pthread_create.c:465
#6  0x00007fffed150b5f in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7fffe7a78700 (LWP 9042)):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007ffff47a100c in g_cond_wait ()
   from /opt/Ardour-5.12.0/lib/libglib-2.0.so.0
#2  0x00007ffff727b9cb in ?? () from /opt/Ardour-5.12.0/lib/libardour.so.3
#3  0x00007ffff4ce8e7d in ?? () from /opt/Ardour-5.12.0/lib/libglibmm-2.4.so.1
#4  0x00007ffff477f235 in ?? () from /opt/Ardour-5.12.0/lib/libglib-2.0.so.0
#5  0x00007ffff04b27fc in start_thread (arg=0x7fffe7a78700)
    at pthread_create.c:465
#6  0x00007fffed150b5f in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7fffe8279700 (LWP 9041)):
#0  0x00007ffff04bd5f8 in __GI___nanosleep (requested_time=0x7fffe8278bb0, 
    remaining=0x7fffe8278bc0) at ../sysdeps/unix/sysv/linux/nanosleep.c:27
#1  0x00007ffff4780a58 in g_usleep ()
   from /opt/Ardour-5.12.0/lib/libglib-2.0.so.0
#2  0x0000000000d08e1e in ?? ()
#3  0x00007ffff04b27fc in start_thread (arg=0x7fffe8279700)
    at pthread_create.c:465
#4  0x00007fffed150b5f in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7ffff7f8b8c0 (LWP 9037)):
#0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
#1  0x00007fffed074f5d in __GI_abort () at abort.c:90
#2  0x00007fffed0bd28d in __libc_message (action=action@entry=do_abort, 
    fmt=fmt@entry=0x7fffed1e4528 "*** Error in `%s': %s: 0x%s ***\n")
    at ../sysdeps/posix/libc_fatal.c:181
#3  0x00007fffed0c464a in malloc_printerr (action=<optimised out>, 
    str=0x7fffed1e0eae "free(): invalid pointer", ptr=<optimised out>, 
    ar_ptr=<optimised out>) at malloc.c:5426
#4  0x00007fffed0c673e in _int_free (av=0x7fffed416c20 <main_arena>, 
    p=<optimised out>, have_lock=0) at malloc.c:4175
#5  0x00007fffed0cb44e in __GI___libc_free (mem=<optimised out>)
    at malloc.c:3145
#6  0x00007fffc51bf400 in ?? () from /usr/lib/ladspa/csladspa.so
#7  0x00007fffc51bf622 in ladspa_descriptor () from /usr/lib/ladspa/csladspa.so
#8  0x00007ffff70ef39b in ARDOUR::PluginManager::ladspa_discover(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >) ()
   from /opt/Ardour-5.12.0/lib/libardour.so.3
#9  0x00007ffff70f02d7 in ARDOUR::PluginManager::ladspa_refresh() ()
   from /opt/Ardour-5.12.0/lib/libardour.so.3
#10 0x00007ffff70f0a52 in ARDOUR::PluginManager::refresh(bool) ()
   from /opt/Ardour-5.12.0/lib/libardour.so.3
#11 0x00000000004e942e in ?? ()
#12 0x00000000004eb7f8 in ?? ()
#13 0x00000000004fc80b in boost::detail::function::void_function_obj_invoker0<boost::_bi::bind_t<boost::_bi::unspecified, boost::function<void ()>, boost::_bi::list0>, void>::invoke(boost::detail::function::function_buffer&) ()
#14 0x00007ffff5b79d37 in AbstractUI<Gtkmm2ext::UIRequest>::call_slot(PBD::EventLoop::InvalidationRecord*, boost::function<void ()> const&) ()
   from /opt/Ardour-5.12.0/lib/libgtkmm2ext.so.0
#15 0x00000000004fc302 in PBD::Signal0<void, PBD::OptionalLastValue<void> >::compositor(boost::function<void ()>, PBD::EventLoop*, PBD::EventLoop::InvalidationRecord*) ()
#16 0x00000000004f962a in boost::detail::function::void_function_obj_invoker0<boost::_bi::bind_t<void, void (*)(boost::function<void ()>, PBD::EventLoop*, PBD::EventLoop::InvalidationRecord*), boost::_bi::list3<boost::_bi::value<boost::function<void ()> >, boost::_bi::value<PBD::EventLoop*>, boost::_bi::value<PBD::EventLoop::InvalidationRecord*> > >, void>::invoke(boost::detail::function::function_buffer&) ()
#17 0x000000000057192c in PBD::Signal0<void, PBD::OptionalLastValue<void> >::operator()() ()
#18 0x00007ffff6d6b5b5 in ARDOUR::AudioEngine::start(bool) ()
   from /opt/Ardour-5.12.0/lib/libardour.so.3
#19 0x00007ffff71b6437 in ARDOUR::Session::ensure_engine(unsigned int, bool) ()
   from /opt/Ardour-5.12.0/lib/libardour.so.3
#20 0x00007ffff71b8b28 in ARDOUR::Session::Session(ARDOUR::AudioEngine&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, ARDOUR::BusProfile*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >) () from /opt/Ardour-5.12.0/lib/libardour.so.3
#21 0x00000000004dc029 in ?? ()
#22 0x00000000004eee54 in ?? ()
#23 0x00000000004f0841 in ?? ()
#24 0x00007ffff5b72916 in Gtkmm2ext::UI::run(Receiver&) ()
   from /opt/Ardour-5.12.0/lib/libgtkmm2ext.so.0
#25 0x00000000004a46fb in ?? ()
#26 0x00007fffed05d1c1 in __libc_start_main (main=0x4a4270, argc=1, 
    argv=0x7fffffffd358, init=<optimised out>, fini=<optimised out>, 
    rtld_fini=<optimised out>, stack_end=0x7fffffffd348)
    at ../csu/libc-start.c:308
#27 0x00000000004a9ef9 in ?? ()
(gdb) quit
A debugging session is active.

	Inferior 1 [process 9037] will be killed.

Quit anyway? (y or n) y
ardour_backtrace.txt (14,082 bytes)

jihema

2018-03-05 11:42

reporter   ~0020200

Last edited: 2018-03-05 18:39

View 2 revisions

Me too and since I'm new here I'll start by sponsoring this issue.

I should add that unfortunately the problem persists when I downgrade to version 5.11.0.

jihema

2018-03-05 22:38

reporter   ~0020201

So, looking at the stack trace the crash occurs in /usr/lib/ladspa/csladspa.so. Indeed, removing the csladspa package fixes it for me.

timbyr

2018-03-06 07:51

developer   ~0020202

Has this bug been reported against the relevant csladspa package?

I had a quick look in the Debian bug tracker but could not find anything.

jihema

2018-03-06 10:05

reporter   ~0020203

I'm happy to report it but do you know who maintains csladspa? Could you post a ink to the bug tracker if you have it please?

timbyr

2018-03-06 11:41

developer   ~0020204

I'm not really familiar or involved with the debian project or ubuntu but a quick search turns up this:

https://bugs.debian.org/cgi-bin/pkgreport.cgi?pkg=csladspa;dist=unstable

https://packages.ubuntu.com/artful/csladspa

jihema

2018-03-11 09:46

reporter   ~0020208

Reported as csound package bug on Ubuntu: https://bugs.launchpad.net/ubuntu/+source/csound/+bug/1754944

x42

2018-03-18 19:13

administrator   ~0020209

It's already fixed upstream in csound-git since December 2017

x42

2018-03-18 19:46

administrator   ~0020210

PS. The issue was in /frontends/csladspa/csladspa.cpp:406 in init_descriptor(char*, int)
The std::string is on the stack and doesn't need to be free()ed:

-------------------8<---------------------
// global variable
static struct AuxData {
  ..
  std::string portnames[MAXPORTS];
  ..
} aux;


// function
init_descriptor(..) {
  ...
  string *ctlchn = aux[plugindex].portnames;
  ...
  delete[] ctlchn; //<< BUG
}

-------------------8<---------------------


Even though the commit message does not mention it, it was fixed as part of https://github.com/csound/csound/commit/7bad3e3801e219860d91b1845f42c87812fc1d89

x42

2018-03-18 19:46

administrator   ~0020211

Not an Ardour bug.

julianyon

2018-04-03 09:26

reporter   ~0020244

Having finally had a chance to look at this I agree that the primary bug here is in csladspa.so itself and I'd already removed the package before checking back here just now. However, I'd argue that crashing during startup without at least a diagnostic message is itself an Ardour bug, as non-programmers are never going to be able to work that out themselves.

x42

2018-12-19 23:19

administrator   ~0020546

@julianyon The issue happens directly in dlopen() when loading the plugin in LADSPA's discovery mechanism.
Short of using a separate application process to scan for plugins, there is nothing that we can do to protect against this.

LADSPA version 2 (LV2) addresses this -- one does not need to dlopen() to discover plugins, no crash at startup.

We'd rather not work-around issues that happen in plugins, but fix the plugins instead. Especially since we later load a plugin and expect it to reliably do realtime DSP... If a plugin want to wreak havoc it almost always can.

Issue History

Date Modified Username Field Change
2017-11-06 18:53 jerome.barbaza New Issue
2018-01-22 02:47 driedstr Note Added: 0020129
2018-01-27 16:53 julianyon Note Added: 0020138
2018-01-27 16:53 julianyon File Added: ardour_backtrace.txt
2018-01-27 16:54 julianyon Note Edited: 0020138 View Revisions
2018-01-27 16:56 julianyon Note Edited: 0020138 View Revisions
2018-03-05 11:41 jihema Sponsorship Added jihema: US$ 5
2018-03-05 11:41 jihema Sponsorship Total 0 => 5
2018-03-05 11:42 jihema Note Added: 0020200
2018-03-05 18:39 jihema Note Edited: 0020200 View Revisions
2018-03-05 22:38 jihema Note Added: 0020201
2018-03-06 07:51 timbyr Note Added: 0020202
2018-03-06 07:51 timbyr Status new => feedback
2018-03-06 10:05 jihema Note Added: 0020203
2018-03-06 11:41 timbyr Note Added: 0020204
2018-03-11 09:46 jihema Note Added: 0020208
2018-03-18 19:12 x42 Relationship added duplicate of 0007489
2018-03-18 19:13 x42 Note Added: 0020209
2018-03-18 19:46 x42 Note Added: 0020210
2018-03-18 19:46 x42 Note Added: 0020211
2018-03-18 19:46 x42 Status feedback => resolved
2018-03-18 19:46 x42 Resolution open => no change required
2018-03-18 19:46 x42 Assigned To => x42
2018-04-03 09:26 julianyon Note Added: 0020244
2018-12-19 23:19 x42 Note Added: 0020546