When I close a tab that has a Gmail page loaded, firefox crashes

Bug #214817 reported by João Olavo Vasconcelos
20
Affects Status Importance Assigned to Milestone
firefox-3.0 (Ubuntu)
Incomplete
Undecided
Unassigned

Bug Description

Binary package hint: firefox-3.0

Firefox version: 3.0~b5+nobinonly-0ubuntu1
Ubuntu version: Hardy (8.04) beta updated (2008/4/9)

Situation: a Firefox tab with Gmail loaded (actually, the same thing happens with Google Docs and Google Reader), and other tabs loaded with other sites. Every time that I close the tab with Gmail (using X button, middle button, CTRL+W or File -> Close Tab), Firefox crashes.

Revision history for this message
João Olavo Vasconcelos (joaoolavo) wrote :

I don't know if it'll help, but I ran firefox with strace and the result was:
"""
[...]
gettimeofday({1207777639, 910519}, NULL) = 0
gettimeofday({1207777639, 910655}, NULL) = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
unlink("/home/joaoolavo/.mozilla/firefox/h07qtgl8.default/lock") = 0
rt_sigaction(SIGSEGV, {SIG_DFL}, NULL, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [SEGV], NULL, 8) = 0
tgkill(10544, 10544, SIGSEGV) = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV (core dumped) +++
Process 10544 detached
"""

Revision history for this message
antage (antage) wrote :

I have this bug too, but only with Gmail (not Google Docs nor Google Reader).

Revision history for this message
João Olavo Vasconcelos (joaoolavo) wrote : Re: [Bug 214817] Re: When I close a tab that has a Gmail page loaded, firefox crashes
  • unnamed Edit (136 bytes, text/html; charset=ISO-8859-1)

I deleted the directory ~/.mozilla to get it working. Remember to backup
your stuffs (bookmarks, extensions, search engines...) before.

Revision history for this message
antage (antage) wrote :

> I deleted the directory ~/.mozilla to get it working.
I tried, but this does not help.

Revision history for this message
Hans-Kristian Bruvold (hkbruvold) wrote :

I can confirm that this bug is in Ubuntu Hardy Heron.
I have firefox 3.0~b5+nobinonly-0ubuntu2. (the Firefox version pre-installed in Ubuntu.)

The bug appear only if the tab is being closed, not when you leave the page.

Revision history for this message
hotani (hotani) wrote :

Same problem here. Closing gmail tab crashes firefox.

OS: Ubuntu 8.04
Firefox version: 3.0b5, 2008041514
Add-ons: firebug 1.1.0b12, adblock plus 0.7.5.4

Revision history for this message
John Vivirito (gnomefreak) wrote :

Savagex, hotani, and Hans file a seperate bug and add a backtrace to the bug, backtrace instructions can be found at:
https://wiki.ubuntu.com/MozillaTeam/Bugs
We can only handle one crash per bug report due to crashes all look simular but can be caused by totally different issues.

Revision history for this message
John Vivirito (gnomefreak) wrote :

Does running firefox in safe mode stop the crashing? to run in safe mode
1. open terminal
2. type "firefox -safe-mode" without the "
Everyone it seems noone has given me if this happens with the latest firefox 3.0 in Hardy 3.0~b5+nobinonly-0ubuntu3

Changed in firefox-3.0:
status: New → Incomplete
Revision history for this message
Daniel Sargeant (dsargeant) wrote :

I also experience this problem. I looked at the backtrace wiki link you posted, John, but it says it's not applicable for Firefox-3.0 in Hardy (firefox-dbg is not in the repos). I ran firefox in safe mode as you suggested and still experienced the crash when closing a tab containing GMail. This happens on both my x86 and amd64 machines.

Revision history for this message
John Vivirito (gnomefreak) wrote :

