I finally tracked it down, I think. The pthread code tries to load
libgcc_s on pthread_exit(), and this dos not work when the effective
user was changed -- many daemons switch from root to a restricted user,
and that's one way to end up in this problem. If the library is loaded
globally for the process before the user is changed, everything works.

This is a problem of the 'pthread_exit()'  implementation (delayed/on-
demand load of libgcc_s) and/or the 'mmap()' implementation in the
kernel.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/40285

Title:
  libgcc_s.so.1 must be installed for pthread_cancel to work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gcc-3.3/+bug/40285/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to