Apache OpenOffice (AOO) Bugzilla – Issue 83284
cws gfbfcg has problems with various locales (ar_*, hi_IN, he_IL, ...)
Last modified: 2008-06-19 16:26:28 UTC
[ found in OOG680_m8 ] Issue 82962 merged a (finally doing something! yay!) arabic localisation into for 2.3.1 (OOG680_m8). Unfortunately it seems to have broken ar_* support completely (at least on my self-built m8 on x86_64, I can't cross-check with Suns i386 or Pavels packages as they're not available for ar...) In 2.3.0, when you start OOo using LANG set to ar_SY (or ar_EG, ar_SA etc, doesn't matter) it starts but of course is not localized in arabic. In m8, if you start it with ar_* as locale you get "parts" of the crash recovery dialogue (in arabic, see first to-be-attached screenshot), even with a clean profile. It even happens *without* the arabic language pack installed, in which case you *still* get that dialogue (of course this time in english). The interesting this is that there's nothing to recover here and OOo starts fine with LANG="en_US" or LANG="de_DE.UTF-8". Regards, Rene
Created attachment 49398 [details] dialogue in arabic
Created attachment 49399 [details] same dialogue in english OOo without arabic language pack
regression compared to 2.3.0 (ar_* started in 2.3.0) -> 2.3.1?
Hmm, looks like fontconfig is involved (and it actually does crash): Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x2b0cfd946bf0 (LWP 24482)] 0x00002b0cfaa3d55e in FcFontSetSort () from /usr/lib/libfontconfig.so.1 (gdb) bt #0 0x00002b0cfaa3d55e in FcFontSetSort () from /usr/lib/libfontconfig.so.1 #1 0x00002b0cfaa3da86 in FcFontSort () from /usr/lib/libfontconfig.so.1 Will try a clean OOG680_m8 build (without and with cws-gfbfcg) Taking target out for now unless determined what's the exact cause.
FWIW: ~$ dpkg -l libfontconfig1 Gewünscht=Unbekannt/Installieren/R=Entfernen/P=Säubern/Halten | Status=Nicht/Installiert/Config/U=Entpackt/Fehlgeschl. Konf./Halb install. |/ Fehler?=(kein)/Halten/R=Neuinst notw/X=beide (Status, Fehler: GROSS=schlecht) ||/ Name Version Beschreibung +++-==============-==============-============================================ ii libfontconfig1 2.4.91-1 generic font configuration library - runtime
OK, more info here: Debians 2.3.0-4 works, I merged the ar locale using the file from Issue 82962 in -4.5 (together with substituing our current fontconfig patches wwith cws-gfbfcfgs version) and it crashes again. It works with a clean OOG680_m8 build and it also "works" with a OOOG680_m8 patched with cws gfbfcfg.. But I get (for ar_SY, not de_DE for example) the following after the splash: rene@frodo:~$ LANG="ar_SY" /opt/openoffice.org2.3/program/soffice No fonts found; this probably means that the fontconfig library is not correctly configured. You may need to edit the fonts.conf configuration file. More information about fontconfig can be found in the fontconfig(3) manual page and on http://fontconfig.org (doesn't even change after I installed ttf-arabeyes..) And after reverting the exchange of fontconfig-subsitute.diff though cws-gfbfcg.diff in ooo-build and rebuilt my ooo-build, it started, too. (and then I saw Issue 83301...) hdu: can it be a problem with cws gfbfcfg?
hdu: same problem exists with e.g. he_IL, hi_IN, etc: $ LANG="hi_IN" /opt/openoffice.org2.3/program/soffice No fonts found; this probably means that the fontconfig library is not correctly configured. You may need to edit the fonts.conf configuration file. More information about fontconfig can be found in the fontconfig(3) manual page and on http://fontconfig.org (ttf-devanagari-fonts is installed...) And indeed, removing cws-gfbfcfg.diff from ooo-build fixes the crash I experiecned (looks like something which based on fontconfig-substitute.diff needs an update... I reverted the change from now... But cws cfbfcg should work with he_IL, hi_IN, ar_*, and whatever locales are further affected, too..) Changing title and reassigning to hdu
Accepting. Still trying to reproduce it here...
Could reproduce it for LANG=hi_IN SAL_USE_VCLPLUGIN=gtk Root cause was that the result of FcConfigGetFonts() got destroyed. Fixed in CWS gfbfcfg. @es: please verify
reassigning for verification
Adjusting target to CWS.
SBA: Verified in CWS gfbfcfg.
Still OK in DEV300_m17. Closed.