Closed samchugit closed 8 months ago
coredump when build and test sentencepiece 0.1.99 with CXXFLAG -Wp,-D_GLIBCXX_ASSERTIONS
-Wp,-D_GLIBCXX_ASSERTIONS
This is when it crashed.
This is gdb back trace.
I wonder if this line will access out of bounds of the vector. https://github.com/google/sentencepiece/blob/3863f7648e5d8edb571ac592f3ac4f5f0695275a/src/unigram_model_trainer.cc#L236
Thank you for the report. Wil fix it in the next release.
Fixed in v0.2.0
I still face coredump with v0.2.0.
Seems the same place?
@taku910
coredump when build and test sentencepiece 0.1.99 with CXXFLAG
-Wp,-D_GLIBCXX_ASSERTIONS
This is when it crashed.
This is gdb back trace.
I wonder if this line will access out of bounds of the vector. https://github.com/google/sentencepiece/blob/3863f7648e5d8edb571ac592f3ac4f5f0695275a/src/unigram_model_trainer.cc#L236