[libvoikko] Strange bug in the interface between hfst-ospell and libvoikko

Sjur Moshagen sjurnm at mac.com
Thu Dec 12 17:32:21 EET 2013


12. des. 2013 kl. 16:16 skrev Sjur Moshagen <sjurnm at mac.com>:

> 12. des. 2013 kl. 15:52 skrev Harri Pitkänen <hatapitk at iki.fi>:
> 
>> On Thursday 12 December 2013 01:57:07 Sjur Moshagen wrote:
>>> Configuration:
>>> * svn HEAD of hfst-ospell
>>> * newest revision of the master branch of libvoikko
>> 
>> I cannot reproduce this bug with this configuration on Linux. Does switching 
>> to different XML parser make any difference?
[...]
> So - while both xml libraries are somewhat broken, tinyxml seems to be more broken.
> 
> This is all tested on MacOSX 10.6.

Here’s the result for MacOSX 10.9:

Using TinyXML2:

$ cd ../sma/
$ voikkospell -l -p tools/spellcheckers/fstbased/hfst/
Segmentation fault: 11

$ cd ../sms/
$ voikkospell -l -p tools/spellcheckers/fstbased/hfst/
libc++abi.dylib: terminating with uncaught exception of type hfst_ol::ZHfstMetaDataParsingError
Abort trap: 6

Using libxml2++:
$ cd ../sms/
$ voikkospell -l -p tools/spellcheckers/fstbased/hfst/
und-x-standard: 
$ cd ../sma/
$ voikkospell -l -p tools/spellcheckers/fstbased/hfst/
und-x-standard: 

Sjur



More information about the Libvoikko mailing list