update-rc.d crashed with SIGSEGV in readdir64_r()
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
sysvinit (Ubuntu) |
Expired
|
Medium
|
Unassigned |
Bug Description
Binary package hint: sysvinit
Long hang on aptitude purging all xen packages (while running -xen kernel) in Tribe 4.
Killed all xen processes, and this error ensued.
ProblemType: Crash
Architecture: i386
Date: Tue Aug 14 12:45:35 2007
Dependencies:
DistroRelease: Ubuntu 7.10
ExecutablePath: /usr/sbin/
InterpreterPath: /usr/bin/perl
NonfreeKernelMo
Package: sysv-rc 2.86.ds1-
PackageArchitec
ProcCmdline: /usr/bin/perl /usr/sbin/
ProcCwd: /etc/rc0.d
ProcEnviron:
PATH=/
LANG=en_GB.UTF-8
SHELL=/bin/bash
Signal: 11
SourcePackage: sysvinit
Stacktrace:
#0 0xb7df63f7 in readdir64_r () from /lib/tls/
#1 0x080fdca5 in Perl_pp_readdir ()
#2 0x080c0d29 in Perl_runops_
#3 0x0806727a in perl_run ()
#4 0x08063732 in main ()
StacktraceTop:
readdir64_r () from /lib/tls/
Perl_pp_readdir ()
Perl_runops_
perl_run ()
main ()
Title: update-rc.d crashed with SIGSEGV in readdir64_r()
Uname: Linux antibes 2.6.22-9-xen #1 SMP Fri Aug 3 02:23:57 GMT 2007 i686 GNU/Linux
UserGroups:
SegvAnalysis:
Segfault happened at: 0xb7df63f7 <readdir64_r+215>: cmovne %gs:(%edx),%eax
PC (0xb7df63f7) ok
source "%gs:(%edx)" (0x0000000f) not located in a known VMA region (needed readable region)!
destination "%eax" ok
SegvReason: reading NULL VMA
Changed in sysvinit: | |
importance: | Undecided → Medium |
description: | updated |
It turns out that the bug is due to the Xen kernel.
Basically you need to set "hwcap 1 nosegneg" in /etc/ld. so.conf. d/xen.conf
As per https:/ /kerneltrap. org/mailarchive /linux- kernel/ 2007/11/ 28/455534/ thread
I am only recording this here because I just spent a frustrating number of hours when hitting the same bug -- and perhaps this can help someone else out in the same situation.
Additionally you probably want to also upgrade the kernel as well.