Re: iceweasel / firefox segfault after lenny upgrade

2008-01-01 Thread Towncat


Florian Kulzer wrote:
 On Mon, Dec 31, 2007 at 02:31:47 -0800, Towncat wrote:

 [...]

  OK, now iceweasel runs, but I realised that there is more to it,
  something to do with fonts and pango. When I start non-kde
  applications under kde, I get little squares instead of fonts.
 
  The output is like this (for xsane, here):
 
  xsane:9842): Pango-WARNING **: failed to create cairo scaled font,
  expect ugly output. the offending font is 'DejaVu Sans 10'
 
  (xsane:9842): Pango-WARNING **: failed to create cairo scaled font,
  expect ugly output. the offending font is 'DejaVu Sans 12.5'
 
  (xsane:9842): Pango-WARNING **: shaping failure, expect ugly output.
  shape-engine='BasicEngineFc', font='DejaVu Sans 12.5', text='French
  (Fran�ais)'
 
  (xsane:9842): Pango-WARNING **: pango_font_get_glyph_extents called
  with null font argument, expect ugly output
 
  (xsane:9842): Pango-WARNING **: shaping failure, expect ugly output.
  shape-engine='BasicEngineFc', font='DejaVu Sans 10', text='XSane
  v�ltozat: 0.995'
 
 
  Ideas, anyone?

 Try to run (as root) fc-cache -fs followed by update-pangox-aliases.
 Do you get error messages? Does this improve the situation?

 If the above does not help, post the output of these three commands:

 ls -l /usr/share/fonts/truetype/ttf-dejavu/DejaVuSans.ttf

 dpkg -l lib{pango,cairo}\* | awk '/^[^D|+]/{print $1,$2,$3}'

 awk '/^Name:.*pango/,/^$/' /var/cache/debconf/config.dat

 --
 Regards,| http://users.icfo.es/Florian.Kulzer
   Florian   |

It did not help, I'm afraid. Here are the outputs (the last had none):

[EMAIL PROTECTED]:~$ ls -l /usr/share/fonts/truetype/ttf-dejavu/
DejaVuSans.ttf
-rw-r--r-- 1 root root 581400 Oct 28 16:22 /usr/share/fonts/truetype/
ttf-dejavu/DejaVuSans.ttf
[EMAIL PROTECTED]:~$ dpkg -l lib{pango,cairo}\* | awk '/^[^D|+]/{print
$1,$2,$3}'
un libcairo none
ii libcairo-perl 1.043-1
un libcairo0.5.1 none
un libcairo0.6.0 none
un libcairo0.9.0 none
un libcairo1 none
ii libcairo2 1.4.10-1+lenny2
un libcairomm-1.0-0 none
ii libcairomm-1.0-1 1.4.2-1
un libpango-common none
un libpango0 none
ii libpango1.0-0 1.18.3-1
ii libpango1.0-common 1.18.3-1
[EMAIL PROTECTED]:~$ awk '/^Name:.*pango/,/^$/' /var/cache/debconf/
config.dat
[EMAIL PROTECTED]:~$



Re: iceweasel / firefox segfault after lenny upgrade

2008-01-01 Thread Towncat


Florian Kulzer wrote:
 On Mon, Dec 31, 2007 at 02:31:47 -0800, Towncat wrote:

 [...]

  OK, now iceweasel runs, but I realised that there is more to it,
  something to do with fonts and pango. When I start non-kde
  applications under kde, I get little squares instead of fonts.
 
  The output is like this (for xsane, here):
 
  xsane:9842): Pango-WARNING **: failed to create cairo scaled font,
  expect ugly output. the offending font is 'DejaVu Sans 10'
 
  (xsane:9842): Pango-WARNING **: failed to create cairo scaled font,
  expect ugly output. the offending font is 'DejaVu Sans 12.5'
 
  (xsane:9842): Pango-WARNING **: shaping failure, expect ugly output.
  shape-engine='BasicEngineFc', font='DejaVu Sans 12.5', text='French
  (Fran�ais)'
 
  (xsane:9842): Pango-WARNING **: pango_font_get_glyph_extents called
  with null font argument, expect ugly output
 
  (xsane:9842): Pango-WARNING **: shaping failure, expect ugly output.
  shape-engine='BasicEngineFc', font='DejaVu Sans 10', text='XSane
  v�ltozat: 0.995'
 
 
  Ideas, anyone?

 Try to run (as root) fc-cache -fs followed by update-pangox-aliases.
 Do you get error messages? Does this improve the situation?

 If the above does not help, post the output of these three commands:

 ls -l /usr/share/fonts/truetype/ttf-dejavu/DejaVuSans.ttf

 dpkg -l lib{pango,cairo}\* | awk '/^[^D|+]/{print $1,$2,$3}'

 awk '/^Name:.*pango/,/^$/' /var/cache/debconf/config.dat

 --
 Regards,| http://users.icfo.es/Florian.Kulzer
   Florian   |

