Crash on msvcrt mismatch?

L

Lagarde, Jean

I don't have much experience writing extension modules, and am looking for pointers to resolve python crashes on Windows.

I've isolated the problem to a python file with the following two lines:

----
import PyQt4.Qwt5
import C13
----

That causes Python to crash. If I comment out either one of the two lines, it doesn't. C13 is an extension module wrapping the API for an instrumentation card. I've written test code that uses that C13 module without problems, but that code doesn't use PyQt.

My Python and PyQt come from the Python(x,y) binary distribution (version 2.1.11). C13 was compiled using mingw and used msvcr71 by default. I noticed that although Python depends on msvcr71 as well, the PyQt modules depend on msvcrt (QtCore4.dll and Qtw.pyd for example). I tried to use msvcrt for C13 as well, but got the same result.

I'm looking for ideas as to what to try next. I'd like to avoid having to build PyQt from source, but if that's the recommendation I'll give it a go.

Cheers,

Jean
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,059
Latest member
cryptoseoagencies

Latest Threads

Top