update-rc.d crashed with SIGSEGV in readdir64_r()

Bug #132423 reported by Jack Wasey
8
This bug affects 1 person
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/update-rc.d
InterpreterPath: /usr/bin/perl
NonfreeKernelModules: apparmor aamatch_pcre
Package: sysv-rc 2.86.ds1-14.1ubuntu27
PackageArchitecture: all
ProcCmdline: /usr/bin/perl /usr/sbin/update-rc.d xend defaults 20 21
ProcCwd: /etc/rc0.d
ProcEnviron:
 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/X11R6/bin
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
Signal: 11
SourcePackage: sysvinit
Stacktrace:
 #0 0xb7df63f7 in readdir64_r () from /lib/tls/i686/cmov/libc.so.6
 #1 0x080fdca5 in Perl_pp_readdir ()
 #2 0x080c0d29 in Perl_runops_standard ()
 #3 0x0806727a in perl_run ()
 #4 0x08063732 in main ()
StacktraceTop:
 readdir64_r () from /lib/tls/i686/cmov/libc.so.6
 Perl_pp_readdir ()
 Perl_runops_standard ()
 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

Tags: apport-crash
Revision history for this message
Jack Wasey (jackwasey) wrote :
Changed in sysvinit:
importance: Undecided → Medium
Revision history for this message
Anand Kumria (wildfire) wrote :

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.

Kees Cook (kees)
description: updated
Revision history for this message
rusivi2 (rusivi2-deactivatedaccount) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. I noticed that the package version your bugging is updated in Lucid. Please update via http://releases.ubuntu.com/lucid/ repost a detailed error report, and update the bug status. Thanks!

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

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

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

Other bug subscribers

Remote bug watches

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