Bug#918587: Doesn't start with "Error: can't open user interface plugin: libX11.so.6: failed to map segment from shared object."
Frank Gevaerts
frank at gevaerts.be
Mon Jan 7 16:51:34 GMT 2019
Package: aeolus
Version: 0.9.5-1
Severity: normal
strace says:
mmap(NULL, 1314168, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = -1 EAGAIN (Resource temporarily unavailable)
It turns out that aeolus runs out of allowed locked memory. According to ulimit -a, that is 16384 on my system by default.
I found two workarounds/fixes:
* Increasing the limit in /etc/security/limits.conf. I don't know the ideal value
* commenting out mlockall() line in main.cc
I also tried moving the mlockall() line in main.cc to after the dlopen block, but that isn't a proper fix: with the "right" limit (I tried 32768), aeolus just segfault after a failed allocation later on.
Maybe the best fix would be a new commandline option to make the mlockall() optional? Or maybe computers have moved on and people using these tools seriously can be assumed to have enough RAM for everything so the mlockall() isn't needed?
-- System Information:
Debian Release: buster/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.18.0-3-amd64 (SMP w/2 CPU cores)
Locale: LANG=POSIX, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=POSIX (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages aeolus depends on:
ii libasound2 1.1.7-2
ii libc6 2.28-4
ii libclthreads2 2.4.0-7
ii libclxclient3 3.9.0-5
ii libgcc1 1:8.2.0-13
ii libjack-jackd2-0 [libjack-0.125] 1.9.12~dfsg-2
ii libreadline7 7.0-5
ii libstdc++6 8.2.0-13
ii libx11-6 2:1.6.7-1
ii libzita-alsa-pcmi0 0.2.0-4
ii stops 0.3.0-2
Versions of packages aeolus recommends:
ii jackd 5
aeolus suggests no packages.
-- no debconf information
More information about the pkg-multimedia-maintainers
mailing list