<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/css" href="/stylesheets/rss.css"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
  <channel>
    <title>The BFC Computing Weblog: Firefox Crashes on Fedora 11</title>
    <link>http://blog.bfccomputing.com/articles/2009/05/28/firefox-crashes-on-fedora-11</link>
    <language>en-us</language>
    <ttl>40</ttl>
    <description>My God, It's Full of Source!</description>
    <item>
      <title>Firefox Crashes on Fedora 11</title>
      <description>&lt;p&gt;For folks who are running the current development, or soon-to-be-just-released Fedora 11, you might find Firefox to be very crashy.  It's not because it's the semi-controversial 3.5b4 version (which is excellent), it's because of a buggy library.&lt;/p&gt;

&lt;p&gt;I'm running it with the Tree Style Tab and NoScript extensions, and can get a crash half the time when Session Restore is running, and almost all the time when I allow a site in NoScript.&lt;/p&gt;

&lt;p&gt;If you run firefox from the console, so you get the debug messages, you'll see:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;cairo-ft-font.c:554: _cairo_ft_unscaled_font_lock_face: Assertion `!unscaled-&gt;from_face' failed &lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;when the crash happens.  I tracked this down through the Mozilla and Freedesktop bug systems to a problem with the Cairo graphics engine improperly disposing of fonts which it didn't own, for which a fix was incorporated last December.  However, the version of Cairo shipping in Fedora 11 is older than that.&lt;/p&gt;

&lt;p&gt;So, I applied the simple patch, fixed up the .spec, and put up some new &lt;a href="http://swdist.bfccomputing.com/f11-i386-bfc/i386/os/"&gt;RPM's&lt;/a&gt; for i386 and an &lt;a href="http://swdist.bfccomputing.com/f11-i386-bfc/source/SRPMS/cairo-1.8.6-3.fc11.src.rpm"&gt;SRPM&lt;/a&gt; for hackers and x86_64 users to build (&lt;code&gt;rpmbuild --rebuild cairo-1.8.6-3.fc11.src.rpm&lt;/code&gt;).&lt;/p&gt;

&lt;p&gt;I haven't tried cross-compiling from i386 to x86_64 before, and --target=x86_64 doesn't work, so if anybody can tell me how to do that short of learning mock, please leave a comment and I'll put up RPM's for that too.&lt;/p&gt;

&lt;p&gt;The Redhat bug is &lt;a href="https://bugzilla.redhat.com/show_bug.cgi?id=502274"&gt;here&lt;/a&gt;.  Hopefully it gets accepted soon.&lt;/p&gt;</description>
      <pubDate>Thu, 28 May 2009 21:38:00 -0400</pubDate>
      <guid isPermaLink="false">urn:uuid:44cceb84-195c-4ba4-ac74-7506a71d4266</guid>
      <author>Bill McGonigle</author>
      <link>http://blog.bfccomputing.com/articles/2009/05/28/firefox-crashes-on-fedora-11</link>
      <category>Web</category>
      <category>Internet</category>
      <category>Open Source</category>
      <category>Linux</category>
      <trackback:ping>http://blog.bfccomputing.com/articles/trackback/4808</trackback:ping>
    </item>
  </channel>
</rss>
