LOR vm object and stack trace

From: Steven G. Kargl <kargl_at_troutmask.apl.washington.edu>
Date: Tue, 13 May 2003 11:16:21 -0700 (PDT)
>From yesterday's source, I get


lock order reversal
 1st 0xc4461000 vm object (vm object) _at_ /usr/src/sys/vm/vm_object.c:512
 2nd 0xc082f110 system map (system map) _at_ /usr/src/sys/vm/vm_kern.c:325
Stack backtrace:
backtrace(c0334111,c082f110,c033f5e3,c033f5e3,c033f47a) at backtrace+0x17
witness_lock(c082f110,8,c033f47a,145,1) at witness_lock+0x697
_mtx_lock_flags(c082f110,0,c033f47a,145,3) at _mtx_lock_flags+0xb1
_vm_map_lock(c082f0b0,c033f47a,145,d7b48ab8,c01f9424) at _vm_map_lock+0x36
kmem_malloc(c082f0b0,1000,101,d7b48b24,c02c52f0) at kmem_malloc+0x66
page_alloc(c083a240,1000,d7b48b17,101,c035e78c) at page_alloc+0x27
slab_zalloc(c083a240,101,c0340e47,66f,c083a924) at slab_zalloc+0x150
uma_zone_slab(c083a240,101,c0340e47,66f,0) at uma_zone_slab+0xd8
uma_zalloc_internal(c083a240,0,101,6ef,0) at uma_zalloc_internal+0x55
uma_zfree_arg(c083a900,c447f000,0,d7b48bcc,c02ad0d8) at uma_zfree_arg+0x2cb
dev_pager_putfake(c447f000,0,c033ec9b,bc,c4461000) at dev_pager_putfake+0x3a
dev_pager_dealloc(c4461000,1,c0340d4a,10b,0) at dev_pager_dealloc+0xc8
vm_pager_deallocate(c4461000,0,c033ff20,25e,c038f6c8) at vm_pager_deallocate+0x3d
vm_object_terminate(c4461000,0,c033ff20,200,c4427bb8) at vm_object_terminate+0x1f4
vm_object_deallocate(c4461000,c4427bb8,c4461000,c4427bb8,d7b48c9c) at vm_object_deallocate+0x217
vm_map_entry_delete(c1529e00,c4427bb8,c033f651,86e,c032f9a5) at vm_map_entry_delete+0x3b
vm_map_delete(c1529e00,282e0000,282e1000,1000,282e0000) at vm_map_delete+0x453
vm_map_remove(c1529e00,282e0000,282e1000,0,c43b5608) at vm_map_remove+0x58
munmap(c4044980,d7b48d10,c0344a2a,3fb,2) at munmap+0x9e
syscall(2f,2f,2f,f8000,1000) at syscall+0x26e
Xint0x80_syscall() at Xint0x80_syscall+0x1d

-- 
Steve
http://troutmask.apl.washington.edu/~kargl/
Received on Tue May 13 2003 - 09:16:22 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:07 UTC