|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
/usr/bin/passwd segfault on OpenBSD/i386 3.6
From: Alexander Chamandy (bsdfreak
gmail.com)
Date: Tue Dec 21 2004 - 21:36:20 CST
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi,
I'm having some /usr/bin/passwd problems after upgrading to 3.6. I
followed all of the instructions on the OpenBSD upgrade page and
everything else seems okay, but this is still puzzling me. Any
suggestions or feedback would be much appreciated.
# passwd username
Changing local password for username.
New password:
Retype new password:
Segmentation fault
# ls -l /usr/bin/passwd
-r-sr-xr-x 1 root bin 22516 Dec 20 13:03 /usr/bin/passwd
This is what ktrace reports:
# kdump | tail -n 1
27325 passwd PSIG SIGSEGV SIG_DFL code 1 addr=0x3c00079d trapno=2
r# gdb
GNU gdb 6.1
(gdb) set args username
(gdb) run
Starting program: /usr/bin/passwd username
Changing local password for username.
New password:
Retype new password:
Program received signal SIGSEGV, Segmentation fault.
0x06c6b4e0 in strsep () from /usr/lib/libc.so.34.1
My dmesg is below for anyone interested:
OpenBSD 3.6 (GENERIC) #59: Fri Sep 17 12:32:57 MDT 2004
deraadt
i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
RTC BIOS diagnostic error 2 cpu0: Intel Pentium III ("GenuineIntel"
686-class, 128KB L2 cache) 798 MHz
cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE
real mem = 535142400 (522600K)
avail mem = 481390592 (470108K)
using 4278 buffers containing 26861568 bytes (26232K) of memory
RTC BIOS diagnostic error 2
mainbus0 (root)
bios0 at mainbus0: AT/286+(00) BIOS, date 11/30/99, BIOS32 rev. 0
0xfda74
apm0 at bios0: Power Management spec V1.2
apm0: AC on, battery charge unknown
pcibios0 at bios0: rev 2.1
0xf0000/0x10000
pcibios0: PCI IRQ Routing Table rev 1.0
0xf31f0/192 (10 entries)
pcibios0: PCI Interrupt Router at 000:31:0 ("Intel 82371FB ISA" rev 0x00)
pcibios0: PCI bus #1 is the last bus
bios0: ROM list: 0xc0000/0x8000
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "Intel 82810E" rev 0x03: rng active, 9Kb/sec
vga1 at pci0 dev 1 function 0 "Intel 82810E Graphics" rev 0x03: aperture at 0xf8
000000, size 0x4000000
wsdisplay0 at vga1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
ppb0 at pci0 dev 30 function 0 "Intel 82801AA Hub-to-PCI" rev 0x02
pci1 at ppb0 bus 1
eap0 at pci1 dev 7 function 0 "Ensoniq AudioPCI97" rev 0x06: irq 11
ac97: codec id 0x43525914 (Cirrus Logic CS4297A rev 4)
ac97: codec features headphone, 20 bit DAC, 18 bit ADC, Crystal Semi 3D
audio0 at eap0
xl0 at pci1 dev 9 function 0 "3Com 3c905 100Base-TX" rev 0x00: irq 10, address 0
0:60:08:03:a2:61
nsphy0 at xl0 phy 24: DP83840 10/100 media interface, rev. 1
ichpcib0 at pci0 dev 31 function 0 "Intel 82801AA LPC" rev 0x02
pciide0 at pci0 dev 31 function 1 "Intel 82801AA IDE" rev 0x02: DMA, channel 0 w
ired to compatibility, channel 1 wired to compatibility
wd0 at pciide0 channel 0 drive 0: <WDC AC28400R>
wd0: 16-sector PIO, LBA, 8063MB, 16514064 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
atapiscsi0 at pciide0 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: <ASUS, CD-S500/A, 3.4H> SCSI0 5/cdrom removable
cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
uhci0 at pci0 dev 31 function 2 "Intel 82801AA USB" rev 0x02: irq 9
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
"Intel 82801AA SMBus" rev 0x02 at pci0 dev 31 function 3 not configured
isa0 at ichpcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: <PC speaker>
apm0: AC on, battery charge unknown
pcibios0 at bios0: rev 2.1
0xf0000/0x10000
pcibios0: PCI IRQ Routing Table rev 1.0
0xf31f0/192 (10 entries)
pcibios0: PCI Interrupt Router at 000:31:0 ("Intel 82371FB ISA" rev 0x00)
pcibios0: PCI bus #1 is the last bus
bios0: ROM list: 0xc0000/0x8000
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "Intel 82810E" rev 0x03: rng active, 9Kb/sec
vga1 at pci0 dev 1 function 0 "Intel 82810E Graphics" rev 0x03: aperture at 0xf8
000000, size 0x4000000
wsdisplay0 at vga1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
ppb0 at pci0 dev 30 function 0 "Intel 82801AA Hub-to-PCI" rev 0x02
pci1 at ppb0 bus 1
eap0 at pci1 dev 7 function 0 "Ensoniq AudioPCI97" rev 0x06: irq 11
ac97: codec id 0x43525914 (Cirrus Logic CS4297A rev 4)
ac97: codec features headphone, 20 bit DAC, 18 bit ADC, Crystal Semi 3D
audio0 at eap0
xl0 at pci1 dev 9 function 0 "3Com 3c905 100Base-TX" rev 0x00: irq 10, address 0
0:60:08:03:a2:61
nsphy0 at xl0 phy 24: DP83840 10/100 media interface, rev. 1
ichpcib0 at pci0 dev 31 function 0 "Intel 82801AA LPC" rev 0x02
pciide0 at pci0 dev 31 function 1 "Intel 82801AA IDE" rev 0x02: DMA, channel 0 w
ired to compatibility, channel 1 wired to compatibility
wd0 at pciide0 channel 0 drive 0: <WDC AC28400R>
wd0: 16-sector PIO, LBA, 8063MB, 16514064 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
atapiscsi0 at pciide0 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: <ASUS, CD-S500/A, 3.4H> SCSI0 5/cdrom removable
cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
uhci0 at pci0 dev 31 function 2 "Intel 82801AA USB" rev 0x02: irq 9
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
"Intel 82801AA SMBus" rev 0x02 at pci0 dev 31 function 3 not configured
isa0 at ichpcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: <PC speaker>
sysbeep0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
npx0 at isa0 port 0xf0/16: using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
pccom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
biomask f365 netmask f765 ttymask f7e7
pctr: 686-class user-level performance counters enabled
mtrr: Pentium Pro MTRR support
dkcsum: wd0 matched BIOS disk 80
root on wd0a
rootdev=0x0 rrootdev=0x300 rawdev=0x302
Misc:
# df -h
Filesystem Size Used Avail Capacity Mounted on
/dev/wd0a 992M 640M 302M 68% /
/dev/wd0d 122M 1.0K 116M 0% /tmp
/dev/wd0e 190M 84.0M 96.8M 46% /var
/dev/wd0f 1.9G 1.4G 444M 76% /backup
/dev/wd0g 4.1G 3.7G 101M 97% /usr
# ls -la /usr/lib/libc.so.*
-r--r--r-- 1 root wheel 576146 Apr 25 2002 /usr/lib/libc.so.25.2
-r--r--r-- 1 root bin 594173 Mar 24 2003 /usr/lib/libc.so.28.0
-r--r--r-- 1 root bin 602889 Aug 26 2003 /usr/lib/libc.so.28.5
-r--r--r-- 1 root bin 611713 Oct 15 2003 /usr/lib/libc.so.29.0
-r--r--r-- 1 root bin 657196 Mar 29 2004 /usr/lib/libc.so.30.3
-r--r--r-- 1 root bin 677742 Sep 17 13:00 /usr/lib/libc.so.34.1
# ldd /usr/bin/passwd
/usr/bin/passwd:
Start End Type Ref Name
00000000 00000000 exe 1 /usr/bin/passwd
01fe7000 21feb000 rlib 1 /usr/lib/libutil.so.11.0
02602000 22610000 rlib 1 /usr/lib/libkrb5.so.14.0
023cf000 223dd000 rlib 1 /usr/lib/libasn1.so.14.0
0d2b2000 2d2b7000 rlib 1 /usr/lib/libdes.so.9.0
0ceff000 2cf2f000 rlib 1 /usr/lib/libcrypto.so.11.0
0493e000 24976000 rlib 1 /usr/lib/libc.so.34.1
0fd56000 0fd56000 rtld 1 /usr/libexec/ld.so
--
Best wishes,
Alexander G. Chamandy
Webmaster
www.bsdfreak.org
Your Source For BSD News!
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]