{"action":"created","issue":{"url":"https://api.github.com/repos/arton/rjb/issues/54","repository_url":"https://api.github.com/repos/arton/rjb","labels_url":"https://api.github.com/repos/arton/rjb/issues/54/labels{/name}","comments_url":"https://api.github.com/repos/arton/rjb/issues/54/comments","events_url":"https://api.github.com/repos/arton/rjb/issues/54/events","html_url":"https://github.com/arton/rjb/issues/54","id":189331333,"number":54,"title":"Rjb Segmentation fault at 0x00000000000000","user":{"login":"chinshr","id":29537,"avatar_url":"https://avatars.githubusercontent.com/u/29537?v=3","gravatar_id":"","url":"https://api.github.com/users/chinshr","html_url":"https://github.com/chinshr","followers_url":"https://api.github.com/users/chinshr/followers","following_url":"https://api.github.com/users/chinshr/following{/other_user}","gists_url":"https://api.github.com/users/chinshr/gists{/gist_id}","starred_url":"https://api.github.com/users/chinshr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chinshr/subscriptions","organizations_url":"https://api.github.com/users/chinshr/orgs","repos_url":"https://api.github.com/users/chinshr/repos","events_url":"https://api.github.com/users/chinshr/events{/privacy}","received_events_url":"https://api.github.com/users/chinshr/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-11-15T08:43:52Z","updated_at":"2016-11-16T14:13:17Z","closed_at":"2016-11-15T15:38:45Z","body":"When I run celluloid and Rjb (in [shoryuken](https://github.com/phstc/shoryuken)), I get this [segmentation fault](https://gist.github.com/chinshr/d57e53a8028bc7560cf6d19b73d45ec6), when executing this [line](https://github.com/chinshr/diarize-ruby/blob/master/lib/diarize/audio.rb#L37). It works fine when I run form console.\r\n\r\n```ruby\r\n  parameter = Rjb::import('fr.lium.spkDiarization.parameter.Parameter').new\r\n```\r\n\r\nNote: Problem could be related to [this](https://github.com/arton/rjb/issues/32) and [this](https://github.com/arton/rjb/issues/24) and [stackoverflow question](http://stackoverflow.com/questions/26650068/how-to-use-ruby-java-bridge-with-threads-sidekiq). Works fine on MacOS X.\r\n\r\nConfiguration:\r\n\r\nUbuntu 14.04\r\nruby-2.2.3 (installed through rvm)\r\nJava version \"1.8.0_111\" ([Java Oracle 8 on Ubuntu 14.04](http://askubuntu.com/questions/464755/how-to-install-openjdk-8-on-14-04-lts))\r\nJAVA_HOME=`/usr/lib/jvm/java-8-oracle/`\r\nRjb 1.5.5 \r\n"},"comment":{"url":"https://api.github.com/repos/arton/rjb/issues/comments/260956501","html_url":"https://github.com/arton/rjb/issues/54#issuecomment-260956501","issue_url":"https://api.github.com/repos/arton/rjb/issues/54","id":260956501,"user":{"login":"arton","id":10583,"avatar_url":"https://avatars.githubusercontent.com/u/10583?v=3","gravatar_id":"","url":"https://api.github.com/users/arton","html_url":"https://github.com/arton","followers_url":"https://api.github.com/users/arton/followers","following_url":"https://api.github.com/users/arton/following{/other_user}","gists_url":"https://api.github.com/users/arton/gists{/gist_id}","starred_url":"https://api.github.com/users/arton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arton/subscriptions","organizations_url":"https://api.github.com/users/arton/orgs","repos_url":"https://api.github.com/users/arton/repos","events_url":"https://api.github.com/users/arton/events{/privacy}","received_events_url":"https://api.github.com/users/arton/received_events","type":"User","site_admin":false},"created_at":"2016-11-16T14:13:17Z","updated_at":"2016-11-16T14:13:17Z","body":"It's no problem because dRuby is pure ruby solution. No outer dependency is used like Rjb.\r\nThe server side of dRuby listens TCP connection in the ruby thread. Once it accepted a client request, it created service thread using ruby's Thread method (means in Ruby context)."}}
{"actor":{"display_login":"arton"}}