Joshua Gatcomb wrote:
(gdb) p *pool
$1 = {last_Arena = 0x10200000, object_size = 32,
objects_per_alloc = 16382, total_objects = 2048,
  num_free_objects = 2047, skip = 0, replenish_level =
614, free_list = 0x10210000, align_1 = 0,
  add_free_object = 0x4700f0 <add_free_object>,
get_free_object = 0x470110 <get_free_object>,
                              ^^^^^^^^^^^^^^^^
That's the problem. The darn thing is just calling the wrong funtion.
Or I'm dumb:
On your system sizeof(Dead_PObj) must be greater then sizeof(PMC). How that?

Seems that you got sizeof(UINTVAL) == 8 ???

Can you please supply the output of:

(gdb) p sizeof(PMC)
24
(gdb) p sizeof(Dead_PObj)
20
(gdb) p sizeof(void *)
4
(gdb) p sizeof(UINTVAL)
4
(gdb) p sizeof(UINTVAL*)
4

thanks for helping to track it down,
leo



Reply via email to