[C++-sig] segmentation fault when executingPyImport_ImportModule("sys")

Dietrich Bollmann d.bollmann at tu-berlin.de
Sat Apr 12 16:00:14 CEST 2008


Hi Mark - another answer to your last email...

On Tue, 2008-04-08 at 12:01 +0100, English, Mark wrote:
> > Dietrich Bollmann wrote:
> > Since some time I get the following segmentation fault in an 
> > application which used to work fine until recently.
> Just a thought: have you called PyEval_InitThreads from the main thread
> at startup ?

finally your answer pointed to the right direction:

See http://mail.python.org/pipermail/c++-sig/2008-April/013448.html
for the solution to my segmentaion fault problem :)

Thanks,

Dietrich






More information about the Cplusplus-sig mailing list