Bug 30547 - Xamarin Android doesn't work on blackberry
Summary: Xamarin Android doesn't work on blackberry
Alias: None
Product: Android
Classification: Xamarin
Component: General ()
Version: 5.1
Hardware: PC Windows
: Normal enhancement
Target Milestone: ---
Assignee: Jonathan Pryor
Depends on:
Reported: 2015-05-28 13:02 UTC by Grigory (Playtika)
Modified: 2017-08-23 21:23 UTC (History)
3 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 Grigory (Playtika) 2015-05-28 13:02:01 UTC
System.IO.IOException: Win32 IO returned 997. 
  at System.IO.FileStream.Seek (Int64 offset, SeekOrigin origin)

Some guys install Amazon store on their BB somehow, and install our app and get crash.

I googled, 997 is Win32 error that states that overlapped IO op is in progress. Funny that Android is completely okay with that. And more funny that we see "Win32" on linux OS :)
Comment 1 Grigory (Playtika) 2015-05-28 13:06:16 UTC
Cool thing that BB crashed after passing pretty big part of our init logic, and i hope that differences between BB and android are quite small.

Probably simple Apps even work on BB without issues
Comment 2 Grigory (Playtika) 2015-05-31 07:46:06 UTC
Okay, Seems Amazon Store is preinstalled on BB 10.3+.
This explains huge amount of crashes from BB devices. 

Seems all our crashes happen when reading something from APK file. 

Maybe our reads are not internally serialized with some runtime reads from APK (code prefetch maybe) and this error happes. 

It happens in different places, this means that it is sometihng with thread/io synchronization
Comment 3 Jon Douglas [MSFT] 2017-06-28 18:13:24 UTC
Thank you for taking the time to submit the bug. Please attach a reproduction to the bug by starting with a clean Xamarin.Android project and adding just the code necessary to demonstrate the issue.

Since this is an issue directly with a BB device, we will also need to know what version of Android this BB runs, and the device model in attempts to reproduce.

Thus marking this bug as NEEDINFO until we have a valid means of reproducing.
Comment 4 Cody Beyer (MSFT) 2017-08-23 21:23:20 UTC
Because we have not received a reply to our request for more information we are closing this issue. If you are still encountering this issue, please reopen the ticket with the requested information. Thanks!