sdk icon indicating copy to clipboard operation
sdk copied to clipboard

dotnet test fails on OSX

Open pranavkm opened this issue 10 years ago • 3 comments

Steps to reproduce

  • Start with the MusicStore app: [email protected]:aspnet/MusicStore.git
  • Run export KOREBUILD_DOTNET_VERSION=1.0.0-rc2-002349
  • Run build.sh

Expected behavior

Build works

Actual behavior

Exec
  program: dotnet
  commandline: test --configuration Release -parallel none
  workingdir: test/E2ETests
Project E2ETests (.NETStandardApp,Version=v1.5) was previously compiled. Skipping compilation.
corehost(48624,0x7fff76ef5300) malloc: *** mach_vm_map(size=140734712410112) failed (error code=3)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
libc++abi.dylib: terminating with uncaught exception of type std::bad_alloc: std::bad_alloc

Environment data

~/.dotnet/dotnet --info
.NET Command Line Tools (1.0.0-rc2-002349)

Product Information:
 Version:     1.0.0-rc2-002349
 Commit Sha:  ed9309b90b

Runtime Environment:
 OS Name:     Mac OS X
 OS Version:  10.10
 OS Platform: Darwin
 RID:         osx.10.10-x64

pranavkm avatar Apr 12 '16 19:04 pranavkm

@schellap can you take a quick look?

TheRealPiotrP avatar Apr 12 '16 19:04 TheRealPiotrP

Sounds like the OS ran out of memory to allocate for us. Does the machine have sufficient space/memory? Does this repro on other OSX machines?

gkhanna79 avatar Apr 12 '16 19:04 gkhanna79

Dup of dotnet/sdk#5682

schellap avatar Apr 12 '16 20:04 schellap