Open yyl opened 6 years ago
I'm thinking we should try to repro this in a small C project to eliminate any possibility that our JNI bindings are to blame.
@iantabolt I will still try to repo it as mentioned if necessary, but actually just realized the log says The crash happened outside the Java Virtual Machine in native code.
, would that eliminate the possibility of issue being inside JNI?
You need a mutex in your client code because of #34 , could that be the problem?
Hi!
I run a piece of code fine under mac, but failed in linux, thinking it might be some platform-specific issue.
My country is US
Here's how I'm using libpostal
I use it thru jpostal:
JPostalUtils
looks like thisHere's what I did
I run the code above in a unit test.
Here's what I got
The unit test runs fine on mac. However, it throws core dump on linux (centOS):
Here's what I was expecting
On linux unit test should also run fine.
Notes
The jpostal is our own customized version forked here: https://github.com/foursquare/jpostal. Since we were able to run it on mac, also according to the log of core dump, it looks like it's because function
soft_tfidf_similarity_with_phrases_and_acronyms
has issue running in linux environment