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 put an
in my Spp
protected async override void OnSleep()
When changing activity on android, the app crashed with a sharing violation on isolated storage file property store forms.tmp
I also had the error when I forced a SavePropertiesAsync().Wait() after changing a two properties beacuase the one save overlapped with another.
Could you please add locking so that no two "SaveProperties" call that occur simultaneously crashes the app.
Stack trace as transmitted to HockeyApp
02-16 16:37:45.076 D/HockeyApp( 2017): System.IO.IOException: Sharing violation on path PropertyStore.forms.tmp
02-16 16:37:45.076 D/HockeyApp( 2017): at System.IO.FileStream..ctor(System.String_path__FileMode_mode__FileAccess_access__FileShare_share__Int32_bufferSize__Boolean_anonymous__FileOptions_options.args:1337)
02-16 16:37:45.076 D/HockeyApp( 2017): at System.IO.FileStream..ctor(System.String_path__FileMode_mode__FileAccess_access__FileShare_share__Int32_bufferSize__Boolean_isAsync__Boolean_anonymous.args:1337)
02-16 16:37:45.076 D/HockeyApp( 2017): at System.IO.IsolatedStorage.IsolatedStorageFileStream..ctor(System.String_path__FileMode_mode__FileAccess_access__FileShare_share__Int32_bufferSize__System.IO.IsolatedStorage.IsolatedStorageFile_isf.args:1337)
02-16 16:37:45.076 D/HockeyApp( 2017): at System.IO.IsolatedStorage.IsolatedStorageFileStream..ctor(System.String_path__FileMode_mode__System.IO.IsolatedStorage.IsolatedStorageFile_isf.args:1337)
02-16 16:37:45.076 D/HockeyApp( 2017): at com.slingboards_lab.daytickler.edStorage.IsolatedStorageFileStream:.ctor(string_System.IO.FileMode_System.IO.IsolatedStorage.IsolatedStorageFile.args:1337)
02-16 16:37:45.076 D/HockeyApp( 2017): at System.IO.IsolatedStorage.IsolatedStorageFile.OpenFile(System.String_path__FileMode_mode.args:1337)
02-16 16:37:45.076 D/HockeyApp( 2017): at com.slingboards_lab.daytickler.edStorage.IsolatedStorageFile:OpenFile(string_System.IO.FileMode.args:1337)
02-16 16:37:45.076 D/HockeyApp( 2017): at com.slingboards_lab.daytickler.Xamarin.Forms.Platform.Android.Deserializer+<>c__DisplayClass2_0.<SerializePropertiesAsync>b__0(.args:1337)
02-16 16:37:45.076 D/HockeyApp( 2017): at System.Threading.Tasks.Task.InnerInvoke(.args:1337)
02-16 16:37:45.076 D/HockeyApp( 2017): at System.Threading.Tasks.Task.Execute(.args:1337)
If this is still occurring for you on the latest stable, can you provide a reproduction? Thank you in advance for any assistance in investigating.
Assigned to you as you were last to request additional info.
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 and attach a project that demonstrates the issue.