udevd crashed with SIGSEGV in _fini()

Bug #99949 reported by Howard Kern
10
Affects Status Importance Assigned to Milestone
libselinux (Ubuntu)
Expired
Medium
Unassigned

Bug Description

Binary package hint: udev

There's not really much to say; I was not aware of the reported crash when it happened (in point of fact, I have no idea when the crash did happen). All I know is, by the time I got into Gnome, I had four crash reports waiting, and I have no idea where they came from. I realize that this isn't much use, but I hope that it's at least a little better than nothing.

I'm going to copy-paste this description to the other three bugs, since it's equally true for them.

The following(?) bugs are: bug 99950 (sysklogd) and bug 99951 (acpid).

ProblemType: Crash
Architecture: amd64
Date: Wed Mar 28 01:08:17 2007
Disassembly: 0x0:
DistroRelease: Ubuntu 7.04
ExecutablePath: /sbin/udevd
Package: udev 103-0ubuntu14
PackageArchitecture: amd64
ProcCmdline: /sbin/udevd --daemon
ProcCwd: /
ProcEnviron: PATH=/sbin:/bin:/usr/sbin:/usr/bin
Signal: 11
SourcePackage: udev
Stacktrace:
 #0 0x0000000000000000 in ?? ()
 #1 0x00002af61fccfd73 in ?? () from /lib/libselinux.so.1
 #2 0x00007fff8afe70d0 in ?? ()
 #3 0x00002af61fcdb601 in _fini () from /lib/libselinux.so.1
 #4 0x0000000000000000 in ?? ()
StacktraceTop:
 ?? ()
 ?? () from /lib/libselinux.so.1
 ?? ()
 _fini () from /lib/libselinux.so.1
 ?? ()
Uname: Linux the-nemisis 2.6.20-13-generic #2 SMP Sat Mar 24 23:12:02 UTC 2007 x86_64 GNU/Linux
UserGroups:

Tags: patch
Revision history for this message
Howard Kern (howekern) wrote :
Revision history for this message
Apport retracing service (apport) wrote : Symbolic stack trace

StacktraceTop:?? ()
?? () from /lib/libselinux.so.1
?? ()
_fini () from /lib/libselinux.so.1
?? ()

Revision history for this message
Apport retracing service (apport) wrote : Symbolic threaded stack trace
Changed in libselinux:
importance: Undecided → Medium
Daniel Hahler (blueyed)
description: updated
Revision history for this message
Mike Stroyan (stroyan) wrote : Re: [apport] udevd crashed with SIGSEGV in _fini()

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.

Changed in libselinux (Ubuntu):
status: New → Confirmed
tags: added: patch
summary: - [apport] udevd crashed with SIGSEGV in _fini()
+ udevd crashed with SIGSEGV in _fini()
Revision history for this message
Laurent Bigonville (bigon) wrote :

Can you still reproduce this bug?

libselinux used here is 1.32-3ubuntu1 which is really (really) old

Changed in libselinux (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for libselinux (Ubuntu) because there has been no activity for 60 days.]

Changed in libselinux (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.