From nobody@FreeBSD.org  Wed Jun 30 16:56:35 2004
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id CC0F816A4CE
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 30 Jun 2004 16:56:35 +0000 (GMT)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id C532143D2D
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 30 Jun 2004 16:56:35 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.12.11/8.12.11) with ESMTP id i5UGu540019464
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 30 Jun 2004 16:56:05 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.12.11/8.12.11/Submit) id i5UGu56V019463;
	Wed, 30 Jun 2004 16:56:05 GMT
	(envelope-from nobody)
Message-Id: <200406301656.i5UGu56V019463@www.freebsd.org>
Date: Wed, 30 Jun 2004 16:56:05 GMT
From: Nokilai Saoukh <nms@nns.ru>
To: freebsd-gnats-submit@FreeBSD.org
Subject: WITNESS Report: lock order reversal
X-Send-Pr-Version: www-2.3

>Number:         68523
>Category:       kern
>Synopsis:       WITNESS Report: lock order reversal
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jun 30 17:00:44 GMT 2004
>Closed-Date:    Thu Jul 01 08:08:14 GMT 2004
>Last-Modified:  Thu Jul 01 08:08:14 GMT 2004
>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:
State-Changed-From-To: open->closed 
State-Changed-By: linimon 
State-Changed-When: Thu Jul 1 08:07:46 GMT 2004 
State-Changed-Why:  
Duplicate of 58749. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=68523 
>Unformatted:
