Re: panic on a NULL turnstile on boot on r249810

2013-04-24 Thread Gleb Smirnoff
On Wed, Apr 24, 2013 at 12:25:02AM +0400, Gleb Smirnoff wrote: T> just upgraded from r245115 to r249810 and now box reliably panics on T> boot a second after mounting root. I've nailed it down. It is a stack buffer overflow in the nvidia-driver. I've submitted patch to port maintainer. -- Totu

Re: panic on a NULL turnstile on boot on r249810

2013-04-23 Thread Gleb Smirnoff
P.S. Panic isn't reproducible with INVARIANTS :( -- Totus tuus, Glebius. ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Re: panic on a NULL turnstile on boot on r249810

2013-04-23 Thread Gleb Smirnoff
More investigation. AFAIU, we can't come to this point if __mtx_lock_sleep() passed a NULL ts. So ts wasn't NULL before call to propagate_priority(). The turnstile_wait() saves ts on td: 738:td->td_blocked = ts; So I can obtain it: (kgdb) fr 11 #11 0x805206b2 in turnstile_wait

panic on a NULL turnstile on boot on r249810

2013-04-23 Thread Gleb Smirnoff
Hello, just upgraded from r245115 to r249810 and now box reliably panics on boot a second after mounting root. Trace: #9 0x8066a443 in calltrap () at /usr/src/head/sys/amd64/amd64/exception.S:228 #10 0x8051fe75 in propagate_priority (td=) at /usr/src/head/sys/kern/