JFastText
JFastText copied to clipboard
JVM crashed when load model on Ubuntu
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
me too!
Anyone has found a fix for this?