Menu

#165 Initialization order issues and memory leaks in hfst-ospell

future
pending
nobody
ospell (6)
1
2013-03-19
2013-03-16
No

Using
libvoikko from corevoikko Git, commit 7f3d13d29154bc5ac65c83d8a2bd3055a2e142ed
hfst-ospell library from HFST SVN, revision 3125

Enabling HFST backend breaks compilation of libvoikko with GCC 4.7.2 due to initialization order issues in ospell.h.

After correcting these and running "voikkospell -s" with Komi HFST speller under Valgrind various memory leaks are found.

I will attach a patch to this bug report that fixes both of these issues. No idea if the fixes are completely correct, please check them carefully. At least the Komi speller still seems to work as it worked before and test runs are now Valgrind clean.

1 Attachments

Discussion

  • Flammie Pirinen

    Flammie Pirinen - 2013-03-19
    • labels: --> ospell
    • status: open --> pending
     
  • Flammie Pirinen

    Flammie Pirinen - 2013-03-19

    In SVN, if no regressions are seen will be closed by release.

     
MongoDB Logo MongoDB