>
> Daniel Sargeant wrote:
>
>> > I also experience this problem. I looked at the backtrace wiki link you
>> > posted, John, but it says it's not applicable for Firefox-3.0 in Hardy
>> > (firefox-dbg is not in the repos). I ran firefox in safe mode as you
>> > suggested and still experienced the crash when closing a tab containing
>> > GMail. This happens on both my x86 and amd64 machines.
>> >
>> >
>>
Im sorry i forgot we diudnt build the -dbg symbols with firefox anymore
as of 3.0 this however may change in the future but for now please add
the following repos to your /etc/apt/sources.list file save than update
repo list than install firefox-3.0-dbgsym and anyothers that you cant
find with -dbg suffix like xulrunner may need to be -dbgsym, here are
the repos please change for your version of Ubuntu these are for hardy
if you use gutsy please change hardy with gutsy:
deb http://ddebs.ubuntu.com hardy main universe
deb http://ddebs.ubuntu.com hardy-updates main universe
#deb http://ddebs.ubuntu.com hardy-proposed main universe
deb http://ddebs.ubuntu.com hardy-security main universe

the proposed repo isnt being used in hardy

--
Sincerely Yours,
    John Vivirito

https://launchpad.net/~gnomefreak
https://wiki.ubuntu.com/JohnVivirito
Linux User# 414246

Revision history for this message
John Vivirito (gnomefreak) wrote :

>
> Daniel Sargeant wrote:
>
> > I also experience this problem. I looked at the backtrace wiki link you
> > posted, John, but it says it's not applicable for Firefox-3.0 in Hardy
> > (firefox-dbg is not in the repos). I ran firefox in safe mode as you
> > suggested and still experienced the crash when closing a tab containing
> > GMail. This happens on both my x86 and amd64 machines.
> >

to correct my last comment please dont use the repo that says
hardy-proposed as it is not there yet. you will need to install
xulrunner-1.9-dbgsym and firefox-3.0-dbgsym and the normal packages:

libgtk2.0-0-dbg \
     libnss3-0d-dbg \
     libnspr4-0d-dbg \
     libpango1.0-0-dbg \
     libcairo2-dbg \
     libc6-dbg

If they are not there please install thier friends -dbgsym if -dbg isnt
in repos. I will update the wiki as soon as i can its on my list to do
along with the other 39 things :) but i will get to it soon i hope

Please see https://wiki.ubuntu.com/DebuggingProgramCrash for more info
about the repos but please use them the way Mozillateam wiki says to as
firefox is run a bit different. can anyone reproduce this crash using
"firefox -safe-mode" running it from a terminal without the "

--
Sincerely Yours,
    John Vivirito

https://launchpad.net/~gnomefreak
https://wiki.ubuntu.com/JohnVivirito
Linux User# 414246

Revision history for this message
hotani (hotani) wrote :

I can confirm that this crashes in safe mode with 'segmentation fault', and is consistent.

Revision history for this message
John Vivirito (gnomefreak) wrote :

hotani wrote:
> I can confirm that this crashes in safe mode with 'segmentation fault',
> and is consistent.
>
>
this bug and 217580 are close if no thte same and as i understand it
google hasnt updated thier code to run with xulrunner-1.9/ Gecko-1.9 and
that is why you see this in firefox-3 and not firefox-2 but i will know
more when they answer my email.

--
Sincerely Yours,
    John Vivirito

https://launchpad.net/~gnomefreak
https://wiki.ubuntu.com/JohnVivirito
Linux User# 414246

Revision history for this message
John Vivirito (gnomefreak) wrote :

John Vivirito wrote:
>> Daniel Sargeant wrote:
>>
>>>> I also experience this problem. I looked at the backtrace wiki link you
>>>> posted, John, but it says it's not applicable for Firefox-3.0 in Hardy
>>>> (firefox-dbg is not in the repos). I ran firefox in safe mode as you
>>>> suggested and still experienced the crash when closing a tab containing
>>>> GMail. This happens on both my x86 and amd64 machines.
>>>>
>>>>
>>>
> Im sorry i forgot we diudnt build the -dbg symbols with firefox anymore
> as of 3.0 this however may change in the future but for now please add
> the following repos to your /etc/apt/sources.list file save than update
> repo list than install firefox-3.0-dbgsym and anyothers that you cant
> find with -dbg suffix like xulrunner may need to be -dbgsym, here are
> the repos please change for your version of Ubuntu these are for hardy
> if you use gutsy please change hardy with gutsy:
> deb http://ddebs.ubuntu.com hardy main universe
> deb http://ddebs.ubuntu.com hardy-updates main universe
> #deb http://ddebs.ubuntu.com hardy-proposed main universe
> deb http://ddebs.ubuntu.com hardy-security main universe
>
> the proposed repo isnt being used in hardy
>

