Date: Mon, 29 Nov 1999 13:22:02 -0500 (EST) From: David Gilbert <dgilbert@velocet.ca> To: stable@freebsd.org Subject: Repeatable vinum crash. Message-ID: <14402.50250.717414.95677@trooper.velocet.net>
next in thread | raw e-mail | index | archive | help
So... I'm able to repeat the vinum crash mentioned earlier. It would appear that tsleep() is getting called when curproc = 0. I'm not exactly sure how to correct this. tsleep() seems to make a fair bit of use of the curproc structure... so it wouldn't appear that accepting a NULL there would be a good idea (but can we just return if curproc is NULL --- it looks like the structure of tsleep() doesn't work if you don't have a process to return to) ... so would it then be an interim hack to not call tsleep (effectively spin waiting) if curproc is null? I suppose this would be equivalent. If vinum needs to wait on a lock at this point, and curproc is 0, what is the accepted method? Dave. -- ============================================================================ |David Gilbert, Velocet Communications. | Two things can only be | |Mail: dgilbert@velocet.net | equal if and only if they | |http://www.velocet.net/~dgilbert | are precisely opposite. | =========================================================GLO================ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?14402.50250.717414.95677>