{"action":"created","issue":{"url":"https://api.github.com/repos/realm/realm-java/issues/1333","labels_url":"https://api.github.com/repos/realm/realm-java/issues/1333/labels{/name}","comments_url":"https://api.github.com/repos/realm/realm-java/issues/1333/comments","events_url":"https://api.github.com/repos/realm/realm-java/issues/1333/events","html_url":"https://github.com/realm/realm-java/issues/1333","id":98345472,"number":1333,"title":"deadlock happens on specific device when using encryption example","user":{"login":"tebica","id":1404067,"avatar_url":"https://avatars.githubusercontent.com/u/1404067?v=3","gravatar_id":"","url":"https://api.github.com/users/tebica","html_url":"https://github.com/tebica","followers_url":"https://api.github.com/users/tebica/followers","following_url":"https://api.github.com/users/tebica/following{/other_user}","gists_url":"https://api.github.com/users/tebica/gists{/gist_id}","starred_url":"https://api.github.com/users/tebica/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tebica/subscriptions","organizations_url":"https://api.github.com/users/tebica/orgs","repos_url":"https://api.github.com/users/tebica/repos","events_url":"https://api.github.com/users/tebica/events{/privacy}","received_events_url":"https://api.github.com/users/tebica/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/realm/realm-java/labels/Pending","name":"Pending","color":"ededed"}],"state":"open","locked":false,"assignee":{"login":"nhachicha","id":1793238,"avatar_url":"https://avatars.githubusercontent.com/u/1793238?v=3","gravatar_id":"","url":"https://api.github.com/users/nhachicha","html_url":"https://github.com/nhachicha","followers_url":"https://api.github.com/users/nhachicha/followers","following_url":"https://api.github.com/users/nhachicha/following{/other_user}","gists_url":"https://api.github.com/users/nhachicha/gists{/gist_id}","starred_url":"https://api.github.com/users/nhachicha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nhachicha/subscriptions","organizations_url":"https://api.github.com/users/nhachicha/orgs","repos_url":"https://api.github.com/users/nhachicha/repos","events_url":"https://api.github.com/users/nhachicha/events{/privacy}","received_events_url":"https://api.github.com/users/nhachicha/received_events","type":"User","site_admin":false},"milestone":null,"comments":21,"created_at":"2015-07-31T08:52:46Z","updated_at":"2015-08-11T09:45:24Z","closed_at":null,"body":"one of Korean developer having deadlock issue when using Realm encryption example.\r\n\r\nThey tried our [encryption example](https://github.com/realm/realm-java/blob/master/examples/encryptionExample/src/main/java/io/realm/examples/encryptionexample/EncryptionExampleActivity.java) and  Realm.getInstance() function never returned.\r\n\r\nThis happens only on LG G3 phone with *LG G3(LG-F460S / OS: 4.4.2)*\r\n- They tried Realm v0.81.1 and v0.82 -> Not working\r\n- They tried other LG G3 phone (LG-F460S / OS: 4.4.2) -> Not working\r\n- if they comment **.encryptionKey(key)** line -> working fine\r\n- same phone with OS 5.0.1 -> working fine\r\n- other phones Galaxy Note2(SHV-E250S / OS 4.4.2) & Galaxy S5(SM-G906S / OS 4.4.2) -> working fine\r\n\r\nbelow is the only log that they can see when this issue happening\r\n```\r\n07-30 22:47:03.282 17838-18303/com.kakao.hello D/dalvikvm﹕ Trying to load lib /data/app-lib/com.kakao.hello-1/librealm-jni.so 0x43029850 \r\n07-30 22:47:03.282 17838-18303/com.kakao.hello D/dalvikvm﹕ Added shared lib /data/app-lib/com.kakao.hello-1/librealm-jni.so 0x43029850\r\n```"},"comment":{"url":"https://api.github.com/repos/realm/realm-java/issues/comments/129793251","html_url":"https://github.com/realm/realm-java/issues/1333#issuecomment-129793251","issue_url":"https://api.github.com/repos/realm/realm-java/issues/1333","id":129793251,"user":{"login":"kneth","id":1225363,"avatar_url":"https://avatars.githubusercontent.com/u/1225363?v=3","gravatar_id":"","url":"https://api.github.com/users/kneth","html_url":"https://github.com/kneth","followers_url":"https://api.github.com/users/kneth/followers","following_url":"https://api.github.com/users/kneth/following{/other_user}","gists_url":"https://api.github.com/users/kneth/gists{/gist_id}","starred_url":"https://api.github.com/users/kneth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kneth/subscriptions","organizations_url":"https://api.github.com/users/kneth/orgs","repos_url":"https://api.github.com/users/kneth/repos","events_url":"https://api.github.com/users/kneth/events{/privacy}","received_events_url":"https://api.github.com/users/kneth/received_events","type":"User","site_admin":false},"created_at":"2015-08-11T09:45:24Z","updated_at":"2015-08-11T09:45:24Z","body":"Adding `io.realm.internal.Util.setDebugLevel(5)` before the first call to any Realm method will give you a \"trace\" of the JNI calls. That might tell you where the deadlock is."}}