lock order reversal under recent -CURRENT

From: Gordon Bergling <gordon_at_bsd-network.org>
Date: Tue, 24 Jun 2003 01:05:43 +0200
Hi,

under a recent -CURRENT I get this:
<--------------------------------------------------------------------------->
lock order reversal
 1st 0xc2e475c8 vm object (vm object) _at_ /usr/src/sys/vm/vm_object.c:432
 2nd 0xc082f110 system map (system map) _at_ /usr/src/sys/vm/vm_kern.c:328
Stack backtrace:
backtrace(c03c9d09,c082f110,c03d8851,c03d8851,c03d86ec) at backtrace+0x17
witness_lock(c082f110,8,c03d86ec,148,0) at witness_lock+0x697
_mtx_lock_flags(c082f110,0,c03d86ec,148,3) at _mtx_lock_flags+0xb1
_vm_map_lock(c082f0b0,c03d86ec,148,d26e3a54,c0247ce4) at _vm_map_lock+0x36
kmem_malloc(c082f0b0,1000,101,d26e3ac0,c03586e0) at kmem_malloc+0x66
page_alloc(c083a240,1000,d26e3ab3,101,c041066c) at page_alloc+0x27
slab_zalloc(c083a240,101,c03da0b0,66e,c26c56e4) at slab_zalloc+0x150
uma_zone_slab(c083a240,101,c03da0b0,66e,0) at uma_zone_slab+0xd8
uma_zalloc_internal(c083a240,0,101,6ee,0) at uma_zalloc_internal+0x55
uma_zfree_arg(c26c56c0,d1db6bdc,0,1,0) at uma_zfree_arg+0x2cb
swp_pager_meta_free_all(c2e475c8,c03d8044,c03d7fd8,1b2) at swp_pager_meta_free_all+0x1b0
swap_pager_dealloc(c2e475c8,1,c03d9fb3,10c,0) at swap_pager_dealloc+0x113
vm_pager_deallocate(c2e475c8,0,c03d9189,25f,0) at vm_pager_deallocate+0x3d
vm_object_terminate(c2e475c8,0,c03d9189,1b0,c02388e0) at vm_object_terminate+0x1f4
vm_object_deallocate(c2e475c8,c2da999c,c2e475c8,c2da999c,d26e3c64) at vm_object_deallocate+0x377
vm_map_entry_delete(c2dad800,c2da999c,c03d88bf,86d,c03c54da) at vm_map_entry_delete+0x3b
vm_map_delete(c2dad800,0,bfc00000,c2dad800,c26b7400) at vm_map_delete+0x413
vm_map_remove(c2dad800,0,bfc00000,11d,c03c4a8b) at vm_map_remove+0x58
exit1(c2c8c980,0,c03c4a8b,65,d26e3d40) at exit1+0x696
sys_exit(c2c8c980,d26e3d10,c03dd56d,3fd,1) at sys_exit+0x41
syscall(2f,2f,2f,0,e34) at syscall+0x26e
Xint0x80_syscall() at Xint0x80_syscall+0x1d
--- syscall (1), eip = 0x2851d44f, esp = 0xbfbff840, ebp = 0xbfbff86c ---
<----------------------------------------------------------------------------->

`uname -a` says:
<----------------------------------------------------------------------------->
FreeBSD nemesis.bsd-network.org 5.1-CURRENT FreeBSD 5.1-CURRENT #3: Mon
Jun 23 00:30:36 CEST 2003 
mindtrap_at_nemesis.bsd-network.org:/usr/obj/usr/src/sys/NEMESIS  i386
<----------------------------------------------------------------------------->

The LOR happens at normal work under X. A few xterm, mozilla, gimp and
gqview. Not very wild things.

best regards,

Gordon

-- 
There is no place like 127.0.0.1/8!
Received on Mon Jun 23 2003 - 14:05:48 UTC

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