Red Hat Bugzilla – Bug 104173
xmms (and other applications) crash with message libgcc_s.so.1 must be installed for pthread_cancel to work
Last modified: 2016-11-24 10:15:37 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5b) Gecko/20030909
Description of problem:
I'm not sure if glibc is the right component for this, but the only other bug
involving pthread_cancel is under glibc.
XMMS crashes (usually only when switching songs) and prints "libgcc_s.so.1 must
be installed for pthread_cancel to work" to the console. Other applications have
done this as well but I don't remember what they were now. XMMS does it after
almost every song.
I am using kernel-2.4.22-1.2039.nptl and I do have libgcc_s.so.1:
lrwxrwxrwx 1 root root 28 Sep 10 00:23 /lib/libgcc_s.so.1 ->
-rwxr-xr-x 1 root root 29196 Sep 8 13:53
This happens with XMMS 1.2.7 and 1.2.8.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Run XMMS
2. Switch songs or let a song finish so the next song is played
Are you sure you don't have a different (older) libgcc_s.so.1 lurking somewhere
in your library search path (if LD_LIBRARY_PATH is used there, if not,
pthread_cancel is trying to dlopen libgcc_s.so.1, which has:
symbols exported from it.
E.g. strace output (or LD_DEBUG=all dump) could make it clearer what's going on.
It looks like I did have another libgcc_s.so.1 in /usr/local/lib, and removing
it fixes the crash. Removing /usr/local/lib/libstdc++.* also fixes my GLIBC
errors in other applications. I don't know if I'm supposed to resolve the bug,
so I won't, but I'm all set now. Thanks for the help. (Any idea why this would
happen? This is sort of an old system (I started with RH7.3, so it's not thta
old), but I don't remember ever manually installing glibc or gcc or anything.)
That really looks like manually installed gcc.
Worth looking at this other bug:
Similar symptoms that boiled down to a problem with NPTL. Solution:
... before running xmms. Works wonders for me, too! :)