NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
port-sparc64/57219: ./configure for gcl-2.6.14 crashes kernel (reboot) on NetBSD 9.3 sparc64
>Number: 57219
>Category: port-sparc64
>Synopsis: ./configure for gcl-2.6.14 crashes kernel (reboot) on NetBSD 9.3 sparc64
>Confidential: no
>Severity: critical
>Priority: medium
>Responsible: port-sparc64-maintainer
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Feb 05 15:40:00 +0000 2023
>Originator: Alexander Schreiber
>Release: NetBSD 9.3 release
>Organization:
>Environment:
NetBSD telperion.angband.thangorodrim.de 9.3 NetBSD 9.3 (TELPERION) #0: Sun Nov 27 15:17:20 CET 2022 root%telperion.angband.thangorodrim.de@localhost:/usr/obj/sys/arch/sparc64/compile/TELPERION sparc64
>Description:
Running ./configure for gcl-2.6.14 results in a kernel crash on
NetBSD 9.3 sparc64.
Machine info from dmesg:
machine type: SUNW,UltraAX-i2 (SUN V100), cpu type: SUNW,UltraSPARC-IIe
RAM: 2GB
Message printed on (serial) system console:
login: [ 2506097.5121967] panic: kernel diagnostic assertion "start < end" failed: file "/usr/src/sys/uvm/uvm_map.c", line 4754
[ 2506097.6428290] cpu0: Begin traceback...
[ 2506097.6896165] cpu0: End traceback...
[ 2506097.7343230] Frame pointer is at 0x1788c2d71
[ 2506097.7343230] Call traceback:
[ 2506097.7343230] netbsd:cpu_reboot+0x244(1678e28, 0, ffff, 16829d9, 1384720, 1834000) fp = 1788c2e51
[ 2506097.7343230] netbsd:vpanic+0x174(104, 0, 163a9d0, 186d800, 0, 102707580) fp = 1788c2f01
[ 2506097.7343230] netbsd:kern_assert+0x34(163a9d0, 1788c38f8, 1875400, 1876800, 104, 1876a38) fp = 1788c2fb1
[ 2506097.7343230] netbsd:uvm_unmap1+0x74(163a9d0, 163a9c0, 168e170, 168e728, 1292, 101e8d780) fp = 1788c3071
[ 2506097.7343230] netbsd:execve_runproc+0x248(108dcc8f0, 0, 0, 0, 0, 101e8d780) fp = 1788c3131
[ 2506097.7343230] netbsd:execve1+0x48(102707580, 1788c3ad8, 0, 0, 1, 1035ee408) fp = 1788c3221
[ 2506097.7343230] netbsd:syscall+0x384(102707580, 402a8c88, 402a8ca0, 402a8cb0, 1324a00, 182b760) fp = 1788c34f1
[ 2506097.7343230] netbsd:1011724+0(1788c3ed0, c3b, 40951828, 3b, 1788c3f40, 102707580) fp = 1788c3621
[ 2506097.7343230] netbsd:1105b8+0(402a8c88, 402a8ca0, 402a8cb0, 23b250, 160, 23bc04) fp = ffffffffffffbe91
[ 2506097.7343230] dumping to dev 12,1 offset 4194460
2022 M [ 2506097.7343230] wddump: DMA error
[ 2506097.7343230] - device not ready
[ 2506098.0212054] cpu0: rebooting
Last few lines of ./configure output before the ssh session disconnects due to kernel crash:
#
#
#
# Subconfigure of GMP done
# ------------------------
#
checking for leading underscore in object symbols... "no"
checking "for GNU ld option -Map"... "yes"
checking for size of gmp limbs... 8
checking _SHORT_LIMB... no
checking _LONG_LONG_LIMB... no
checking for X... libraries /usr/X11R7/lib, headers /usr/X11R7/include
checking for main in -lX11... no
missing x libraries -- cannot compile xgcl
checking for xdr_double... yes
checking __builtin_clzl... yes
checking __builtin_ctzl... yes
checking __builtin___clear_cache... yes
checking size of long... 8
checking for time.h... yes
checking for sys/time.h... yes
checking size of time_t... 8
checking for byte order... big
checking for word order... big
checking for pagewidth... 13
checking for required object alignment... 8
checking for C extension variable alignment... __attribute__ ((aligned (8)))
checking for C extension noreturn function attribute... __attribute__ ((noreturn))
checking sizeof struct contblock... 16
checking for sbrk... yes
checking for ADDR_NO_RANDOMIZE constant... no assuming 0x40000
checking for ADDR_COMPAT_LAYOUT constant... no
checking for ADDR_LIMIT_3GB constant... no
checking for personality(ADDR_NO_RANDOMIZE) support... no
checking that sbrk is (now) non-random... yes
checking CSTACK_DIRECTION... -1
checking finding CSTACK_ALIGNMENT... 32
checking CSTACK_ADDRESS... 0xffffffffffffffff
checking cstack bits... 0
checking NEG_CSTACK_ADDRESS... yes
checking finding default linker script... got it
checking output_arch... bfd_arch_sparc
configure: trying to adjust text start
client_loop: send disconnect: Broken pipe
>How-To-Repeat:
(tested both as root and uid!=0 user)
download https://www.gnu.org/software/gcl//gcl-2.6.14.tar.gz
unpack the archive and cd into gcl-2.6.14
run: ./configure --prefix=/tmp/test
As observed, machine crashes at the same point in the configure run.
I have two mostly identical machines (one uses spinning rust,
the other SSD for storage), I'm willing to test patches.
>Fix:
Home |
Main Index |
Thread Index |
Old Index