NetBSD-Bugs archive

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

Re: kern/46463: netbsd-6: panic and filesystem corruption running tmux



The following reply was made to PR kern/46463; it has been noted by GNATS.

From: Martin Husemann <martin%duskware.de@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: christos%NetBSD.org@localhost
Subject: Re: kern/46463: netbsd-6:  panic and filesystem corruption running tmux
Date: Fri, 18 May 2012 12:06:27 +0200

 On Thu, May 17, 2012 at 11:20:00PM +0000, rhansen%bbn.com@localhost wrote:
 > #4  0xc0679e3c in kqueue_doclose (kq=0xc6487a58, list=0xc63b194c, fd=0)
 >     at /usr/src/sys/kern/kern_event.c:1398
 >         kn = 0xc0c0
 >         fdp = 0xc64b1cc0
 
 Here fdp is kq->kq_fdp. We expect it to be locked.
 
 > #5  0xc0679f00 in kqueue_close (fp=0xc5ecc200) at 
 > /usr/src/sys/kern/kern_event.c:1430
 >         kq = 0xc6487a58
 >         fdp = 0xc63b1940
 >         ff = 0xc63b1940
 >         i = 0
 
 Here fdp is curlwp->l_fdp, and we lock it.
 
 Sounds clearly wrong to me, why is curlwp involved here (and why does a kqueue
 have its own filedesc_t)?
 
 Martin
 


Home | Main Index | Thread Index | Old Index