LOR in vm_object/vm_kern

From: Dennis Kristensen <snicki_at_cs.auc.dk>
Date: Wed, 28 May 2003 00:21:21 +0200
Hi!

I just got the below LOR on:

FreeBSD lap.snicki.dk 5.1-BETA FreeBSD 5.1-BETA #49: Tue May 27 22:28:31 CEST
2003     root_at_lap.snicki.dk:/usr/obj/usr/src/sys/LAP  i386

sources from about half an hour before the kernel build.

lock order reversal
 1st 0xc5fd3378 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(c03a3dff,c082f110,c03b06e3,c03b06e3,c03b057e) at backtrace+0x17
witness_lock(c082f110,8,c03b057e,145,e4351a90) at witness_lock+0x697
_mtx_lock_flags(c082f110,0,c03b057e,145,c5d795f0) at _mtx_lock_flags+0xb1
_vm_map_lock(c082f0b0,c03b057e,145,c02457e4,3246) at _vm_map_lock+0x36
kmem_malloc(c082f0b0,1000,101,e4351b24,c032add5) at kmem_malloc+0x65
page_alloc(c083a240,1000,e4351b17,101,c03eb46c) at page_alloc+0x27
slab_zalloc(c083a240,101,c03b1f47,66f,c083a924) at slab_zalloc+0x155
uma_zone_slab(c083a240,101,c03b1f47,66f,0) at uma_zone_slab+0xd8
uma_zalloc_internal(c083a240,0,101,6ef,0) at uma_zalloc_internal+0x55
uma_zfree_arg(c083a900,c6051cf0,0,e4351bcc,c0312b28) at uma_zfree_arg+0x2cc
dev_pager_putfake(c6051cf0,0,c03afdab,bc,c5fd3378) at dev_pager_putfake+0x3a
dev_pager_dealloc(c5fd3378,1,c03b1e4a,10b,0) at dev_pager_dealloc+0xc8
vm_pager_deallocate(c5fd3378,0,c03b1020,25e,c041f308) at vm_pager_deallocate+0x3
d
vm_object_terminate(c5fd3378,0,c03b1020,200,c5f88438) at vm_object_terminate+0x1
f4
vm_object_deallocate(c5fd3378,c5f88438,c5fd3378,c5f88438,e4351c9c) at vm_object_
deallocate+0x20f
vm_map_entry_delete(c1b7f100,c5f88438,c03b0751,86e,c039f6ec) at vm_map_entry_del
ete+0x3b
vm_map_delete(c1b7f100,282e4000,282e6000,2000,282e4000) at vm_map_delete+0x453
vm_map_remove(c1b7f100,282e4000,282e6000,0,c5d7cd88) at vm_map_remove+0x55
munmap(c5d795f0,e4351d10,c03b5c41,3fb,2) at munmap+0x9e
syscall(2f,2f,bfbf002f,8225bb0,8820000) at syscall+0x26e
Xint0x80_syscall() at Xint0x80_syscall+0x1d
--- syscall (73), eip = 0x282524e3, esp = 0xbfbff99c, ebp = 0xbfbff9b8 ---


Dennis Kristensen
Computer Science student at Aalborg University
E-mail: snicki_at_cs.auc.dk
Received on Tue May 27 2003 - 13:21:25 UTC

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