Skip to content

Intermittent SIGSEGV in RocksDB jnilib #268

@agarman

Description

@agarman

Expected behavior

mvn test completes successfully in about 10-15 minutes.

Actual behavior

The JVM blew up:

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x000000014afb3b80, pid=77149, tid=0x0000000000059b0b
#
# JRE version: Java(TM) SE Runtime Environment (8.0_121-b13) (build 1.8.0_121-b13)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.121-b13 mixed mode bsd-amd64 compressed oops)
# Problematic frame:
# C  [librocksdbjni2577203176943896148.jnilib+0x10b80]  Java_org_rocksdb_RocksDB_getLongProperty__JLjava_lang_String_2I+0x50
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /Users/agarman/src/pulsar/pulsar-broker/hs_err_pid77149.log
2017-03-01 22:40:03,065 - INFO  - [main:TestListener@29] - %%%%%%%%%%%% Before configuration - com.yahoo.pulsar.broker.loadbalance.LoadBalancerTest / setup -- attrs: []
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
/bin/sh: line 1: 77149 Abort trap: 6           /Library/Java/JavaVirtualMachines/jdk1.8.0_121.jdk/Contents/Home/jre/bin/java -Xmx2G -XX:MaxDirectMemorySize=8G -Dio.netty.leakDetectionLevel=advanced -jar /Users/agarman/src/pulsar/pulsar-broker/target/surefire/surefirebooter1269992674620327305.jar /Users/agarman/src/pulsar/pulsar-broker/target/surefire/surefire2614902326644746145tmp /Users/agarman/src/pulsar/pulsar-broker/target/surefire/surefire_7380098213255121419tmp

Steps to reproduce

Intermittent error.

System configuration

Pulsar version: 17630b9

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions