razmitech / googlefontdirectory

Automatically exported from code.google.com/p/googlefontdirectory
0 stars 0 forks source link

Google Font Directory crashes Firefox 3.6.13 #26

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Access the top-level font directory in Firefox 3.6.13 on Ubuntu causes the 
browser to crash:

  http://code.google.com/webfonts

The individual font family pages work fine, such as:

  http://code.google.com/webfonts/family?family=Ubuntu

Ideally browsers should not crash, but it would be useful if the crash could be 
avoided by debugging the cause and adjusting the generated CSS or subsetting 
TTF output.

Original issue reported on code.google.com by sladen@gmail.com on 21 Dec 2010 at 9:42

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Yes, Maiden Orange menu file caused the crash, and Lekton's menu file was made 
by the team. I've pushed a fix  - 
http://code.google.com/p/googlefontdirectory/source/detail?r=165f055c52960c226be
249064eb6db6aec29b53f - and wait on engineering to push it through to 
production :)

Original comment by d.crossland on 21 Dec 2010 at 10:34

GoogleCodeExporter commented 9 years ago
I wonder if this is a pango bug in FF... Perhaps we can add a check to our lint 
tool to catch this so it doesn't happen again. We will push my fixed file to 
production now...

Original comment by d.crossland on 21 Dec 2010 at 10:41

GoogleCodeExporter commented 9 years ago
As I understand it, the fix has been pushed/deployed, but because of cacheing 
may take a day to filter out.  It is possible to tell if the fix has solved for 
a particular instance with the following command, and checking the length in 
bytes that is returned:

  wget -q "http://themes.googleusercontent.com/font?kit=ZhKIA2SPisEwdhW7g0RUWuSG1Vhs6WuJu5OMHVi2V1g" -O mo.m.gz; gunzip -cd mo.m.gz | wc -c

  Fixed: 5392 bytes
  Still broken: 5044 bytes

Original comment by sladen@gmail.com on 21 Dec 2010 at 11:18

GoogleCodeExporter commented 9 years ago
As an immediate interim fix, we have pulled Maiden Orange from public 
visibility. We will re-publish it when our fix has been propagated. 

Original comment by d.crossland on 21 Dec 2010 at 12:02

GoogleCodeExporter commented 9 years ago
Broken again on FF 3.6.13 (Ubuntu 10.10)

Original comment by msjwoz...@gmail.com on 31 Jan 2011 at 1:13

GoogleCodeExporter commented 9 years ago
Accessing the top-level page causes an immediate crash, individual font pages 
work fine - 3.6.13 (Mint 10.10).

Original comment by pcp1...@gmail.com on 4 Feb 2011 at 10:48

GoogleCodeExporter commented 9 years ago
Can also confirm this in Firefox 3.6.13 on Ubuntu 10.10. Appears to again be 
related to Maiden Orange.

Original comment by codeman38 on 5 Feb 2011 at 6:43

GoogleCodeExporter commented 9 years ago
Incidentally, this does *not* affect Firefox 4.0 beta on the same version of 
Ubuntu. It's something that's specific to 3.6.

Original comment by codeman38 on 5 Feb 2011 at 6:45

GoogleCodeExporter commented 9 years ago
Same here. Running Ubuntu 10.10 with Swiftfox 3.6.13.

Original comment by AndrewDe...@gmail.com on 6 Feb 2011 at 4:23

GoogleCodeExporter commented 9 years ago
Dave/Raph: Ubuntu 10.10 is the stable version.  Maiden Orange was pulled before 
(at 3 AM) because it was killing browsers.  Can this be done again until the 
.ttfs for Maiden Orange are fixed?

Original comment by sladen@gmail.com on 6 Feb 2011 at 7:01

