segfault at (xxx) ip (yyy) sp (zzz) error 4 in libc-2.24.so

ubuntu 16.10
kernel 4.9.5
audacity 2.1.2 (from ubuntu - apt install audacity)

tried to start audacity:
me@myxpc:~$ audacity
Speicherzugriffsfehler (memory access error)

syslog:
Jan 25 12:39:37 mypc kernel: [259455.272711] audacity[1999]: segfault at 564f20000000 ip 00007f3db68b0182 sp 00007ffe96aee890 error 4 in libc-2.24.so[7f3db682a000+1bd000]
Jan 25 12:43:39 mypc kernel: [259697.224652] audacity[2058]: segfault at 562f88000000 ip 00007fe83b530182 sp 00007ffc58b0f2e0 error 4 in libc-2.24.so[7fe83b4aa000+1bd000]
Jan 25 12:44:00 mypc kernel: [259717.759736] audacity[2059]: segfault at 556c1c000000 ip 00007fb75c4b9182 sp 00007ffea781c6d0 error 4 in libc-2.24.so[7fb75c433000+1bd000]
Jan 25 12:49:55 mypc kernel: [260072.553725] audacity[2131]: segfault at 55dc7c000000 ip 00007fa7e6a8f182 sp 00007ffe5f57d900 error 4 in libc-2.24.so[7fa7e6a09000+1bd000]
Jan 25 12:49:57 mypc kernel: [260074.841188] audacity[2134]: segfault at 559250000000 ip 00007f5595784182 sp 00007ffd45f04130 error 4 in libc-2.24.so[7f55956fe000+1bd000]
Jan 25 12:49:58 mypc kernel: [260075.825434] audacity[2135]: segfault at 5577b4000000 ip 00007f0d908e4182 sp 00007ffd0fb281e0 error 4 in libc-2.24.so[7f0d9085e000+1bd000]
Jan 25 12:49:59 mypc kernel: [260076.646853] audacity[2136]: segfault at 559854000000 ip 00007fac07bc7182 sp 00007ffc7e2f6c10 error 4 in libc-2.24.so[7fac07b41000+1bd000]

any hints?

I don’t see any reports of this against Audacity on the Ubuntu bug tracker: https://bugs.launchpad.net/ubuntu/+bugs?field.searchtext=audacity but you can find reports online of error 4 in libc* in various applications and different Linux distributions. It’s usually some kind of conflict between libc and other libraries or other applications.

Have you tried starting Audacity from the terminal to see what messages that produces?

Has the problem only just started now? If so, have you just installed any other new packages? If you close down all applications except Audacity, do you still have the problem?


Gale



me@myxpc:~$ audacity <— on xterm
Speicherzugriffsfehler (memory access error) <— only this

I’ve installed audacity just now, no packages after

yes

the same problem also if i logon as guest on my pc

do you know a ‘debugger’ on ubuntu to get more informations?

i also startet audacity in GDB:
(gdb) file /usr/bin/audacity
(gdb) run
Starting program: /usr/bin/audacity
[Thread debugging using libthread_db enabled]
Using host libthread_db library “/lib/x86_64-linux-gnu/libthread_db.so.1”.

Program received signal SIGSEGV, Segmentation fault.
0x00007fffefa2e182 in __GI___libc_free (mem=0x5555563821fe) at malloc.c:2981
2981 malloc.c: Datei oder Verzeichnis nicht gefunden.
(gdb)

but what do i with this information? i’m no coder/programmer…

GDB again:
(gdb) info stack
#0 0x00007fffefa2e182 in __GI___libc_free (mem=0x5555563821fe) at malloc.c:2981
#1 0x0000555555913e41 in wxString::~wxString() ()
#2 0x00007ffff5d93f65 in wxMBConv_iconv::wxMBConv_iconv(char const*) () from /usr/local/lib/libwx_baseu-3.0.so.0
#3 0x00007ffff5d97316 in wxCSConv::DoCreate() const () from /usr/local/lib/libwx_baseu-3.0.so.0
#4 0x00007ffff5d986d3 in wxCSConv::wxCSConv(wxFontEncoding) () from /usr/local/lib/libwx_baseu-3.0.so.0
#5 0x00007ffff5d98749 in wxGet_wxConvLocalPtr() () from /usr/local/lib/libwx_baseu-3.0.so.0
#6 0x00007ffff5cd235e in _GLOBAL__sub_I_strconv.cpp () from /usr/local/lib/libwx_baseu-3.0.so.0
#7 0x00007ffff7de87ca in call_init (l=, argc=argc@entry=1, argv=argv@entry=0x7fffffffdd78,
env=env@entry=0x7fffffffdd88) at dl-init.c:72
#8 0x00007ffff7de88db in call_init (env=0x7fffffffdd88, argv=0x7fffffffdd78, argc=1, l=)
at dl-init.c:30
#9 _dl_init (main_map=0x7ffff7ffe168, argc=1, argv=0x7fffffffdd78, env=0x7fffffffdd88) at dl-init.c:120
#10 0x00007ffff7dd8cda in _dl_start_user () from /lib64/ld-linux-x86-64.so.2
#11 0x0000000000000001 in ?? ()
#12 0x00007fffffffe13f in ?? ()
#13 0x0000000000000000 in ?? ()
(gdb)

Thanks for testing it in gdb. I think the problem is specific to your computer and that you should ask on the Ubuntu forums. They are more likely to be able to help you with library problems, because they supply the libraries and the operating system.

You could ask on the Ubuntu Forums and if necessary post a bug report to Ubuntu.

Let us know what they say.


Gale

Also I am not clear why the gdb trace refers to what looks like a local copy of libwx_baseu-3.0.so.0 instead of a system copy.

Perhaps you have compiled an application yourself and this has changed library linking?


Gale