DragonFly BSD
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


From: "GeekGod" <GeekGod@xxxxxxxxxxx>
Date: Sun, 6 Jun 2004 15:07:30 -0400

Matt,

I hope that this is what your looking for.  I'm still a little we behind the
ears with GDB.

(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
$3 = 0xd41b2120

(kgdb) fram 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) map
Undefined command: "map".  Try "help".
(kgdb) print map
$1 = 0xc810d260
(kgdb) print entry
$2 = 0xd3aa2780

(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) list
309                             vm_object_vndeallocate(object);
310                             return;
311                     }
312
313                     if (object->ref_count == 0) {
314                             panic("vm_object_deallocate: object
deallocated too many times: %d", object->type);
315                     } else if (object->ref_count > 2) {
316                             object->ref_count--;
317                             return;
318                     }


(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) list
2241    {
2242            vm_map_entry_unlink(map, entry);
2243            map->size -= entry->end - entry->start;
2244
2245            if ((entry->eflags & MAP_ENTRY_IS_SUB_MAP) == 0) {
2246                    vm_object_deallocate(entry->object.vm_object);
2247            }
2248
2249            vm_map_entry_dispose(map, entry, countp);
2250    }

-GG

"Matthew Dillon" <dillon@xxxxxxxxxxxxxxxxxxxx> wrote in message
news:200406061902.i56J2Jne066046@xxxxxxxxxxxxxxxxxxxxxxx
>     Ouch, that's a nasty panic.  If you could print out *map and *entry
>     in frame 12 and *object in frame 11 I'd appreciate it.





[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]