vinhkhuc / JFastText

Java interface for fastText
Other
228 stars 100 forks source link

JVM crashed when load model on Ubuntu #47

Open nirzohar opened 5 years ago

nirzohar commented 5 years ago

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

elliotvilhelm commented 4 years ago

me too!

avaz commented 3 years ago

Anyone has found a fix for this?