Bug 40484 - Corrupted floating point registers on x86
Summary: Corrupted floating point registers on x86
Status: NEW
Alias: None
Product: Runtime
Classification: Mono
Component: JIT (show other bugs)
Version: unspecified
Hardware: PC Mac OS
: --- major
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2016-04-18 13:54 UTC by Marek Safar
Modified: 2016-04-18 13:54 UTC (History)
2 users (show)

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


Attachments
test (1.81 MB, application/zip)
2016-04-18 13:54 UTC, Marek Safar
Details

Description Marek Safar 2016-04-18 13:54:20 UTC
Created attachment 15751 [details]
test

The failure happens on x86 only and with the only sequence of code in the test.

Run enclosed test as 

MONO_PATH=tt/ mono x.exe


Unhandled Exception:
NUnit.Framework.AssertionException:   #M01C
  Expected: 250m
  But was:  0E-18m

  at NUnit.Framework.Assert.That (System.Object actual, NUnit.Framework.Constraints.Constraint constraint, System.String message, System.Object[] args) <0x9232c8 + 0x000af> in <filename unknown>:0
  at NUnit.Framework.Assert.AreEqual (System.Decimal expected, System.Decimal actual, System.String message, System.Object[] args) <0x92b5f8 + 0x00093> in <filename unknown>:0
  at NUnit.Framework.Assert.AreEqual (System.Decimal expected, System.Decimal actual, System.String message) <0x92b590 + 0x00053> in <filename unknown>:0
  at MonoTests.System.Data.SqlTypes.SqlSingleTest.M3 () <0x928d90 + 0x0012b> in <filename unknown>:0
  at MonoTests.System.Data.SqlTypes.SqlSingleTest.Main () <0x922188 + 0x0005b> in <filename unknown>:0

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