[Python-Dev] GC and ExtensionClass
Neil Schemenauer
nas@python.ca
Sat, 12 May 2001 07:28:54 -0700
--HlL+5n6rz5pIUxbD
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
skip@pobox.com wrote:
>=20
> Has anyone investigated interactions between ExtensionClass objects and G=
C?
> I've encountered segfaults with 2.1 in certain situations when using the
> latest PyGtk stuff.
Do any of the PyGtk objects define the GC type flag?
The GC is fairly good a exposing memory management bugs that
otherwise go unnoticed. If you're using glib you can try setting
the MALLOC_CHECK_ environment variable to 2. If you've got lots
of memory you could also try using electric fence and running
your program. Finally, you might try compiling with Py_DEBUG
set.
> Neil and/or Jim (and/or anyone else willing to look into this problem), I
> can give you access to my development machine via ssh if you think that
> would help debug the problem.
I'd be willing to take a look (the chances of me reproducing it
don't look good). A public RSA key is attached.
Neil
1024 35 1372392199657274371686721919189033793743756930167147933612297754126=
598259273931615299793939606535704607722644783446173838392284136573447881967=
319012596588320802053877521752598768614155667872751121516571978298556660249=
308172933987227071278497487693980378602960539924485391548971170156265529348=
77126704135564999 nas
--HlL+5n6rz5pIUxbD
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iEYEARECAAYFAjr9SKYACgkQIyPjKbgF8jfQxQCfbIUUgut9FXK2qCF8+bPQc7G+
ktAAn0nJExCgF3/4fftE+4yWwD74cc1f
=Tt/R
-----END PGP SIGNATURE-----
--HlL+5n6rz5pIUxbD--