Date: Wed, 30 Jun 2004 16:56:05 GMT From: Nokilai Saoukh <nms@nns.ru> To: freebsd-gnats-submit@FreeBSD.org Subject: kern/68523: WITNESS Report: lock order reversal Message-ID: <200406301656.i5UGu56V019463@www.freebsd.org> Resent-Message-ID: <200406301700.i5UH0ilQ061117@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 68523 >Category: kern >Synopsis: WITNESS Report: lock order reversal >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Jun 30 17:00:44 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Nokilai Saoukh >Release: FreeBSD 5.2-CURRENT >Organization: none >Environment: FreeBSD xxx.org 5.2-CURRENT FreeBSD 5.2-CURRENT #1: Wed Jun 30 13:25:36 MSD 2004 nms@xxx.org:/usr/obj/usr/src/sys/C2 i386 >Description: lock order reversal 1st 0xc22dc6b4 vm object (vm object) @ /usr/src/sys/vm/swap_pager.c:1311 2nd 0xc069c5a0 swap_pager swhash (swap_pager swhash) @ /usr/src/sys/vm/swap_pager.c:1797 3rd 0xc21c1bdc vm object (vm object) @ /usr/src/sys/vm/uma_core.c:923 Stack backtrace: backtrace(0,1,c0667cd8,c0668f20,c063585c) at backtrace+0x12 witness_checkorder(c21c1bdc,9,c061cd34,39b) at witness_checkorder+0x53b _mtx_lock_flags(c21c1bdc,0,c061cd34,39b,c21a1288) at _mtx_lock_flags+0x57 obj_alloc(c2198dc0,1000,dc8c8a1f,101,dc8c8a2c) at obj_alloc+0x31 slab_zalloc(c2198dc0,1,c2198dc0,c2198dc0,c21a1280) at slab_zalloc+0x87 uma_zone_slab(c2198dc0,1,c21a1288,0,c061cd34,798) at uma_zone_slab+0xb0 uma_zalloc_internal(c2198dc0,0,1,c21a1288,0) at uma_zalloc_internal+0x29 uma_zalloc_arg(c2198dc0,0,1) at uma_zalloc_arg+0x2a2 swp_pager_meta_build(c22dc6b4,5,0,2,0) at swp_pager_meta_build+0x108 swap_pager_putpages(c22dc6b4,dc8c8bf0,4,0,dc8c8b60) at swap_pager_putpages+0x2a8 default_pager_putpages(c22dc6b4,dc8c8bf0,4,0,dc8c8b60) at default_pager_putpages+0x18 vm_pageout_flush(dc8c8bf0,4,0,c0667540,2ff) at vm_pageout_flush+0x112 vm_pageout_clean(c19b2bb8) at vm_pageout_clean+0x2a5 vm_pageout_scan(0,c069caa0,0,c061cb28,5a7) at vm_pageout_scan+0x543 vm_pageout(0,dc8c8d48,0,c05a016c,0) at vm_pageout+0x2cf fork_exit(c05a016c,0,dc8c8d48) at fork_exit+0x98 fork_trampoline() at fork_trampoline+0x8 --- trap 0x1, eip = 0, esp = 0xdc8c8d7c, ebp = 0 --- E >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200406301656.i5UGu56V019463>