Subject: port-alpha/21740: unfdpass regression test panics system
To: None <gnats-bugs@gnats.netbsd.org>
From: None <jarle@uninett.no>
List: netbsd-bugs
Date: 05/31/2003 22:16:20
>Number:         21740
>Category:       port-alpha
>Synopsis:       unfdpass regression test panics system
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    port-alpha-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat May 31 20:17:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     Jarle Greipsland
>Release:        NetBSD 1.6T
>Organization:
	
>Environment:
	
	
System: NetBSD sweetheart.urc.uninett.no 1.6T NetBSD 1.6T (ALPHA-$Revision: 1.168 $) #0: Tue May 20 11:03:39 CEST 2003  jarle@sweetheart.urc.uninett.no:/sys/arch/alpha/compile/CS20.MP alpha
Architecture: alpha
Machine: alpha
>Description:

On both my EB164 (-current as of 2003-05-30) and my CS20 (-current as of
2003-05-19), a 'make regression-tests' panics the system.  The unfdpass
test seems to be the culprit.

Console log:

CPU 0: fatal kernel trap:

CPU 0    trap entry = 0x2 (memory management fault)
CPU 0    a0         = 0xfffffe00333cb600
CPU 0    a1         = 0x1
CPU 0    a2         = 0x0
CPU 0    pc         = 0xfffffc00004e7644
CPU 0    ra         = 0xfffffc00004e75f0
CPU 0    pv         = 0xfffffc00005af0a0
CPU 0    curlwp    = 0xfffffc0038eaa660
CPU 0        pid = 22431, comm = unfdpass

panic: trap
Stopped in pid 22431.1 (unfdpass) at    netbsd:cpu_Debugger+0x4:        ret     zero,(ra)
db{0}> trace
cpu_Debugger() at netbsd:cpu_Debugger+0x4
panic() at netbsd:panic+0x180
trap() at netbsd:trap+0x7dc
XentMM() at netbsd:XentMM+0x20
--- memory management fault (from ipl 1) ---
unp_internalize() at netbsd:unp_internalize+0x424
uipc_usrreq() at netbsd:uipc_usrreq+0x2c4
sosend() at netbsd:sosend+0x7d4
sendit() at netbsd:sendit+0x224
sys_sendmsg() at netbsd:sys_sendmsg+0x10c
syscall_plain() at netbsd:syscall_plain+0x174
XentSys() at netbsd:XentSys+0x60
--- syscall (28) ---
--- user mode ---
db{0}> show reg
v0          0x6
t0          0xfffffc00006350c8  db_onpanic
t1          0x1
t2          0xfffffc003ff48000
t3          0x1
t4          0x51d
t5          0
t6          0xfffffc00005e11ef  twiddle_chars.165+0xe
t7          0xffffffffffffffff
s0          0xfffffe00241979f0
s1          0xfffffe0000000008
s2          0xfffffc0000610624  mem_cdevsw+0xad4
s3          0x100
s4          0xfffffc0000635ac4  msgbufenabled
s5          0
s6          0xfffffc000067d918  msgbufp
a0          0x1
a1          0xfffffd01fc0003f8
a2          0xfffffd01fc0003fd
a3          0x8
a4          0x3
a5          0x8
t8          0x1
t9          0
t10         0xa654bc4
t11         0xfffffc0034067ae0
ra          0xfffffc00004bbd00  panic+0x180
t12         0xfffffc00005a59c0  cpu_Debugger
at          0xfffffe0024194000
gp          0xfffffc00006283e8  special_symbols+0x8160
sp          0xfffffe0024197970
pc          0xfffffc00005a59c4  cpu_Debugger+0x4
ps          0x1
ai          0xfffffc0034067ae0
pv          0xfffffc00005a59c0  cpu_Debugger
netbsd:cpu_Debugger+0x4:        ret     zero,(ra)
db{0}> ps
 PID           PPID     PGRP        UID S   FLAGS LWPS          COMMAND    WAIT
*22431        23545    19630          0 2     0x2    1         unfdpass
 23545        22106    19630          0 2  0x4002    1         unfdpass nanosle
 22106        19630    19630          0 2  0x4002    1               sh    wait
 19630        19352    19630          0 2  0x4002    1             make    wait
 19352        20214    19352          0 2  0x4002    1             tcsh   pause
 20214        22822    20214       1000 2  0x4002    1             bash    wait
 22822        21744    21744       1000 2  0x4100    1            xterm  select
 21744        23003    21744       1000 2  0x4000    1              csh   pause
 23003        22305    22305       1000 2   0x100    1             sshd  select
 22305          248    22305          0 2   0x100    1             sshd   netio
 12083        15038    12083       1000 2  0x4002    1             bash   ttyin
 15038        13386    13386       1000 2  0x4100    1            xterm  select
 13386        15079    13386       1000 2  0x4000    1              csh   pause
 15079        14482    14482       1000 2   0x100    1             sshd  select
 14482          248    14482          0 2   0x100    1             sshd   netio
 350            341      341       1001 2  0x4001    1       setiathome
 343            317      317       1001 2  0x4001    1       setiathome
 339              1      339          0 2  0x4002    1            getty   ttyin
 341            345      341       1001 2  0x4000    1               sh    wait
 317            334      317       1001 2  0x4000    1               sh    wait
 345            336      336          0 2       0    1             cron  piperd
 334            336      336          0 2       0    1             cron  piperd
 336              1      336          0 2       0    1             cron nanosle
 333              1      333          0 2       0    1            inetd  kqread
 306              1      306         17 2   0x100    1         sendmail   pause
 278              1      278          0 2   0x100    1         sendmail  select
 248              1      248          0 2       0    1             sshd  select
 251              1      251          0 2       0    1             ntpd   pause
 116              1      116          0 2       0    1        mount_mfs  mfsidl
 127              1      127          0 2       0    1          syslogd
 8                0        0          0 2 0x20200    1         aiodoned aiodone
 7                0        0          0 2 0x20200    1          ioflush  syncer
 6                0        0          0 2 0x20200    1           reaper  reaper
 5                0        0          0 2 0x20200    1       pagedaemon pgdaemo
 4                0        0          0 2 0x20200    1       lfs_writer lfswrit
 3                0        0          0 2 0x20200    1        atapibus0  sccomp
 2                0        0          0 2 0x20200    1         scsibus0  sccomp
 1                0        1          0 2  0x4000    1             init    wait
 0               -1        0          0 2 0x20200    1          swapper schedul
db{0}> reboot

	
>How-To-Repeat:

# cd /usr/src/regress/sys/kern/unfdpass
# make regress
	
>Fix:
	
unknown
>Release-Note:
>Audit-Trail:
>Unformatted: