Bug 60067 - App Crash/Hang in major_copy_or_mark_object_canonical
Summary: App Crash/Hang in major_copy_or_mark_object_canonical
Alias: None
Product: Runtime
Classification: Mono
Component: GC ()
Version: 5.2 (2017-04)
Hardware: PC Windows
: High normal
Target Milestone: Future Cycle (TBD)
Assignee: Vlad Brezae
Depends on:
Reported: 2017-10-09 18:14 UTC by Yingwei Lin
Modified: 2018-04-12 22:16 UTC (History)
6 users (show)

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

Crash stack (10.39 KB, application/msword)
2017-10-09 18:14 UTC, Yingwei Lin

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 60067 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:

Description Yingwei Lin 2017-10-09 18:14:20 UTC
Created attachment 25229 [details]
Crash stack

App randomly crash/hang in Mono GC code. Please see the attachment for the callstacks. 

To repro, please run the IntegrationTest application(https://xamarinhq.slack.com/files/U33H9E334/F7F6KB0H3/integrationtestapp.app.zip). Select Menubar->Tests->BVTTests->Run 1000x the app will crash(under a debugger) or hang in about than 1 hour.
Comment 1 Rodrigo Kumpera 2017-10-09 22:17:11 UTC
Hey Vlad, can you take a look at this one?
Comment 3 Ludovic Henry 2017-11-08 22:51:39 UTC
Yingwei Lin, how reproducible is this crash on your end? Does it still reproduce with latest Mono 5.8? Are you tied to a specific version of Mono? If we provide you a custom build of Mono with some more logging and checks, could you run the IntegrationTest application with it? Thank you
Comment 4 Yingwei Lin 2017-11-20 23:45:30 UTC
Thanks Ludovic. We will validate this on our end and let you know.
Comment 5 Victor M 2018-04-12 00:28:07 UTC

This crash is reproducible at around 8 - 10 iterations.
It reproduces with Mono 5.10 (and versions prior including 5.8, 5.4).

Xcode 9.2

We would be happy to run a custom build.

Latests version of test application:
Select Menubar->Tests->BVTTests->Run 1000x the app will crash(under a debugger) or hang in about than 1 hour.


Comment 6 Victor M 2018-04-12 22:16:47 UTC
https://xamarinhq.slack.com/files/UA2SRQZHB/FA5U7M61Z/integrationtestapp.app.zip has been uploaded with System Mono rather than Xamarin mono.