[issue17058] Python crashes with error 0xc0000417

2013-01-27 Thread Brian Curtin
Brian Curtin added the comment: Maybe you should email python-dev. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubsc

[issue17058] Python crashes with error 0xc0000417

2013-01-27 Thread Gili T.
Gili T. added the comment: I read http://mail.python.org/pipermail/python-dev/2012-August/121460.html and I believe they are wrong. I have personally run into these problems (each library maintaining its own CRT with separate heaps, file handles, etc) when static linking was used, but when dy

[issue17058] Python crashes with error 0xc0000417

2013-01-27 Thread Brian Curtin
Brian Curtin added the comment: Passing CRT objects (like a file handle) across runtime boundaries results in unexpected behavior, which is probably what's happening here. In the past people have mentioned porting 2.7 to VS2010 which would encounter the same issues you're seeing here. Here's a

[issue17058] Python crashes with error 0xc0000417

2013-01-27 Thread Gili T.
Gili T. added the comment: Hey Brian, I'm curious why mixing different versions of Visual Studio runtimes would result in a problem. I thought you can mix different runtimes so long as: 1. You link against a DLL (as opposed to static linking). 2. You use the same kind of library (debug vs rel

[issue17058] Python crashes with error 0xc0000417

2013-01-27 Thread Brian Curtin
Brian Curtin added the comment: A more correct way to say my last message is that you'd need to have Python and rhodecode linked to the same runtime, by compiling with the same Visual Studio. If you require VS2012 with Python 2.7, you'll need to port Python on your own and then your setup woul

[issue17058] Python crashes with error 0xc0000417

2013-01-27 Thread Brian Curtin
Changes by Brian Curtin : -- resolution: -> invalid stage: -> committed/rejected status: open -> closed ___ Python tracker ___ ___ P

[issue17058] Python crashes with error 0xc0000417

2013-01-27 Thread Brian Curtin
Brian Curtin added the comment: You need to compile rhodecode with VS2008 to match Python 2.7. You'd have this same problem mixing runtimes regardless of rhodecode or Python being involved. -- nosy: +brian.curtin ___ Python tracker

[issue17058] Python crashes with error 0xc0000417

2013-01-27 Thread Gili T.
Gili T. added the comment: Yes, Visual Studio 2012 is used when installing Rhodecode. I'd love to isolate this further but I don't know anything about Python. I'm just an end-user of Rhodecode. I filed a bug report with the Rhodecode author (asking for help) but I think we can both agree this

[issue17058] Python crashes with error 0xc0000417

2013-01-27 Thread R. David Murray
R. David Murray added the comment: Is VS2012 actually involved in anything here? Does something get compiled when you install rhodecode? Since it is a third party package, it may be that no one here will volunteer to reproduce this (though it is possible). If you can isolate the failure more

[issue17058] Python crashes with error 0xc0000417

2013-01-27 Thread Gili T.
New submission from Gili T.: Python keeps on crashing with error: The following repro steps are a slight variation of http://packages.python.org/RhodeCode/setup.html. My installation environment is Windows 7, 64-bit, Visual Studio 2012. I doubt the bug is specific to this environment but I'm