{"action":"created","issue":{"url":"https://api.github.com/repos/couchbase/couchbase-lite-net/issues/871","repository_url":"https://api.github.com/repos/couchbase/couchbase-lite-net","labels_url":"https://api.github.com/repos/couchbase/couchbase-lite-net/issues/871/labels{/name}","comments_url":"https://api.github.com/repos/couchbase/couchbase-lite-net/issues/871/comments","events_url":"https://api.github.com/repos/couchbase/couchbase-lite-net/issues/871/events","html_url":"https://github.com/couchbase/couchbase-lite-net/issues/871","id":234662731,"number":871,"title":"UWP:Can not create doc in ARM phone","user":{"login":"mohsens22","id":22152065,"avatar_url":"https://avatars0.githubusercontent.com/u/22152065?v=3","gravatar_id":"","url":"https://api.github.com/users/mohsens22","html_url":"https://github.com/mohsens22","followers_url":"https://api.github.com/users/mohsens22/followers","following_url":"https://api.github.com/users/mohsens22/following{/other_user}","gists_url":"https://api.github.com/users/mohsens22/gists{/gist_id}","starred_url":"https://api.github.com/users/mohsens22/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mohsens22/subscriptions","organizations_url":"https://api.github.com/users/mohsens22/orgs","repos_url":"https://api.github.com/users/mohsens22/repos","events_url":"https://api.github.com/users/mohsens22/events{/privacy}","received_events_url":"https://api.github.com/users/mohsens22/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2017-06-08T21:33:56Z","updated_at":"2017-06-09T12:09:44Z","closed_at":null,"body":"Dear,\r\nI'm using couchbase.lite in UWP project. The thing is that, I can not create doc in an ARM device. I have tested on two devices running build 14393.\r\nNote that it's working properly on PC (tested debug_x86x64@build15063) and emulator(debug_x86@build14393,15063).\r\nThe error code:\r\n```\r\nSystem.AccessViolationException occurred\r\n  HResult=0x80004003\r\n  Message=Attempted to read or write protected memory. This is often an indication that other memory is corrupt.\r\n  Source=<Cannot evaluate the exception source>\r\n  StackTrace:\r\n   at Couchbase.Lite.Internal.Serialization.JsonFLValueWriter.Flush()\r\n   at Couchbase.Lite.Internal.Serialization.DefaultSerializer.Serialize(Object obj)\r\n   at Couchbase.Lite.Document.SaveInto(C4Document** outDoc, Boolean deletion, IDocumentModel model)\r\n   at Couchbase.Lite.Document.<>c__DisplayClass25_0.<Save>b__0()\r\n   at Couchbase.Lite.Database.<>c__DisplayClass68_0.<InBatch>b__0()\r\n   at Couchbase.Lite.Support.ThreadSafety.DoLocked(Action a)\r\n   at Couchbase.Lite.Database.InBatch(Action a)\r\n   at Couchbase.Lite.Document.Save(IConflictResolver resolver, Boolean deletion, IDocumentModel model)\r\n   at Couchbase.Lite.Document.<Save>b__22_0()\r\n   at Couchbase.Lite.Support.ThreadSafety.DoLocked(Action a)\r\n   at Couchbase.Lite.Document.Save()\r\n   at Couchbase.Lite.Database.<>c__DisplayClass71_0.<Save>b__0()\r\n   at Couchbase.Lite.Support.ThreadSafety.DoLocked(Action a)\r\n   at Couchbase.Lite.Database.Save(Document document)\r\n   at Core.Models.DBH.MakeDoc(IDictionary`2 Dic) in C:\\Users\\Mohsen\\Source\\Repos\\Denna\\Denna\\Core\\Models\\DBH.cs:line 32\r\n   at Core.Models.UserModel.<CreateUser>d__0.MoveNext() in C:\\Users\\Mohsen\\Source\\Repos\\Denna\\Denna\\Core\\Models\\UserModel.cs:line 50\r\n   at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start[TStateMachine](TStateMachine& stateMachine)\r\n   at Core.Models.UserModel.CreateUser(String ID, String email, String Name, String Family, String pass)\r\n   at Denna.Views.UnitTests.Button_Click_1(Object sender, RoutedEventArgs e) in C:\\Users\\Mohsen\\Source\\Repos\\Denna\\Denna\\Denna\\Views\\UnitTests.xaml.cs:line 105\r\n\r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/couchbase/couchbase-lite-net/issues/comments/307372086","html_url":"https://github.com/couchbase/couchbase-lite-net/issues/871#issuecomment-307372086","issue_url":"https://api.github.com/repos/couchbase/couchbase-lite-net/issues/871","id":307372086,"user":{"login":"mohsens22","id":22152065,"avatar_url":"https://avatars0.githubusercontent.com/u/22152065?v=3","gravatar_id":"","url":"https://api.github.com/users/mohsens22","html_url":"https://github.com/mohsens22","followers_url":"https://api.github.com/users/mohsens22/followers","following_url":"https://api.github.com/users/mohsens22/following{/other_user}","gists_url":"https://api.github.com/users/mohsens22/gists{/gist_id}","starred_url":"https://api.github.com/users/mohsens22/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mohsens22/subscriptions","organizations_url":"https://api.github.com/users/mohsens22/orgs","repos_url":"https://api.github.com/users/mohsens22/repos","events_url":"https://api.github.com/users/mohsens22/events{/privacy}","received_events_url":"https://api.github.com/users/mohsens22/received_events","type":"User","site_admin":false},"created_at":"2017-06-09T12:09:44Z","updated_at":"2017-06-09T12:09:44Z","body":"The strange thing is it happens on ARM and in DEBUG build !!!!!!\r\nAnd right, (strongly seems) It gets an ARM32 build."}}
{"actor":{"display_login":"mohsens22"}}