Steve Dower added the comment:
Distutils is now deprecated (see PEP 632) and all tagged issues are being
closed. From now until removal, only release blocking issues will be considered
for distutils.
If this issue does not relate to distutils, please remove the component and
reopen it. If
Nicolas Frattaroli added the comment:
I had the same issue. It wouldn't just crash, it would crash sometimes, and not
other times. About 50% of the time.
The solution to remove msvcr as suggested by Marek did work. I didn't apply his
patch, however, because I'm using a MinGW64Compiler
Changes by Tim Golden m...@timgolden.me.uk:
--
nosy: -tim.golden
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16472
___
___
Python-bugs-list
Marek Marczykowski-Górecki added the comment:
I can confirm that when a module is linked against msvcr90, it crashes with
invalid access to memory. When removed that library from the linker options
(that is - no explicit msvcr, in any version) - module worked perfectly.
Note that comment on
Václav Šmilauer added the comment:
I was having a compiled module consistently crash at import time when linking
against msvcr90, and being imported fine when linked against msvcrt. I will try
to investigate further with mingw folks.
--
___
Python
Václav Šmilauer added the comment:
I am sorry for the initial confusion. python27.dll is really linked against
MSVCR90. Its path, though, is
c:\windows\winsxs\amd64_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.4940_none_08e4299fa83d7e3c\MSVCR90.DLL,
and perhaps is a different one found at
Martin v. Löwis added the comment:
I think further investigation should require analysing the crash in a debugger.
It may well be that the crash is completely unrelated to msvcrt.
--
___
Python tracker rep...@bugs.python.org
Catalin Iacob added the comment:
Václav, are you sure about the official python27.dll being linked against
msvcrt.dll? Maybe this is your own python27.dll compiled with MinGW?
I see the opposite: for both C:\windows\system32\python27.dll (64 bit) and
c:\windows\SysWOW64\python27.dll (32 bit)
New submission from Václav Šmilauer:
Compiling an extension with --compiler=mingw32 with official python 2.7.3
distribution on Windows (64bit) leads to unusable result - crash on module load
(invalid access to memory).
The reasons is that Lib/distutils/cygwincompiler.py#l62 links the
Changes by Ralf Schmitt python-b...@systemexit.de:
--
nosy: +schmir
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16472
___
___
Python-bugs-list
Changes by Éric Araujo mer...@netwok.org:
--
nosy: +brian.curtin, loewis, mhammond, tim.golden
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16472
___
11 matches
Mail list logo