{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/rocksdb/issues/2351","repository_url":"https://api.github.com/repos/facebook/rocksdb","labels_url":"https://api.github.com/repos/facebook/rocksdb/issues/2351/labels{/name}","comments_url":"https://api.github.com/repos/facebook/rocksdb/issues/2351/comments","events_url":"https://api.github.com/repos/facebook/rocksdb/issues/2351/events","html_url":"https://github.com/facebook/rocksdb/issues/2351","id":230746781,"number":2351,"title":"SIGSEV running Rocksdbjni","user":{"login":"JeremyCoxBMI","id":17282194,"avatar_url":"https://avatars3.githubusercontent.com/u/17282194?v=3","gravatar_id":"","url":"https://api.github.com/users/JeremyCoxBMI","html_url":"https://github.com/JeremyCoxBMI","followers_url":"https://api.github.com/users/JeremyCoxBMI/followers","following_url":"https://api.github.com/users/JeremyCoxBMI/following{/other_user}","gists_url":"https://api.github.com/users/JeremyCoxBMI/gists{/gist_id}","starred_url":"https://api.github.com/users/JeremyCoxBMI/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JeremyCoxBMI/subscriptions","organizations_url":"https://api.github.com/users/JeremyCoxBMI/orgs","repos_url":"https://api.github.com/users/JeremyCoxBMI/repos","events_url":"https://api.github.com/users/JeremyCoxBMI/events{/privacy}","received_events_url":"https://api.github.com/users/JeremyCoxBMI/received_events","type":"User","site_admin":false},"labels":[{"id":309865616,"url":"https://api.github.com/repos/facebook/rocksdb/labels/java-api","name":"java-api","color":"fbca04","default":false}],"state":"open","locked":false,"assignee":{"login":"adamretter","id":1264057,"avatar_url":"https://avatars2.githubusercontent.com/u/1264057?v=3","gravatar_id":"","url":"https://api.github.com/users/adamretter","html_url":"https://github.com/adamretter","followers_url":"https://api.github.com/users/adamretter/followers","following_url":"https://api.github.com/users/adamretter/following{/other_user}","gists_url":"https://api.github.com/users/adamretter/gists{/gist_id}","starred_url":"https://api.github.com/users/adamretter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adamretter/subscriptions","organizations_url":"https://api.github.com/users/adamretter/orgs","repos_url":"https://api.github.com/users/adamretter/repos","events_url":"https://api.github.com/users/adamretter/events{/privacy}","received_events_url":"https://api.github.com/users/adamretter/received_events","type":"User","site_admin":false},"assignees":[{"login":"adamretter","id":1264057,"avatar_url":"https://avatars2.githubusercontent.com/u/1264057?v=3","gravatar_id":"","url":"https://api.github.com/users/adamretter","html_url":"https://github.com/adamretter","followers_url":"https://api.github.com/users/adamretter/followers","following_url":"https://api.github.com/users/adamretter/following{/other_user}","gists_url":"https://api.github.com/users/adamretter/gists{/gist_id}","starred_url":"https://api.github.com/users/adamretter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adamretter/subscriptions","organizations_url":"https://api.github.com/users/adamretter/orgs","repos_url":"https://api.github.com/users/adamretter/repos","events_url":"https://api.github.com/users/adamretter/events{/privacy}","received_events_url":"https://api.github.com/users/adamretter/received_events","type":"User","site_admin":false}],"milestone":null,"comments":3,"created_at":"2017-05-23T15:21:02Z","updated_at":"2017-05-23T19:41:48Z","closed_at":null,"body":"I get a core dump using Rocksdbjni running a program I have successfully run before.  It seems after a Java rebuild of my jar, the problem simply started.  EDIT: I double-checked all my logs; the problem has always existed.\r\n\r\nThe problem seems to be in the rockdb library (per the error message).\r\nI updated to rocksdbjni 5.3.4 from 3.6  and recompiled rocksDB C++ library.  Neither helped.\r\n\r\n\r\nThe put command is the offender causing the crash.  The constructor seems to work fine.\r\n\r\n       try {\r\n                byte[] k = longToBytes(key);\r\n                byte[] v = arrayListLongToBytes(positions);\r\n                if (k!= null && v != null)\r\n                    db.put(k,v);\r\n            } catch (RocksDBException e) {\r\n                e.printStackTrace();\r\n                exit(1);\r\n            }\r\n\r\n[hs_err_pid30334 (copy).log.txt](https://github.com/facebook/rocksdb/files/1022647/hs_err_pid30334.copy.log.txt)\r\n"},"comment":{"url":"https://api.github.com/repos/facebook/rocksdb/issues/comments/303510044","html_url":"https://github.com/facebook/rocksdb/issues/2351#issuecomment-303510044","issue_url":"https://api.github.com/repos/facebook/rocksdb/issues/2351","id":303510044,"user":{"login":"JeremyCoxBMI","id":17282194,"avatar_url":"https://avatars3.githubusercontent.com/u/17282194?v=3","gravatar_id":"","url":"https://api.github.com/users/JeremyCoxBMI","html_url":"https://github.com/JeremyCoxBMI","followers_url":"https://api.github.com/users/JeremyCoxBMI/followers","following_url":"https://api.github.com/users/JeremyCoxBMI/following{/other_user}","gists_url":"https://api.github.com/users/JeremyCoxBMI/gists{/gist_id}","starred_url":"https://api.github.com/users/JeremyCoxBMI/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JeremyCoxBMI/subscriptions","organizations_url":"https://api.github.com/users/JeremyCoxBMI/orgs","repos_url":"https://api.github.com/users/JeremyCoxBMI/repos","events_url":"https://api.github.com/users/JeremyCoxBMI/events{/privacy}","received_events_url":"https://api.github.com/users/JeremyCoxBMI/received_events","type":"User","site_admin":false},"created_at":"2017-05-23T19:41:48Z","updated_at":"2017-05-23T19:41:48Z","body":"I hope I did this correctly.\r\n\r\n$ addr2line -e /data/1/b/tmp/librocksdbjni406370862549213581..so 0xb61ae\r\n/rocksdb/./java/rocksjni/rocksjni.cc:465\r\n\r\n"}}
{"actor":{"display_login":"JeremyCoxBMI"}}