Firefox crashes or hangs on GMail
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
firefox (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: firefox
After update to 4.0.1 (from 4.0.0) I'm experiencing the following trouble:
- when CLOSING GMail tab it closes but Firefox hangs.
Under GDB I managed to crash Firefox on OPENING GMail tab with the following tb:
...
[New Thread 0x7fff9a0f8700 (LWP 10571)]
[New Thread 0x7fff968ff700 (LWP 10573)]
[New Thread 0x7fff960fe700 (LWP 10574)]
[New Thread 0x7fff958fd700 (LWP 10575)]
[Thread 0x7fff968ff700 (LWP 10573) exited]
[Thread 0x7fff958fd700 (LWP 10575) exited]
[Thread 0x7fffc92fd700 (LWP 10377) exited]
[Thread 0x7fffd48ff700 (LWP 10382) exited]
[Thread 0x7fffc82fb700 (LWP 10519) exited]
[Thread 0x7fff9a0f8700 (LWP 10571) exited]
[Thread 0x7fff960fe700 (LWP 10574) exited]
[Thread 0x7fffc72f9700 (LWP 10392) exited]
[New Thread 0x7fffc72f9700 (LWP 10729)]
[New Thread 0x7fff960fe700 (LWP 10735)]
Program received signal SIGPIPE, Broken pipe.
[Switching to Thread 0x7fffe46ff700 (LWP 9960)]
0x00007ffff7bc025c in send () from /lib/x86_
(gdb) back
#0 0x00007ffff7bc025c in send () from /lib/x86_
#1 0x00007ffff50e522d in pt_Send (fd=0x7fff991c5c70, buf=0x7fff97174000, amount=27, flags=0, timeout=4294967295) at /build/
#2 0x00007ffff0da6166 in ssl_DefSend () from /usr/lib/
#3 0x00007ffff0d999fe in ssl3_SendRecord () from /usr/lib/
#4 0x00007ffff0d9c023 in SSL3_SendAlert () from /usr/lib/
#5 0x00007ffff0da9f0e in ssl_SecureClose () from /usr/lib/
#6 0x00007ffff6892175 in nsNSSSocketInfo
#7 0x00007ffff6886228 in nsSSLThread:
#8 0x00007ffff689150c in nsSSLIOLayerClose (fd=0x7fffd00f7b50) at /build/
#9 0x00007ffff615e688 in nsSocketTranspo
#10 0x00007ffff61603ee in nsSocketTranspo
#11 0x00007ffff6161437 in nsSocketTranspo
#12 0x00007ffff61617ea in nsSocketTranspo
#13 0x00007ffff61618cb in nsSocketTranspo
at /build/
#14 0x00007ffff6b19ed9 in nsThread:
#15 0x00007ffff6ae9ab8 in NS_ProcessNextE
#16 0x00007ffff6161c8c in nsSocketTranspo
#17 0x00007ffff6b19fde in nsThread:
#18 0x00007ffff6ae9ab8 in NS_ProcessNextE
#19 0x00007ffff6b19be3 in nsThread:
#20 0x00007ffff50e8553 in _pt_root (arg=0x7fffec71
#21 0x00007ffff7bb7d8c in start_thread () from /lib/x86_
#22 0x00007ffff156304d in clone () from /lib/x86_
#23 0x0000000000000000 in ?? ()
ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: firefox 4.0.1+build1+
ProcVersionSign
Uname: Linux 2.6.38-8-generic x86_64
NonfreeKernelMo
Architecture: amd64
Date: Wed May 25 16:48:00 2011
FirefoxPackages:
firefox 4.0.1+build1+
flashplugin-
adobe-flashplugin N/A
icedtea-plugin N/A
InstallationMedia: Xubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101008.1)
ProcEnviron:
LANGUAGE=ru_RU:en
LANG=ru_RU.UTF-8
SHELL=/bin/bash
SourcePackage: firefox
UpgradeStatus: Upgraded to natty on 2011-04-11 (43 days ago)
Changed in firefox (Ubuntu): | |
status: | New → Confirmed |
Changed in firefox: | |
importance: | Unknown → Medium |
status: | Unknown → Confirmed |
Changed in firefox: | |
status: | New → Confirmed |
Changed in firefox (Ubuntu): | |
status: | Confirmed → Incomplete |
status: | Incomplete → Confirmed |
assignee: | nobody → Manfred Walter Steffen (manfredwsteffen) |
Changed in firefox: | |
assignee: | nobody → Manfred Walter Steffen (manfredwsteffen) |
Changed in firefox (Ubuntu): | |
assignee: | Manfred Walter Steffen (manfredwsteffen) → nobody |
Changed in firefox: | |
assignee: | Manfred Walter Steffen (manfredwsteffen) → nobody |
Scrolling the main GMail window is slow. It should be super fast.
One issue is that the GMail window contains an IFRAME with all the actual content. That IFRAME's viewport scrollframe is not always active, we only activate it on a timer. So when you scroll, it's flipping between active and inactive a lot, which forces repainting of the entire window a lot.
So there's a few things we could do:
1) Increase the scroll activity timeout so we don't flip between active and inactive while scrolling. In selected cases we could make the timeout infinite.
2) Item 1 means we'll be displaying non-subpixel-AA text for longer, so we should fix that for as many cases as possible (including GMail) by detecting when a transparent ThebesLayer has a solid color behind it, and making the ThebesLayer opaque with that background color. That will also speed up drawing and compositing.