Based on the outputs I did a

 dpkg-reconfigure libcairo2 libpango1.0-common

and an

fc-cache -fs
update-pangox-aliases

which seems to have helped.



Re: iceweasel / firefox segfault after lenny upgrade

2007-12-31 Thread Florian Kulzer
On Sun, Dec 30, 2007 at 16:10:21 -0800, Towncat wrote:
 On dec. 31, 00:30, Florian Kulzer wrote:
  On Sun, Dec 30, 2007 at 03:46:02 -0800, Towncat wrote:
   As just said in a previous post, I am using lenny and lately upgraded
   it. Firefox/Iceweasel fails to start since then:

[...]

   (gecko:14849): Pango-WARNING **: failed to create cairo scaled font,
   expect ugly output. the offending font is 'DejaVu Serif 12.798828125'
   Segmentation fault
 
  Try this:
 
  $ export MOZ_DISABLE_PANGO=true
  $ iceweasel -safe-mode

[...]

 Thanks, it did help. Actually, I didn't even need the -safe-mode
 switch.
 
 So what does (or does not, as the case is) pango do?

Pango is a library for laying out and rendering of text, with an
emphasis on internationalization. (quoted from http://www.pango.org/)

If you only read web pages in languages which are based on the Latin
alphabet then you don't need to use pango. Turning off pango is
sometimes even recommended as a means to speed up the HTML rendering of
fireweasel. 

-- 
Regards,| http://users.icfo.es/Florian.Kulzer
  Florian   |


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



Re: iceweasel / firefox segfault after lenny upgrade

2007-12-31 Thread Towncat
On dec. 31, 02:10, Towncat [EMAIL PROTECTED] wrote:
 On dec. 31, 00:30, Florian Kulzer [EMAIL PROTECTED]
 wrote:



  On Sun, Dec 30, 2007 at 03:46:02 -0800, Towncat wrote:
   As just said in a previous post, I am using lenny and lately upgraded
   it. Firefox/Iceweasel fails to start since then:

   [EMAIL PROTECTED]:~$ firefox
   /usr/lib/iceweasel/firefox-bin: Symbol `SSL_ImplementedCiphers' has
   different size in shared object, consider re-linking

  I see this message as well (Sid, iceweasel 2.0.0.11-1), but my iceweasel
  seems to run normally otherwise. This is probably harmless.

   (gecko:14849): Pango-WARNING **: failed to create cairo scaled font,
   expect ugly output. the offending font is 'DejaVu Serif 12.798828125'
   Segmentation fault

  Try this:

  $ export MOZ_DISABLE_PANGO=true
  $ iceweasel -safe-mode

  If it still does not work try the same from a pristine user account.

  --
  Regards,|http://users.icfo.es/Florian.Kulzer
Florian   |

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

 Thanks, it did help. Actually, I didn't even need the -safe-mode
 switch.

 So what does (or does not, as the case is) pango do?

 Tc.

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

OK, now iceweasel runs, but I realised that there is more to it,
something to do with fonts and pango. When I start non-kde
applications under kde, I get little squares instead of fonts.

The output is like this (for xsane, here):

xsane:9842): Pango-WARNING **: failed to create cairo scaled font,
expect ugly output. the offending font is 'DejaVu Sans 10'

(xsane:9842): Pango-WARNING **: failed to create cairo scaled font,
expect ugly output. the offending font is 'DejaVu Sans 12.5'

(xsane:9842): Pango-WARNING **: shaping failure, expect ugly output.
shape-engine='BasicEngineFc', font='DejaVu Sans 12.5', text='French
(Français)'

(xsane:9842): Pango-WARNING **: pango_font_get_glyph_extents called
with null font argument, expect ugly output

(xsane:9842): Pango-WARNING **: shaping failure, expect ugly output.
shape-engine='BasicEngineFc', font='DejaVu Sans 10', text='XSane
változat: 0.995'


Ideas, anyone?



Re: iceweasel / firefox segfault after lenny upgrade

2007-12-31 Thread Florian Kulzer
On Mon, Dec 31, 2007 at 02:31:47 -0800, Towncat wrote:

[...]

 OK, now iceweasel runs, but I realised that there is more to it,
 something to do with fonts and pango. When I start non-kde
 applications under kde, I get little squares instead of fonts.
 
 The output is like this (for xsane, here):
 
 xsane:9842): Pango-WARNING **: failed to create cairo scaled font,
 expect ugly output. the offending font is 'DejaVu Sans 10'
 
 (xsane:9842): Pango-WARNING **: failed to create cairo scaled font,
 expect ugly output. the offending font is 'DejaVu Sans 12.5'
 
 (xsane:9842): Pango-WARNING **: shaping failure, expect ugly output.
 shape-engine='BasicEngineFc', font='DejaVu Sans 12.5', text='French
 (Français)'
 
 (xsane:9842): Pango-WARNING **: pango_font_get_glyph_extents called
 with null font argument, expect ugly output
 
 (xsane:9842): Pango-WARNING **: shaping failure, expect ugly output.
 shape-engine='BasicEngineFc', font='DejaVu Sans 10', text='XSane
 változat: 0.995'
 
 
 Ideas, anyone?

Try to run (as root) fc-cache -fs followed by update-pangox-aliases.
Do you get error messages? Does this improve the situation?

If the above does not help, post the output of these three commands:

ls -l /usr/share/fonts/truetype/ttf-dejavu/DejaVuSans.ttf

dpkg -l lib{pango,cairo}\* | awk '/^[^D|+]/{print $1,$2,$3}'

awk '/^Name:.*pango/,/^$/' /var/cache/debconf/config.dat

-- 
Regards,| http://users.icfo.es/Florian.Kulzer
  Florian   |



Re: iceweasel / firefox segfault after lenny upgrade

2007-12-30 Thread Florian Kulzer
On Sun, Dec 30, 2007 at 03:46:02 -0800, Towncat wrote:
 As just said in a previous post, I am using lenny and lately upgraded
 it. Firefox/Iceweasel fails to start since then:
 
 [EMAIL PROTECTED]:~$ firefox
 /usr/lib/iceweasel/firefox-bin: Symbol `SSL_ImplementedCiphers' has
 different size in shared object, consider re-linking

I see this message as well (Sid, iceweasel 2.0.0.11-1), but my iceweasel
seems to run normally otherwise. This is probably harmless.

 (gecko:14849): Pango-WARNING **: failed to create cairo scaled font,
 expect ugly output. the offending font is 'DejaVu Serif 12.798828125'
 Segmentation fault

Try this:

$ export MOZ_DISABLE_PANGO=true
$ iceweasel -safe-mode

If it still does not work try the same from a pristine user account.

-- 
Regards,| http://users.icfo.es/Florian.Kulzer
  Florian   |


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



Re: iceweasel / firefox segfault after lenny upgrade

2007-12-30 Thread Towncat
On dec. 31, 00:30, Florian Kulzer [EMAIL PROTECTED]
wrote:
 On Sun, Dec 30, 2007 at 03:46:02 -0800, Towncat wrote:
  As just said in a previous post, I am using lenny and lately upgraded
  it. Firefox/Iceweasel fails to start since then:

  [EMAIL PROTECTED]:~$ firefox
  /usr/lib/iceweasel/firefox-bin: Symbol `SSL_ImplementedCiphers' has
  different size in shared object, consider re-linking

 I see this message as well (Sid, iceweasel 2.0.0.11-1), but my iceweasel
 seems to run normally otherwise. This is probably harmless.

  (gecko:14849): Pango-WARNING **: failed to create cairo scaled font,
  expect ugly output. the offending font is 'DejaVu Serif 12.798828125'
  Segmentation fault

 Try this:

 $ export MOZ_DISABLE_PANGO=true
 $ iceweasel -safe-mode

 If it still does not work try the same from a pristine user account.

 --
 Regards,|http://users.icfo.es/Florian.Kulzer
   Florian   |

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

Thanks, it did help. Actually, I didn't even need the -safe-mode
switch.

So what does (or does not, as the case is) pango do?

Tc.


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