ardour2 crash by SIGSEV in freeaddrinfo (from liblo)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
liblo (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
-------
Description: Ubuntu 9.10
Release: 9.10
Arch: AMD64 (Intel i7 920)
uname -a:
Linux vono-fixe 2.6.31-16-generic #52-Ubuntu SMP Thu Dec 3 22:07:16 UTC 2009 x86_64 GNU/Linux
root@vono-fixe:~# apt-cache policy ardour
ardour:
Installé : 1:2.8.2-0ubuntu1
Candidat : 1:2.8.2-0ubuntu1
Table de version :
*** 1:2.8.2-0ubuntu1 0
500 http://
100 /var/lib/
root@vono-fixe:~# apt-cache policy liblo0ldbl
liblo0ldbl:
Installé : 0.23-2.2
Candidat : 0.23-2.2
Table de version :
*** 0.23-2.2 0
500 http://
100 /var/lib/
-------
I've install ardour2 to test it, but it always crash with a Segmentation fault (SIGSEV).
here the reproduction step:
- launch ardour2
- in the session manager dialog box, type a session name, eventualy chosse a directory.
- Click on the new button
--> Crash
-------
vono@vono-
vono@vono-
[...]
ALSA: final selected sample format for capture: 32bit integer little-endian
ALSA: use 2 periods for capture
ALSA: final selected sample format for playback: 32bit integer little-endian
ALSA: use 2 periods for playback
SSE2 detected
loading bindings from /etc/ardour2/
Loading session /home/vono/tmp/test using snapshot test (1)
Segmentation fault
vono@vono-
**** alsa_pcm: xrun of at least 480.649 msecs
-------
Since I've not the traditional ubuntu bug reporting launch when it crash, i tried to manually discover what's wrong.
After installing debugs packages, I've this stacktrace in gdb:
(gdb) backtrace
#0 *__GI_freeaddrinfo (ai=0x5) at ../sysdeps/
#1 0x00007fffef71cca5 in ?? () from /usr/lib/liblo.so.0
#2 0x00007fffef71cf2a in lo_send_
#3 0x00007fffef71d053 in lo_send_internal () from /usr/lib/liblo.so.0
#4 0x00007ffff7b02313 in ARDOUR:
#5 0x00007ffff7b02191 in ARDOUR:
#6 0x00007ffff7a5cae1 in ARDOUR:
#7 0x00007ffff7abae4f in ARDOUR:
at libs/ardour/
#8 0x00007ffff7a5175f in Session (this=0x7fffe00
at libs/ardour/
#9 0x000000000082c734 in ARDOUR_
at gtk2_ardour/
#10 0x000000000082c17e in ARDOUR_
should_
#11 0x000000000082383c in ARDOUR_UI::startup (this=0x10ff540) at gtk2_ardour/
#12 0x000000000084426a in sigc::bound_
at /usr/include/
#13 0x0000000000842d1c in sigc::adaptor_
at /usr/include/
#14 0x0000000000840bb4 in sigc::internal:
rep=0x131fe50) at /usr/include/
#15 0x00000000008336ac in sigc::internal:
at /usr/include/
#16 0x0000000000839f4c in sigc::signal0<void, sigc::nil>::emit (this=0x10ff5c8)
at /usr/include/
#17 0x0000000000837322 in sigc::signal0<void, sigc::nil>
at /usr/include/
#18 0x00007ffff2b6ff84 in Gtkmm2ext::UI::run (this=0x10ff540, old_receiver=...) at libs/gtkmm2ext/
#19 0x0000000000b2055b in main (argc=1, argv=0x7fffffff
The problem seems to come from "liblo-
The "static int resolve_
struct addrinfo *ai; // line 362
then when calling "ret = getaddrinfo(
I've juste replace the line 362 with;
struct addrinfo *ai = NULL;
recompile, update my LD_LIBRARY_PATH env var, and relaunch ardour. It work !
-------
Note: I hope it is a valid bug report, since i do not know really how to do it.
I've not provide a patch/diff file, but I can if you prefer.
Is this still relevant and/or reproducible in Ubuntu 19.04 disco