LWN.net Logo

Fsyncers and curveballs (the Firefox 3 fsync() problem)

Fsyncers and curveballs (the Firefox 3 fsync() problem)

Posted May 26, 2008 14:57 UTC (Mon) by MisterIO (guest, #36192)
Parent article: Fsyncers and curveballs (the Firefox 3 fsync() problem)

I've been using Firefox 3 from b5 version and I recently updated it to version rc1(Debian
distribution) and, with an extremely technical expression I have to say that it sucks really
bad IMO! The handling of memory is better now, but there are a lot of regressions from version
2. Except for the problem discussed here(which, by the way, I noticed too), there are other
problems like for example a big list of websites which are handled really badly, with
appearances and usability completely destroyed. I did a rapid search of the starting date of
Firefox 3 development, and I found that a first alpha release was ready on December 2006!
After so much time, I really don't know how cn they have still so many problems. All this
without considering the fact that webkit already completely passes acid test 3, while usually
firefox(gecko) scores around 60-65%.


(Log in to post comments)

Fsyncers and curveballs (the Firefox 3 fsync() problem)

Posted May 26, 2008 15:09 UTC (Mon) by lmb (subscriber, #39048) [Link]

Seems to me firefox should use an append-only format for some of its files - that'd mean that
in case of a crash, possibly the last so many transactions would get lost, but that the main
bulk of the data would still be intact and consistent.

Fsyncers and curveballs (the Firefox 3 fsync() problem)

Posted May 27, 2008 16:23 UTC (Tue) by drag (subscriber, #31333) [Link]

You mean something like:
echo "<something>blahlbahlbah</something>" >> file.text


... what a concept ...

Fsyncers and curveballs (the Firefox 3 fsync() problem)

Posted Jun 20, 2008 20:38 UTC (Fri) by jlokier (subscriber, #52227) [Link]

If you think 'echo "text" >> file' cannot corrupt data before the place you're writing to,
when power is lost at the wrong moment (e.g. laptop runs out of battery), think again.  There
are filesystems and filesystem options that will prevent that, but ext3 with default options
isn't one of them.  Not just theoretically: I have actually seen such corruption in log files.

Fsyncers and curveballs (the Firefox 3 fsync() problem)

Posted May 27, 2008 2:30 UTC (Tue) by roc (subscriber, #30627) [Link]

> a big list of websites which are handled really badly, with
> appearances and usability completely destroyed.

I'm surprised, since we take all such regressions very seriously, and we've fixed almost all
of them that I know about. Most of the unfixed issues I know about are cases where the site
isn't standards compliant and we became more standards-compliant in a way that breaks the
site.

Please file a Bugzilla bug with your list.

Fsyncers and curveballs (the Firefox 3 fsync() problem)

Posted May 27, 2008 4:19 UTC (Tue) by MisterIO (guest, #36192) [Link]

I already filed a bug for all the sites I saw which had problems, but I did it through the
"Report Broken Web Site" function of the browser. The problem is that I reported this same
list of websites for the B5 version and none of them shows any sign of improvement.

Fsyncers and curveballs (the Firefox 3 fsync() problem)

Posted May 27, 2008 4:46 UTC (Tue) by roc (subscriber, #30627) [Link]

OK, so how about you just paste your list here then.

Fsyncers and curveballs (the Firefox 3 fsync() problem)

Posted May 27, 2008 5:33 UTC (Tue) by MisterIO (guest, #36192) [Link]

I don't have a written list, I just send reports while browsing. But maybe some of the
problems are gtk related and in particular something about the last versions. I just noticed
that some(because I couldn't check all of them) of the sites I was talking about have the same
problems on both Firefox 3RC1 and Epiphany-webkit 2.22.1.1, but they have no problems with
Galeon 2.0.4(I have only one version of gecko installed obviously).

Fsyncers and curveballs (the Firefox 3 fsync() problem)

Posted May 27, 2008 5:35 UTC (Tue) by MisterIO (guest, #36192) [Link]

Fsyncers and curveballs (the Firefox 3 fsync() problem)

Posted May 27, 2008 5:42 UTC (Tue) by MisterIO (guest, #36192) [Link]

Sorry for the flooding, but I just wanted to say that my first guess was really stupid,
because Galeon depends on the same gtk version as the other 2 browsers. Still maybe the
problem should be searched among the differences between these programs.

Fsyncers and curveballs (the Firefox 3 fsync() problem)

Posted May 27, 2008 5:48 UTC (Tue) by MisterIO (guest, #36192) [Link]

Or it may be some new Gtk functions used by the new browsers, which aren't used by Gecko
because it was compiled against an older version of gtk.

Fsyncers and curveballs (the Firefox 3 fsync() problem)

Posted May 28, 2008 7:30 UTC (Wed) by MisterIO (guest, #36192) [Link]

Notice that where I said Gecko here I meant Galeon. Sorry for the mistake.

Fsyncers and curveballs (the Firefox 3 fsync() problem)

Posted May 27, 2008 13:21 UTC (Tue) by gerv (subscriber, #3376) [Link]

http://naruto.japflap.com/index.php?page=scantraduk
looks good to me in FF3.0rc1 on Ubuntu 8.04. It would help if you said what problems you were
seeing.

Gerv

Fsyncers and curveballs (the Firefox 3 fsync() problem)

Posted May 27, 2008 18:40 UTC (Tue) by MisterIO (guest, #36192) [Link]

There are pieces of the Desktop(various parts like the background or the panels) which are
like pasted on random positions of the web-page.

Fsyncers and curveballs (the Firefox 3 fsync() problem)

Posted May 27, 2008 18:43 UTC (Tue) by gerv (subscriber, #3376) [Link]

Nope, don't see that. All looks good to me. I can email you a screenshot if you like. Or, you
could take one and file a bug with it :-)

Gerv

Fsyncers and curveballs (the Firefox 3 fsync() problem)

Posted May 27, 2008 18:48 UTC (Tue) by zlynx (subscriber, #2285) [Link]

Oh yeah, I've seen that too.  Not very often though, and not always on the same site.  I think
its some kind of image rendering glitch.  It's like other pixmaps get mixed into the image.

Fsyncers and curveballs (the Firefox 3 fsync() problem)

Posted May 28, 2008 1:03 UTC (Wed) by roc (subscriber, #30627) [Link]

Sounds like an X bug, since Firefox doesn't actually have access to the contents of the
windows of other applications.

Fsyncers and curveballs (the Firefox 3 fsync() problem)

Posted May 28, 2008 7:42 UTC (Wed) by MisterIO (guest, #36192) [Link]

So why Galeon and any other program except for Epiphany-webkit(so another browser) don't have
this problem. If it was X, I should have seen it everywhere.

http://img138.imageshack.us/my.php?image=screenshotthewor...

Fsyncers and curveballs (the Firefox 3 fsync() problem)

Posted May 28, 2008 10:05 UTC (Wed) by jond (subscriber, #37669) [Link]

That doesn't stand to reason. It's perfectly feasible for only one app to cause a bug in X to
be apparent.

Fsyncers and curveballs (the Firefox 3 fsync() problem)

Posted May 28, 2008 12:48 UTC (Wed) by roc (subscriber, #30627) [Link]

So you see this bug in epiphany-webkit and Firefox, and you assume it's a Firefox bug? That's
amazing.

Fsyncers and curveballs (the Firefox 3 fsync() problem)

Posted May 28, 2008 18:40 UTC (Wed) by MisterIO (guest, #36192) [Link]

Obviously I didn't see that in epiphany because it's more than a month that I'm not using
epiphany anymore, because of its shift to webkit, which is still in experimental stage IMO. I
just tried it there after having reinstalled epiphany to test those sites exactly because here
people were saying they didn't notice that problem.

Fsyncers and curveballs (the Firefox 3 fsync() problem)

Posted Jun 27, 2008 13:25 UTC (Fri) by sharkb (guest, #52709) [Link]

In case you didn't find the solution yet (or if someone else is looking for it), take a look
at Debian Bug Report #482992
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=482992

In short the solution is to add the following line to the "Device" section of
/etc/X11/xorg.conf
        Option          "XaaNoOffscreenPixmaps" "on"

You need to restart your X, unless you want to experiment with this:
http://ubuntuforums.org/showthread.php?p=4211618

Fsyncers and curveballs (the Firefox 3 fsync() problem)

Posted May 27, 2008 9:33 UTC (Tue) by nbd (subscriber, #14393) [Link]

Actually on my Mac, RC1 is a lot worse than b5. Many sites, such as planet.debian.org or *any*
Trac site make it crash completely (something fishy with the quartz font handling). I also
submitted reports for those.
Switched back to b5 now, hoping that RC2 will be better.

Copyright © 2012, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds