Bug 53439 - System.Numerics tests on windows fail with System.BadImageFormatException
Summary: System.Numerics tests on windows fail with System.BadImageFormatException
Status: NEW
Alias: None
Product: Runtime
Classification: Mono
Component: JIT (show other bugs)
Version: master
Hardware: PC Mac OS
: --- normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2017-03-17 10:04 UTC by Marek Safar
Modified: 2017-06-12 17:26 UTC (History)
3 users (show)

See Also:
Tags:
Is this bug a regression?: ---
Last known good build:


Attachments

Description Marek Safar 2017-03-17 10:04:20 UTC
Results saved as D:\j\workspace\x\mcs\class\System.Numerics\TestResult-net_4_x.xml.
make[2]: Leaving directory '/cygdrive/d/j/workspace/x/mcs/class/System.Numerics'
make -C ./../../class/Xunit.NetCore.Extensions
make[2]: Entering directory '/cygdrive/d/j/workspace/x/mcs/class/Xunit.NetCore.Extensions'
make all-local
make[3]: Entering directory '/cygdrive/d/j/workspace/x/mcs/class/Xunit.NetCore.Extensions'
Converting Xunit.NetCore.Extensions.dll.sources to ../../build/deps/net_4_x__Xunit.NetCore.Extensions.dll.response ...
CSC     [net_4_x] Xunit.NetCore.Extensions.dll
make[3]: Leaving directory '/cygdrive/d/j/workspace/x/mcs/class/Xunit.NetCore.Extensions'
make[2]: Leaving directory '/cygdrive/d/j/workspace/x/mcs/class/Xunit.NetCore.Extensions'
CSC     [net_4_x] net_4_x_System.Numerics_xunit-test.dll
ok=:; \
PATH="/cygdrive/d/j/workspace/x/runtime/_tmpinst/bin:/opt/mono/bin/:/usr/bin:/usr/local/bin:/cygdrive/c/Program Files (x86)/Mono/bin/:/cygdrive/c/Windows/system32:/cygdrive/c/Windows:/cygdrive/c/Windows/System32/Wbem:/cygdrive/c/Windows/System32/WindowsPowerShell/v1.0:/cygdrive/c/Program Files/Git/cmd:/cygdrive/c/Program Files (x86)/Windows Kits/8.1/Windows Performance Toolkit:/cygdrive/c/Users/builder/AppData/Local/Microsoft/WindowsApps" MONO_PATH="./;./../../class/lib/net_4_x;;$MONO_PATH" /cygdrive/d/j/workspace/x/runtime/mono-wrapper --debug   ./../../../external/xunit-binaries/xunit.console.exe net_4_x_System.Numerics_xunit-test.dll -noappdomain -noshadow -parallel none -nunit TestResult-net_4_x-xunit.xml -notrait category=failing -notrait category=nonnetcoreapptests -notrait Benchmark=true -notrait category=outerloop || ok=false; \
$ok
xUnit.net Console Runner (64-bit .NET 4.0.30319.42000)
System.BadImageFormatException: 
make[1]: *** [../../build/tests.make:215: run-xunit-test-lib] Error 1
Comment 1 Rodrigo Kumpera 2017-06-12 17:14:49 UTC
What peverify says about those assemblies?
How do I reproduce this?

Please provide more context than a random blob of text.
Comment 2 Marek Safar 2017-06-12 17:26:58 UTC
I don't have access to that machine. peverify says ok as same assembly works on Mono on non-Windows without problem. Ale peverify is part of build/test and no error is reported there either.

You can reproduce it running `make check` inside mcs/class/System.Numerics as you can see from the log

Note You need to log in before you can comment on or make changes to this bug.