Changes between Version 1 and Version 2 of Fixing GC Bugs

Show
Ignore:
Timestamp:
08/26/10 12:48:52 (4 years ago)
Author:
nwellnhof
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Fixing GC Bugs

    v1 v2  
    1717}}} 
    1818 
    19 This will eventually segfault; at that point, figure out which PMC has been garbage collected prematurely. get the address of that PMC. (Note that the PMC will have a valid address, but its vtable will be 0xdeadbeef). 
     19This will eventually segfault; at that point, figure out which PMC has been garbage collected prematurely. get the address of that PMC. (Note that the PMC will have a valid address, but its data pointer will be 0xdeadbeef). 
    2020 
    2121Now, the problem is, you don't necessarily know where this PMC was allocated. To figure this out, you'll need to check in pmc_new when a pmc of this address was creatd.