firefox hangs intermittently for no apparent reason.

Bug #606679 reported by ErikMaes
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
firefox (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: firefox

Firefox tends to hang repeatedly for no apparent reason. I need to killall firefox to get rid of it.

I ran firefox --debug and gdb tells me this:
Program received signal SIGPIPE, Broken pipe.
[Switching to Thread 0xb4affb70 (LWP 5869)]
0xb7fe2422 in __kernel_vsyscall ()
(gdb) bt
#0 0xb7fe2422 in __kernel_vsyscall ()
#1 0xb7fb73e8 in send () from /lib/tls/i686/cmov/libpthread.so.0
#2 0xb6f70073 in ?? () from /usr/lib/firefox-3.6.7/libnspr4.so
#3 0xb621ae6f in ?? () from /usr/lib/firefox-3.6.7/libssl3.so
#4 0xb620d57d in ?? () from /usr/lib/firefox-3.6.7/libssl3.so
#5 0xb620d81a in ?? () from /usr/lib/firefox-3.6.7/libssl3.so
#6 0xb621e8af in ?? () from /usr/lib/firefox-3.6.7/libssl3.so
#7 0xb62227bf in ?? () from /usr/lib/firefox-3.6.7/libssl3.so
#8 0xb79b4b4f in ?? () from /usr/lib/firefox-3.6.7/libxul.so
#9 0xb79a56a4 in ?? () from /usr/lib/firefox-3.6.7/libxul.so
#10 0xb79b2a00 in ?? () from /usr/lib/firefox-3.6.7/libxul.so
#11 0xb6f552e1 in PR_Close () from /usr/lib/firefox-3.6.7/libnspr4.so
#12 0xb7356af0 in ?? () from /usr/lib/firefox-3.6.7/libxul.so
#13 0xb73572c9 in ?? () from /usr/lib/firefox-3.6.7/libxul.so
#14 0xb735a177 in ?? () from /usr/lib/firefox-3.6.7/libxul.so
#15 0xb735a57d in ?? () from /usr/lib/firefox-3.6.7/libxul.so
#16 0xb735a7c4 in ?? () from /usr/lib/firefox-3.6.7/libxul.so
#17 0xb7c24243 in ?? () from /usr/lib/firefox-3.6.7/libxul.so
#18 0xb7bf2b8a in ?? () from /usr/lib/firefox-3.6.7/libxul.so
#19 0xb735a2ad in ?? () from /usr/lib/firefox-3.6.7/libxul.so
#20 0xb7c24298 in ?? () from /usr/lib/firefox-3.6.7/libxul.so
#21 0xb7bf2af3 in ?? () from /usr/lib/firefox-3.6.7/libxul.so
#22 0xb7c249a5 in ?? () from /usr/lib/firefox-3.6.7/libxul.so
---Type <return> to continue, or q <return> to quit---
#23 0xb6f72a81 in ?? () from /usr/lib/firefox-3.6.7/libnspr4.so
#24 0xb7faf96e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#25 0xb639aa4e in clone () from /lib/tls/i686/cmov/libc.so.6

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: firefox 3.6.7+build2+nobinonly-0ubuntu0.10.04.1
ProcVersionSignature: Ubuntu 2.6.32-23.37-generic 2.6.32.15+drm33.5
Uname: Linux 2.6.32-23-generic i686
NonfreeKernelModules: nvidia
Architecture: i386
CrashDB: ubuntu
Date: Sat Jul 17 17:34:07 2010
EcryptfsInUse: Yes
FirefoxPackages:
 firefox 3.6.7+build2+nobinonly-0ubuntu0.10.04.1
 firefox-gnome-support 3.6.7+build2+nobinonly-0ubuntu0.10.04.1
 firefox-branding 3.6.7+build2+nobinonly-0ubuntu0.10.04.1
 abroswer N/A
 abrowser-branding N/A
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100427.1)
ProcEnviron:
 LANG=en_US.utf8
 SHELL=/bin/bash
SourcePackage: firefox
ThirdParty: True

Revision history for this message
ErikMaes (erik-maes) wrote :
Revision history for this message
drew212 (mstngdrew212) wrote :

Thank you for submitting this bug and helping to improve Ubuntu. You did a great job getting a backtrace, unfortunately you don't have any debugging symbols installed. Could you please install the debug symbols for firefox: 'Sudo apt-get install firefox-dbg' and then run the backtrace as you did before. Thanks in advance!

Changed in firefox (Ubuntu):
status: New → Incomplete
Revision history for this message
drew212 (mstngdrew212) wrote :

Sorry, the correct command is: sudo apt-get install firefox-dbg without the capital S in sudo.

Revision history for this message
ErikMaes (erik-maes) wrote :

