-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Woot, Woot!!! I figured out a temporary solution after finally getting
around to installing the debugging symbols for firefox and running it in
the debugger. So, if any of you would like to see it is seemingly a
problem with the recent upgrade of the libfontconfig1 package from
2.3.2-7 to 2.4.1-2.

After installing the the firefox debugging symbols package ran firefox
as follows from the command line.

firefox --debugging gdb

This dumped me in a gdb session at which point I typed "run" to get it
to run firefox inside of gdb. I then proceeded to go to File->Print,
checked print to file, and printed to file, until it crashed. It only
took 2 tries as usual. Once, it crashed gdb reports where it crashed.
But, to see something of a bit more interest I typed "backtrace" which
shows the functions that were called up until it crashed. Here is a
little snip in which we can see it is the FcCharSetDestroy()
function provided by /usr/lib/libfontcanfig.so.1 that is crashing.

#0  0xa7813d17 in FcCharSetDestroy () from /usr/lib/libfontconfig.so.1
#1  0x081e5826 in ~nsFontMetricsPS (this=0x9318410) at
nsFontMetricsPS.cpp:111
#2  0x081e33a8 in nsFontMetricsPS::Release (this=0xa76d0414)
     at nsFontMetricsPS.cpp:135
#3  0x088de065 in nsFontCache::Flush (this=0x94b3348)
     at nsDeviceContext.cpp:715

Given, this new found information I decided to revert to the previous
version of libfontconfig1 package which I had to do by performing the
following.

> cd /var/cache/apt/archives/
> sudo pkg -i sudo dpkg -i libfontconfig1_2.3.2-7_i386.deb
fontconfig-config_2.3.2-7_all.deb fontconfig_2.3.2-7_i386.deb

After, it finished reverting to the previous version of fontconfig
family of packages I ran firefox and all was happy with the printing.

To keep this one group of packages at this version while still allowing
my system to upgrade the other packages I then added the following to my
/etc/apt/preferences file:

Package: fontconfig
Pin: version 2.3.2*
Pin-Priority: 1001

Package: fontconfig-config
Pin: version 2.3.2*
Pin-Priority: 1001

Package: libfontconfig1
Pin: version 2.3.2*
Pin-Priority: 1001

Package: libfontconfig1-dev
Pin: version 2.3.2*
Pin-Priority: 1001

Note: There has to be a blank line seperating each package definition in
your /etc/apt/preferences file. Also, I hade to create my
/etc/apt/preferences files because it did not already exist.

Also, keep your eyes out for a new libfontconfig that will hopefully be
fixed package, so you can remove the preferences you added to
/etc/apt/preferences.

- --
Andrew De Ponte

Contact Info
- ------------
AIM Nick: HUNNYnNUTTS
JabberID: [EMAIL PROTECTED]

Current Open Source Projects
- ----------------------------
Zaurus Synchronization REPository
(a.k.a. Zaurus Synchronization Reverse Engineering Project)
- - http://zsrep.sourceforge.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFFJEeUVroBBszP8ekRAok8AKCBaHIjDhGV2sNfYgcgN6f4VmeBygCeLMaX
j6Jta+EBLbBBBfEP97Qn8UE=
=9oDW
-----END PGP SIGNATURE-----


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to