Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Aug 2005 04:41:25 GMT
From:      Kyle Brooks <captinsmock@columbus.rr.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   i386/85302: witness lock detects lock order reversal
Message-ID:  <200508260441.j7Q4fPJv045843@www.freebsd.org>
Resent-Message-ID: <200508260450.j7Q4oEsk020331@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         85302
>Category:       i386
>Synopsis:       witness lock detects lock order reversal
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-i386
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Aug 26 04:50:13 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Kyle Brooks
>Release:        -current Fri Aug 26 01:03:23 UTC 2005
>Organization:
Student
>Environment:
FreeBSD arbitor.homelinux.com 6.0-BETA3 FreeBSD 6.0-BETA3 #1: Fri Aug 26 01:03:23 UTC 2005     kyle@arbitor.homelinux.com:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
lock order reversal
 1st 0xc0a167c0 UMA lock (UMA lock) @ /usr/src/sys/vm/uma_core.c:1494
 2nd 0xc1060144 system map (system map) @ /usr/src/sys/vm/vm_kern.c:295
KDB: stack backtrace:
witness_checkorder(c1060144,9,c090bad8,127,e6a39acc) at witness_checkorder+0x3af
_mtx_lock_flags(c1060144,0,c090bad8,127,c106cc80) at _mtx_lock_flags+0x54
_vm_map_lock(c10600c0,c090bad8,127,0,c106b000) at _vm_map_lock+0x37
kmem_malloc(c10600c0,1000,1,1,c090ad91) at kmem_malloc+0x3a
slab_zalloc(c3f1de00,e6a39b90,c08099fb,c104a5a0,c3d0bac0) at slab_zalloc+0x7d
uma_zone_slab(c106cc88,8,c090ad91,76a,10) at uma_zone_slab+0xac
uma_zalloc_arg(c104a5a0,0,1,c106cc80,e6a39c38) at uma_zalloc_arg+0x39f
malloc(200,c0990700,1,40,c1044b40) at malloc+0x87
hash_alloc(c1044b48,0,c090ad91,1ab,c0a083d0) at hash_alloc+0x39
zone_timeout(c38533c0,8,c090ad91,5d6,16) at zone_timeout+0xc9
zone_foreach(c3552c00,e6a39c90,80246,16,e6a39cd0) at zone_foreach+0x43
uma_timeout(0,0,c08f1e81,105,c0809405) at uma_timeout+0x15
softclock(0,0,c08ee70e,251,2) at softclock+0x25d
ithread_loop(c3535580,e6a39d38,c08ee4e3,30d,c3535580) at ithread_loop+0x1e9
fork_exit(c066ea7d,c3535580,e6a39d38) at fork_exit+0xa1
fork_trampoline() at fork_trampoline+0x8
--- trap 0x1, eip = 0, esp = 0xe6a39d6c, ebp = 0 ---
>How-To-Repeat:
Not sure, possible kldload already existing wi driver
>Fix:
      
>Release-Note:
>Audit-Trail:
>Unformatted:



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