>Number:         6606
>Category:       user
>Synopsis:       OpenCVS crash on a particular file '
>Confidential:   yes
>Severity:       serious
>Priority:       medium
>Responsible:    bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   unknown
>Arrival-Date:   Wed May 18 13:00:01 GMT 2011
>Closed-Date:
>Last-Modified:
>Originator:     
>Release:        
>Organization:
>Environment:
        System      : OpenBSD 4.9-current
        Details     : OpenBSD 4.9-current (GENERIC.MP) #113: Sat May 14 
09:31:25 MDT 2011
    [email protected]:/usr/src/sys/arch/amd64/compile/GENERIC.MP

        Architecture: OpenBSD.amd64
        Machine     : amd64
>Description:
        When trying to update /usr/src, opencvs(1) always crashes on th
        following file : src/gnu/usr.bin/cvs/doc/cvs.aux
        This problem is not new for me and exists for some months on 
        my setup.

        Here is the backtrace:
        $ gdb -c opencvs.core /usr/bin/opencvs 
        GNU gdb 6.3
        Copyright 2004 Free Software Foundation, Inc.
        GDB is free software, covered by the GNU General Public License, and 
you are
        welcome to change it and/or distribute copies of it under certain 
conditions.
        Type "show copying" to see the conditions.
        There is absolutely no warranty for GDB.  Type "show warranty" for 
