Bug 676366

Summary: thunderbird loops forever on quit
Product: [Fedora] Fedora Reporter: Joshua Roys <roysjosh>
Component: thunderbirdAssignee: Gecko Maintainer <gecko-bugs-nobody>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 13CC: gecko-bugs-nobody, mcepl
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-02-18 17:55:19 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Joshua Roys 2011-02-09 16:28:13 UTC
Description of problem:
thunderbird loops forever on quit


Version-Release number of selected component (if applicable):
thunderbird-3.1.7-2.fc13.x86_64


How reproducible:
quit thunderbird.  this happens almost every time for me.


Steps to Reproduce:
1. leave tb open for a while (???)
2. quit
3. watch CPU usage spike

  
Actual results:
loop.  strace says:
read(15, "\372", 1)                     = 1
read(3, 0x7f2ec6d52074, 4096)           = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=8, events=POLLIN|POLLPRI}, {fd=22, events=POLLIN|POLLPRI}, {fd=10, events=POLLIN|POLLPRI}, {fd=21, events=POLLIN|POLLPRI}, {fd=23, events=POLLIN|POLLPRI}, {fd=20, events=POLLIN}, {fd=37, events=POLLIN}, {fd=14, events=POLLIN}, {fd=76, events=POLLIN}, {fd=61, events=POLLIN}, {fd=19, events=POLLIN}, {fd=15, events=POLLIN}], 14, 0) = 0 (Timeout)
read(3, 0x7f2ec6d52074, 4096)           = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=8, events=POLLIN|POLLPRI}, {fd=22, events=POLLIN|POLLPRI}, {fd=10, events=POLLIN|POLLPRI}, {fd=21, events=POLLIN|POLLPRI}, {fd=23, events=POLLIN|POLLPRI}, {fd=20, events=POLLIN}, {fd=37, events=POLLIN}, {fd=14, events=POLLIN}, {fd=76, events=POLLIN}, {fd=61, events=POLLIN}, {fd=19, events=POLLIN}, {fd=15, events=POLLIN}], 14, 0) = 0 (Timeout)
write(16, "\372", 1)                    = 1
read(3, 0x7f2ec6d52074, 4096)           = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=8, events=POLLIN|POLLPRI}, {fd=22, events=POLLIN|POLLPRI}, {fd=10, events=POLLIN|POLLPRI}, {fd=21, events=POLLIN|POLLPRI}, {fd=23, events=POLLIN|POLLPRI}, {fd=20, events=POLLIN}, {fd=37, events=POLLIN}, {fd=14, events=POLLIN}, {fd=76, events=POLLIN}, {fd=61, events=POLLIN}, {fd=19, events=POLLIN}, {fd=15, events=POLLIN}], 14, 0) = 1 ([{fd=15, revents=POLLIN}])
read(15, "\372", 1)                     = 1

lsof says desc 3 is a unix socket:
thunderbi 3352 jroys3    3u  unix 0xffff88022a7be100      0t0     36129 socket


Expected results:
no loop


Additional info:

Comment 1 Matěj Cepl 2011-02-14 15:21:54 UTC
Thunderbird hangs on quit are notoriously hard to debug. Could you take a look please at https://wiki.mozilla.org/Thunderbird:Testing:Shutdown_Hang do the troubleshooting following the steps described there, please?

Could you let us know what are your conclusions? Which upstream bug your situation resembles most?

Thank you

Comment 2 Joshua Roys 2011-02-18 17:55:19 UTC
enigmail was the problem.  I'll just disable it for now, or maybe try the enigmail nightly.  Closing...

Upstream bugs:
 https://bugzilla.mozilla.org/show_bug.cgi?id=532435
 https://bugzilla.mozilla.org/show_bug.cgi?id=527422

Thanks!