Bug 27697 - Debugger crash: error: * Assertion at ../../../../../mono/mono/mini/debugger-agent.c:2475, condition `tls' not met
Summary: Debugger crash: error: * Assertion at ../../../../../mono/mono/mini/debugger-...
Alias: None
Product: iOS
Classification: Xamarin
Component: Debugger (show other bugs)
Version: master
Hardware: PC Mac OS
: --- normal
Target Milestone: 8.10
Assignee: Zoltan Varga
Depends on:
Reported: 2015-03-05 09:45 UTC by Rolf Bjarne Kvinge [MSFT]
Modified: 2015-03-05 15:04 UTC (History)
2 users (show)

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


Description Rolf Bjarne Kvinge [MSFT] 2015-03-05 09:45:56 UTC
Test case:
* https://github.com/rolfbjarne/TestApp (branch: debugger-crash / hash: 249b57f24e0bc68c0ea2765c7255880c3f017555).

To repro:
* run in simulator (haven't tried on device).


Notification: NSConcreteNotification 0x7ad39a20 {name = _NSThreadDidStartNotification; object = <NSThread: 0x7a829e70>{number = 10, name = (null)}}
error: * Assertion at ../../../../../mono/mono/mini/debugger-agent.c:2475, condition `tls' not met

* It only happens with SGen.
Comment 1 Zoltan Varga 2015-03-05 15:04:20 UTC
Fixed in mono master 53406a1e0c22815315939d1f2b3a38efc9f75ce4/mono-4.0.0-branch ea43208df619e352ec46f3e35d1a8271db2b1b2a.

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.

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

  • Export the original title and description: Developer Community HTML or GitHub Markdown
  • 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

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.

Related Links: