[issue1878] class attribute cache failure (regression)

Georg Brandl report at bugs.python.org
Sun Jan 20 19:44:21 CET 2008


Georg Brandl added the comment:

I'm sorry, but I can't get this to run. With a clean 0.1.14 tarball, I get

Building extension...
running build_ext
building 'notify.gc' extension
creating build
creating build/temp.linux-i686-2.5
creating build/temp.linux-i686-2.5/notify
i686-pc-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -fPIC
-I/usr/include/python2.5 -c notify/gc.c -o
build/temp.linux-i686-2.5/notify/gc.o
creating build/lib.linux-i686-2.5
creating build/lib.linux-i686-2.5/notify
i686-pc-linux-gnu-gcc -pthread -shared
build/temp.linux-i686-2.5/notify/gc.o -L/usr/lib -lpython2.5 -o
build/lib.linux-i686-2.5/notify/gc.so
[1]    28189 segmentation fault  ~/devel/python/python run-tests.py

when running with a trunk python (note the "2.5" in the paths...)

When I build the extension manually and comment out the building command
in run-tests.py, I get


Note that most of the time is spent in gc.collect() calls, not in this
package

..............................................................Fatal
Python error: Objects/classobject.c:2311 object at 0x82dd2bc has
negative ref count -606348326
[1]    28540 abort      ~/devel/python/python run-tests.py

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1878>
__________________________________


More information about the Python-bugs-list mailing list