Bug 57411 - ARM64: "Assertion at mini-arm64.c:878, condition 'ji' not met" when running System.Numerics xunit tests
Summary: ARM64: "Assertion at mini-arm64.c:878, condition 'ji' not met" when running S...
Status: VERIFIED FIXED
Alias: None
Product: Runtime
Classification: Mono
Component: JIT ()
Version: master
Hardware: PC Mac OS
: --- normal
Target Milestone: 15.3
Assignee: Zoltan Varga
URL:
: 58345 ()
Depends on:
Blocks:
 
Reported: 2017-06-12 21:39 UTC by Alexander Köplinger [MSFT]
Modified: 2017-07-28 19:06 UTC (History)
4 users (show)

Tags: 2017-06
Is this bug a regression?: ---
Last known good build:

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 on GitHub or Developer Community with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
VERIFIED FIXED

Description Alexander Köplinger [MSFT] 2017-06-12 21:39:18 UTC
This happened twice on ARM64 now since we enabled the System.Numerics xunit tests from corefx (didn't try reproing on the bots yet):

https://jenkins.mono-project.com/job/test-mono-mainline-linux/label=debian-8-arm64/2469/
https://jenkins.mono-project.com/job/test-mono-mainline-linux/label=debian-8-arm64/2467

> xUnit.net Console Runner (64-bit .NET 4.0.30319.42000)
>   Discovering: net_4_x_System.Numerics_xunit-test
>   Discovered:  net_4_x_System.Numerics_xunit-test
>   Starting:    net_4_x_System.Numerics_xunit-test
>   Finished:    net_4_x_System.Numerics_xunit-test
> === TEST EXECUTION SUMMARY ===
>    net_4_x_System.Numerics_xunit-test  Total: 1390, Errors: 0, Failed: 0, Skipped: 0, Time: 102.897s
> * Assertion at mini-arm64.c:878, condition `ji' not met
> 
> Stacktrace:
> 
>   at <unknown> <0xffffffff>
>   at (wrapper dynamic-method) object.Root (System.Xml.Xsl.Runtime.XmlQueryRuntime) [0x00019] in <418a9fa6eb4b497ca18c8b0f631cad66>:0
>   at (wrapper dynamic-method) object.Execute (System.Xml.Xsl.Runtime.XmlQueryRuntime) [0x00001] in <418a9fa6eb4b497ca18c8b0f631cad66>:0
>   at System.Xml.Xsl.XmlILCommand.Execute (object,System.Xml.XmlResolver,System.Xml.Xsl.XsltArgumentList,System.Xml.Xsl.Runtime.XmlSequenceWriter) [0x0000a] in /media/ssd/jenkins/workspace/test-mono-mainline-linux/label/debian-8-arm64/mcs/class/referencesource/System.Data.SqlXml/System/Xml/Xsl/XmlILCommand.cs:212
>   at System.Xml.Xsl.XmlILCommand.Execute (object,System.Xml.XmlResolver,System.Xml.Xsl.XsltArgumentList,System.Xml.XmlWriter) [0x00056] in /media/ssd/jenkins/workspace/test-mono-mainline-linux/label/debian-8-arm64/mcs/class/referencesource/System.Data.SqlXml/System/Xml/Xsl/XmlILCommand.cs:192
>   at System.Xml.Xsl.XslCompiledTransform.Transform (System.Xml.XmlReader,System.Xml.Xsl.XsltArgumentList,System.Xml.XmlWriter,System.Xml.XmlResolver) [0x0000d] in /media/ssd/jenkins/workspace/test-mono-mainline-linux/label/debian-8-arm64/mcs/class/referencesource/System.Xml/System/Xml/Xslt/XslCompiledTransform.cs:469
>   at System.Xml.Xsl.XslCompiledTransform.Transform (System.Xml.XmlReader,System.Xml.XmlWriter) [0x00007] in /media/ssd/jenkins/workspace/test-mono-mainline-linux/label/debian-8-arm64/mcs/class/referencesource/System.Xml/System/Xml/Xslt/XslCompiledTransform.cs:365
>   at Xunit.ConsoleClient.TransformFactory.Handler_XslTransform (string,System.Xml.Linq.XElement,string) [0x0003d] in <19f39e80394d4fb9a2a6d0096d947c8d>:0
>   at Xunit.ConsoleClient.TransformFactory/<>c__DisplayClass2_1.<.ctor>b__1 (System.Xml.Linq.XElement,string) [0x00008] in <19f39e80394d4fb9a2a6d0096d947c8d>:0
>   at Xunit.ConsoleClient.TransformFactory/<>c__DisplayClass5_0.<GetXmlTransformers>b__1 (System.Xml.Linq.XElement) [0x0002b] in <19f39e80394d4fb9a2a6d0096d947c8d>:0
>   at Xunit.ConsoleClient.Program/<>c__DisplayClass10_0.<RunProject>b__5 (System.Action`1<System.Xml.Linq.XElement>) [0x00007] in <19f39e80394d4fb9a2a6d0096d947c8d>:0
>   at System.Collections.Generic.List`1<T_REF>.ForEach (System.Action`1<T_REF>) [0x00024] in <418a9fa6eb4b497ca18c8b0f631cad66>:0
>   at Xunit.ConsoleClient.Program.RunProject (Xunit.XunitProject,bool,System.Nullable`1<bool>,System.Nullable`1<bool>,System.Nullable`1<int>,bool,bool,bool,bool) [0x002ae] in <19f39e80394d4fb9a2a6d0096d947c8d>:0
>   at Xunit.ConsoleClient.Program.Main (string[]) [0x0014f] in <19f39e80394d4fb9a2a6d0096d947c8d>:0
>   at (wrapper runtime-invoke) <Module>.runtime_invoke_int_object (object,intptr,intptr,intptr) [0x00057] in <19f39e80394d4fb9a2a6d0096d947c8d>:0
Comment 1 Zoltan Varga 2017-06-13 19:58:17 UTC
https://github.com/mono/mono/pull/5026
Comment 2 Zoltan Varga 2017-06-15 01:57:08 UTC
Fixed in mono master e600333511d74d2c0dc20315859f7e2f33a3a1db.
Comment 3 Prasad Raghorte 2017-07-18 12:15:57 UTC
@Alexander
Hi Alexander, Can you please provide us exact steps to reproduce this issue for verification.
From the description you have provided its a lil hard to understand what exactly to be done to reproduce this issue.
Comment 4 Alexander Köplinger [MSFT] 2017-07-18 14:26:54 UTC
@Prasad the steps would be running "make run-xunit-test" in mcs/class/System.Numerics on an ARM64 machine, but since the failure was random and didn't occur all the time it might be hard for you to repro locally.

We haven't seen it on Jenkins anymore since Zoltan's fix so I'm marking it as verified. Thanks!
Comment 5 kkurz 2017-07-28 19:06:47 UTC
*** Bug 58345 has been marked as a duplicate of this bug. ***