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)

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


Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report for Bug 40484 on GitHub or Developer Community if you have new information to add and do not yet see a matching new report.

If the latest results still closely match this report, you can use the original description:

  • Export the original title and description: GitHub Markdown or Developer Community HTML
  • Copy the title and description into the new report. Adjust them to be up-to-date if needed.
  • Add your new information.

In special cases on GitHub you might also want the comments: GitHub Markdown with public comments

Related Links:
Status:
NEW

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