Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Oct 2003 14:18:41 +0200
From:      konfer@mikulas.com
To:        freebsd-current@freebsd.org
Subject:   LOR (swap_pager.c:1134,vm_kern.c:328 )
Message-ID:  <1067084321.3f9a6a218d07e@mail.vhost.cz>

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

Already reported?

~~~cut~~~
lock order reversal
 1st 0xc3931818 vm object (vm object) @ /usr/src/sys/vm/vm_object.c:1512
 2nd 0xc102f110 system map (system map) @ /usr/src/sys/vm/vm_kern.c:328
Stack backtrace:
backtrace(c08727f8,c102f110,c088694e,c088694e,c08867e9) at backtrace+0x17
witness_lock(c102f110,8,c08867e9,148,1) at witness_lock+0x672
_mtx_lock_flags(c102f110,0,c08867e9,148,60c) at _mtx_lock_flags+0xba
_vm_map_lock(c102f0b0,c08867e9,148,c0937440,1) at _vm_map_lock+0x36
kmem_malloc(c102f0b0,1000,101,d1192a7c,c07ada63) at kmem_malloc+0x3a
page_alloc(c103a300,1000,d1192a6f,101,c0939078) at page_alloc+0x27
slab_zalloc(c103a300,1,c088815e,68c,0) at slab_zalloc+0xb3
uma_zone_slab(c103a300,1,c088815e,68c,0) at uma_zone_slab+0xd6
uma_zalloc_internal(c103a300,0,1,0,c1020530) at uma_zalloc_internal+0x3e
bucket_alloc(29,1,c088815e,70b,0) at bucket_alloc+0x65
uma_zfree_arg(c1020480,d080533c,0,74a,10) at uma_zfree_arg+0x2c6
swp_pager_meta_free(c3931818,10,0,1,0) at swp_pager_meta_free+0xfd
swap_pager_freespace(c3931818,10,0,1,0) at swap_pager_freespace+0x57
vm_object_backing_scan(c3615534,4,c088727b,5e8,c088727b) at
vm_object_backing_s5
vm_object_collapse(c3615534,0,c088727b,1f0,c36b2a50) at
vm_object_collapse+0xcf
vm_object_deallocate(c36e640c,c35e23c0,c36e640c,c35e23c0,d1192c64) at
vm_objecte
vm_map_entry_delete(c311d000,c35e23c0,c08869c4,8b6,c086ddb6) at
vm_map_entry_deb
vm_map_delete(c311d000,0,bfc00000,c311d000,c2def580) at vm_map_delete+0x383
vm_map_remove(c311d000,0,bfc00000,11d,c086d367) at vm_map_remove+0x58
exit1(c30805f0,0,c086d367,65,d1192d40) at exit1+0x6a6
sys_exit(c30805f0,d1192d10,c088ce47,3ed,1) at sys_exit+0x41
syscall(2f,2f,2f,8096c00,281eb558) at syscall+0x2c0
Xint0x80_syscall() at Xint0x80_syscall+0x1d
--- syscall (1), eip = 0x2815ba4b, esp = 0xbfbfe70c, ebp = 0xbfbff4c8 ---

~~~cut~~~


and then after 2-3 minutes:


~~~cut~~~
panic: Hey partner, hold on there!

syncing disks, buffers remaining... panic: sleeping thread (pid 25) owns
a mutex
Uptime: 50m30s
panic: sleeping thread (pid 25) owns a mutex
Uptime: 50m30s


Fatal trap 12: page fault while in kernel mode
fault virtual address   = 0xdeadc0e2
fault code              = supervisor write, page not present
instruction pointer     = 0x8:0xc065a1b5
stack pointer           = 0x10:0xcdcd05a8
frame pointer           = 0x10:0xcdcd05c0
code segment            = base 0x0, limit 0xfffff, type 0x1b
                        = DPL 0, pres 1, def32 1, gran 1
processor eflags        = interrupt enabled, resume, IOPL = 0
current process         = 13 (swi8: tty:sio clock)
trap number             = 12
panic: page fault
Uptime: 50m30s
kernel trap 12 with interrupts disabled
~~~cut~~~



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