I dont think the reason is incompatibility between 2.4.1 and 2.4.2 because
a 'rm -rf ~/.fontconfig/' helps only for one Firefox run, i.e. each time I
run Firefox I have to remove cached fonts, otherwise next run Firefox
crashes again.
I've downloaded fontconfig's source, however, I am having hard time
figuring out how to enable debugging?
For now, here's some output from a run of 'fc-cache' with FC_DEBUG set to
8191 :
tajwan:~/tmp/fontconfig-2.4.2# export FC_DEBUG=8191
tajwan:~/tmp/fontconfig-2.4.2# fc-cache
FC_DEBUG=8191
Loading config file /etc/fonts/fonts.conf
Add Subst match
pattern any family Equal "mono"
edit
Edit family Assign "monospace";
Add Subst match
pattern any family Equal "sans serif"
edit
Edit family Assign "sans-serif";
Add Subst match
pattern any family Equal "sans"
edit
Edit family Assign "sans-serif";
Scanning config dir /etc/fonts/conf.d
Loading config file /etc/fonts/conf.d/20-fix-globaladvance.conf
Add Subst match
font any family Equal "GulimChe"
edit
Edit globaladvance Assign false;
Add Subst match
font any family Equal "DotumChe"
edit
Edit globaladvance Assign false;
Add Subst match
font any family Equal "BatangChe"
edit
Edit globaladvance Assign false;
Add Subst match
font any family Equal "GungsuhChe"
edit
Edit globaladvance Assign false;
Loading config file /etc/fonts/conf.d/20-lohit-gujarati.conf
Add Subst match
font any family Equal "Lohit Gujarati"
edit
Edit hinting Assign false;
Loading config file /etc/fonts/conf.d/20-unhint-small-vera.conf
Add Subst match
font any family Equal "Bitstream Vera Sans"
font any pixelsize Less 7.5
edit
Edit hinting Assign false;
Add Subst match
font any family Equal "Bitstream Vera Serif"
font any pixelsize Less 7.5
edit
Edit hinting Assign false;
Add Subst match
font any family Equal "Bitstream Vera Sans Mono"
font any pixelsize Less 7.5
edit
Edit hinting Assign false;
Loading config file /etc/fonts/conf.d/30-amt-aliases.conf
Add Subst match
pattern any family Equal "Times New Roman"
edit
Edit family Append "Thorndale AMT";
Add Subst match
pattern any family Equal "Arial"
edit
Edit family Append "Albany AMT";
Add Subst match
pattern any family Equal "Courier New"
edit
Edit family Append "Cumberland AMT";
Loading config file /etc/fonts/conf.d/30-debconf-no-bitmaps.conf
Loading config file /etc/fonts/conf.d/30-defoma.conf
Add Subst match
pattern any family Equal "Arphic-MingB5"
edit
Edit family Append "ShanHeiSun-Light";
Add Subst match
pattern any family Equal "ArphicKaiGB"
edit
Edit family Append "GBZenKai-Medium";
Add Subst match
pattern any family Equal "Arphic-KaiGB"
edit
Edit family Append "GBZenKai-Medium";
Add Subst match
pattern any family Equal "ArphicMingGB"
edit
Edit family Append "BousungEG-Light-GB";
Add Subst match
pattern any family Equal "Arphic-KaiB5"
edit
Edit family Append "ZenKai-Medium";
Add Subst match
pattern any family Equal "ArphicKaiB5"
edit
Edit family Append "ZenKai-Medium";
Add Subst match
pattern any family Equal "ArphicMingB5"
edit
Edit family Append "ShanHeiSun-Light";
Add Subst match
pattern any family Equal "Arphic-SongGB"
edit
Edit family Append "BousungEG-Light-GB";
Add Subst match
pattern any family Equal "Arphic-MingGB"
edit
Edit family Append "BousungEG-Light-GB";
Add Subst match
pattern any family Equal "sans-serif"
edit
Edit family AppendLast "DejaVu-Sans";
Add Subst match
pattern any family Equal "monospace"
edit
Edit family AppendLast "DejaVu-Sans-Mono";
Add Subst match
pattern any family Equal "serif"
edit
Edit family AppendLast "DejaVu-Serif-Condensed";
Loading config file /etc/fonts/conf.d/30-urw-aliases.conf
Add Subst match
pattern any family Equal "Avant Garde"
edit
Edit family Append "URW Gothic L";
Add Subst match
pattern any family Equal "Bookman"
edit
Edit family Append "URW Bookman L";
Add Subst match
pattern any family Equal "Courier"
edit
Edit family Append "Nimbus Mono L";
Add Subst match
pattern any family Equal "Helvetica"
edit
Edit family Append "Nimbus Sans L";
Add Subst match
pattern any family Equal "New Century Schoolbook"
edit
Edit family Append "Century Schoolbook L";
Add Subst match
pattern any family Equal "Palatino"
edit
Edit family Append "URW Palladio L";
Add Subst match
pattern any family Equal "Times"
edit
Edit family Append "Nimbus Roman No9 L";
Add Subst match
pattern any family Equal "Zapf Chancery"
edit
Edit family Append "URW Chancery L";
Add Subst match
pattern any family Equal "Zapf Dingbats"
edit
Edit family Append "Dingbats";
Add Subst match
pattern any family Equal "Symbol"
edit
Edit family Append "Standard Symbols L";
Loading config file /etc/fonts/conf.d/40-generic.conf
Add Subst match
pattern any family Equal "Bitstream Vera Serif" Comma "DejaVu
Serif" Comma "Times New Roman" Comma "Times" Comma "Nimbus Roman No9 L"
Comma "Luxi Serif" Comma "Kochi Mincho" Comma "AR PL SungtiL GB" Comma "AR
PL Mingti2L Big5" Comma "ďźďźł ćć" Comma "Baekmuk Batang" Comma
"FreeSerif" Comma "MgOpen Canonica"
edit
Edit family AppendLast "serif";
Add Subst match
pattern any family Equal "Bitstream Vera Sans" Comma "DejaVu Sans"
Comma "Helvetica" Comma "Arial" Comma "Verdana" Comma "Albany AMT" Comma
"Nimbus Sans L" Comma "Luxi Sans" Comma "Kochi Gothic" Comma "AR PL KaitiM
GB" Comma "AR PL KaitiM Big5" Comma "ďźďźł ă´ăˇăăŻ" Comma "Baekmuk
Dotum" Comma "SimSun" Comma "FreeSans" Comma "MgOpen Modata"
edit
Edit family AppendLast "sans-serif";
Add Subst match
pattern any family Equal "Bitstream Vera Sans Mono" Comma "DejaVu
Sans Mono" Comma "Courier" Comma "Courier New" Comma "Andale Mono" Comma
"Luxi Mono" Comma "Cumberland AMT" Comma "Nimbus Mono L" Comma "NSimSun"
Comma "FreeMono"
edit
Edit family AppendLast "monospace";
Loading config file /etc/fonts/conf.d/49-sansserif.conf
Add Subst match
pattern all family NotEqual "sans-serif"
pattern all family NotEqual "serif"
pattern all family NotEqual "monospace"
edit
Edit family AppendLast "sans-serif";
Loading config file /etc/fonts/conf.d/50-user.conf
Loading config file /etc/fonts/conf.d/51-local.conf
Loading config file /etc/fonts/conf.d/60-latin.conf
Add Subst match
pattern any family Equal "serif"
edit
Edit family Prepend "Bitstream Vera Serif" Comma "DejaVu Serif"
Comma "Times New Roman" Comma "Thorndale AMT" Comma "Luxi Serif" Comma
"Nimbus Roman No9 L" Comma "Times";
Add Subst match
pattern any family Equal "sans-serif"
edit
Edit family Prepend "Bitstream Vera Sans" Comma "DejaVu Sans"
Comma "Verdana" Comma "Arial" Comma "Albany AMT" Comma "Luxi Sans" Comma
"Nimbus Sans L" Comma "Helvetica";
Add Subst match
pattern any family Equal "monospace"
edit
Edit family Prepend "Bitstream Vera Sans Mono" Comma "DejaVu Sans
Mono" Comma "Andale Mono" Comma "Courier New" Comma "Cumberland AMT" Comma
"Luxi Mono" Comma "Nimbus Mono L" Comma "Courier";
Loading config file /etc/fonts/conf.d/65-fonts-persian.conf
Add Subst match
pattern any family Equal "Nesf"
edit
Edit family Assign "Nesf2";
Add Subst match
pattern any family Equal "Nesf2"
edit
Edit family Assign "Persian_sansserif_default";
Add Subst match
pattern any family Equal "Nazanin"
edit
Edit family Assign "Nazli";
Add Subst match
pattern any family Equal "Lotus"
edit
Edit family Assign "Lotoos";
Add Subst match
pattern any family Equal "Yaqut"
edit
Edit family Assign "Yaghoot";
Add Subst match
pattern any family Equal "Yagut"
edit
Edit family Assign "Yaghoot";
Add Subst match
pattern any family Equal "Yaghut"
edit
Edit family Assign "Yaghoot";
Add Subst match
pattern any family Equal "Traffic"
edit
Edit family Assign "Terafik";
Add Subst match
pattern any family Equal "Ferdowsi"
edit
Edit family Assign "Ferdosi";
Add Subst match
pattern any family Equal "Fantezy"
edit
Edit family Assign "Fantezi";
Add Subst match
pattern any family Equal "Jadid"
edit
Edit family Append "Persian_title";
Add Subst match
pattern any family Equal "Titr"
edit
Edit family Append "Persian_title";
Add Subst match
pattern any family Equal "Kamran"
edit
Edit family Append "Homa";
Edit family Append "Persian_fantasy";
Add Subst match
pattern any family Equal "Homa"
edit
Edit family Append "Kamran";
Edit family Append "Persian_fantasy";
Add Subst match
pattern any family Equal "Fantezi"
edit
Edit family Append "Persian_fantasy";
Add Subst match
pattern any family Equal "Tabassom"
edit
Edit family Append "Persian_fantasy";
Add Subst match
pattern any family Equal "Arshia"
edit
Edit family Append "Persian_square";
Add Subst match
pattern any family Equal "Nasim"
edit
Edit family Append "Persian_square";
Add Subst match
pattern any family Equal "Elham"
edit
Edit family Append "Farnaz";
Edit family Append "Persian_square";
Add Subst match
pattern any family Equal "Farnaz"
edit
Edit family Append "Elham";
Edit family Append "Persian_square";
Add Subst match
pattern any family Equal "Sina"
edit
Edit family Append "Persian_square";
Add Subst match
pattern any family Equal "Persian_title"
edit
Edit family Append "Persian_serif";
Edit family Append "Jadid";
Edit family Append "Titr";
Add Subst match
pattern any family Equal "Persian_fantasy"
edit
Edit family Append "Persian_square";
Edit family Append "Tabassom";
Edit family Append "Fantezi";
Edit family Append "Kamran";
Edit family Append "Homa";
Add Subst match
pattern any family Equal "Persian_square"
edit
Edit family Append "Persian_serif";
Edit family Append "Sina";
Edit family Append "Nasim";
Edit family Append "Farnaz";
Edit family Append "Elham";
Edit family Append "Arshia";
Add Subst match
font any family Equal "Elham"
edit
Edit foundry Assign "farsiweb";
Add Subst match
font any family Equal "Homa"
edit
Edit foundry Assign "farsiweb";
Add Subst match
font any family Equal "Koodak"
edit
Edit foundry Assign "farsiweb";
Add Subst match
font any family Equal "Nazli"
edit
Edit foundry Assign "farsiweb";
Add Subst match
font any family Equal "Roya"
edit
Edit foundry Assign "farsiweb";
Add Subst match
font any family Equal "Terafik"
edit
Edit foundry Assign "farsiweb";
Add Subst match
font any family Equal "Titr"
edit
Edit foundry Assign "farsiweb";
Add Subst match
font any foundry Equal "TURNED-OFF"
font any foundry Equal "farsiweb"
font any slant Equal roman
pattern any slant NotEqual roman
edit
Edit matrix Assign matrix Times [1 -0.2 0 1];
Edit slant Assign oblique;
Add Subst match
font any foundry Equal "farsiweb"
edit
Edit autohint Assign false;
Edit hinting Assign false;
Edit embeddedbitmap Assign false;
Add Subst match
pattern any family Equal "serif"
edit
Edit family Append "Nazli" Comma "Lotoos" Comma "Mitra" Comma
"Ferdosi" Comma "Badr" Comma "Zar";
Add Subst match
pattern any family Equal "sans-serif"
edit
Edit family Append "Roya" Comma "Koodak" Comma "Terafik";
Add Subst match
pattern any family Equal "monospace"
edit
Edit family Append "Terafik";
Add Subst match
pattern any family Equal "serif"
pattern any weight MoreEqual 200
pattern any size MoreEqual 24
edit
Edit family Prepend "Titr";
Add Subst match
pattern any family Equal "sans-serif"
pattern any weight MoreEqual 200
pattern any size MoreEqual 24
edit
Edit family Prepend "Titr";
Add Subst match
pattern any family Equal "Persian_sansserif_default"
pattern any weight MoreEqual 200
pattern any size MoreEqual 24
edit
Edit family Prepend "Titr";
Add Subst match
pattern any family Equal "Persian_sansserif_default"
edit
Edit family Assign "Roya";
Loading config file /etc/fonts/conf.d/65-nonlatin.conf
Add Subst match
pattern any family Equal "serif"
edit
Edit family Prepend "Frank Ruehl" Comma "MgOpen Canonica" Comma
"Kochi Mincho" Comma "AR PL SungtiL GB" Comma "AR PL Mingti2L Big5" Comma
"ďźďźł ćć" Comma "Baekmuk Batang";
Add Subst match
pattern any family Equal "sans-serif"
edit
Edit family Prepend "Nachlieli" Comma "MgOpen Modata" Comma "Kochi
Gothic" Comma "AR PL KaitiM GB" Comma "AR PL KaitiM Big5" Comma "ďźďźł
ă´ăˇăăŻ" Comma "Baekmuk Dotum" Comma "SimSun";
Add Subst match
pattern any family Equal "monospace"
edit
Edit family Prepend "Miriam Mono" Comma "Kochi Gothic" Comma "AR
PL KaitiM GB" Comma "Baekmuk Dotum";
Loading config file /etc/fonts/conf.d/69-unifont.conf
Add Subst match
pattern any family Equal "serif"
edit
Edit family Prepend "FreeSerif" Comma "Code2000";
Add Subst match
pattern any family Equal "sans-serif"
edit
Edit family Prepend "FreeSans" Comma "Arial Unicode MS";
Add Subst match
pattern any family Equal "monospace"
edit
Edit family Prepend "FreeMono";
Loading config file /etc/fonts/conf.d/70-no-bitmaps.conf
Loading config file /etc/fonts/conf.d/80-delicious.conf
Add Subst match
scan any family Equal "Delicious"
scan any style Equal "Heavy"
edit
Edit weight Assign heavy;
Loading config file /etc/fonts/conf.d/90-synthetic.conf
Add Subst match
font any slant Equal roman
pattern any slant NotEqual roman
edit
Edit matrix Assign matrix Times [1 0.2 0 1];
Edit slant Assign oblique;
Edit embeddedbitmap Assign false;
Add Subst match
font any weight LessEqual medium
pattern any weight More medium
edit
Edit embolden Assign true;
Edit weight Assign bold;
Segmentation fault
On Sat, 16 Dec 2006, Keith Packard wrote:
On Sat, 2006-12-16 at 16:22 +0100, Leszek Koltunski wrote:
Package: fontconfig
Version: 2.4.2-1
Severity: grave
Justification: renders package unusable
I've got an AMD64 system with a i386 chroot where I install 386-only
applictions ( Firefox for the
flashplugin, Skype etc ). I am writing this report from within the chroot.
After one of recent updates, Firefox and Skype started crashing on
startup. 'strace firefox' gave
me clues that it crashes while trying to open cached fonts in
~/.fontconfig/. Indeed, a 'rm -rf
~/.fontconfig' makes Firefox start up and work normally. Same goes for
Skype.
Hmm. That seems to indicate that the files in ~/.fontconfig created by
version 2.4.1 are incompatible with those created by 2.4.2. As far as I
know, this is not the case though. And, in fact, the configuration
mechanism in building the library is supposed to automatically detect
when the cache files would be incompatible with the expected layout.
A stack trace against a version of fontconfig built with debugging
symbols would be very useful here if you can manage; otherwise, I
haven't a clue what could be going on.
Evaluating the differences from 2.4.1 to 2.4.2 (they are small) shows
little that could be at fault here.
--
[EMAIL PROTECTED]