details.
        This GDB was configured as "amd64-unknown-openbsd4.9"...
        Core was generated by `opencvs'.
        Program terminated with signal 11, Segmentation fault.
        Reading symbols from /usr/lib/libc.so.58.2...done.
        Loaded symbols for /usr/lib/libc.so.58.2
        Reading symbols from /usr/libexec/ld.so...done.
        Loaded symbols for /usr/libexec/ld.so
        #0  0x000000020daa8bba in strlen () from /usr/lib/libc.so.58.2
        (gdb) bt
        #0  0x000000020daa8bba in strlen () from /usr/lib/libc.so.58.2
        #1  0x000000000042a50b in xstrdup (str=0x0) at 
/usr/src/usr.bin/cvs/xmalloc.c:87
        #2  0x000000000041cfc1 in rcs_kwexp_line (
            rcsfile=0x20b9db7c0 
"/home/OpenBSD_cvsync/src/gnu/usr.bin/cvs/doc/cvs.aux,v", 
            rdp=0x20dfff800, lines=0x20e001880, line=0x207c8a380, mode=Variable 
"mode" is not available.
        )
            at /usr/src/usr.bin/cvs/rcs.c:2415
        #3  0x000000000041ec02 in rcs_rev_write_fd (rfp=0x20e002000, 
rev=Variable "rev" is not available.
        )
            at /usr/src/usr.bin/cvs/rcs.c:2152
        #4  0x0000000000407c88 in cvs_checkout_file (cf=0x2105b2780, 
rnum=0x20e0003d0, 
            tag=0x0, co_flags=0) at /usr/src/usr.bin/cvs/checkout.c:514
        #5  0x000000000042911a in cvs_update_local (cf=0x2105b2780)
            at /usr/src/usr.bin/cvs/update.c:448
        #6  0x0000000000416c2b in cvs_file_walklist (fl=Variable "fl" is not 
available.
        ) at /usr/src/usr.bin/cvs/file.c:371
        #7  0x0000000000417082 in cvs_file_run (argc=1, argv=Variable "argv" is 
not available.
        )
            at /usr/src/usr.bin/cvs/file.c:199
        #8  0x0000000000429d02 in cvs_update (argc=1, argv=0x7f7ffffc6548)
            at /usr/src/usr.bin/cvs/update.c:176
        #9  0x00000000004038d0 in main (argc=2, argv=0x7f7ffffc6540)
            at /usr/src/usr.bin/cvs/cvs.c:321
        (gdb) q
        $ ls -l cvs.aux
        -r-sr-S---  1 oc  wsrc  0 May 18 14:47 cvs.aux
        $ 


        For info, /home/OpenBSD_cvsync is NFS mounted. On the NFS server,
        cvsync is used to sync the OpenBSD CVS repo from anoncvs.comstyle.com.

>How-To-Repeat:
        cd /usr/src/gnu/usr.bin/cvs/doc
        rm -f cvs.aux && opencvs up cvs.aux


dmesg:
OpenBSD 4.9-current (GENERIC.MP) #113: Sat May 14 09:31:25 MDT 2011
    [email protected]:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 1072627712 (1022MB)
avail mem = 1030021120 (982MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.2 @ 0xf0000 (41 entries)
bios0: vendor Phoenix Technologies, LTD version "6.00 PG" date 05/17/2006
bios0: EPoX COMPUTER CO., LTD nForce4 DDR2: MF4 Series
acpi0 at bios0: rev 0
acpi0: sleep states S0 S1 S4 S5
acpi0: tables DSDT FACP SSDT MCFG APIC
acpi0: wakeup devices HUB0(S5) XVR0(S5) XVR1(S5) XVR2(S5) XVR3(S5) USB0(S4) 
USB2(S3) MMAC(S5) MMCI(S5) UAR1(S5)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimcfg0 at acpi0 addr 0xe0000000, bus 0-255
acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: AMD Athlon(tm) 64 X2 Dual Core Processor 4200+, 2420.35 MHz
cpu0: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,CX16,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW
cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB 64b/line 
16-way L2 cache
cpu0: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative
cpu0: DTLB 32 4KB entries fully associative, 8 4MB entries fully associative
cpu0: apic clock running at 220MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: AMD Athlon(tm) 64 X2 Dual Core Processor 4200+, 2420.07 MHz
cpu1: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,CX16,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW
cpu1: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB 64b/line 
16-way L2 cache
cpu1: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative
cpu1: DTLB 32 4KB entries fully associative, 8 4MB entries fully associative
ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 11, 24 pins
ioapic0: misconfigured as apic 0, remapped to apid 2
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 1 (HUB0)
acpicpu0 at acpi0: PSS
acpicpu1 at acpi0: PSS
acpitz0 at acpi0: critical temperature 85 degC
acpibtn0 at acpi0: PWRB
cpu0: PowerNow! K8 2420 MHz: speeds: 2200 2000 1800 1000 MHz
pci0 at mainbus0 bus 0
"NVIDIA nForce4 DDR" rev 0xa4 at pci0 dev 0 function 0 not configured
pcib0 at pci0 dev 1 function 0 "NVIDIA nForce4 ISA" rev 0xb1
nviic0 at pci0 dev 1 function 1 "NVIDIA nForce4 SMBus" rev 0xa2
iic0 at nviic0
spdmem0 at iic0 addr 0x50: 1GB DDR2 SDRAM non-parity PC2-5300CL5
iic1 at nviic0
ohci0 at pci0 dev 2 function 0 "NVIDIA nForce4 USB" rev 0xa2: apic 2 int 12, 
version 1.0, legacy support
ehci0 at pci0 dev 2 function 1 "NVIDIA nForce4 USB" rev 0xa4: apic 2 int 10
ehci0: timed out waiting for BIOS
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "NVIDIA EHCI root hub" rev 2.00/1.00 addr 1
auich0 at pci0 dev 4 function 0 "NVIDIA nForce4 AC97" rev 0xa2: apic 2 int 5, 
nForce4 AC97
ac97: codec id 0x414c4760 (Avance Logic ALC655 rev 0)
audio0 at auich0
pciide0 at pci0 dev 6 function 0 "NVIDIA nForce4 IDE" rev 0xf3: DMA, channel 0 
configured to compatibility, channel 1 configured to compatibility
pciide0: channel 0 disabled (no drives)
pciide0: channel 1 disabled (no drives)
pciide1 at pci0 dev 7 function 0 "NVIDIA nForce4 SATA" rev 0xf3: DMA
pciide1: using apic 2 int 11 for native-PCI interrupt
wd0 at pciide1 channel 0 drive 0: <ST3320620AS>
wd0: 16-sector PIO, LBA48, 305245MB, 625142448 sectors
wd0(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 6
wd1 at pciide1 channel 1 drive 0: <ST3320620AS>
wd1: 16-sector PIO, LBA48, 305245MB, 625142448 sectors
wd1(pciide1:1:0): using PIO mode 4, Ultra-DMA mode 6
pciide2 at pci0 dev 8 function 0 "NVIDIA nForce4 SATA" rev 0xf3: DMA
pciide2: using apic 2 int 10 for native-PCI interrupt
wd2 at pciide2 channel 1 drive 0: <WDC WD20EARS-00MVWB0>
wd2: 16-sector PIO, LBA48, 1907729MB, 3907029168 sectors
wd2(pciide2:1:0): using PIO mode 4, Ultra-DMA mode 6
ppb0 at pci0 dev 9 function 0 "NVIDIA nForce4 PCI-PCI" rev 0xa2
pci1 at ppb0 bus 1
nfe0 at pci0 dev 10 function 0 "NVIDIA CK804 LAN" rev 0xa3: apic 2 int 11, 
address 00:04:61:46:d6:1e
eephy0 at nfe0 phy 1: 88E1116 Gigabit PHY, rev. 1
ppb1 at pci0 dev 11 function 0 "NVIDIA nForce4 PCIE" rev 0xa3
pci2 at ppb1 bus 2
ppb2 at pci0 dev 12 function 0 "NVIDIA nForce4 PCIE" rev 0xa3
pci3 at ppb2 bus 3
ppb3 at pci0 dev 13 function 0 "NVIDIA nForce4 PCIE" rev 0xa3
pci4 at ppb3 bus 4
ppb4 at pci0 dev 14 function 0 "NVIDIA nForce4 PCIE" rev 0xa3
pci5 at ppb4 bus 5
vga1 at pci5 dev 0 function 0 "ATI Radeon HD 4350" rev 0x00
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
radeondrm0 at vga1: apic 2 int 12
drm0 at radeondrm0
azalia0 at pci5 dev 0 function 1 "ATI Radeon HD 4000 HD Audio" rev 0x00: apic 2 
int 3
azalia0: no supported codecs
pchb0 at pci0 dev 24 function 0 "AMD AMD64 0Fh HyperTransport" rev 0x00
pchb1 at pci0 dev 24 function 1 "AMD AMD64 0Fh Address Map" rev 0x00
pchb2 at pci0 dev 24 function 2 "AMD AMD64 0Fh DRAM Cfg" rev 0x00
kate0 at pci0 dev 24 function 3 "AMD AMD64 0Fh Misc Cfg" rev 0x00: core rev 
BH-F2
isa0 at pcib0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
com0: probed fifo depth: 15 bytes
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
spkr0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
usb1 at ohci0: USB revision 1.0
uhub1 at usb1 "NVIDIA OHCI root hub" rev 1.00/1.00 addr 1
mtrr: Pentium Pro MTRR support
uhidev0 at uhub1 port 1 configuration 1 interface 0 "Sun Microsystems Type 6 
Mouse" rev 1.00/1.02 addr 2
uhidev0: iclass 3/1
ums0 at uhidev0: 3 buttons
wsmouse0 at ums0 mux 0
vscsi0 at root
scsibus0 at vscsi0: 256 targets
softraid0 at root
softraid0: sd0 was not shutdown properly
scsibus1 at softraid0: 1 targets
sd0 at scsibus1 targ 0 lun 0: <OPENBSD, SR RAID 1, 004> SCSI2 0/direct fixed
sd0: 305082MB, 512 bytes/sec, 624809665 sec total
root on wd0a swap on wd0b dump on wd0b


>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:

Reply via email to