vinhkhuc / JFastText

Java interface for fastText

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

JVM crash in DeallocatorReference::clear method

sveselev opened this issue · comments

Stack trace:

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007fcc0b988512, pid=26585, tid=0x00007fcb5e870700
#
# JRE version: Java(TM) SE Runtime Environment (8.0_111-b14) (build 1.8.0_111-b14)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.111-b14 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C  [libc.so.6+0x84512]  cfree+0x22
#
# 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:
# /home/prod/ch/hs_err_pid26585.log
Compiled method (c1)  242883 15227       2       org.bytedeco.javacpp.Pointer$DeallocatorReference::clear (60 bytes)
 total in heap  [0x00007fcbf7193c90,0x00007fcbf71945b0] = 2336
 relocation     [0x00007fcbf7193db8,0x00007fcbf7193e48] = 144
 main code      [0x00007fcbf7193e60,0x00007fcbf71941e0] = 896
 stub code      [0x00007fcbf71941e0,0x00007fcbf71942d8] = 248
 oops           [0x00007fcbf71942d8,0x00007fcbf71942f0] = 24
 metadata       [0x00007fcbf71942f0,0x00007fcbf7194360] = 112
 scopes data    [0x00007fcbf7194360,0x00007fcbf7194490] = 304
 scopes pcs     [0x00007fcbf7194490,0x00007fcbf7194580] = 240
 dependencies   [0x00007fcbf7194580,0x00007fcbf71945a0] = 32
 nul chk table  [0x00007fcbf71945a0,0x00007fcbf71945b0] = 16
#
# 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.
#

hs_err_pid26585.log is attached.

This never happens after updating fastText cpp code to the latest version. Is there any chance to update fastText or at least merge PR #22? Thank you.

You may check my branch https://github.com/lidalei/JFastText. Unfortunately, I have not (cannot) pushed it to maven repository.