Re: Debugging Help (X10i on OctoPOS)

Andreas Zwinkau <[email protected]>
Newsgroups gmane.comp.programming.garbage-collection.boehmgc
Message-ID <[email protected]>
Am 15.01.2014 13:03, schrieb Ivan Maidanski:
> My suggestion is set data watch for vptr after it is allocated to find out which code modifies it after deallocation.

The vptr is not modified. I do not see how watchpoints might help here?
The vptr should probably be modified (set to 0), when the GC frees it,
but gdb shows that it still points to the vtable.

I think the possibility that bdwgc has a bug in sweep is quite small,
since the other code (OS,compiler,runtime) is much less mature. This
means somewhere a vptr is stored into already-freed memory.

_______________________________________________
Gc mailing list
Gc-V9/[email protected]
http://www.hpl.hp.com/hosted/linux/mail-archives/gc/
signature.asc (application/pgp-signature, 555 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJS1oX5AAoJEKm3M8a3pi2iaUYIAJFzeF/eMcG7BxXrcCFo4jQq
V9lvuWbNtY21RYn0SHF9a4F6tD5pfDsxxGYWaa+IJdU6vMqxVHfLMEbgzt8/9KEW
/LFv73zv6w4Q1+t2d+udfcx2pwWQ+H8PJyActo6+LHeRJV7wKVk9gScBjBdDO66j
G5SQX+IsTKAH0plulDaDTgyhG5yh5mFzRayq3q6ykjm28zWTRCrhgQDkeo5V6rT2
YwFZBCw1aG1nhfvNSvvL7FV23+WIntnqM2WhWVKoGKHAdsSJB0aQO6CCSKL4jEta
A7o/0N9rgnh6P3BeMIp98qWWoBB6N7rfjbtn8QVn6JLYDVeOukKFpVP2n0ZTSFM=
=gfVw
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.