[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

panic compiling gcc 3 on 3.4-current (3.5?) from today / sparc64



I've included a pile of output from ddb.

Synopsis: Downloaded src today, began build on sparc64. Build of gcc with 2.95
went fine, build with 3.3
panicked. Not sure why, as I'm not as familiar with ddb as I am with gdb. So,
here's the output:

===

The crash I had occurred here, while building gcc with the new gcc 3. I had
just built version
3 with version 2.95, this resulted from building 3 with 3.

cc -c    -O2    -DOPENBSD_NATIVE
-I/usr/src/gnu/usr.bin/gcc/../../lib/libiberty/include -DIN_GCC  -W -Wall
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional
-pedantic -Wno-long-long   -DHAVE_CONFIG_H    -I. -I.
-I/usr/src/gnu/usr.bin/gcc/gcc -I/usr/src/gnu/usr.bin/gcc/gcc/.
-I/usr/src/gnu/usr.bin/gcc/gcc/config
-I/usr/src/gnu/usr.bin/gcc/gcc/../include /usr/src/gnu/usr.bin/gcc/gcc/ifcvt.c
-o ifcvt.o
cc -c    -O2    -DOPENBSD_NATIVE
-I/usr/src/gnu/usr.bin/gcc/../../lib/libiberty/include -DIN_GCC  -W -Wall
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional
-pedantic -Wno-long-long   -DHAVE_CONFIG_H -DGENERATOR_FILE    -I. -I.
-I/usr/src/gnu/usr.bin/gcc/gcc -I/usr/src/gnu/usr.bin/gcc/gcc/.
-I/usr/src/gnu/usr.bin/gcc/gcc/config
-I/usr/src/gnu/usr.bin/gcc/gcc/../include
/usr/src/gnu/usr.bin/gcc/gcc/genattrtab.c -o genattrtab.o
Write failed: Host is down

gcc version:
gcc (GCC) 3.3.2 (propolice)

debugger output:

ddb> trace
data_access_fault(e0017800, 0, 10e4b98, 0, 8, 1) at data_access_fault+0x200
trapbase(0, 2, ddc0000, 18579b0, fffce800, 5a3000) at trapbase+0x87ac
sys_sync(18579b0, 0, 0, 1800, 0, a16d98) at sys_sync+0x90
vfs_shutdown(1800, e052450, 1857000, 1821000, e0034000, e0017a28) at
vfs_shutdo
wn+0x48
boot(1008, 5eb9aa9f8805, 5eb9aa9f880b, 6, 0, 1) at boot+0x88
sbusreset(1, 5, e0032000, 0, e0032000, 1fe60c0) at sbusreset+0xb0
ddb> show map /f
trap type 0x34: pc=11cd8b4 npc=11cd8b8 pstate=44820016<PEF,PRIV,IE>
panic: mem address not aligned
kdb breakpoint at 1288e78
Stopped at      Debugger+0x4:   nop
RUN AT LEAST 'trace' AND 'ps' AND INCLUDE OUTPUT WHEN REPORTING THIS PANIC!
DO NOT EVEN BOTHER REPORTING THIS WITHOUT INCLUDING THAT INFORMATION!
ddb> mach tf /u
Trapframe 0xe67bed0:    tstate: 82009206        pc: 483dfc78    npc: 483dfc7c
y: 0    pil: 0  oldpil: 0       fault: 82009206 kstack: 0       tt: fffffffe
Globals:
0000000000000000 00000000483dfc00 0000000000a12c08 0000000000489e48
0000000000c87984 ffffffffffffffff 0000000000000000 0000000041701fd0
outs:
0000000000a0fb28 0000000000000000 0000000000003fa0 fffffffffffed5d0
0000000000000008 0000000000000003 fffffffffffece01 000000000025f4dc
locals:
0000000000000000 00000000000000f2 0000000048a1ea60 fffffffffffed13c
fffffffffffecf50 0000000000004200 00000000009a4c00 00000000488fcc80
ins:
0000000048a1ea60 0000000000a70000 0000000000002000 00000000483db380
00000000485f536c 0000000000002000 fffffffffffec8d1 00000000483db5a0
ddb> trace /u
trap(e0016c60, 34, 11cd8b4, 44820016, e0016e28, 0) at trap+0x300
slowtrap(12c3, 1288e7c, 108c7f0, 180a000, 180a000, 1854d13) at slowtrap+0x17c
db_shift_expr(1288e7c, 1, 10be734, 1854c78, 10be734, 80204) at
db_shift_expr+0x
8
db_map_print_cmd(1288e7c, 0, ffffffffffffffff, e0017000, 1089340, 1854c88) at
d
b_map_print_cmd+0x24
db_command(180acb0, 0, 1853000, 1853000, 1853000, 1288e7c) at
db_command+0x284
db_command_loop(46, 1826818, 1, 1800, 0, 0) at db_command_loop+0xf0
db_trap(0, 0, 0, 0, 0, 5) at db_trap+0x1a8
kdb_trap(101, e00174a0, 50b481bf59739c2, d30, 11a236c, 1800) at
kdb_trap+0x1c0
trap(e00174a0, 101, 1288e78, 820006, e0017658, e0017de8) at trap+0x44
slowtrap(1, 180d000, 1, e0017718, e0017728, 0) at slowtrap+0x17c
panic(1343bd0, 0, 1, 1, 1813000, 1800) at panic+0xe8
data_access_fault(e0017800, 0, 10e4b98, 0, 8, 1) at data_access_fault+0x200
trapbase(0, 2, ddc0000, 18579b0, fffce800, 5a3000) at trapbase+0x87ac
sys_sync(18579b0, 0, 0, 1800, 0, a16d98) at sys_sync+0x90
vfs_shutdown(1800, e052450, 1857000, 1821000, e0034000, e0017a28) at
vfs_shutdo
wn+0x48
boot(1008, 5eb9aa9f8805, 5eb9aa9f880b, 6, 0, 1) at boot+0x88
sbusreset(1, 5, e0032000, 0, e0032000, 1fe60c0) at sbusreset+0xb0
?(trap type 0x34: pc=100a5f0 npc=100a5f4 pstate=800016<PEF,PRIV,IE>
panic: mem address not aligned
kdb breakpoint at 1288e78
Stopped at    Debugger+0x4:   nop
RUN AT LEAST 'trace' AND 'ps' AND INCLUDE OUTPUT WHEN REPORTING THIS PANIC!
DO NOT EVEN BOTHER REPORTING THIS WITHOUT INCLUDING THAT INFORMATION!
ddb> show all procs /anw
   PID  COMMAND          STRUCT PROC *             UAREA *
VMSPACE/VM_MAP
*15328  cc1                  0xe052450           0xe678000
0xdea1e30
 21774  cc                   0xe052cd0           0xe670000
0xdea0e70
 23889  make                 0xe053550           0xe66c000
0xdea1650
 12701  make                 0xe052670           0xe560000
0xdea13b0
 19247  tcsh                 0xe053bb0           0xe55c000
0xdea07e0
 10467  sshd                 0xe052ef0           0xe180000
0xdea1ce0
 32081  sshd                 0xde9bba0           0xe552000
0xdea1a40
   513  iauth                0xe052890           0xe09e000
0xdea0fc0
 15116  ircd                 0xe052ab0           0xe0ae000
0xdea1110
 11045  getty                0xde9b100           0xe074000
0xdea0150
 19167  cron                 0xe052230           0xe082000
0xdea0bd0
 19427  sshd                 0xe052010           0xe066000
0xdea0a80
 13365  dhcpd                0xde9bdc0           0xe05c000
0xdea0930
 24080  pflogd               0xde9b760           0xdf6c000
0xdea0540
 32408  pflogd               0xde9b980           0xdf70000
0xdea0690
  8124  syslogd              0xde9b540           0xdf7c000
0xdea03f0
  7418  syslogd              0xde9b320           0xdf78000
0xdea02a0
     8  stp0                 0xde9aee0           0xdebc000
0x1857850
     7  crypto               0xde9acc0           0xdeb8000
0x1857850
     6  aiodoned             0xde9aaa0           0xdeb4000
0x1857850
     5  update               0xde9a880           0xdeb0000
0x1857850
     4  cleaner              0xde9a660           0xdeac000
0x1857850
     3  reaper               0xde9a440           0xdea8000
0x1857850
     2  pagedaemon           0xde9a220           0xdea4000
0x1857850
     1  init                 0xde9a000           0xde96000
0xdea0000
     0  swapper              0x18579b0           0x1c02000
0x1857850

attempting to reboot:

ddb> boot dump
Frame pointer is at 0xe0014d81
Call traceback:
127bb1c(f, 0, 180a000, 1821000, 1800, 1854d11, e0014e41) fp = e0014e41
10897d0(900, 180a000, 1854000, 1854c78, 1857850, ffffffff80000000, e0014f01)
fp = e0014f01
1089254(1288e7c, 0, ffffffffffffffff, e0015890, 10897cc, 1854c88, e0014fc1) fp
= e0014fc1
10895c0(180acb0, 0, 1853000, 1853000, 1853000, 1288e7c, e0015131) fp =
e0015131
108e544(46, 1826818, 1, 1800, 0, 0, e0015211) fp = e0015211
1288cd8(0, 0, 0, 0, 0, 4, e00152e1) fp = e00152e1
12856bc(101, e0015d30, 50b481bf59739c2, e1d, e0015de0, 0, e00153a1) fp =
e00153a1
1008c38(e0015d30, 101, 1288e78, 820006, e0015ee8, 0, e0015481) fp = e0015481
10be138(1, 180d000, 1, e0015fa8, e0015fc0, 0, e0015661) fp = e0015661
1285978(13438a8, 4, 1, 1343b20, fff5dbe0, ffffffff, e0015721) fp = e0015721
1008c38(e00160b0, 34, 100a5f0, 800016, e0016270, 0, e0015801) fp = e0015801
128a784(1870c, 80, e678000, 186f0, 8, 100a57c, e00159e1) fp = e00159e1
10898c8(17ecd, 13448a0, ffffffffffffffec, 18714, 10be734, 0, e0015ab1) fp =
e0015ab1
1089254(1288e7c, 0, ffffffffffffffff, e0016440, 10898a8, 1854c88, e0015b71) fp
= e0015b71
10895c0(180acb0, 0, 1853000, 1853000, 1853000, 1288e7c, e0015ce1) fp =
e0015ce1
108e544(46, 1826818, 1, 1800, 0, 0, e0015dc1) fp = e0015dc1
1288cd8(0, 0, 0, 0, 0, 4, e0015e91) fp = e0015e91
12856bc(101, e00168e0, 50b481bf59739c2, da2, e0016990, 0, e0015f51) fp =
e0015f51
1008c38(e00168e0, 101, 1288e78, 820006, e0016a98, 0, e0016031) fp = e0016031

dumping to dev 7,1 offset 588
dump iomap pmap error addr 0xe0014000
panic: esp0: cannot allocate DVMA address
kdb breakpoint at 1288e78
Stopped at      Debugger+0x4:   nop
RUN AT LEAST 'trace' AND 'ps' AND INCLUDE OUTPUT WHEN REPORTING THIS PANIC!
DO NOT EVEN BOTHER REPORTING THIS WITHOUT INCLUDING THAT INFORMATION!
ddb> boot sync
sd1: WARNING: cache synchronization failed

various information about the box:

Sun Ultra 1 UPA/SBus (UltraSPARC 167MHz), No Keyboard
OpenBoot 3.11, 256 MB memory installed, Serial #8022107.
Ethernet address 8:0:20:7a:68:5b, Host ID: 807a685b.

OpenBSD 3.4-current (terror) #0: Fri Jan  2 21:45:46 EST 2004

===

thanks folks
alex

--
alex@posixnap.net
Alex J. Avriette, Solaris Frobnosticator
"You can get much farther with a kind word and a gun than you can with a kind
word alone." - Al Capone

[demime 0.98d removed an attachment of type application/pgp-signature]