Bug 676366 - thunderbird loops forever on quit
Summary: thunderbird loops forever on quit
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: thunderbird
Version: 13
Hardware: Unspecified
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Gecko Maintainer
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-02-09 16:28 UTC by Joshua Roys
Modified: 2018-04-11 11:16 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-02-18 17:55:19 UTC
Type: ---


Attachments (Terms of Use)

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!


Note You need to log in before you can comment on or make changes to this bug.