NetBSD-Bugs archive

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

Re: kern/48098: panic: kernel diagnostic assertion "cred != NULL": sys/kern/kern_auth.c



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

From: Brian Marcotte <marcotte%panix.com@localhost>
To: Martin Husemann <martin%duskware.de@localhost>
Cc: kern-bug-people%netbsd.org@localhost, gnats-admin%netbsd.org@localhost,
        netbsd-bugs%netbsd.org@localhost, gnats-bugs%NetBSD.org@localhost
Subject: Re: kern/48098: panic: kernel diagnostic assertion "cred != NULL":
 sys/kern/kern_auth.c
Date: Thu, 22 Aug 2013 02:24:34 -0400

 >  I think this needs (for both "do_drop" true and false  cases) the same
 >  treatment as kern/47598 to deal with embryonic connections w/o
 >  credentials yet. (c.f. rev 1.5 of
 >  src/sys/secmodel/extensions/secmodel_extensions.c)
 
 If you can give me more to go on, I can probably make the change to
 my sources.
 
 Also, I don't know if this is related, but one of the machines which
 has had the "cred != NULL" panic has now seen a few of these panics:
 
   panic: kernel diagnostic assertion "(l->l_pflag & LP_INTR) == 0" failed: 
file "/misc/devel/netbsd/6.1/src/sys/kern/kern_synch.c", line 627
   cpu2: Begin traceback...
   
kern_assert(c03e74d4,c03e7515,c03f9c15,c03f9da4,273,e2be6b4c,c03401b3,e2be6adc,ccc6a690,e2be6af8)
 at netbsd:kern_assert+0x23
   
mi_switch(cb926560,e2be6b20,c0203567,c0420ac0,c01eaee7,c86e3402,1,c8776b00,cb6812a0,cb926560)
 at netbsd:mi_switch+0x76e
   sleepq_block(0,0,c03fac69,c0427f8c,c0396965,e2be6b5c,1,c0,cb682f01,cb926560) 
at netbsd:sleepq_block+0xad
   
turnstile_block(0,1,c86d6f40,c0427f8c,c0196a55,400,cb6812a0,ccceb5fc,cce693a0,ccc6a690)
 at netbsd:turnstile_block+0x2af
   
mutex_vector_enter(c86d6f40,c8776a82,fffffffe,c0396965,ccceb601,e2be6bd4,c03969e3,16e37,0,1fffc000)
 at netbsd:mutex_vector_enter+0x1c8
   
tcp_close(ccceb5fc,c0396965,c86eb000,c86eb060,e2be6c24,c020e281,ccceb5fc,e2be6c24,c03969e3,cb926560)
 at netbsd:tcp_close+0x101
   
tcp_timer_2msl(ccceb5fc,e2be6c24,c03969e3,cb926560,0,c030b9e0,c86eb004,100,ccceb5fc,e010d214)
 at netbsd:tcp_timer_2msl+0xe8
   callout_softclock(0,0,e2be6c64,52,14,b7bca000,e2be6c94,c02e8b0a,e010d074,40) 
at netbsd:callout_softclock+0x191
   
softint_overlay(14,e2be6d00,9,e2be6cc4,c02e8bdf,14,cb926560,cb569564,b7b554b4,e2be6d3c)
 at netbsd:softint_overlay+0x137
   
lwp_userret(cb926560,cb926560,e2be6d48,c0425464,e2be6d3c,c02f528a,cb926560,e2be6d00,e2be6d28,c02acc36)
 at netbsd:lwp_userret+0x238
   trap() at netbsd:trap+0x658
   --- trap (number 3) ---
   baa50c71:
   cpu2: End traceback...
 
 I can open a separate ticket if you think it's unrelated.
 
 Thanks.
 
 --
 - Brian
 


Home | Main Index | Thread Index | Old Index