Done and done. New backtrace, if any, on it's way.

Revision history for this message
ErikMaes (erik-maes) wrote :

New backtrace sooner than expected. Firefox-dbg.

Program received signal SIGPIPE, Broken pipe.
[Switching to Thread 0xb4affb70 (LWP 3732)]
0xb7fe2422 in __kernel_vsyscall ()
(gdb) bt
#0 0xb7fe2422 in __kernel_vsyscall ()
#1 0xb7fb73e8 in send () from /lib/tls/i686/cmov/libpthread.so.0
#2 0xb6f70073 in pt_Send (fd=0xa50f79c0, buf=0xa4bf9000, amount=37, flags=0,
    timeout=4294967295) at ptio.c:1931
#3 0xb621ae6f in ssl_DefSend () from /usr/lib/firefox-3.6.7/libssl3.so
#4 0xb620d57d in ssl3_SendRecord () from /usr/lib/firefox-3.6.7/libssl3.so
#5 0xb620d81a in SSL3_SendAlert () from /usr/lib/firefox-3.6.7/libssl3.so
#6 0xb621e8af in ssl_SecureClose () from /usr/lib/firefox-3.6.7/libssl3.so
#7 0xb62227bf in ssl_Close () from /usr/lib/firefox-3.6.7/libssl3.so
#8 0xb79b4b4f in nsNSSSocketInfo::CloseSocketAndDestroy (this=0xb2eb29c0)
    at nsNSSIOLayer.cpp:1728
#9 0xb79a56a4 in nsSSLThread::requestClose (si=0xb2eb29c0)
    at nsSSLThread.cpp:437
#10 0xb79b2a00 in nsSSLIOLayerClose (fd=0xa64fb920) at nsNSSIOLayer.cpp:1713
#11 0xb6f552e1 in PR_Close (fd=0xa64fb920) at priometh.c:136
#12 0xb7356af0 in nsSocketTransport::ReleaseFD_Locked (this=0xa5815420,
    fd=0xa64fb920) at nsSocketTransport2.cpp:1388
#13 0xb73572c9 in nsSocketTransport::OnSocketDetached (this=0xa5815420,
    fd=0xa64fb920) at nsSocketTransport2.cpp:1611
#14 0xb735a177 in nsSocketTransportService::DetachSocket (this=0xb4b87000,
    sock=0xb4b870a4) at nsSocketTransportService2.cpp:185
#15 0xb735a4d9 in nsSocketTransportService::DoPollIteration (this=0xb4b87000,
    wait=0) at nsSocketTransportService2.cpp:630
---Type <return> to continue, or q <return> to quit---
#16 0xb735a7c4 in nsSocketTransportService::OnProcessNextEvent (
    this=0xb4b87000, thread=0xb5bff510, mayWait=0, depth=1)
    at nsSocketTransportService2.cpp:535
#17 0xb7c24243 in nsThread::ProcessNextEvent (this=0xb5bff510, mayWait=0,
    result=0xb4aff17c) at nsThread.cpp:508
#18 0xb7bf2b8a in NS_ProcessPendingEvents_P (thread=0xb5bff510,
    timeout=4294967295) at nsThreadUtils.cpp:200
#19 0xb735a2ad in nsSocketTransportService::Run (this=0xb4b87000)
    at nsSocketTransportService2.cpp:571
#20 0xb7c24298 in nsThread::ProcessNextEvent (this=0xb5bff510, mayWait=1,
    result=0xb4aff25c) at nsThread.cpp:527
#21 0xb7bf2af3 in NS_ProcessNextEvent_P (thread=0xffffffe0, mayWait=1)
    at nsThreadUtils.cpp:250
#22 0xb7c249a5 in nsThread::ThreadFunc (arg=0xb5bff510) at nsThread.cpp:254
#23 0xb6f72a81 in _pt_root (arg=0xb5b19ab0) at ptthread.c:228
#24 0xb7faf96e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#25 0xb639aa4e in clone () from /lib/tls/i686/cmov/libc.so.6
(gdb)

Revision history for this message
ErikMaes (erik-maes) wrote :

here's another one. Diff told me it's, well, different, so I post it just in case.

By the way, is it me or is firefox-dbg more susceptible to this? (or, maybe, that's the point?)

Program received signal SIGPIPE, Broken pipe.
[Switching to Thread 0xb4affb70 (LWP 3913)]
0xb7fe2422 in __kernel_vsyscall ()
(gdb) bt
#0 0xb7fe2422 in __kernel_vsyscall ()
#1 0xb7fb73e8 in send () from /lib/tls/i686/cmov/libpthread.so.0
#2 0xb6f70073 in pt_Send (fd=0xa4b1e200, buf=0xa4b24000, amount=37, flags=0,
    timeout=4294967295) at ptio.c:1931
