[C++-sig] fun V2 segfault

Peter Bienstman peter.bienstman at rug.ac.be
Thu Apr 4 20:33:29 CEST 2002


OK, here's a fun transcript of a python session. Bienstman1_ext can be
any V2 module, and Numeric can be any other Python extension module:

pbienst at hunsmac:~/boost_cvs/boost/libs/python/test/bin/bienstman1_ext.so/gcc/debug/runtime-link-dynamic/shared-linkable-true$ python
Python 2.2 (#1, Apr  1 2002, 10:37:59)
[GCC 3.0.1] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from Numeric import *
>>> from bienstman1_ext import *
>>>

Everything OK!

pbienst at hunsmac:~/boost_cvs/boost/libs/python/test/bin/bienstman1_ext.so/gcc/debug/runtime-link-dynamic/shared-linkable-true$ python
Python 2.2 (#1, Apr  1 2002, 10:37:59)
[GCC 3.0.1] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from bienstman1_ext import *
>>> from Numeric import *
Segmentation fault

Stacktracing this shows up some stuff related to GC and timing, I think.

Peter






More information about the Cplusplus-sig mailing list