Closed GoogleCodeExporter closed 9 years ago
Cause: in class_method() a chunk is allocated for the method, some fields are
set, but not m_attrs. Then another chunk is allocated for the attributes dict.
If this allocation triggers a GC, then when the GC marks the method, it
follows an invalid pointer in m_attrs.
Fix: after the first allocation, set m_attrs to C_NULL.
Original comment by dwhall...@gmail.com
on 13 Feb 2011 at 2:39
This issue was closed by revision 8a04ec2d37.
Original comment by dwhall...@gmail.com
on 13 Feb 2011 at 2:44
This issue was too tricky to recreate for a unit test.
Original comment by dwhall...@gmail.com
on 13 Feb 2011 at 2:46
There are other instance similar to this defect. Found and fixed them.
Original comment by dwhall...@gmail.com
on 13 Feb 2011 at 3:51
see rd0b02cbdd4
Original comment by dwhall...@gmail.com
on 13 Feb 2011 at 3:53
Original issue reported on code.google.com by
dwhall...@gmail.com
on 13 Feb 2011 at 2:36