#3 0xb621ae6f in ssl_DefSend () from /usr/lib/firefox-3.6.7/libssl3.so
#4 0xb620d57d in ssl3_SendRecord () from /usr/lib/firefox-3.6.7/libssl3.so
#5 0xb620d81a in SSL3_SendAlert () from /usr/lib/firefox-3.6.7/libssl3.so
#6 0xb621e8af in ssl_SecureClose () from /usr/lib/firefox-3.6.7/libssl3.so
#7 0xb62227bf in ssl_Close () from /usr/lib/firefox-3.6.7/libssl3.so
#8 0xb79b4b4f in nsNSSSocketInfo::CloseSocketAndDestroy (this=0xa4c61b60)
    at nsNSSIOLayer.cpp:1728
#9 0xb79a56a4 in nsSSLThread::requestClose (si=0xa4c61b60)
    at nsSSLThread.cpp:437
#10 0xb79b2a00 in nsSSLIOLayerClose (fd=0xa73b76a0) at nsNSSIOLayer.cpp:1713
#11 0xb6f552e1 in PR_Close (fd=0xa73b76a0) at priometh.c:136
#12 0xb7356af0 in nsSocketTransport::ReleaseFD_Locked (this=0xa1f4ba90,
    fd=0xa73b76a0) at nsSocketTransport2.cpp:1388
#13 0xb73572c9 in nsSocketTransport::OnSocketDetached (this=0xa1f4ba90,
    fd=0xa73b76a0) at nsSocketTransport2.cpp:1611
#14 0xb735a177 in nsSocketTransportService::DetachSocket (this=0xb4b87000,
    sock=0xb4b870b0) at nsSocketTransportService2.cpp:185
#15 0xb735a4d9 in nsSocketTransportService::DoPollIteration (this=0xb4b87000,
    wait=0) at nsSocketTransportService2.cpp:630
---Type <return> to continue, or q <return> to quit---
#16 0xb735a7c4 in nsSocketTransportService::OnProcessNextEvent (
    this=0xb4b87000, thread=0xb5bff510, mayWait=0, depth=1)
    at nsSocketTransportService2.cpp:535
#17 0xb7c24243 in nsThread::ProcessNextEvent (this=0xb5bff510, mayWait=0,
    result=0xb4aff17c) at nsThread.cpp:508
#18 0xb7bf2b8a in NS_ProcessPendingEvents_P (thread=0xb5bff510,
    timeout=4294967295) at nsThreadUtils.cpp:200
#19 0xb735a2ad in nsSocketTransportService::Run (this=0xb4b87000)
    at nsSocketTransportService2.cpp:571
#20 0xb7c24298 in nsThread::ProcessNextEvent (this=0xb5bff510, mayWait=1,
    result=0xb4aff25c) at nsThread.cpp:527
#21 0xb7bf2af3 in NS_ProcessNextEvent_P (thread=0xffffffe0, mayWait=1)
    at nsThreadUtils.cpp:250
#22 0xb7c249a5 in nsThread::ThreadFunc (arg=0xb5bff510) at nsThread.cpp:254
#23 0xb6f72a81 in _pt_root (arg=0xb5b19ab0) at ptthread.c:228
#24 0xb7faf96e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#25 0xb639aa4e in clone () from /lib/tls/i686/cmov/libc.so.6
(gdb)

Revision history for this message
ErikMaes (erik-maes) wrote :

As an aside, is this enough info for you to work with, or should I keep on running debugging sessions? I'm asking because I'm rather new to this.

Revision history for this message
Micah Gersten (micahg) wrote :

Thank you for the update. Do you get the SIGPIPE on teh console when not running in debug mode?

Revision history for this message
ErikMaes (erik-maes) wrote :

Haven't checked that to be honest, the first thing I did when this started happening was to engage the debugging-thrusters.
I'll run firefox normally and check back.

Revision history for this message
ErikMaes (erik-maes) wrote :

Heh. It appears I can't get firefox to freeze anymore. While positive, it doesn't really help tracking down any problems.
Running a normal session from the terminal, btw.

Revision history for this message
drew212 (mstngdrew212) wrote :

Since you no long can reproduce this bug I'm marking it as invalid. If the problem arises again set the bug status to new and we will continue helping you with your bug. Feel free to continue reporting any other bugs you may find. Thanks again!

Changed in firefox (Ubuntu):
status: Incomplete → Invalid
Revision history for this message
ErikMaes (erik-maes) wrote :

Okiedokie.
The bug came up while debugging segfaulting-bugs anyway which I still need to file (this kinda got in the way) and this taught me some more about the process.
Should it come up again I'll reset the status. Thanks so far for the help!

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.