Bug 60832 - Mono crashed (SIGSEGV) in desc_alloc
Summary: Mono crashed (SIGSEGV) in desc_alloc
Status: NEW
Alias: None
Product: Runtime
Classification: Mono
Component: GC ()
Version: 5.4 (2017-06)
Hardware: PC Linux
: --- normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2017-11-23 12:04 UTC by Nikita Prianichnikov
Modified: 2017-11-24 11:14 UTC (History)
5 users (show)

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


Attachments
crash_logs (3.07 MB, text/plain)
2017-11-23 12:04 UTC, Nikita Prianichnikov
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 60832 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 Nikita Prianichnikov 2017-11-23 12:04:03 UTC
Created attachment 25815 [details]
crash_logs

Mono crashing in GC code. Please see the attachment for the stacktrace. Unfortunately, this issue is hard to reproduce, because this happens when our program processes bid dataset, about half of a terabyte. SIGSEGV happens when mono eats ~14GB RAM. We tried MONO_GC_PARAMS=max-heap-size=32G - same issue. 
 
OS: Ubuntu 16.04.3 LTS (x64)
Mono version: 5.4.1.6
Comment 1 Ludovic Henry 2017-11-24 01:10:40 UTC
Vlad, the crash is at https://github.com/mono/mono/blob/2017-06/mono/utils/lock-free-alloc.c?utf8=%E2%9C%93#L147, do you think it's possible that `mono_valloc` or `mono_valloc_aligned` return NULL? What more information would you need to diagnose this bug?