{"action":"created","issue":{"url":"https://api.github.com/repos/realm/realm-java/issues/3160","repository_url":"https://api.github.com/repos/realm/realm-java","labels_url":"https://api.github.com/repos/realm/realm-java/issues/3160/labels{/name}","comments_url":"https://api.github.com/repos/realm/realm-java/issues/3160/comments","events_url":"https://api.github.com/repos/realm/realm-java/issues/3160/events","html_url":"https://github.com/realm/realm-java/issues/3160","id":164476800,"number":3160,"title":"Realm .so problem","user":{"login":"GaneshB-Extentia","id":4746233,"avatar_url":"https://avatars.githubusercontent.com/u/4746233?v=3","gravatar_id":"","url":"https://api.github.com/users/GaneshB-Extentia","html_url":"https://github.com/GaneshB-Extentia","followers_url":"https://api.github.com/users/GaneshB-Extentia/followers","following_url":"https://api.github.com/users/GaneshB-Extentia/following{/other_user}","gists_url":"https://api.github.com/users/GaneshB-Extentia/gists{/gist_id}","starred_url":"https://api.github.com/users/GaneshB-Extentia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GaneshB-Extentia/subscriptions","organizations_url":"https://api.github.com/users/GaneshB-Extentia/orgs","repos_url":"https://api.github.com/users/GaneshB-Extentia/repos","events_url":"https://api.github.com/users/GaneshB-Extentia/events{/privacy}","received_events_url":"https://api.github.com/users/GaneshB-Extentia/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/realm/realm-java/labels/S:Waiting%20For%20User","name":"S:Waiting For User","color":"ededed"},{"url":"https://api.github.com/repos/realm/realm-java/labels/T:Help","name":"T:Help","color":"cc317c"}],"state":"open","locked":false,"assignee":{"login":"beeender","id":449296,"avatar_url":"https://avatars.githubusercontent.com/u/449296?v=3","gravatar_id":"","url":"https://api.github.com/users/beeender","html_url":"https://github.com/beeender","followers_url":"https://api.github.com/users/beeender/followers","following_url":"https://api.github.com/users/beeender/following{/other_user}","gists_url":"https://api.github.com/users/beeender/gists{/gist_id}","starred_url":"https://api.github.com/users/beeender/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/beeender/subscriptions","organizations_url":"https://api.github.com/users/beeender/orgs","repos_url":"https://api.github.com/users/beeender/repos","events_url":"https://api.github.com/users/beeender/events{/privacy}","received_events_url":"https://api.github.com/users/beeender/received_events","type":"User","site_admin":false},"assignees":[{"login":"beeender","id":449296,"avatar_url":"https://avatars.githubusercontent.com/u/449296?v=3","gravatar_id":"","url":"https://api.github.com/users/beeender","html_url":"https://github.com/beeender","followers_url":"https://api.github.com/users/beeender/followers","following_url":"https://api.github.com/users/beeender/following{/other_user}","gists_url":"https://api.github.com/users/beeender/gists{/gist_id}","starred_url":"https://api.github.com/users/beeender/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/beeender/subscriptions","organizations_url":"https://api.github.com/users/beeender/orgs","repos_url":"https://api.github.com/users/beeender/repos","events_url":"https://api.github.com/users/beeender/events{/privacy}","received_events_url":"https://api.github.com/users/beeender/received_events","type":"User","site_admin":false}],"milestone":null,"comments":3,"created_at":"2016-07-08T07:48:15Z","updated_at":"2016-07-08T09:18:31Z","closed_at":null,"body":"> **Bugs**: \r\n\r\n   Build fingerprint: 'google/volantis/flounder:6.0.1/MMB29S/2489379:user/release-keys'\r\n  Revision: '0'\r\n  ABI: 'arm64'\r\n  pid: 22511, tid: 22511, name: mycom.myapp >>> com.mycom.myapp <<<\r\n  signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x155c52b8c7e\r\n      x0   0000007f8236dbf0  x1   0000007f8236dc38  x2   00000055ab2bc000  x3   00000055ab5dddb0\r\n      x4   0000000000001012  x5   0000000000000000  x6   00000155c52b8c66  x7   0000000000000000\r\n      x8   00000155c52b8c55  x9   0000000000000000  x10  0000000000000003  x11  0000000000000960\r\n      x12  0000007f8236da70  x13  00000055ab8be8b0  x14  0000000000000000  x15  00000155c52b8c50\r\n      x16  00000155c52b9d20  x17  0000000000000030  x18  0000002ab8a5718a  x19  00000055ab5dcce0\r\n      x20  0000007f8236d000  x21  00000055ab5c6e20  x22  00000055ab5dcce0  x23  0000000000000000\r\n      x24  0000000070548ac8  x25  00000055ab5d81d0  x26  00000055ab5d81e0  x27  0000000012d571c0\r\n      x28  00000000715fd7ca  x29  0000007fddcf8580  x30  00000155c52b8c78\r\n      sp   0000007fddcf8580  pc   0000007f8230670c  pstate 0000000020000000\r\n  backtrace:\r\n      #00 pc 000000000004770c  /system/lib64/libc.so (dlfree+1036)\r\n      #01 pc 00000000000194e8  /system/lib64/libc.so (free+20)\r\n      #02 pc 00000000000754dc  /data/app/com.mycom.myapp-1/lib/arm64/librealm-jni.so\r\n      #03 pc 00000000000503b0  /data/app/com.mycom.myapp-1/lib/arm64/librealm-jni.so (Java_io_realm_internal_SharedGroup_nativeClose+544)\r\n      #04 pc 000000000077b130  /data/app/com.mycom.myapp-1/oat/arm64/base.odex (offset 0x47c000) (void io.realm.internal.SharedGroup.nativeClose(long)+132)\r\n      #05 pc 000000000077c774  /data/app/com.mycom.myapp-1/oat/arm64/base.odex (offset 0x47c000) (void io.realm.internal.SharedGroup.close()+168)\r\n      #06 pc 0000000000752e2c  /data/app/com.mycom.myapp-1/oat/arm64/base.odex (offset 0x47c000) (void io.realm.Realm.close()+848)\r\n      #07 pc 00000000009fff3c  /data/app/com.mycom.myapp-1/oat/arm64/base.odex (offset 0x47c000) (void com.mycom.myapp.training.session.SessionRecorderHandler.stop()+368)\r\n      #08 pc 00000000006d64cc  /data/app/com.mycom.myapp-1/oat/arm64/base.odex (offset 0x47c000) (void com.mycom.myapp.training.service.TrainingService.stop()+464)\r\n      #09 pc 0000000000a001e0  /data/app/com.mycom.myapp-1/oat/arm64/base.odex (offset 0x47c000) (void com.mycom.myapp.training.session.SessionTimerHandler.endSession()+196)\r\n      #10 pc 0000000000a00a6c  /data/app/com.mycom.myapp-1/oat/arm64/base.odex (offset 0x47c000) (void com.mycom.myapp.training.session.SessionTimerHandler.onAttention(com.mycom.myapp.headset.HeadsetMessageAttention)+2000)\r\n      #11 pc 00000000009579b8  /data/app/com.mycom.myapp-1/oat/arm64/base.odex (offset 0x47c000) (void com.mycom.myapp.headset.ListAdapterHeadsetCallback.onAttention(com.mycom.myapp.headset.HeadsetMessageAttention)+268)\r\n      #12 pc 00000000006b7510  /data/app/com.mycom.myapp-1/oat/arm64/base.odex (offset 0x47c000) (void com.mycom.myapp.headset.thinkgear.ThinkGearManager$DeviceHandler.doMessage(android.os.Message)+724)\r\n      #13 pc 00000000006b898c  /data/app/com.mycom.myapp-1/oat/arm64/base.odex (offset 0x47c000) (void com.mycom.myapp.headset.thinkgear.ThinkGearManager$DeviceHandler.handleMessage(android.os.Message)+992)\r\n      #14 pc 00000000731222f4  /data/dalvik-cache/arm64/system@framework@boot.oat (offset 0x1ed8000)\r\n  Tombstone written to: /data/tombstones/tombstone_04\r\n AM write failed: Broken pipe\r\n\r\n####  I have business logic where I am inserting values in table per second for 10-15 mins. Randomly something going wrong with database and it’s not recording values in table (Records default value i.e. Zero). There is not specific logs or exception for this issue. \r\n\r\n#### Code Snippet is as below \r\n\r\nrealm.executeTransaction(new Realm.Transaction() {\r\n    @Override\r\n    public void execute(Realm realm) {\r\n        try {\r\n            MyTable tableA = realm.createObject(MyTable.class);\r\n            tableA.setA(valueA);\r\n            tableA.setB(valueB);\r\n            tableA.setC(valueC);\r\n            tableA.setTimestamp(System.currentTimeMillis());\r\n        } catch (Exception e) {\r\n            e.printStackTrace();\r\n        }\r\n    }\r\n});\r\n\r\n\r\n#### Version of Realm and tooling\r\nRealm version(s):  0.81.1\r\n\r\nAndroid Studio version: 2.1.1\r\n\r\nWhich Android version and device: Android Version 4.0, 4.1, 5.0 & Devices : Nexus 7, Nexus 9, Samsung Tab 1, Samsung Tab 2"},"comment":{"url":"https://api.github.com/repos/realm/realm-java/issues/comments/231314050","html_url":"https://github.com/realm/realm-java/issues/3160#issuecomment-231314050","issue_url":"https://api.github.com/repos/realm/realm-java/issues/3160","id":231314050,"user":{"login":"GaneshB-Extentia","id":4746233,"avatar_url":"https://avatars.githubusercontent.com/u/4746233?v=3","gravatar_id":"","url":"https://api.github.com/users/GaneshB-Extentia","html_url":"https://github.com/GaneshB-Extentia","followers_url":"https://api.github.com/users/GaneshB-Extentia/followers","following_url":"https://api.github.com/users/GaneshB-Extentia/following{/other_user}","gists_url":"https://api.github.com/users/GaneshB-Extentia/gists{/gist_id}","starred_url":"https://api.github.com/users/GaneshB-Extentia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GaneshB-Extentia/subscriptions","organizations_url":"https://api.github.com/users/GaneshB-Extentia/orgs","repos_url":"https://api.github.com/users/GaneshB-Extentia/repos","events_url":"https://api.github.com/users/GaneshB-Extentia/events{/privacy}","received_events_url":"https://api.github.com/users/GaneshB-Extentia/received_events","type":"User","site_admin":false},"created_at":"2016-07-08T09:18:31Z","updated_at":"2016-07-08T09:18:31Z","body":"@beeender The above piece of code randomly writing default value in database instead of actual value and not returning any exception so purposefully I have added code in try..catch block. Is there any solution for this weird bug ? @kneth I am switching to latest realm version 1.1.0 and get back to you about this bug.   "}}
{"actor":{"display_login":"GaneshB-Extentia"}}