Right from googles site is the snippet and than a link to find it.

> For the best experience, please access Gmail via Internet Explorer
v.7+, Firefox v.2+, or Safari v.3+.

http://mail.google.com/support/bin/static.py?page=known_issues.cs
If you look to your right in the little yellow box you will see the
above comment
--
Sincerely Yours,
    John Vivirito

https://launchpad.net/~gnomefreak
https://wiki.ubuntu.com/JohnVivirito
Linux User# 414246

Revision history for this message
John Vivirito (gnomefreak) wrote : Re: [Bug 214817] Re: When I close a tab that has a Gmail page loaded, firefox crashes

John Vivirito wrote:
> hotani wrote:
>
>> I can confirm that this crashes in safe mode with 'segmentation fault',
>> and is consistent.
>>
>>
>>
> this bug and 217580 are close if no thte same and as i understand it
> google hasnt updated thier code to run with xulrunner-1.9/ Gecko-1.9 and
> that is why you see this in firefox-3 and not firefox-2 but i will know
> more when they answer my email.
>
>
Does clicking on Older Version help your issue with gmail. You will se
eit in top right hand corner near settings and sign out.
The following is a list of support browsers
http://mail.google.com/support/bin/answer.py?answer=6557&topic=12914

--
Sincerely Yours,
    John Vivirito

https://launchpad.net/~gnomefreak
https://wiki.ubuntu.com/JohnVivirito
Linux User# 414246

Revision history for this message
Daniel Sargeant (dsargeant) wrote :

Using the older version of gmail as suggested by John, above, prevents the crashing I experience with the new version of gmail.

Revision history for this message
John Vivirito (gnomefreak) wrote :

Marked invalid due to it being a google API issue not a Firefox bug, There isnt anything we can do about this at this time, Im waiting on responce fro google about support for Gecko/XULrunner-1.9

Changed in firefox-3.0:
status: Incomplete → Invalid
Revision history for this message
ramrebol (ramrebol) wrote :

firefox never should crash. Doesn't matter what page I am looking at or what framework, API or whatever the page uses.

Revision history for this message
antage (antage) wrote :

ramrebol, +1

Revision history for this message
John Vivirito (gnomefreak) wrote : Re: [Bug 214817] Re: When I close a tab that has a Gmail page loaded, firefox crashes

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

ramrebol wrote:
| firefox never should crash. Doesn't matter what page I am looking at or
| what framework, API or whatever the page uses.
|
It is impossible to work around EVERYONES API as there are too many
options on how to write a page/script/ect.. So for Google to use an API
that is NOT supporting 1.9 branch Is not anyones fault seeing as
Firefox-3 isnt yet finished. To say " Firefox should never crash" Is not
a helpful comment on a bug report.This is nothing Ubuntu devs can do
anything about please file this bug upstream and lets see what they can do.

- --
Sincerely Yours,
~ John Vivirito

https://launchpad.net/~gnomefreak
https://wiki.ubuntu.com/JohnVivirito
Linux User# 414246
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIMzP1qig4QTwcPCoRAkuOAJ4+VIj1BqOfqdJdu4PgsalPsp5w7ACcCHjR
g+Hb/F/k7CiIItI7i4PM48A=
=gYZg
-----END PGP SIGNATURE-----

Revision history for this message
Alexander Sack (asac) wrote : Re: [Bug 214817] Re: When I close a tab that has a Gmail page loaded, firefox crashes

On Mon, May 19, 2008 at 10:47:13PM -0000, ramrebol wrote:
> firefox never should crash. Doesn't matter what page I am looking at or
> what framework, API or whatever the page uses.
>

yes, but then you must not be able to change firefox. instlling
extensions/plugins is like connecting two apps together. if flash
crashes firefox says good-bye too. Firefox also offers a feature to
plugin implementors to run out-of-process, which would prevent these
crashes. however adobe flash doesnt use that and put their instability
upon ever firefox user.

 - Alexander

Revision history for this message
ollie (ollie-ollie) wrote :

