JFastText icon indicating copy to clipboard operation
JFastText copied to clipboard

JVM crashed when load model on Ubuntu

Open nirzohar opened this issue 7 years ago • 2 comments

When call JFastText.loadModel the JVM crash. The same code run on MAC with no problem but crash on ubuntu. See logs:

A fatal error has been detected by the Java Runtime Environment:

SIGSEGV (0xb) at pc=0x00007f9cb10c9412, pid=9720, tid=0x00007f9cb1803700

JRE version: Java(TM) SE Runtime Environment (8.0_191-b12) (build 1.8.0_191-b12)

Java VM: Java HotSpot(TM) 64-Bit Server VM (25.191-b12 mixed mode linux-amd64 compressed oops)

Problematic frame:

C [libjniFastTextWrapper.so+0x14412] fasttext::Dictionary::find(std::string const&, unsigned int) const+0x12

Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again

nirzohar avatar Nov 20 '18 10:11 nirzohar

me too!

elliotvilhelm avatar Nov 14 '19 02:11 elliotvilhelm

Anyone has found a fix for this?

avaz avatar Jun 17 '21 11:06 avaz