The crash occurs when the libselinux1 library is trying to do its 'fini' destructor functions when unloading. It references some thread local storage variables that were statically initialized to NULL. That first reference fails when it actually tries to allocate the variables. This patch explicity initializes those variables during the init function, making the fini function work. It seems that the real defect is in a corner case of the implementation of "__thread" feature. But changing libselinux1 this way is a practical workaround.
** Attachment added: "libselinux1_patch" http://launchpadlibrarian.net/15599819/libselinux1_patch -- SETRANS + libavg = SIGSEGV on Hardy https://bugs.launchpad.net/bugs/237156 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs