Subject: Re: kern/36424: memory corruption (?) when using NFS and audio on sparc
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: Martin Husemann <martin@duskware.de>
List: netbsd-bugs
Date: 06/30/2007 15:40:02
The following reply was made to PR kern/36424; it has been noted by GNATS.

From: Martin Husemann <martin@duskware.de>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: kern/36424: memory corruption (?) when using NFS and audio on sparc
Date: Sat, 30 Jun 2007 17:35:37 +0200

 Of course, imediately after I maild this, I was able to crash the pre-idlelwp
 kernel with:
 
 panic: kernel diagnostic assertion "cred->cr_refcnt > 0" failed: file "../../../../kern/kern_auth.c", line 153
 Stopped in pid 992.1 (id) at    netbsd:cpu_Debugger+0x4:        or              %
 o7, %g0, %g1
 db> bt      
 cpu_Debugger(0xe81a6bc8, 0xe8185038, 0xe81901b8, 0xe81c0c00, 0x100, 0xe81ea400) a
 t netbsd:__assert+0x18
 __assert(0xe8185038, 0xe818ffe8, 0x99, 0xe81901b8, 0xf4a44bec, 0x1a4) at netbsd:
 kauth_cred_free+0xb8                                                           
 kauth_cred_free(0xf3f80440, 0xf4a44c74, 0xf4a44c80, 0x4, 0x0, 0x0) at netbsd:nfs
 _open+0x50                                                                     
 nfs_open(0xf4a44cf4, 0xe8195a50, 0x879, 0x0, 0x20, 0xf3f90c00) at netbsd:VOP_OPE
 N+0x28                                                                         
 VOP_OPEN(0xf4aa93a0, 0x1, 0xf3f80880, 0xf4859020, 0xf4a44e74, 0x1) at netbsd:vn_
 open+0x1ac                                                                     
 vn_open(0x0, 0x1, 0x0, 0xf4a43000, 0x4, 0xf3f96108) at netbsd:sys_open+0x8c
 sys_open(0x0, 0xf4a44f20, 0xf4a44f40, 0x201463d8, 0x1, 0xe81c1e78) at netbsd:sys
 call_plain+0xcc                                                                
 syscall_plain(0x405, 0xf4a44fb0, 0x20094840, 0x0, 0xf3f97da0, 0x253dc) at 0xe800
 66d8