I have the exact same behaviour on Firefox 3 RC2 on Ubuntu Hardy. Using -safe-mode, disabling all plugins, moving .mozilla away, having a brand new profile... None of those actions helps, Firefox still crashes closing a Gmail tab. And it happens a lot. As in several times a day - a lot. Lately I've noticed it's not only Gmail and Google Docs -- a few other pages cause the same crash when you close their tabs. The only thing I've seen in common with them is the heavy use of Javascript/Ajax.

It's been argued that this is not a bug but merely a Google API issue. I have the same Firefox 3 RC2 running on an openSuse system and another on Windows Vista SP1. Neither are affected. Only the Ubuntu one is. So I don't understand how this is caused by Google not supporting Gecko/XULrunner 1.9.

Revision history for this message
Alexander Sack (asac) wrote :

On Fri, Jun 13, 2008 at 10:13:01PM -0000, ollie wrote:
> I have the exact same behaviour on Firefox 3 RC2 on Ubuntu Hardy. Using
> -safe-mode, disabling all plugins, moving .mozilla away, having a brand
> new profile... None of those actions helps, Firefox still crashes
> closing a Gmail tab. And it happens a lot. As in several times a day - a
> lot. Lately I've noticed it's not only Gmail and Google Docs -- a few
> other pages cause the same crash when you close their tabs. The only
> thing I've seen in common with them is the heavy use of Javascript/Ajax.
>
> It's been argued that this is not a bug but merely a Google API issue. I
> have the same Firefox 3 RC2 running on an openSuse system and another on
> Windows Vista SP1. Neither are affected. Only the Ubuntu one is. So I
> don't understand how this is caused by Google not supporting
> Gecko/XULrunner 1.9.
>

please download the check-integrity.sh script from [1] to /tmp/. Then
open terminal (Applications -> Accessories -> Terminal) and run:

 sh /tmp/check-integrity.sh xulrunner-1.9\* > /tmp/integrity.txt
 sh /tmp/check-integrity.sh firefox-3.0\* > /tmp/integrity.txt

Next, attach /tmp/integrity.txt to this bug.

 affects ubuntu/firefox-3.0
 status incomplete

[1] - http://people.ubuntu.com/~asac/scripts/

 - Alexander

Changed in firefox-3.0:
status: Invalid → Incomplete
Revision history for this message
ollie (ollie-ollie) wrote :

Here it is. I believe in the second line there you meant:

sh /tmp/check-integrity.sh firefox-3.0\* >> /tmp/integrity.txt

Or else integrity.txt would get overwritten, right?

Revision history for this message
eugrus (eugrus) wrote :

I have the same problem.

FireFox 3.0 crashes when I close the tab with Gmail.

Revision history for this message
Alexander Sack (asac) wrote :

On Sat, Jun 14, 2008 at 12:11:45AM -0000, ollie wrote:
> Here it is. I believe in the second line there you meant:
>
> sh /tmp/check-integrity.sh firefox-3.0\* >> /tmp/integrity.txt

Yes, good catch ... the second line should have a '>>' and not '>'

 - Alexander

Revision history for this message
bowie101 (bowie101) wrote :

Oh, I don't have to necessarily be closing a tab for this to happen to me. I merely have to have a Gmail or a Google Docs page open in my browser for FF to crash repeatedly and randomly. Then usually upon trying to relaunch, of course, I remain optimistic, and choose the option to restore my pages, and this will of course crash me to kingdom come a good 70% of the time.

And i might add that while Gmail and Google Docs are CLEARLY the most troublesome pages for crashing my FF , they aren't the only ones. I've had other pages crash FF too, but not nearly as often. What pages now, I don't remember. I just rebuilt my system, these past few days, so my head is filled with that.

Revision history for this message
phinn (phinn) wrote :

I have this crash bug too. With Firefox 3.0 (final build).

However it doesn't crash if I run the "older version". So I just bookmark this page: http://mail.google.com/mail/?ui=1

It sure would be nice to have the newer version of course but its a work around.

Revision history for this message
John Vivirito (gnomefreak) wrote : Re: [Bug 214817] Re: When I close a tab that has a Gmail page loaded, firefox crashes

