Bug 49285 - Application crash when connected to Bluetooth Smart device
Summary: Application crash when connected to Bluetooth Smart device
Alias: None
Product: Xamarin.Mac
Classification: Desktop
Component: Runtime ()
Version: 3.0.0 (C9)
Hardware: Macintosh Mac OS
: --- normal
Target Milestone: ---
Assignee: Aaron Bockover [MSFT]
Depends on:
Reported: 2016-12-08 09:00 UTC by Denys
Modified: 2017-01-11 19:12 UTC (History)
5 users (show)

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

HeartRateMonitor crash report (92.32 KB, text/plain)
2016-12-08 09:00 UTC, Denys

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 Denys 2016-12-08 09:00:21 UTC
Created attachment 18820 [details]
HeartRateMonitor crash report

Application occasionally crashes when connected to a Bluetooth smart device (BLE). Can be reproduced in the Xamarin sample - HeartRateMonitor. Steps to reproduce: 
- run the HeartRateMonitor
- connect to BLE device
- leave app work for a long time

Crash report is attached
Comment 1 Aaron Bockover [MSFT] 2017-01-04 23:29:04 UTC
I've done a full pass/overhaul over this sample. The crash should in theory be fixed now, but I was unable to actually reproduce it. Judging from the trace you provided however, I believe I did find the culprit and addressed it.

The PR should merge shortly:


Comment 2 Oleg Demchenko 2017-01-11 19:12:03 UTC
PR with fixes and updates merged to mac-samples/master: