Closed Bug 322343 Opened 20 years ago Closed 17 years ago

100% cpu hang when closing TB

Categories

(Thunderbird :: General, defect)

x86
Windows XP
defect
Not set
critical

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: matafagafo, Unassigned)

Details

(Keywords: hang, Whiteboard: DUPEME, closeme 2008-04-10)

Attachments

(1 file)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8) Gecko/20051111 Firefox/1.5 Build Identifier: version 1.5 (20051201) Some times when I close TB it closes all windows, but, if I open the task manager it process is running and using 100% of cpu. It don't happen allways. I can't determine what I made to generating this problem. Reproducible: Sometimes Steps to Reproduce: 1. Use TB. 2. Close it. 3. Open he task manager and see the provess eating the cpu. Actual Results: Some times the process don't end, and the cpu is 100% used by it. Expected Results: TB task end. I'm ussing one Imap account and many RSS feeds and and news groups accont too. It starded to happen in TB 1.5 RC1.
Whiteboard: DUPEME
This happens to me frequently, and seems that happens always when I leave my computer turned on a lot of time ( more than 24 hs) with the TB running, (checking my imap accounts and my RSS feeds). Today with some free time , I decided to wait and let TB running using 100% of my cpu time, and after 15 minutes they exited ! What is TB doing ? Any ideas ?
It happens to me as well, if I leave thunderbird open for more than a day it takes upwards of five minutes of 100% usage before the background process dies. This is on my Sempron-M 2800+ CPU under Windows XP SP2 with 512MB RAM. I'm subscribed to over 20 RSS feeds, and I think that the RSS is what's causing the problem - if I mark them all as read, exit, observe the 100% bug, kill the process, and start thunderbird again - it downloads all-new never-seen-before RSS entries! And lots of them! What gives? I don't think that AVG scans incoming RSS feeds, but I could be wrong. My RSS folder is 119MB in size. I have some individual feedboxes that are over 10MB and 20MB in size (Gizmodo+BoingBoing and CNN, respectively). My feeds.rdf file is about 20kb, and the feeditems.rdf file is about 205kb. If I leave Thunderbird open for, say, 4 hours and close it, the problem is much less severe, but still seems noticeable. It only lasts for 20-30 seconds, though.
Happens to me on WIN 2000 and also happens on WINNT too.
This .rdf file contains my news & blogs feed datastore; the reason why I suspect RSS as the root of this bug is because when I kill Thunderbird after it gets stuck at 100% usage on exit, it downloads all new never-before-seen RSS items for these feeds on the next launch. I rather suspect that the code to go out and query these sites is getting hung up somehow.
Attachment #218375 - Attachment mime type: application/rdf+xml → text/xml
Seems to happen also on MacOS, see 324325
Happens to me as well... I can always tell when this is going to happen, too, because Thunderbird starts to use consistently 20% CPU while it's still open. (I know it's doing this because my laptop CPU fan starts up all of a sudden.) Once that has happened, guaranteed that when you close Thunderbird, it will go to this using 100% CPU. I have tried canceling all my RSS subscriptions and will see if that helps. Also I use IMAP, with a lot of messages & folders.
I have the same symptoms with TB 1.5.0.8 on Linux. My setup is one IMAP, a few POPs, and several RSS accounts. If I remember correctly, once I killed the process and it destroyed by address book.
Here's gdb attached to the TB 1.5.0.8 process (gdb) bt #0 0x00a055ea in strcmp () from /lib/libc.so.6 #1 0xb7be8666 in PREF_UnregisterCallback ( pref_node=0xafc2b10 "network.autodial-helper.enabled", callback=0xb7be3b42 <NotifyObserver>, instance_data=0xb0979e0) at prefapi.cpp:833 #2 0xb7be30aa in nsPrefBranch::freeObserverList (this=0x944a2e0) at nsPrefBranch.cpp:786 #3 0xb7be3154 in nsPrefBranch::Observe (this=0x944a2e0, aSubject=0x92dc38c, aTopic=0xb7eb3a14 "xpcom-shutdown", someData=0x0) at nsPrefBranch.cpp:727 #4 0xb7e63b96 in nsObserverService::NotifyObservers (this=0x9334670, aSubject=0x92dc38c, aTopic=0xb7eb3a14 "xpcom-shutdown", someData=0x0) at nsObserverService.cpp:233 #5 0xb7e5aa3c in NS_ShutdownXPCOM_P (servMgr=0x92dc38c) at nsXPComInit.cpp:797 #6 0x0804bf78 in ~ScopedXPCOMStartup (this=0xbf82c350) at nsAppRunner.cpp:553 #7 0x0804f71e in XRE_main (argc=3, argv=0xbf82c5b4, aAppData=0x80636e0) at nsAppRunner.cpp:2410 #8 0x0804afb5 in main (argc=3, argv=0xbf82c5b4) at nsMailApp.cpp:62 #9 0x009b14e4 in __libc_start_main () from /lib/libc.so.6 #10 0x0804af11 in _start () (gdb) s Single stepping until exit from function strcmp, which has no line number information. [Switching to Thread -1209985328 (LWP 13662)] PREF_UnregisterCallback ( pref_node=0xafc2b10 "network.autodial-helper.enabled", callback=0xb7be3b42 <NotifyObserver>, instance_data=0xb0979e0) at prefapi.cpp:850 850 node = node->next; (gdb) s 831 while (node != NULL) (gdb) s 833 if ( strcmp(node->domain, pref_node) == 0 && (gdb) s 850 node = node->next; (gdb) s 831 while (node != NULL) (gdb) s 833 if ( strcmp(node->domain, pref_node) == 0 && (gdb) s 850 node = node->next; (gdb) s 831 while (node != NULL)
happens here too. Unfortunately I also cannot reproduce it, but it happens also when after a few minutes of Thunderbird running. While that time I checked for E-Mails (just pop3), RSS and news groups. I think it has to do something with RSS, because when I use it away from home (laptop), I cannot check my news groups, but the CPU usage of TB raises to 100% when closing TB.
This bug exists on MacOSX as well. There is Bug 324325 reported about the same problem. When I run Thunderbird for a few days (POP-Mail, RSS) and quit it, it closes the main windows but the process stays open for several minutes and takes 100 % CPU. My system: TB 1.5.0.10 on MacOSX 10.4.9 on iBook PPC G4 with 1.42 GHz and 1.5 GB RAM
Do you all still see this when using v2? I'm seeing this rather consistently with version 3.0a1pre (2007100604). I haven't ruled out that it may be an extension.
Adam, did you have a specific (RSS?) bug in mind for the dupe?
If you commented here, did the problem go away with version 2? Reporter appears to be gone. Maybe rotis too. Thorsten can you reproduce with version 2?
Assignee: mscott → nobody
Keywords: hang
Summary: 100% cpu when closing TB → 100% cpu hang when closing TB
Whiteboard: DUPEME → DUPEME, closeme 2008-04-10
I haven't noticed the problem for a while. I am on TB 2.0.0.12 now.
I'm back, the problem appears to be solved to me. I'm using TB 2.0.0.12.
->WFM then
Status: UNCONFIRMED → RESOLVED
Closed: 17 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: