Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Mar 2006 10:59:14 +0100
From:      Alban <dalroi@solfertje.student.utwente.nl>
To:        freebsd-stable@freebsd.org
Subject:   Segfaults from gcc, awk and Zend; advice needed
Message-ID:  <74B9D1C5-5786-475B-99E6-18384B071EFB@solfertje.student.utwente.nl>

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

--Apple-Mail-8-727997417
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
	charset=US-ASCII;
	delsp=yes;
	format=flowed

For some reason I'm getting more or less random segfaults compiling  
kernels, world or PHP5 on BETA-3 (Python and perl went ok). So far I  
haven't succeeded building a fresh kernel or world. This system is an  
Athlon XP with 1MB RAM and 4GB swap, compiling is done in the usual  
places in /usr, which is a set of two gstriped partitions. Dmesg  
attached.

Previously this system has been running 5-STABLE w/o any such  
problems (uptime before installing 6 was about 80 days, started from  
an installworld). This machine doesn't regularly see load yet, except  
for the few build(world/kernel)/install(&)s.

I haven't seen any other messages of this kind, so I suspect a local  
problem. So far I think I need to look at:
- memory; run memtestx86 and cross fingers
- I recollect seeing mention of problems with large amounts of swap  
on this list in the past; turn one of the swap partitions off or  
something like that
- Optimization flags; I've tried setting CPUTYPE?=athlon-xp and  
CLFAGS=, CFLAGS=-O -pipe, CFLAGS=-O2 -pipe so far. All w/o avail...
- gcc 3.4.4, awk, PHP are all borken (all were built using gcc 3.4.4,  
I suppose)

I'm a bit low on spare time, so I'd like to tackle this problem  
efficiently. Anything I forgot or to help me find the culprit?

Regards,


--Apple-Mail-8-727997417
Content-Transfer-Encoding: 7bit
Content-Type: application/octet-stream;
	x-unix-mode=0644;
	name="dmesg.out"
Content-Disposition: attachment;
	filename=dmesg.out

Copyright (c) 1992-2006 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
	The Regents of the University of California. All rights reserved.
FreeBSD 6.1-BETA3 #0: Thu Mar  2 11:03:41 UTC 2006
    root@x64.samsco.home:/usr/obj/usr/src/sys/GENERIC
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: AMD Athlon(TM) XP 2000+ (1666.74-MHz 686-class CPU)
  Origin = "AuthenticAMD"  Id = 0x662  Stepping = 2
  Features=0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
  AMD Features=0xc0400800<SYSCALL,MMX+,3DNow+,3DNow>
