#156 Hunspell segfaults on morphological analysis

open
None
5
2010-09-22
2010-09-22
Imre Farkas
No

This is reopened from: https://sourceforge.net/tracker/index.php?func=detail&aid=3061203&group_id=143754&atid=756395

Unfortunately the issue hasn't been solved yet. We experiencing it on various platforms including mac and linux with both hunspell version 1.2.11 and 1.2.12 and with both magyarispell dictionary: hu_HU_u8_gen and hu_HU_u8_morph. It appears to be totally random: sometimes it is segfaulting, sometimes it doesn't. We could not discover any specifics about it... :(

Discussion

  • I will made a test with Valgrind. Could you copy the Hunspell parameters of your command line? Thanks in advance.

     
    • assigned_to: nobody --> nemethl
     
  • Imre Farkas
    Imre Farkas
    2010-10-04

    Of cource, my command line parameters: hunspell -d hu_HU_u8_gen -m
    Thanks!

     

  • Anonymous
    2010-10-15

    It also segfaults when stemming the word "gyümölcstermeszt". I use hunspell as a library from a c++ code, and I have no idea how could I catch these segfaults. The code first checks the spelling of the token, and attempts to stem it when the spelling is correct - but this is not enough, since the word "gyümölcstermeszt" has correct spelling.
    Do you have any suggestion how could i avoid these segfaults? Thanks in advance.