-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 04/28/11 17:09, Ludovic Courtès wrote: > Andy Wingo <[email protected]> writes: > >> On Thu 28 Apr 2011 15:08, [email protected] (Ludovic Courtès) writes: >> >>>> /* Sanity check. */ >>>> if (!GC_is_visible (&scm_protects)) >>>> abort (); >> >> Is this even the right check to make? > > Yes: the goal is to make sure that the ‘scm_protect’ variable itself is > a GC root. > > Actually, Marijn: can you try “GC_DUMP_REGULARLY=1 ./meta/guile -c 0”, > and check what’s under “Static roots”?
Current stable-2.0 fails with: GEN guile-procedures.texi 0x75b320 is not a GC visible pointer location GC_is_visible test failed requested output: ***Static roots: - From 0x601000 to 0x6010c0 (temporary) - From 0x7f79a7ab9000 to 0x7f79a7abb5c8 (temporary) - From 0x7f79a787c000 to 0x7f79a78a8bb8 (temporary) - From 0x7f79a7527000 to 0x7f79a752c8a8 (temporary) - From 0x7f79a71a5000 to 0x7f79a71a5100 (temporary) - From 0x7f79a6f60000 to 0x7f79a6fa1fe0 (temporary) - From 0x7f79a6d3d000 to 0x7f79a6d3d5f0 (temporary) - From 0x7f79a6b34000 to 0x7f79a6b35868 (temporary) - From 0x7f79a6814000 to 0x7f79a681c140 (temporary) - From 0x7f79a65ac000 to 0x7f79a65ac2b0 (temporary) - From 0x7f79a6374000 to 0x7f79a63a21c0 (temporary) - From 0x7f79a616b000 to 0x7f79a616b0e8 (temporary) - From 0x7f79a7cdb000 to 0x7f79a7cdc188 (temporary) Total size: 721472 > Thanks, > Ludo’. You're welcome and thanks for looking into this, Marijn -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk3AGAkACgkQp/VmCx0OL2zJ7ACeNTKDiDBDKuz3kb6Xp5Ql3fx1 l1AAn3w3mdrzNfhYO72dM8dNHlLrnI+g =BJor -----END PGP SIGNATURE-----