real memory  = 1073659904 (1023 MB)
avail memory = 1041723392 (993 MB)
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <ASUS A7M266> on motherboard
acpi0: Power Button (fixed)
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0xe408-0xe40b on acpi0
cpu0: <ACPI CPU> on acpi0
acpi_throttle0: <ACPI CPU Throttling> on cpu0
acpi_button0: <Power Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
agp0: <AMD 761 host to AGP bridge> port 0xe000-0xe003 mem 0xf0000000-0xf7ffffff,0xef800000-0xef800fff at device 0.0 on pci0
pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0
pci1: <ACPI PCI bus> on pcib1
pci1: <display, VGA> at device 5.0 (no driver attached)
isab0: <PCI-ISA bridge> at device 4.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <VIA 82C686B UDMA100 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xb800-0xb80f at device 4.1 on pci0
ata0: <ATA channel 0> on atapci0
ata1: <ATA channel 1> on atapci0
uhci0: <VIA 83C572 USB controller> port 0xb400-0xb41f irq 10 at device 4.2 on pci0
uhci0: [GIANT-LOCKED]
usb0: <VIA 83C572 USB controller> on uhci0
usb0: USB revision 1.0
uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1: <VIA 83C572 USB controller> port 0xb000-0xb01f irq 10 at device 4.3 on pci0
uhci1: [GIANT-LOCKED]
usb1: <VIA 83C572 USB controller> on uhci1
usb1: USB revision 1.0
uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
pci0: <old, non-VGA display device> at device 4.4 (no driver attached)
pci0: <multimedia, audio> at device 9.0 (no driver attached)
xl0: <3Com 3c905C-TX Fast Etherlink XL> port 0x9400-0x947f mem 0xdd800000-0xdd80007f at device 13.0 on pci0
miibus0: <MII bus> on xl0
xlphy0: <3c905C 10/100 internal PHY> on miibus0
xlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
xl0: Ethernet address: 00:04:76:0f:59:c2
fdc0: <floppy drive controller> port 0x3f2-0x3f5,0x3f7 irq 6 drq 2 on acpi0
fdc0: [FAST]
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
ppc0: <ECP parallel printer port> port 0x378-0x37f,0x778-0x77b irq 7 drq 3 on acpi0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/8 bytes threshold
ppbus0: <Parallel port bus> on ppc0
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
sio0: type 16550A
sio1: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 on acpi0
sio1: type 16550A
atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
pmtimer0 on isa0
orm0: <ISA Option ROM> at iomem 0xc0000-0xcbfff 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
Timecounter "TSC" frequency 1666739708 Hz quality 800
Timecounters tick every 1.000 msec
ad0: 190782MB <Seagate ST3200822A 3.01> at ata0-master UDMA100
ad1: 190782MB <Seagate ST3200822A 3.01> at ata0-slave UDMA100
acd0: CDRW <PLEXTOR CD-R PX-W2410A/1.01> at ata1-slave UDMA33
GEOM_MIRROR: Device root created (id=179367146).
GEOM_MIRROR: Device root: provider ad0s1a detected.
GEOM_MIRROR: Device var created (id=4294490537).
GEOM_MIRROR: Device var: provider ad0s1d detected.
GEOM_STRIPE: Device tmp created (id=1982480573).
GEOM_STRIPE: Disk ad0s1e attached to tmp.
GEOM_STRIPE: Device usr created (id=1752489598).
GEOM_STRIPE: Disk ad0s1f attached to usr.
GEOM_MIRROR: Device home created (id=2722179877).
GEOM_MIRROR: Device home: provider ad0s1g detected.
GEOM_MIRROR: Device root: provider ad1s1a detected.
GEOM_MIRROR: Device root: provider ad1s1a activated.
GEOM_MIRROR: Device root: provider ad0s1a activated.
GEOM_MIRROR: Device root: provider mirror/root launched.
GEOM_MIRROR: Device var: provider ad1s1d detected.
GEOM_MIRROR: Device var: provider ad1s1d activated.
GEOM_MIRROR: Device var: provider ad0s1d activated.
GEOM_MIRROR: Device var: provider mirror/var launched.
GEOM_STRIPE: Disk ad1s1e attached to tmp.
GEOM_STRIPE: Device tmp activated.
GEOM_STRIPE: Disk ad1s1f attached to usr.
GEOM_STRIPE: Device usr activated.
GEOM_MIRROR: Device home: provider ad1s1g detected.
GEOM_MIRROR: Device home: provider ad1s1g activated.
GEOM_MIRROR: Device home: provider ad0s1g activated.
GEOM_MIRROR: Device home: provider mirror/home launched.
WARNING: Expected rawoffset 0, found 63
Trying to mount root from ufs:/dev/mirror/root
WARNING: Expected rawoffset 0, found 63
pid 41926 (conftest), uid 0: exited on signal 12 (core dumped)
pid 90788 (httpd), uid 80: exited on signal 11
pid 90789 (httpd), uid 80: exited on signal 11
pid 90790 (httpd), uid 80: exited on signal 11
pid 90791 (httpd), uid 80: exited on signal 11
pid 90792 (httpd), uid 80: exited on signal 11
pid 10208 (ld), uid 0: exited on signal 11 (core dumped)
pid 17113 (make), uid 0: exited on signal 11 (core dumped)
pid 30256 (cc), uid 0: exited on signal 11 (core dumped)
pid 48031 (as), uid 0: exited on signal 11 (core dumped)

--Apple-Mail-8-727997417
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
	charset=US-ASCII;
	format=flowed


--
Alban Hertroys

		Sometimes you wake up and you think:
		"Galileo was right,
		 The world does rotate"






--Apple-Mail-8-727997417--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?74B9D1C5-5786-475B-99E6-18384B071EFB>