Menu

#58 libhyphen 2.3 crashes with german hyphenation dict

closed
None
5
2008-02-19
2008-02-18
Anonymous
No

Hi Lazlo,

see http://bugs.debian.org/459943. From the discussion at the end of the bug it seems that a OpenOffice.org built against libhyphen 2.3 crashes with the german hyphenation dictionary.

Can you please have a look?

Regards,

Rene

Discussion

  • Németh László

    • assigned_to: nobody --> nemethl
     
  • Németh László

    Logged In: YES
    user_id=726595
    Originator: NO

    The new hyphen version 2.3.1 has fixed the bug of the old API: I have made a Valgrind memcheck on the unmunched OpenOffice 2.3's de_DE dictionary and on other half a million German compound words, and I have found only an unconditional jump bug in the old API function hnj_hyphen_hyphenate() (potential problem for the old (<2.1?) OpenOffice.org versions). This problem in hnj_hyphen_hyphenate2() (used by new OpenOffice.org versions) was fixed for a long ago, so try Caolan's patch, too. Thanks, László

     
  • Németh László

    • status: open --> closed
     
  • Nobody/Anonymous

    Logged In: NO

    Hi,

    tried with hyphen 2.3.1 and it works (OOo actually does use *both* functions). Thanks for the quick fix.

    Didn't yet try the bad structs patch as it doesn't apply cleanly to the hunspell 1.1.9 we still use because of teh ABI breakage and test suite failures in newer versions.

    Regards,

    Rene

     
  • Nobody/Anonymous

    Logged In: NO

    Hmm. Nevermind, it still fails with hyphen 2.3.1 (it just did work by chance here it seems...)

     
  • Németh László

    Logged In: YES
    user_id=726595
    Originator: NO

    > OOo actually does use *both* functions). Thanks for the quick fix.

    It seems, I forgot that I haven't changed all hnj_hyphen_hyphenate() in OOo source to hnj_hyphen_hyphenate2(). ☹ Thanks for the report. ☺

    > Hmm. Nevermind, it still fails with hyphen 2.3.1 (it just did work by
    > chance here it seems...)

    Please, check the shared library dependencies. If it is ok, we will need a Valgrind check for OpenOffice.org, too, because the example program of libhyphen tested by me works fine.
    I think, also Fedora/Red Hat uses libhyphen, maybe really the new/fixed Hunspell is the difference and the solution for the problem. I will release a new Hunspell version next day. I have already got Hunspell fixes for PowerPC platform (https://sourceforge.net/tracker/index.php?func=detail&aid=1882105&group_id=143754&atid=756395).

    Regards,
    László

     
MongoDB Logo MongoDB