[issue18197] insufficient error checking causes crash on windows

2013-06-16 Thread Nick Coghlan
Nick Coghlan added the comment: Closing this on the assumption the bug is in the extension. Feel free to reopen if further investigation shows a problem in the interpreter core. -- nosy: +ncoghlan resolution: -> invalid stage: -> committed/rejected status: open -> closed

[issue18197] insufficient error checking causes crash on windows

2013-06-15 Thread Max DeLiso
Max DeLiso added the comment: ok I checked in to this more deeply and I was wrong about a few things. first, my patch is worthless - there are several more instances where the retval of fileno is passed directly to fstat and that is totally valid (provided the file* points to a valid file). l

[issue18197] insufficient error checking causes crash on windows

2013-06-13 Thread STINNER Victor
STINNER Victor added the comment: Can you explain why fileno() does fail? Do you have an idea of how many open file descriptor do you have? -- nosy: +haypo ___ Python tracker __

[issue18197] insufficient error checking causes crash on windows

2013-06-11 Thread Max DeLiso
Changes by Max DeLiso : -- hgrepos: -199 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.or

[issue18197] insufficient error checking causes crash on windows

2013-06-11 Thread Max DeLiso
New submission from Max DeLiso: hi. if you cross compile the mercurial native extensions against python 2.7.5 (x64) on 64 bit windows 7 and then try to clone something, it will crash. I believe the reason for this is that the c runtime functions in the microsoft crt will throw a win32 except