GoogleCodeExporter commented 9 years ago
Confirm the same problem with Firefox 3.6.13 (Mozilla Firefox for Linux Mint, 
mint - 1.0) on Linux Mint-10 (Julia). The individual font family pages,indeed, 
work fine. However, the same  Firefox 3.6.13 in Linux Mint 9 (Isadora) hasn't 
such trouble - I tested it on live-dvd.
Also Firefox 3.6.13 crashes on Linux Mint-10 when I intend to change font in my 
blog with the template editor of blogger.com  (may be, it tries to connect to   
http://code.google.com/webfonts page and it results in browser crash). It's 
rather strange, but a few days ago I hadn't got any problem with it.
Is there any solution of this problem?

Original comment by Serge.Ro...@gmail.com on 7 Feb 2011 at 1:36

GoogleCodeExporter commented 9 years ago
Confirming this crash again with Firefox 3.6.13 on ubuntu 10.10. If you need 
any more detail, please say. 

Original comment by dan.ped...@gmail.com on 9 Feb 2011 at 5:04

GoogleCodeExporter commented 9 years ago
dan: I think Maiden Orange has been pulled again temporarily from the frontpage 
(of course it would be nice if this page was updated to say that...).

So if the crashes are still happening, it's some other font that is causing it 
this time, and it needs a test-case to figure out which one(s).

Original comment by sladen@gmail.com on 9 Feb 2011 at 5:11

GoogleCodeExporter commented 9 years ago
No more crashes of Firefox 3.6.13 in Linux Mint 10 after today's updating 
libpango  library through the System Update Manager. Now I can connect to 
http://code.google.com/webfonts without any problem and also can edit fonts in 
my blog with the template editor. Thank you very much.

Original comment by Serge.Ro...@gmail.com on 15 Feb 2011 at 10:04

GoogleCodeExporter commented 9 years ago
That update also came through for me on Ubuntu 10.10, and Firefox 3.6.13 no 
longer crashes for me either on http://code.google.com/webfonts
make sure you close and relaunch Firefox after the update.

Original comment by statikef...@gmail.com on 15 Feb 2011 at 10:15

GoogleCodeExporter commented 9 years ago
Serge, statik: which version (dpkg -l | grep libpango) do you now have 
installed?

Original comment by sladen@gmail.com on 16 Feb 2011 at 9:25

GoogleCodeExporter commented 9 years ago
Still crashing for me here with:

ii  libpango-perl                             1.221-2                           
                Perl module to layout and render international text
ii  libpango1-ruby1.8                         0.19.3-2ubuntu1                   
                Pango bindings for the Ruby language
ii  libpango1.0-0                             1.28.1-1ubuntu3                   
                Layout and rendering of internationalized text
ii  libpango1.0-common                        1.28.1-1ubuntu3                   
                Modules and configuration files for the Pango
ii  libpangomm-1.4-1                          2.26.2-1                          
                C++ Wrapper for pango (shared libraries)

Original comment by dan.ped...@gmail.com on 16 Feb 2011 at 9:57

GoogleCodeExporter commented 9 years ago
@sladen, my libpango information:

$ dpkg -l | grep libpango
ii  libpango-perl                         1.221-2                               
            Perl module to layout and render international text
ii  libpango1.0-0                         1.28.2-0ubuntu1                       
            Layout and rendering of internationalized text
ii  libpango1.0-common                    1.28.2-0ubuntu1                       
            Modules and configuration files for the Pango
ii  libpangomm-1.4-1                      2.26.2-1                              
            C++ Wrapper for pango (shared libraries)

dan, it seems I have a slightly newer version installed. Again this is Ubuntu 
10.10 and it came via automatic update.

Original comment by statikef...@gmail.com on 16 Feb 2011 at 2:55

GoogleCodeExporter commented 9 years ago
Sladen, here is my libpango's version info:

ii  libpango-perl       1.221-2            Perl module to layout and render 
international text
ii  libpango1.0-0       1.28.2-0ubuntu1    Layout and rendering of 
internationalized text
ii  libpango1.0-common  1.28.2-0ubuntu1    Modules and configuration files for 
the Pango
ii  libpangomm-1.4-1    2.26.2-1           C++ Wrapper for pango (shared 
libraries)

Original comment by Serge.Ro...@gmail.com on 16 Feb 2011 at 9:00

GoogleCodeExporter commented 9 years ago
Missed it the first time:

  "code.google.com/webfonts crashes Iceweasel inside libpangoft2-1.0.so.0"
  http://bugs.debian.org/598166

  "SIGFPE _hb_sanitize_array"
  http://bugzilla.gnome.org/show_bug.cgi?id=626966

Original comment by sladen@gmail.com on 17 Feb 2011 at 6:31

GoogleCodeExporter commented 9 years ago
Crash DOES affect Namoroka (Firefox 4 beta) I can confirm. I have to switch to 
Chrome to go to Google Fonts Directory. Sub pages seem fine, just the top level 
page.

Original comment by steve.el...@gmail.com on 22 Feb 2011 at 10:38

GoogleCodeExporter commented 9 years ago
Upgrading libpango fixed this for me in 3.6.13

Original comment by dan.ped...@gmail.com on 22 Feb 2011 at 10:51

GoogleCodeExporter commented 9 years ago
I've created a new menu subset, available here:

http://levien.com/webfonts/tests/maidenorange.html

Can anyone with the affected versions of libpango and Firefox test whether it 
triggers the crash? We plan on pushing the updated font to prod soon.

Note also that the exact bug is understood, and is fixed in development 
sources. Still, we don't want to trigger crashes in users who haven't upgraded 
yet.

https://bugzilla.mozilla.org/show_bug.cgi?id=605347

Original comment by r...@google.com on 25 Mar 2011 at 4:03