phinn wrote:
> I have this crash bug too. With Firefox 3.0 (final build).
>
> However it doesn't crash if I run the "older version". So I just
> bookmark this page: http://mail.google.com/mail/?ui=1
>
> It sure would be nice to have the newer version of course but its a work
> around.
>
>
can you all please file a bug on website by going to Help > report
broken web site and give link here. everyone should than comment on it
if you see this issue with the exact page. If not exact page please file
one yourself. This is caused by google API not supporting Firefox-3 Im
going to mark this bug invalid but the way this bug should have been
filed was the way i gave above Its not Firefox that is broken

--
Sincerely Yours,
    John Vivirito

https://launchpad.net/~gnomefreak
https://wiki.ubuntu.com/JohnVivirito
Linux User# 414246

Changed in firefox-3.0:
status: Incomplete → Invalid
Revision history for this message
Alexander Sack (asac) wrote : Re: [Bug 214817] Re: When I close a tab that has a Gmail page loaded, firefox crashes

On Thu, Jun 19, 2008 at 10:41:11AM -0000, John Vivirito wrote:
> phinn wrote:
> > I have this crash bug too. With Firefox 3.0 (final build).
> >
> > However it doesn't crash if I run the "older version". So I just
> > bookmark this page: http://mail.google.com/mail/?ui=1
> >
> > It sure would be nice to have the newer version of course but its a work
> > around.
> >
> >
> can you all please file a bug on website by going to Help > report
> broken web site and give link here. everyone should than comment on it
> if you see this issue with the exact page. If not exact page please file
> one yourself. This is caused by google API not supporting Firefox-3 Im
> going to mark this bug invalid but the way this bug should have been
> filed was the way i gave above Its not Firefox that is broken
>

John, that menu entry is not reall yment to report websites that
crash. only if they have misrendering or other misbehaviour.

crashes should still be dealt with here.

 affects ubuntu/firefox-3.0
 status incomplete

we need a backtrace for now ...

 - Alexander

Revision history for this message
eugrus (eugrus) wrote :

The same with a wide range of different AJAX apps...

Alexander Sack (asac)
Changed in firefox-3.0:
status: Invalid → Incomplete
Revision history for this message
antage (antage) wrote :

I created backtrace as described in the guide (https://wiki.ubuntu.com/MozillaTeam/Bugs?action=show&redirect=DebuggingFirefox) by following sequence:

$ gdb /usr/lib/firefox-3.0/firefox 2>&1 | tee /tmp/gdb-firefox-3.0.txt
gdb> run
open gmail.com (i was logged in)
close tab with gmail.com
firefox crashed
gdb> bt full
gdb> thread apply all backtrace full
gdb> quit

Revision history for this message
Alexander Sack (asac) wrote :

On Sat, Jun 28, 2008 at 03:57:10AM -0000, Andrew Conkling wrote:
> *** This bug is a duplicate of bug 209372 ***
> https://bugs.launchpad.net/bugs/209372
>
> ** This bug is no longer a duplicate of bug 215514
> firefox crashed [@nsDocAccessible::FlushPendingEvents]
>
> ** This bug has been marked a duplicate of bug 209372
> firefox crashed with SIGSEGV in ReleaseObjects()
>

please dont change dupe i marked without telling why.

 - Alexander

Revision history for this message
John Vivirito (gnomefreak) wrote : Re: [Bug 214817] Re: When I close a tab that has a Gmail page loaded, firefox crashes

Alexander Sack wrote:
> *** This bug is a duplicate of bug 209372 ***
> https://bugs.launchpad.net/bugs/209372
>
> On Sat, Jun 28, 2008 at 03:57:10AM -0000, Andrew Conkling wrote:
>
>> *** This bug is a duplicate of bug 209372 ***
>> https://bugs.launchpad.net/bugs/209372
>>
>> ** This bug is no longer a duplicate of bug 215514
>> firefox crashed [@nsDocAccessible::FlushPendingEvents]
>>
>> ** This bug has been marked a duplicate of bug 209372
>> firefox crashed with SIGSEGV in ReleaseObjects()
>>
>>
>
> please dont change dupe i marked without telling why.
>
> - Alexander
>
>
Alexander i had removed the dupe and refiled as a dupe since it was the
wrong bug but i had set it right back to what it was. Please see
activity log.

--
Sincerely Yours,
    John Vivirito

https://launchpad.net/~gnomefreak
https://wiki.ubuntu.com/JohnVivirito
Linux User# 414246

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.