Extension Debugging
Martin v. Löwis
martin.vonloewis at hpi.uni-potsdam.de
Wed Mar 26 06:17:10 EST 2003
> I'm working with a set of DLL extension modules which mask the
> Dialogic telephony API. They have been compiled using Visual Studio
> (.NET), and they are being run on windows nt 4.0 with python 2.2.
That won't work, in many cases. Python 2.2 was compiled with VC++ 6,
and such code does not mix well with VC.NET. So I recommend you
either recompile Python, or use VC++ 6 to compile your extension
module.
> occasionally it crashes with this, information: The instruction at
> "0x00000008" referenced memory at "0x00000000". The memory could not
> be "read". the addresses are always the same, looks to be a NULL
> pointer thing, I've been lucky so far to discover as many of these
> errors as I have - this one eludes me still.
Can you run this in a debugger an obtain a stack trace of the point
of crash?
Regards,
Martin
More information about the Python-list
mailing list