[Mono-dev] Crashes In Mini-Runtime on Ubuntu 14.04

Douglas Roffel droffel at commvault.com
Thu Sep 3 20:26:46 UTC 2015


According to that bug tracker, the issue was fixed in 3.13.0-54.91 for Trusty. My kernel version is 3.13.0-62-generic, which is newer than that.

From: Jerod Venema [mailto:jerod.venema at frozenmountain.com]
Sent: Thursday, September 03, 2015 12:58 PM
To: Douglas Roffel
Cc: mono-devel-list at lists.ximian.com
Subject: Re: [Mono-dev] Crashes In Mini-Runtime on Ubuntu 14.04

This bug: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1450584

On Thu, Sep 3, 2015 at 3:51 PM, Douglas Roffel <droffel at commvault.com<mailto:droffel at commvault.com>> wrote:
I forgot to paste the backtrace, sorry about that: http://pastebin.com/raw.php?i=ULAcFYq1

From: Douglas Roffel
Sent: Thursday, September 03, 2015 12:48 PM
To: 'mono-devel-list at lists.ximian.com<mailto:mono-devel-list at lists.ximian.com>'
Subject: Crashes In Mini-Runtime on Ubuntu 14.04

Hey Mono-Dev,

I’ve recently been trying to debug a crash in the Mini-Runtime, and I’m unsure of where to look. The cause of the crash is a failed mono_domain_get (), which returns a null pointer at mini-runtime.c:2101
MonoDomain *domain = mono_domain_get ();

This causes a segfault at mini-runtime.c:2110
domain_info = domain_jit_info (domain);

Calling mono_domain_get after the segfault returns a valid appdomain, and this function is executed hundreds of times before segfaulting, so the appdomain has definitely been initialized properly.

Here is a backtrace of the state of all threads directly before the crash, the segfault occurs in thread 9.

I apparently don’t have the latest version of mini-runtime, so my line numbers are slightly off from master (I’m running Mono 4.3.0, pulled and compiled on august 18th, for reference). The line numbers I’m referencing are in the official repo at:
                https://github.com/mono/mono/blob/master/mono/mini/mini-runtime.c#L2097
                https://github.com/mono/mono/blob/master/mono/mini/mini-runtime.c#L2106


Any direction would be appreciated,


-          Douglas Roffel



***************************Legal Disclaimer***************************

"This communication may contain confidential and privileged material for the

sole use of the intended recipient. Any unauthorized review, use or distribution

by others is strictly prohibited. If you have received the message by mistake,

please advise the sender by reply email and delete the message. Thank you."

**********************************************************************

_______________________________________________
Mono-devel-list mailing list
Mono-devel-list at lists.ximian.com<mailto:Mono-devel-list at lists.ximian.com>
http://lists.ximian.com/mailman/listinfo/mono-devel-list



--
Jerod Venema

Frozen Mountain Software
919-300-5141 (United States)
604-227-2453 (Canada)
888-379-6686 (Toll Free)
www.frozenmountain.com<http://www.frozenmountain.com>



***************************Legal Disclaimer***************************
"This communication may contain confidential and privileged material for the
sole use of the intended recipient. Any unauthorized review, use or distribution
by others is strictly prohibited. If you have received the message by mistake,
please advise the sender by reply email and delete the message. Thank you."
**********************************************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-devel-list/attachments/20150903/3557e886/attachment.html>


More information about the Mono-devel-list mailing list