{"action":"opened","issue":{"url":"https://api.github.com/repos/drrb/java-rust-example/issues/5","repository_url":"https://api.github.com/repos/drrb/java-rust-example","labels_url":"https://api.github.com/repos/drrb/java-rust-example/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/drrb/java-rust-example/issues/5/comments","events_url":"https://api.github.com/repos/drrb/java-rust-example/issues/5/events","html_url":"https://github.com/drrb/java-rust-example/issues/5","id":161026484,"number":5,"title":"JVM crash","user":{"login":"yanns","id":51669,"avatar_url":"https://avatars.githubusercontent.com/u/51669?v=3","gravatar_id":"","url":"https://api.github.com/users/yanns","html_url":"https://github.com/yanns","followers_url":"https://api.github.com/users/yanns/followers","following_url":"https://api.github.com/users/yanns/following{/other_user}","gists_url":"https://api.github.com/users/yanns/gists{/gist_id}","starred_url":"https://api.github.com/users/yanns/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yanns/subscriptions","organizations_url":"https://api.github.com/users/yanns/orgs","repos_url":"https://api.github.com/users/yanns/repos","events_url":"https://api.github.com/users/yanns/events{/privacy}","received_events_url":"https://api.github.com/users/yanns/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-06-18T14:13:51Z","updated_at":"2016-06-18T14:13:51Z","closed_at":null,"body":"Hi,\r\n\r\nfirst of all, thanks for your project!\r\n\r\nI just tried it on mac, and the JVM crash:\r\n```\r\n-------------------------------------------------------\r\n T E S T S\r\n-------------------------------------------------------\r\nRunning com.github.drrb.javarust.GreetingsTest\r\nStarting shouldGetAStructFromRustByValue(com.github.drrb.javarust.GreetingsTest)\r\nStarting shouldAcceptStringParameterFromJavaToRust(com.github.drrb.javarust.GreetingsTest)\r\nSUREFIRE-859: Hello from Rust, World\r\nStarting shouldGetAStructFromRustByReference(com.github.drrb.javarust.GreetingsTest)\r\nStarting shouldAcceptStringFromJavaToRustAndReturnAnotherOne(com.github.drrb.javarust.GreetingsTest)\r\nStarting shouldAcceptAStructFromJavaToRust(com.github.drrb.javarust.GreetingsTest)\r\nStarting shouldGetAStructFromRustContainingAnArrayOfStructs(com.github.drrb.javarust.GreetingsTest)\r\n#\r\n# A fatal error has been detected by the Java Runtime Environment:\r\n#\r\nSUREFIRE-859: #  SIGSEGV (0xb) at pc=0x00007fff98c60152, pid=6353, tid=0x0000000000001703\r\n#\r\n# JRE version: Java(TM) SE Runtime Environment (8.0_92-b14) (build 1.8.0_92-b14)\r\n# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.92-b14 mixed mode bsd-amd64 compressed oops)\r\n# Problematic frame:\r\n# C  [libsystem_c.dylib+0x1152]  strlen+0x12\r\n#\r\nSUREFIRE-859: # Failed to write core dump. Core dumps have been disabled. To enable core dumping, try \"ulimit -c unlimited\" before starting Java again\r\n#\r\n# An error report file with more information is saved as:\r\n# /Users/yannsimon/projects/rust/java-rust-example/hs_err_pid6353.log\r\n#\r\nSUREFIRE-859: # If you would like to submit a bug report, please visit:\r\n#   http://bugreport.java.com/bugreport/crash.jsp\r\n# The crash happened outside the Java Virtual Machine in native code.\r\n# See problematic frame for where to report the bug.\r\n#\r\n/bin/sh: line 1:  6353 Abort trap: 6           /Library/Java/JavaVirtualMachines/jdk1.8.0_92.jdk/Contents/Home/jre/bin/java -Djna.nosys=true -jar /Users/yannsimon/projects/rust/java-rust-example/target/surefire/surefirebooter3340298246630967947.jar /Users/yannsimon/projects/rust/java-rust-example/target/surefire/surefire2630333911108497694tmp /Users/yannsimon/projects/rust/java-rust-example/target/surefire/surefire_08200565017308027989tmp\r\n\r\nResults :\r\n\r\nTests run: 0, Failures: 0, Errors: 0, Skipped: 0\r\n\r\n[INFO] ------------------------------------------------------------------------\r\n[INFO] BUILD FAILURE\r\n[INFO] ------------------------------------------------------------------------\r\n[INFO] Total time: 2.787 s\r\n[INFO] Finished at: 2016-06-18T16:11:30+02:00\r\n[INFO] Final Memory: 17M/211M\r\n[INFO] ------------------------------------------------------------------------\r\n[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.18.1:test (default-test) on project java-rust-example: ExecutionException: java.lang.RuntimeException: The forked VM terminated without properly saying goodbye. VM crash or System.exit called?\r\n[ERROR] Command was /bin/sh -c cd /Users/yannsimon/projects/rust/java-rust-example && /Library/Java/JavaVirtualMachines/jdk1.8.0_92.jdk/Contents/Home/jre/bin/java -Djna.nosys=true -jar /Users/yannsimon/projects/rust/java-rust-example/target/surefire/surefirebooter3340298246630967947.jar /Users/yannsimon/projects/rust/java-rust-example/target/surefire/surefire2630333911108497694tmp /Users/yannsimon/projects/rust/java-rust-example/target/surefire/surefire_08200565017308027989tmp\r\n[ERROR] -> [Help 1]\r\n[ERROR]\r\n[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.\r\n[ERROR] Re-run Maven using the -X switch to enable full debug logging.\r\n[ERROR]\r\n[ERROR] For more information about the errors and possible solutions, please read the following articles:\r\n[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException\r\n```\r\n\r\nIf I can help debugging the issue, please just tell me what you need."}}
{"actor":{"display_login":"yanns"}}