{"action":"created","issue":{"url":"https://api.github.com/repos/realm/realm-java/issues/1037","labels_url":"https://api.github.com/repos/realm/realm-java/issues/1037/labels{/name}","comments_url":"https://api.github.com/repos/realm/realm-java/issues/1037/comments","events_url":"https://api.github.com/repos/realm/realm-java/issues/1037/events","html_url":"https://github.com/realm/realm-java/issues/1037","id":68869436,"number":1037,"title":"Encrypted Realm database causes memory violation on Samsung S6 (and other ARM64 devices)","user":{"login":"NirpE","id":3623617,"avatar_url":"https://avatars.githubusercontent.com/u/3623617?v=3","gravatar_id":"","url":"https://api.github.com/users/NirpE","html_url":"https://github.com/NirpE","followers_url":"https://api.github.com/users/NirpE/followers","following_url":"https://api.github.com/users/NirpE/following{/other_user}","gists_url":"https://api.github.com/users/NirpE/gists{/gist_id}","starred_url":"https://api.github.com/users/NirpE/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NirpE/subscriptions","organizations_url":"https://api.github.com/users/NirpE/orgs","repos_url":"https://api.github.com/users/NirpE/repos","events_url":"https://api.github.com/users/NirpE/events{/privacy}","received_events_url":"https://api.github.com/users/NirpE/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/realm/realm-java/labels/bug","name":"bug","color":"e11d21"}],"state":"closed","locked":false,"assignee":{"login":"emanuelez","id":473050,"avatar_url":"https://avatars.githubusercontent.com/u/473050?v=3","gravatar_id":"","url":"https://api.github.com/users/emanuelez","html_url":"https://github.com/emanuelez","followers_url":"https://api.github.com/users/emanuelez/followers","following_url":"https://api.github.com/users/emanuelez/following{/other_user}","gists_url":"https://api.github.com/users/emanuelez/gists{/gist_id}","starred_url":"https://api.github.com/users/emanuelez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emanuelez/subscriptions","organizations_url":"https://api.github.com/users/emanuelez/orgs","repos_url":"https://api.github.com/users/emanuelez/repos","events_url":"https://api.github.com/users/emanuelez/events{/privacy}","received_events_url":"https://api.github.com/users/emanuelez/received_events","type":"User","site_admin":false},"milestone":null,"comments":16,"created_at":"2015-04-16T08:09:54Z","updated_at":"2015-07-19T15:31:58Z","closed_at":"2015-05-05T13:52:42Z","body":"With simple code like this running on Samsung S6 Edge, the application just closes, not crashes.\r\n\r\nEdit: Samsung S6 uses Android Lollipop 5.0.2 with TouchWiz\r\n\r\n<code>\r\n\r\n    @Override\r\n    protected void onCreate(Bundle savedInstanceState) {\r\n\r\n        super.onCreate(savedInstanceState);\r\n\r\n        setContentView(R.layout.activity_main);\r\n\r\n        final String dbName = \"realm_crash\";\r\n        final String key = \"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\";\r\n\r\n        Realm.deleteRealmFile(this, dbName);\r\n        Realm r = Realm.getInstance(this, dbName, key.getBytes());\r\n        r.close();\r\n    }\r\n</code>\r\n\r\n4971-4971/? E/audit﹕ type=1701 msg=audit(1429171517.861:222): auid=4294967295 uid=10192 gid=10192 ses=4294967295 subj=u:r:untrusted_app:s0 pid=16358 comm=\"om.test.testing\" reason=\"memory violation\" sig=11\r\n\r\nForce removing ActivityRecord{334a375a u0 com.test.testing/.MainActivity t141}: app died, no saved state"},"comment":{"url":"https://api.github.com/repos/realm/realm-java/issues/comments/122671877","html_url":"https://github.com/realm/realm-java/issues/1037#issuecomment-122671877","issue_url":"https://api.github.com/repos/realm/realm-java/issues/1037","id":122671877,"user":{"login":"zwebie","id":1533341,"avatar_url":"https://avatars.githubusercontent.com/u/1533341?v=3","gravatar_id":"","url":"https://api.github.com/users/zwebie","html_url":"https://github.com/zwebie","followers_url":"https://api.github.com/users/zwebie/followers","following_url":"https://api.github.com/users/zwebie/following{/other_user}","gists_url":"https://api.github.com/users/zwebie/gists{/gist_id}","starred_url":"https://api.github.com/users/zwebie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zwebie/subscriptions","organizations_url":"https://api.github.com/users/zwebie/orgs","repos_url":"https://api.github.com/users/zwebie/repos","events_url":"https://api.github.com/users/zwebie/events{/privacy}","received_events_url":"https://api.github.com/users/zwebie/received_events","type":"User","site_admin":false},"created_at":"2015-07-19T15:31:58Z","updated_at":"2015-07-19T15:31:58Z","body":"@emanuelez Can you please elaborate on the bug you found?\r\nI've encountered the same problem."}}