Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Aug 2003 10:00:38 -0700 (PDT)
From:      Tilman Linneweh <tilman@arved.de>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: kern/48560: malloc() of "16" with the following non-sleepable locks held
Message-ID:  <200308161700.h7GH0cWO099102@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/48560; it has been noted by GNATS.

From: Tilman Linneweh <tilman@arved.de>
To: freebsd-gnats-submit@FreeBSD.org, tilman@arved.de
Cc:  
Subject: Re: kern/48560: malloc() of "16" with the following non-sleepable locks held
Date: Sat, 16 Aug 2003 16:49:03 +0200

 This is still reproducable with 
 
 # uname -a
 FreeBSD polly.arved.de 5.1-CURRENT FreeBSD 5.1-CURRENT #1: Sat Aug 16
 10:11:52 CEST 2003    
 tilman@sauna.arved.de:/usr/obj/usr/source/CURRENT/sys/POLLY  i386
 
 malloc() of "16" with the following non-sleepable locks held:
 exclusive sleep mutex inp r = 0 (0xc19deb60) locked @ 
 /usr/source/CURRENT/sys/netinet/udp_usrreq.c:983
 exclusive sleep mutex udp r = 0 (0xc046c44c) locked @ 
 /usr/source/CURRENT/sys/netinet/udp_usrreq.c:977
 Debugger("witness_warn")
 Stopped at      Debugger+0x45:  xchgl   %ebx,in_Debugger.0
 db> show locks
 exclusive sleep mutex inp r = 0 (0xc19deb60) locked @ 
 /usr/source/CURRENT/sys/netinet/udp_usrreq.c:983
 exclusive sleep mutex udp r = 0 (0xc046c44c) locked @ 
 /usr/source/CURRENT/sys/netinet/udp_usrreq.c:977
 exclusive sleep mutex Giant r = 1 (0xc0441020) locked @ 
 /usr/source/CURRENT/sys/kern/kern_descrip.c:1996
 
 Debugger(c0394028) at Debugger+0x45
 witness_warn(5,0,c03d248a,c03aaf6f) at witness_warn+0x179
 uma_zalloc_arg(c083a7e0,0,2) at uma_zalloc_arg+0x84
 malloc(c,c0417f60,2,c1895000,0) at malloc+0xb6
 vlan_setmulti(c196c000,0,c04176a4,0,c03b69a2) at vlan_setmulti+0xd7
 vlan_ioctl(c196c000,80206932,0) at vlan_ioctl+0x2a9
 if_delmulti(c196c000,c189e4c0) at if_delmulti+0x121
 in_delmulti(c18c9d20) at in_delmulti+0x68
 ip_freemoptions(c1ce9b80,c19deab0,c1cee900,0,cd48eb1c) at ip_freemoptions+0x21
 in_pcbdetach(c19deab0,c19a4bf4,cd48eb34,c026527b,c1cee900) at 
 in_pcbdetach+0x80
 udp_detach(c1cee900) at udp_detach+0x65
 soclose(c1cee900,cd48eb98,c021a1c7,c19a4bf4,c1a5e720) at soclose+0x11b
 soo_close(c19a4bf4,c1a5e720) at soo_close+0x26
 fdrop_locked(c19a4bf4,c1a5e720,c0b731bc,0,c03b5718) at fdrop_locked+0x107
 fdrop(c19a4bf4,c1a5e720,3,c1a5e720,cd48ebf4) at fdrop+0x24
 closef(c19a4bf4,c1a5e720) at closef+0x1da
 fdfree(c1a5e720,c1a61c80,c1a61bc4,0,c03b5bed) at fdfree+0x2d9
 exit1(c1a5e720,8f00,c0441020,0,c03b5bed) at exit1+0x3fb
 sys_exit(c1a5e720,cd48ed14,1,2,292) at sys_exit+0x27
 syscall(2f,2f,2f,bfbffbdc,0) at syscall+0x1ed
 Xint0x80_syscall() at Xint0x80_syscall+0x1d
 --- syscall (1, FreeBSD ELF32, sys_exit), eip = 0x80571f7, esp = 0xbfbff9ec, 
 ebp = 0xbfbffa08 ---



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200308161700.h7GH0cWO099102>