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

Dietrich Bollmann diresu at web.de
Tue Apr 8 14:42:45 CEST 2008


Hi Mark,

Thanks for your help!

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 ?

PyEval_InitThreads() was called after the function which starts the
server thread from where the client threads are created.

I changed the order but the segmentation fault is still there :(

Dietrich





More information about the Cplusplus-sig mailing list