DragonFly bugs List (threaded) for 2004-06
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
Re: System panic while building /usr/ports/net-mgmt/net-snmp
(kgdb) frame 11
#11 0xc0385819 in vm_object_deallocate (object=0xd41b2600)
at /usr/src/sys/vm/vm_object.c:314
314 panic("vm_object_deallocate: object
deallocated too many times: %d", object->type);
(kgdb) print *object
$1 = {object_list = {tqe_next = 0xd41b1360, tqe_prev = 0x12342378},
shadow_head = {lh_first = 0x0}, shadow_list = {le_next = 0x0,
le_prev = 0xd3a849c8}, memq = {tqh_first = 0x0, tqh_last = 0xd41b2134},
generation = 4880, size = 0, ref_count = 0, shadow_count = -1,
hash_rand = -591782211, type = 5 '\005', flags = 8, pg_color = 37,
paging_in_progress = 0, resident_page_count = 0, backing_object = 0x0,
backing_object_offset = 0, pager_object_list = {tqe_next = 0x0,
tqe_prev = 0x0}, handle = 0x0, range_locks = 0x0, un_pager = {vnp = {
vnp_size = 0}, devp = {devp_pglist = {tqh_first = 0x0, tqh_last =
0x0}},
swp = {swp_bcount = 0}}}
(kgdb) frame 12
#12 0xc0382cd4 in vm_map_entry_delete (map=0xc810d260, entry=0xd3aa2780,
countp=0xd48c0ac0) at /usr/src/sys/vm/vm_map.c:2246
2246 vm_object_deallocate(entry->object.vm_object);
(kgdb) print *map
$2 = {header = {prev = 0xc810d260, next = 0xc810d260, start = 0,
end = 3217031168, avail_ssize = 0, object = {vm_object = 0x0,
sub_map = 0x0}, offset = 0, eflags = 0, protection = 0 '\000',
max_protection = 0 '\000', inheritance = 0 '\000', wired_count = 0,
lastr = 0}, lock = {lk_interlock = {t_cpu = 0xff800000,
t_reqcpu = 0xff800000, t_unused01 = 0}, lk_flags = 16778240,
lk_sharecount = 0, lk_waitcount = 0, lk_exclusivecount = 1, lk_prio = 0,
lk_wmesg = 0xc0460074 "thrd_sleep", lk_timo = 0,
lk_lockholder = 0xc81125a0}, nentries = 0, size = 0,
system_map = 0 '\000', infork = 0 '\000', hint = 0xc810d260, timestamp =
27,
first_free = 0xc810d260, pmap = 0xc810d2d4}
(kgdb) print *entry
$3 = {prev = 0xc810d260, next = 0xc810d260, start = 3216900096,
end = 3217031168, avail_ssize = 66977792, object = {vm_object =
0xd41b2600,
sub_map = 0xd41b2600}, offset = 0, eflags = 4, protection = 7 '\a',
max_protection = 7 '\a', inheritance = 1 '\001', wired_count = 0, lastr =
0}
(kgdb)
"Matthew Dillon" <dillon@xxxxxxxxxxxxxxxxxxxx> wrote in message
news:200406061918.i56JIa9T066167@xxxxxxxxxxxxxxxxxxxxxxx
> You want to print *map, not map, so I get the contents of these
> structures. So, print *object in frame 11 and *map and *entry
> in frame 12.
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]