hello_world app crash on Win7



after building the hello_world app from the Rust tutorial, running it gives me an Access Violation error.

Stack trace:


Interestingly, this does not always happen, but about 9 times out of 10. My first suspicion was a version mix-up with another MinGW/MSYS installation, but after cleaning up my path, the error remains. Dependency Walker shows that all loaded DLL are from Rust installation or C:\Windows\system32

cargo.exe shows the same error, while rustc seems to run fine.

Version infos:
rustc 1.0.0 (a59de37e9 2015-05-13) (built 2015-05-14)
Microsoft Windows [Version 6.1.7601] (Win7 64bit)

Any help is greatly appreciated!

Edit: In the meantime I found a similar issue here: https://github.com/rust-lang/rust/issues/14403
Does Rust 1.0 still depend on MinGW runtime libs?


I’ve seen reports of this happening, but was never able to reproduce myself.

Looks like you have it under debugger in Visual Studio… Would you mind saving a memory dump (Debug/Save Dump As…) and sharing it, along with your executable, via GDrive/Dropbox/etc?


A crash of anoter tool (VirtualBox) pointed me to the reason:
On my Win7 box a tool named “PowerBroker” does some user level magic (You might think of it as “sudo for Windows”). It seems to regularly check access to executables and dlls, leading to several access and timing issues. After removing power broker everything looks good…

For those still interested in the memory dump:

(Available until 29.05.15)