I tried the following passing the flag to JNI_CreateJavaVM() call: auto options = std::string{"-XX:+UseMembar -Djava.class.path="} + clspath; ... rv = JNI_CreateJavaVM(jvm, reinterpret_cast<void **>(&env), &args);
rv was -6 from the call. Our unit test, written in C++, the intermittent crash has been happening quite early in our development. So I don't know which JDK version worked. openjdk version "1.8.0_91" OpenJDK Runtime Environment (build 1.8.0_91-8u91-b14-0ubuntu4~16.04.1-b14) OpenJDK 64-Bit Server VM (build 25.91-b14, mixed mode) Development is done inside docker VM. If you clone HBASE-14850 branch of hbase git repo, you would be able to reproduce by running the following commands: hbase-native-client/bin/start-docker.sh for i in `seq 1 10`; do buck test --no-results-cache core:multi-retry-test || break 1; done Thanks -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1710674 Title: Segmentation fault in os::write_memory_serialize_page To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openjdk-8/+bug/1710674/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs