Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Dec 2002 02:20:49 +0800 (CST)
From:      leafy <leafy@leafy.idv.tw>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   i386/46446: make(1) core dumps on buildworld
Message-ID:  <200212211820.gBLIKn45013254@leafy.idv.tw>

next in thread | raw e-mail | index | archive | help

>Number:         46446
>Category:       i386
>Synopsis:       make(1) core dumps on buildworld
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Dec 21 10:30:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     leafy
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD leafy.idv.tw 5.0-CURRENT FreeBSD 5.0-CURRENT #61: Sun Dec 22 01:04:51 CST 2002 leafy@leafy.idv.tw:/usr/obj/usr/src/sys/CHIHIRO i386


	
>Description:
cvsupped 2 hrs ago with cvsup2.freebsd.org.
When trying to to buildworld, make(1) core dumped with error 139.Here is the
backtrace:
(gdb) backtrace
#0  0x08073395 in __smakebuf ()
#1  0x0805a7f6 in Var_Parse (str=0x80a7540 "X\n\b0Z\n\b", ctxt=0x80a5860,
    err=134519156, lengthPtr=0x80a4780, freePtr=0x80a4780)
    at /usr/src/usr.bin/make/var.c:1435
#2  0x0805a7c7 in Var_Parse (str=0x80a7540 "X\n\b0Z\n\b", ctxt=0x8049974,
    err=134891392, lengthPtr=0x8054578, freePtr=0x80bde70)
    at /usr/src/usr.bin/make/var.c:1430
#3  0x08049f18 in CompatRunCommand (cmdp=0x80a4780, gnp=0x8092880)
    at /usr/src/usr.bin/make/compat.c:312
#4  0x0805a7f6 in Var_Parse (str=0x809e8e0 "\220T\n\b A\v\b",
ctxt=0x80a5490,
    err=134520192, lengthPtr=0x8092880, freePtr=0x80bde70)
    at /usr/src/usr.bin/make/var.c:1435
#5  0x0805a7c7 in Var_Parse (str=0x809e8e0 "\220T\n\b A\v\b",
ctxt=0x8049d80,
    err=134817920, lengthPtr=0x805a59a, freePtr=0x80c3800)
    at /usr/src/usr.bin/make/var.c:1430
#6  0x08049dd6 in CompatRunCommand (cmdp=0x8092880, gnp=0x8092880)
    at /usr/src/usr.bin/make/compat.c:239
#7  0x0804a205 in CompatMake (gnp=0x80c3800, pgnp=0x1)
    at /usr/src/usr.bin/make/compat.c:450
#8  0x08050d0e in MainParseArgs (argc=3, argv=0x8092880)
    at /usr/src/usr.bin/make/main.c:337
#9  0x0804814c in _start ()

It always core dumps randomly in making libraries, libmsun and libkvm for
example.

dmesg follows:
Preloaded elf kernel "/boot/kernel/kernel.debug" at 0xc046d000.
Preloaded elf module "/boot/kernel/acpi.ko" at 0xc046d0b0.
Timecounter "i8254"  frequency 1193182 Hz
Timecounter "TSC"  frequency 1595159872 Hz
CPU: Pentium 4 (1595.16-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0xf12  Stepping = 2

Features=0x3febf9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,P
AT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM>
real memory  = 268369920 (255 MB)
avail memory = 255909888 (244 MB)
Initializing GEOMetry subsystem
Pentium Pro MTRR support enabled
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <AMIINT AMIINT10> on motherboard
    ACPI-0625: *** Info: GPE Block0 defined as GPE0 to GPE15
    ACPI-0625: *** Info: GPE Block1 defined as GPE16 to GPE31
Using $PIR table, 9 entries at 0xc00f7550
acpi0: power button is handled as a fixed feature programming model.
Timecounter "ACPI-fast"  frequency 3579545 Hz
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0
acpi_cpu0: <CPU> on acpi0
acpi_button0: <Power Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
agp0: <Intel 82850 host to AGP bridge> mem 0xe8000000-0xebffffff at device
0.0 o
n pci0
pcib1: <PCIBIOS PCI-PCI bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <display, VGA> at device 0.0 (no driver attached)
pcib2: <ACPI PCI-PCI bridge> at device 30.0 on pci0
pci2: <ACPI PCI bus> on pcib2
rl0: <RealTek 8139 10/100BaseTX> port 0xac00-0xacff mem
0xefefff00-0xefefffff ir
q 10 at device 1.0 on pci2
rl0: Realtek 8139B detected. Warning, this may be unstable in autoselect
mode
rl0: Ethernet address: 00:40:95:07:53:6b
miibus0: <MII bus> on rl0
rlphy0: <RealTek internal media interface> on miibus0
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp0: <Intel Pro 10/100B/100+ Ethernet> port 0xa800-0xa81f mem
0xefd00000-0xefdf
ffff,0xe77ff000-0xe77fffff irq 12 at device 2.0 on pci2
fxp0: Ethernet address 00:90:27:13:a4:48
inphy0: <i82555 10/100 media interface> on miibus1
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel ICH2 ATA100 controller> port 0xff00-0xff0f at device 31.1 on
pci
0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
pci0: <serial bus, USB> at device 31.2 (no driver attached)
pci0: <serial bus, SMBus> at device 31.3 (no driver attached)
pci0: <serial bus, USB> at device 31.4 (no driver attached)
pci0: <multimedia, audio> at device 31.5 (no driver attached)
acpi_button1: <Sleep Button> on acpi0
atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
fdc0: cmd 3 failed at out byte 1 of 3
sio0 port 0x3f8-0x3ff irq 4 on acpi0
sio0: type 16550A
sio1 port 0x2f8-0x2ff irq 3 on acpi0
sio1: type 16550A
fdc0: cmd 3 failed at out byte 1 of 3
pmtimer0 on isa0
orm0: <Option ROMs> at iomem 0xe0000-0xe0fff,0xc0000-0xcbfff on isa0
fdc0: <Enhanced floppy controller (i82077, NE72065 or clone)> at port
0x3f7,0x3f
0-0x3f5 irq 6 drq 2 on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
Timecounters tick every 10.000 msec
IP Filter: v3.4.29 initialized.  Default = pass all, Logging = enabled
acpi_cpu: CPU throttling enabled, 8 steps from 100% to 12.5%
ad0: 12949MB <IBM-DJNA-371350> [26310/16/63] at ata0-master UDMA66
acd0: CDROM <CD-ROM TW 120D> at ata1-master PIO3
pass0 at ata1 bus 0 target 0 lun 0
pass0: <I DE CD-ROM TW120D 1.30> Removable CD-ROM SCSI-0 device
pass0: 11.000MB/s transfers
Mounting root from ufs:/dev/ad0s1a
uhci0: <Intel 82801BA/BAM (ICH2) USB controller USB-A> port 0xcc00-0xcc1f
irq 10
 at device 31.2 on pci0
usb0: <Intel 82801BA/BAM (ICH2) USB controller USB-A> on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1: <Intel 82801BA/BAM (ICH2) USB controller USB-B> port 0xd400-0xd41f
irq 5
at device 31.4 on pci0
usb1: <Intel 82801BA/BAM (ICH2) USB controller USB-B> on uhci1
usb1: USB revision 1.0
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
pid 20784 (make), uid 0: exited on signal 11 (core dumped)

no CPUTYPE in make.conf, only CFLAGS= -O -pipe.

>How-To-Repeat:
	su root;cd /usr/src && make buildworld
>Fix:

	


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

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200212211820.gBLIKn45013254>