Page 1 of 1

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

Posted: Wed Jan 25, 2017 12:26 pm
by ubuntuopa
ubuntu 16.10
kernel 4.9.5
audacity 2.1.2 (from ubuntu - apt install audacity)

tried to start audacity:
[email protected]:~$ 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?

Re: segfault at (xxx) ip (yyy) sp (zzz) error 4 in libc-2.24

Posted: Wed Jan 25, 2017 2:36 pm
by Gale Andrews
I don't see any reports of this against Audacity on the Ubuntu bug tracker: https://bugs.launchpad.net/ubuntu/+bugs ... t=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

Re: segfault at (xxx) ip (yyy) sp (zzz) error 4 in libc-2.24

Posted: Wed Jan 25, 2017 3:05 pm
by ubuntuopa
Gale Andrews wrote:I don't see any reports of this against Audacity on the Ubuntu bug tracker: https://bugs.launchpad.net/ubuntu/+bugs ... t=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
Gale Andrews wrote:Have you tried starting Audacity from the terminal to see what messages that produces?
[email protected]:~$ audacity <--- on xterm
Speicherzugriffsfehler (memory access error) <--- only this
Gale Andrews wrote:Has the problem only just started now?
I've installed audacity just now, no packages after
Gale Andrews wrote:If you close down all applications except Audacity, do you still have the problem?
yes

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

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

Re: segfault at (xxx) ip (yyy) sp (zzz) error 4 in libc-2.24

Posted: Wed Jan 25, 2017 3:30 pm
by ubuntuopa
Gale Andrews wrote:I don't see any reports of this against Audacity on the Ubuntu bug tracker: https://bugs.launchpad.net/ubuntu/+bugs ... t=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
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...

Re: segfault at (xxx) ip (yyy) sp (zzz) error 4 in libc-2.24

Posted: Wed Jan 25, 2017 3:36 pm
by ubuntuopa
Gale Andrews wrote:I don't see any reports of this against Audacity on the Ubuntu bug tracker: https://bugs.launchpad.net/ubuntu/+bugs ... t=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
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=<optimized out>, [email protected]=1, [email protected]=0x7fffffffdd78,
[email protected]=0x7fffffffdd88) at dl-init.c:72
#8 0x00007ffff7de88db in call_init (env=0x7fffffffdd88, argv=0x7fffffffdd78, argc=1, l=<optimized out>)
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)

Re: segfault at (xxx) ip (yyy) sp (zzz) error 4 in libc-2.24

Posted: Thu Jan 26, 2017 12:36 pm
by Gale Andrews
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

Re: segfault at (xxx) ip (yyy) sp (zzz) error 4 in libc-2.24

Posted: Thu Jan 26, 2017 12:43 pm
by Gale Andrews
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