pg_createcluster crashed with SIGSEGV in readdir64_r()

Bug #132425 reported by Jack Wasey
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
perl (Ubuntu)
Expired
Medium
Unassigned

Bug Description

Binary package hint: postgresql-common

installing ebox

ProblemType: Crash
Architecture: i386
Date: Tue Aug 14 12:52:25 2007
DistroRelease: Ubuntu 7.10
ExecutablePath: /usr/bin/pg_createcluster
InterpreterPath: /usr/bin/perl
NonfreeKernelModules: radeon drm rfcomm l2cap bluetooth capability ipv6 bridge ppdev video container sbs button dock ac battery af_packet fuse parport_pc lp parport snd_via82xx gameport snd_ac97_codec ac97_bus snd_pcm_oss snd_mixer_oss snd_pcm snd_page_alloc snd_mpu401_uart snd_seq_dummy snd_seq_oss snd_seq_midi snd_rawmidi pcspkr snd_seq_midi_event psmouse serio_raw snd_seq snd_timer snd_seq_device snd soundcore i2c_viapro i2c_core via_ircc irda crc_ccitt bcm43xx ieee80211softmac ieee80211 ieee80211_crypt via_agp shpchp pci_hotplug agpgart tsdev evdev ide_cd cdrom ide_disk reiserfs sg via82cxxx 8139cp sd_mod usbhid hid usb_storage libusual floppy ata_generic ohci1394 ieee1394 8139too mii pata_pdc2027x ehci_hcd libata uhci_hcd usbcore aic7xxx scsi_transport_spi scsi_mod thermal processor fan apparmor commoncap aamatch_pcre
Package: postgresql-common 76
PackageArchitecture: all
ProcCmdline: /usr/bin/perl -w /usr/bin/pg_createcluster -u postgres 8.2 main
ProcCwd: /
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: postgresql-common
Stacktrace:
 #0 0xb7ec43f7 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: pg_createcluster 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: 0xb7ec43f7 <readdir64_r+215>: cmovne %gs:(%edx),%eax
 PC (0xb7ec43f7) 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 perl:
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 Maverick. Please update via www.ubuntu.com repost a detailed error report, and update the bug status. Thanks!

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

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

Changed in perl (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.