-
-
Notifications
You must be signed in to change notification settings - Fork 72
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bad error message when using closed dictionary: SIGSEGV - A fatal error has been detected by the Java Runtime Environment #214
Comments
You close the dictionary before using the tokenizer, you should not do that. Basically, the bug is try with resources statement. |
@eiennohito, much appreciated! Thank you for the prompt reply and I can confirm that the issue is resolved. Thank you |
I will keep the issue open so I can fix the error message which should not be like it is now. |
Sounds good, @eiennohito 👍🏼 |
TL;DR: I am getting memory errors:
More Details
I am trying to use one of the prebuilt dictionaries using the http://sudachi.s3-website-ap-northeast-1.amazonaws.com/sudachidict/sudachi-dictionary-20230711-core.zip, together with Sudachi 0.7.3, which I download from Maven Central in a Gradle-based project
That's how I init the Sudachi tokenizer using the canonical file path to the
system_core.dic
that I download. I do not have any customsudachi.json
and I guess the default one is used at runtime, whatever is packaged with Sudachi:I get the error when I simply try to:
This is happening for me both on JDK 11 and 17, and I even tried two different Mac OS laptops. (I am on Mac OS)
The
hs_err_pid47801.log
is attachedhs_err_pid47801.log
The text was updated successfully, but these errors were encountered: