https://bugs.freedesktop.org/show_bug.cgi?id=58417
Ewgenij Starostin <bugs.freedesktop....@ewgenij-starostin.name> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bugs.freedesktop.org@ewgeni | |j-starostin.name --- Comment #19 from Ewgenij Starostin <bugs.freedesktop....@ewgenij-starostin.name> --- I’m also having this issue. It’s caused by the presence of the file /usr/share/hunspell/de_DE_frami.dic (and similarly named ones) on my system. Here’s what happens: in lingucomponent/source/lingutil/lingutil.cxx, GetOldStyleDics("DICT") attempts to load dictionaries from /usr/share/hunspell. It tries to sort them by language, using the LanguageTag class and its liblangtag backend. It also tries to be smart and turn the first '_' character of the dictionary filename into '-' if no '-' was present, in the hope of obtaining a locale string from which LanguageTag can derive a language identifier. In my case, however, this yields "de-DE_frami", which is not a valid locale. LanguageTag passes it to liblangtag, which tries to construct an error message ("Invalid character for tag: '%c'", '_') but segfaults in the process. I have not attempted to find out why liblangtag’s error handling fails, but at the core of the issue is the GetOldStyleDics code. Easy fix: after replacing the first '_' by '-' (if no '-' was present), if another '_' remains, delete it and any trailing text. I don’t have the hardware to compile and test a patch, unfortunately. By way of verification, I tried ‘mv /usr/share/hunspell /usr/share/hunspell-bck’ and LO started normally. When I moved the directory back, the crash occured again. -- You are receiving this mail because: You are the assignee for the bug.
_______________________________________________ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs