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 ()
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:

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 Developer Community or GitHub 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:

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.