alexandrnikitin / bloom-filter-scala

Bloom filter for Scala, the fastest for JVM
https://alexandrnikitin.github.io/blog/bloom-filter-for-scala/
MIT License
376 stars 57 forks source link

SIGSEGV Error in a Web Application #55

Open joesan opened 3 years ago

joesan commented 3 years ago

I'm trying to use the filter for one of my projects which is a web application built using the Play framework. As I tried to insert elements into the filter, I got this error:

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007fd90fd1f9ee, pid=330518, tid=330806
#
# JRE version: OpenJDK Runtime Environment (11.0.10+9) (build 11.0.10+9-Ubuntu-0ubuntu1.20.04)
# Java VM: OpenJDK 64-Bit Server VM (11.0.10+9-Ubuntu-0ubuntu1.20.04, mixed mode, sharing, tiered, compressed oops, g1 gc, linux-amd64)
# Problematic frame:
# V  [libjvm.so+0xdd59ee]
#
# Core dump will be written. Default location: Core dumps may be processed with "/usr/share/apport/apport %p %s %c %d %P %E" (or dumping to /home/joesan/Projects/Private/scala-projects/yoke/core.330518)
#
# An error report file with more information is saved as:
# /home/joesan/Projects/Private/scala-projects/yoke/hs_err_pid330518.log
#
# If you would like to submit a bug report, please visit:
#   https://bugs.launchpad.net/ubuntu/+source/openjdk-lts
#
Aborted (core dumped)
[hs_err_pid330518.log](https://github.com/alexandrnikitin/bloom-filter-scala/files/6262164/hs_err_pid330518.log)

Please see the attached file for the detailed error. I'm using the following JDK:

joesan@joesan-InfinityBook-S-14-v5:~/Projects/Private/scala-projects/yoke$ java -version
openjdk version "11.0.10" 2021-01-19
OpenJDK Runtime Environment (build 11.0.10+9-Ubuntu-0ubuntu1.20.04)
OpenJDK 64-Bit Server VM (build 11.0.10+9-Ubuntu-0ubuntu1.20.04, mixed mode, sharing)

hs_err_pid330518.log

joesan commented 3 years ago

I'm getting the same error with the Oracle JDK as well:

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007f62305e1b65, pid=334804, tid=334887
#
# JRE version: Java(TM) SE Runtime Environment 18.9 (11.0.10+8) (build 11.0.10+8-LTS-162)
# Java VM: Java HotSpot(TM) 64-Bit Server VM 18.9 (11.0.10+8-LTS-162, mixed mode, tiered, compressed oops, g1 gc, linux-amd64)
# Problematic frame:
# C  [libc.so.6+0x99b65]
#
# Core dump will be written. Default location: Core dumps may be processed with "/usr/share/apport/apport %p %s %c %d %P %E" (or dumping to /home/joesan/Projects/Private/scala-projects/yoke/core.334804)
#
# An error report file with more information is saved as:
# /home/joesan/Projects/Private/scala-projects/yoke/hs_err_pid334804.log
#
# If you would like to submit a bug report, please visit:
#   https://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.
#
Aborted (core dumped)