Subject: port-sparc/25896: regress/lib/libpthread/fork fails on sun4c
To: None <gnats-bugs@gnats.NetBSD.org>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: netbsd-bugs
Date: 06/10/2004 23:51:18
>Number: 25896
>Category: port-sparc
>Synopsis: regress/lib/libpthread/fork fails on sun4c
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: port-sparc-maintainer
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Jun 10 21:52:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator: Manuel Bouyer
>Release: NetBSD 2.0_BETA from 200405310000
>Organization:
>Environment:
NetBSD pen-men.antioche.eu.org 2.0_BETA NetBSD 2.0_BETA (GENERIC) #0: Sat Jun 5 21:30:32 UTC 2004 autobuild@tgm.netbsd.org:/autobuild/netbsd-2-0/sparc/OBJ/autobuild/netbsd-2-0/src/sys/arch/sparc/compile/GENERIC sparc
total memory = 40912 KB
avail memory = 35976 KB
bootpath: /sbus0/esp0/sd@3,0
mainbus0 (root): Sun 4/65: hostid 530aac96
cpu0 at mainbus0: MB86900/1A or L64801 @ 25 MHz, WTL3170/2 FPU
cpu0: 64K byte write-through, 16 bytes/line, sw flush: cache enabled
>Description:
src/regress/lib/libpthread/fork pass on sun4m (SS10) but fails on
sun4c (tested on a SS1+ and a IPX)
regress ===> lib/libpthread/fork
./fork
*** Signal 11
pen-men# gdb fork fork.core
GNU gdb 5.3nb1
[...]
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/libexec/ld.elf_so...(no debugging symbols found)...
done.
Loaded symbols for /usr/libexec/ld.elf_so
Reading symbols from /usr/lib/libpthread.so.0...(no debugging symbols found)...
done.
Loaded symbols for /usr/lib/libpthread.so.0
Reading symbols from /usr/lib/libc.so.12...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libc.so.12
#0 0x1005c0c4 in pthread__lock_ras_end () from /usr/lib/libpthread.so.0
>How-To-Repeat:
cd src/regress/lib/libpthread/fork; make USETOOLS=never regress
on a sun4c system.
>Fix:
unknown. I can give remote access to the SS1+ (including serial
console)
>Release-Note:
>Audit-Trail:
>Unformatted: