Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
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
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.
I have attached a very simple app that shows this issue.
All the app does is have 1 ConcurrentQueue with 1 thread continually adding to the queue and 3 other threads continually dequeuing items.
The screen is continuously flashing blue to show that the app is still alive
In less than 1 minute the screen will stop flashing and if you press pause on the debugger it can not halt the app.
The larger the byte array length being appended to the queue the quicker the app will die.
I no longer use ConcurrentQueue because of this bug, I just created my own thread safe queue class so I am not waiting on this to be fixed. However the behaviour is very similar to bug https://bugzilla.xamarin.com/show_bug.cgi?id=20360. As that bug uses multiple threads and the fail is the same. Execution is halted, the debugger no longer responds, and no message in the android log. As this one is much more repeatable investigating this issue could shed some light on the other bug (which is stopping my app from being released).
Created attachment 7147 [details]
sample app that shows the bug
I have checked this issue with sample app provided in comment 1 and observed the same behavior mentioned in bug description.
Screencast : http://www.screencast.com/t/gkxm6p5IqW
Output Log : https://gist.github.com/saurabh360/0d3f4e414e4ce75aa61b
Environment Info :
Microsoft Visual Studio Professional 2013
Version 12.0.30501.00 Update 2
Microsoft .NET Framework
Xamarin 188.8.131.52 (d3cf238e3845e930e312b6ec9b4c6c5437c33067)
Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android
Xamarin.Android 184.108.40.206 (b5dc5ce91305e19de51d71a1122c109719c4bc34)
Visual Studio plugin to enable development for Xamarin.Android.
Xamarin.iOS 220.127.116.11 (d3cf238e3845e930e312b6ec9b4c6c5437c33067)
Visual Studio extension to enable development for Xamarin.iOS
No longer occurs with the current Xamarin.Android. Tested with monodroid/master, commit ab8f5949bf6f54ce79266ca54fe94045710c0fe6