Assertion `gc->gc.gc_refs != 0' failed

Hello,

Please forgive the crosspost, but it seemed likely to me that this question would require developers' input...

I am trying to use wxPython in an embedded python interpreter, on a Fedora system with the following python RPM's installed:

python-2.3.4-11
python-devel-2.3.4-11

[root@bbox tests]# python
Python 2.3.4 (#1, Oct 26 2004, 16:42:40)
[GCC 3.4.2 20041017 (Red Hat 3.4.2-6.fc3)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>>

I built wxPython by hand from the source tarball wxPython-src-2.6.0.0.tar.gz using --with-gtk --enable-unicode config flags, and UNICODE=1 BUILD_GLCANVAS=0 python build flags.

If I create a module called foo.py which contains the statement "import wxPython", then I can run it fine within a standalone interpreter. However, when I attempt to load the very same file in the embedded interpreter, I get the following failure:

TTPythonLibTest: Modules/gcmodule.c:231: visit_decref: Assertion `gc->gc.gc_refs != 0' failed.

The gcc backtrace is:

#0 0xffffe410 in __kernel_vsyscall ()
#1 0x46e2d955 in raise () from /lib/tls/libc.so.6
#2 0x46e2f319 in abort () from /lib/tls/libc.so.6
#3 0x46e26f41 in __assert_fail () from /lib/tls/libc.so.6
#4 0x46ff2aac in Py_GetArgcArgv () from /usr/lib/libpython2.3.so.1.0
#5 0x47016845 in _PyUnicode_TypeRecords () from /usr/lib/libpython2.3.so.1.0
#6 0x000000e7 in ?? ()
#7 0x47016997 in _PyUnicode_TypeRecords () from /usr/lib/libpython2.3.so.1.0
#8 0x4701a42c in ?? () from /usr/lib/libpython2.3.so.1.0
#9 0x00000000 in ?? ()

I put print statements into the wxPython modules, and it seems that this assertion failure occurs at

from wx._core import *

in __init__.py of /usr/lib/python2.3/site-packages/wx-2.6-gtk2-unicode/wx

Thanks for any tips,
A.