Skip to content

"Not enough storage is available to process this command." on Windows 7 #13212

Closed
@steves

Description

@steves

I'm encountering a compile error while trying to get rust-sfml working. I'm running Windows 7 64-bit with 32gb of RAM and over 40gb of available disk space. I've copied the SFML and CSFML files over to MinGW and am running the latest Rust 0.10-pre-nightly installed less than an hour ago. When I run rustc src/lib.rs I get the following error:

task 'rustc' failed at 'failed to print diagnostics: unknown error (OS Error 8: Not enough storage is available to process this command.)', c:\bot\slave\nightly-win\build\src\libsyntax\diagnostic.rs:267

Running with RUST_BACKTRACE=1 I just get the following:

$ RUST_BACKTRACE=1 rustc -o lib src/lib.rs
error: linking with `gcc` failed: exit code: 1
note: gcc arguments: '-m32' '-LC:\Program Files (x86)\Rust\bin\rustlib\i686-pc-mingw32\lib' '-o' 'lib' 'lib.o' '-lmorestack' 'lib.metadata.o' '-shared-libgcc' '-LC:\Program Files (x86)\Rust\bin\rustlib\i686-pc-mingw32\lib'
'-lstd-31b43f22-0.10-pre' '-LC:\MinGW\msys\1.0\home\steve\dev\test_project\lib\rsfml\.rust' '-LC:\MinGW\msys\1.0\home\steve\dev\test_project\lib\rsfml' '-lcsfml-system' '-lcsfml-window' '-lcsfml-audio' '-lcsfml-graphics' '-lcsfml-network' '-lgcc_s' '-shared' '-lcompiler-rt'
note: error: internal compiler error: unexpected failure
note: the compiler hit an unexpected failure path. this is a bug.
note: we would appreciate a bug report: http://static.rust-lang.org/doc/master/complement-bugreport.html
note: run with `RUST_BACKTRACE=1` for a backtrace
task 'rustc' failed at 'failed to print diagnostics: unknown error (OS Error 8: Not enough storage is available to process this command.)', C:\bot\slave\nightly-win\build\src\libsyntax\diagnostic.rs:267
stack backtrace:
   1:  0x19b8d85
   2:  0x19b8276
   3:  0x1754b00
   4:  0x1752f22
   5:   0xac0d0c
   6:   0xabe535
   7:   0xbaddc8
   8:   0xbb0ff9
   9:   0xbd43bd
  10:   0xbe5ed7
  11:   0xbe48d9
  12:   0xbe0b6e
  13:   0x42f8f3
  14:  0x1a45e1c
  15:   0x42f7a0
  16:  0x1a4919d
  17: 0x77289f72

I've looked around online and found some references to this error that involved messing around in the registry. I've tried all of them with no luck so far. I can build my own simple projects just fine so it's not a general purpose "rust is completely broken" issue.

Many of the references I've found to this error, including one on Microsoft's site, mention that this is common primarily when you have anti-virus but I'm not running any.

$ rustc -v
c:\Program Files (x86)\Rust\bin\rustc.exe 0.10-pre-nightly
host: i686-pc-mingw32

Metadata

Metadata

Assignees

No one assigned

    Labels

    I-crashIssue: The compiler crashes (SIGSEGV, SIGABRT, etc). Use I-ICE instead when the compiler panics.O-windowsOperating system: Windows

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions