Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > mingw extension modules hang

Reply
Thread Tools

mingw extension modules hang

 
 
Peter Bienstman
Guest
Posts: n/a
 
      07-24-2006
Hi,

I'm having some problems with scripts using Python extension modules compiled
using mingw.

* Some of them work fine if I run them from a command prompt. However, if I
double click on them, or run them from within IDLE, they seem to hang.
* Other scripts always seem to hang, even if I start them from the command
prompt.

If I try running the extension module through gdb and I manage to interrupt
it, it seems to be hanging in
_C__loewis_release_python_PCBuild_libpython24_a_in ame()

Could this have anything to do with the mixing of MSVCRT and MSVCR71, or do
issues related to that have a different signature?

It's a fairly complex extension module, requiring Boost.Python and Blitz,
using scons for the building of the dll, rather than distutils.

Needless to say, they run fine under Linux.

Peter

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.4 (GNU/Linux)

iQCVAwUARMTaXzBK5bY6aANxAQI+KQP9HF8lnExBtXtHzBoaOg xZtqLWJhdPaVwR
NNG7ppP8/k0xwehRuU1BsPPUqNkZ4KBqyp2wu/n4NjiKmeH7C9M2pqjj4rxgGbX0
urDfIdUVmwv9+6+ntPfcSiZFAu/J54zlBmMh/DtxSmrQrLAsMuWCkfrF0W3SaMab
dfKsWDd7r+c=
=6h4p
-----END PGP SIGNATURE-----

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Windows GCC Support (Mingw & Mingw-w64) xeno fears Python 1 10-04-2009 06:40 PM
[g++ mingw eclipse] How do I setup Eclipse to use MinGw's g++ compiler? Sam Smith C++ 0 10-18-2004 11:36 AM
Unload extension modules when python22.dll unloads... [using C extension interpreter] Anand Python 3 11-08-2003 05:50 AM
making extension with MinGW on Windows Sun Wei Python 0 08-29-2003 04:09 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57