Closed Bug 598296 Opened 14 years ago Closed 12 years ago

Account settings don't display properly, failure to save, hangs, crashes on large mailbox with 2000+ folders [@ nsThreadManager::GetIsMainThread(int*) ] [Mac]

Categories

(Thunderbird :: General, defect)

x86
macOS
defect
Not set
critical

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: james, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: crash)

Crash Data

Attachments

(2 files)

User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8 Build Identifier: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.9) Gecko/20100915 Lightning/1.0b2 Thunderbird/3.1.4 I have two rather large email boxes (2500folders/3GB and 800folders/5GB) running over IMAP from a Cyrus IMAP server. Every few minutes (say 3 to 20 mins), things starting acting flakey. It feels like a memory stomp. TB starts complaining about not being able to save the current draft; it can't open a folder; and most of the time when I go and bring up account settings, they're blank (only one account name shown, with no settings categories even listed under it). Sometimes TB crashes or hangs. After restarting, everything is fine again, but usually only for some minutes. Reproducible: Always I'm running a few add-ons (Quicker Filer, Quick Folders and Lightning) as well as a set of plug-ins (Flip4Mac, iPhoto Photocast, Java Plug-in2, MS Office Live, QuickTime, RealPlayer, Shockwave Flash and Silverlight), but the problem doesn't seem related to any rich-media use. I imported a large amount of mail from another system, and there could be some corrupt or incomplete messages floating around in some folders, but Cyrus IMAP seems happy enough with it. MacOS 10.6.4. And it was also happening with TB 3.1.2, which is the first time I pushed my big mailboxes onto TB.
Does it occur with thunderbird started in safe mode? https://support.mozillamessaging.com/en-US/kb/Safe+Mode In Tools|Options|Advanced|Network and disk, what are all the settings for Disk space? Was this profile *always* on a Mac?
Summary: Memory corruption? (Loss of settings, failure to save, hangs, crashes) on large mailbox with 2000+ folders → Account settings don't display properly, failure to save, hangs, crashes on large mailbox with 2000+ folders
Version: unspecified → 3.1
Yes, I believe the profile was entirely created on a Mac. I did migrate some Firefox profile contents from a Windows XP machine, but with Thunderbird I started from scratch on the Mac. If profile corruption is a possible cause, I can nuke it and restart. Advanced Network and Disk Settings: Connection: Use system proxy settings (no proxy is configured on the system) Offline: Always start up online. Send unsent message: ask. Download for offline use: Ask me. (I usually say no, since it would take way to long to download everything. I wish I could specify about a dozen of my gazillion folders to keep for offline use.) Disk space: Use up to 9,000 MB. (Current total size of ImapMail is 3.1GB across three accounts.) Compact folders over 100KB: No I haven't been able to reproduce the problem in safe mode, but I haven't run very much in that mode. The lack of two extensions: Quick Folders and Quicker Filer, makes it very hard for me to be productive. So instead, I tried uninstalling some plugins (Real and Flip4Mac) and disabling all of the remaining ones. Nevertheless, the problem still happens. As time allows, I'll try running more in safe mode. I could also uninstall lightning, since I can always fall back to the MS product that I really wanted to delete. It looks as though Lightning has a binary component (libcalbasecomp.dylib). Would that make it more of a suspect as a source of this type of problem than the other, pure JS extensions?
OK, I'm getting similar failures in safe mode. Often, the first indication I get of TB going south is its failure to save a draft ("Unable to save your message as draft. Please verify that your Mail & Newsgroups account settings are correct and try again."). or its failure to open a folder ("Unable to open the summary file for XXX. Perhaps there was an error on disk, or the full path is too long."). Lots of other incidents though. One time all my mailboxes and folders disappeared from the left column ("All Folders" or "Unread Folders"). One time the list of plug-ins (usually a list grayed out due to safe mode) was empty. I've had TB become unable to pop up new windows with the following repeatedly printed out on the terminal: "2010-10-14 17:06:31.868 thunderbird-bin[1415:903] Critical failure: the LastResort font is unavailable." TB has also crashed a couple times. All in safe mode. One strange thing is how clustered the failures are. On a few occasions, TB has run for a day or more without a single problem, even in normal, non-safe mode. But once the problems manifest, things can get real ugly. TB may fail a dozen times in a row within 3 minutes of start up, safe mode or not. I can't identify anything different in my usage pattern. Is there a way to clear some of the startup state, like the set of tabs and folders?
Keywords: crash, stackwanted
Whiteboard: [closeme 2011-05-01]
Still having the same problems in 3.1.9. Most commonly, server communication stops working, usually with an attempt to send. I then go do "View Settings for Account" and the display is blank except for the name of the first account, i.e. even the subheadings like "Server Settings", "Copies & Folders" are blank. That's when I know it's dead. This happened about 4 times today. But sometimes it will go for days without a problem. I've done a fresh install on a new Mac without copying any config files. And it still does it. Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.15) Gecko/20110303 Thunderbird/3.1.9 I'll get a stackdump if it crashes, but outright crashes are pretty rare. Maybe if I bang on it a bit after noticing the problems.
yeah, please avoid reinstall. or at least, for crashes, get the stacktrace before reinstalling. For non-crash issue where server stops responding, please get imap:5 log - https://wiki.mozilla.org/MailNews:Logging - and file a new bug report.
Whiteboard: [closeme 2011-05-01] → [closeme 2011-06-01]
Well, I just had a crash, but I have no idea if it's related to this problem, which I continue to have from time to time. There should be a report from the CrashReporter. I've noted this bug in the message. Add-ons: qfiler@eivind.rovik:0.4.1,{e2fda1a4-762b-4020-b5ad-a41df1933103}:1.0b2,{972ce4c6-7e08-4474-a285-3208198ce6fd}:3.1.10 BuildID: 20110414112909 Comments: I'm not sure if this is related to my other problem, bug 598296. CrashTime: 1305224919 EMCheckCompatibility: true Email: FramePoisonBase: 00000000f0dea000 FramePoisonSize: 4096 InstallTime: 1304634813 ProductName: Thunderbird ReleaseChannel: release SecondsSinceLastCrash: 37 StartupTime: 1305224884 Theme: classic/1.0 Throttleable: 1 Vendor: Version: 3.1.10
Status: UNCONFIRMED → NEW
Ever confirmed: true
Summary: Account settings don't display properly, failure to save, hangs, crashes on large mailbox with 2000+ folders → Account settings don't display properly, failure to save, hangs, crashes on large mailbox with 2000+ folders [@ nsThreadManager::GetIsMainThread(int*) ]
Whiteboard: [closeme 2011-06-01]
0 libxpcom_core.dylib nsThreadManager::GetIsMainThread xpcom/threads/nsThreadManager.cpp:302 1 libxpcom_core.dylib NS_IsMainThread_P nsThreadUtils.cpp:144 2 thunderbird-bin XPCWrappedNative::CallMethod js/src/xpconnect/src/xpcprivate.h:499 3 thunderbird-bin XPC_WN_GetterSetter js/src/xpconnect/src/xpcprivate.h:2538 4 libmozjs.dylib js_Invoke js/src/jsinterp.cpp:1360 5 libmozjs.dylib js_InternalInvoke js/src/jsinterp.cpp:1423 6 libmozjs.dylib js_InternalGetOrSet js/src/jsinterp.cpp:1486 7 libmozjs.dylib js_SetPropertyHelper js/src/jsscope.h:625 8 libmozjs.dylib js_Interpret js/src/jsops.cpp:1854 9 libmozjs.dylib js_Invoke js/src/jsinterp.cpp:1368 10 thunderbird-bin nsXPCWrappedJSClass::CallMethod js/src/xpconnect/src/xpcwrappedjsclass.cpp:1696 11 thunderbird-bin nsXPCWrappedJS::CallMethod js/src/xpconnect/src/xpcwrappedjs.cpp:570 12 libxpcom_core.dylib PrepareAndDispatch xpcom/reflect/xptcall/src/md/unix/xptcstubs_unixish_x86.cpp:93 13 libxpcom_core.dylib nsXPTCStubBase::Stub7 xptcstubsdef.inc:5 14 thunderbird-bin nsMsgCopyService::ClearRequest mailnews/base/src/nsMsgCopyService.cpp:215 15 thunderbird-bin nsMsgCopyService::NotifyCompletion mailnews/base/src/nsMsgCopyService.cpp:681 16 thunderbird-bin nsImapMailFolder::OnCopyCompleted mailnews/imap/src/nsImapMailFolder.cpp:8064 17 thunderbird-bin nsImapMailFolder::CopyMessagesOffline mailnews/imap/src/nsImapMailFolder.cpp:7181 18 thunderbird-bin nsImapMailFolder::CopyMessages mailnews/imap/src/nsImapMailFolder.cpp:7336 19 thunderbird-bin nsMsgCopyService::DoNextCopy mailnews/base/src/nsMsgCopyService.cpp:321 20 thunderbird-bin nsMsgCopyService::CopyMessages mailnews/base/src/nsMsgCopyService.cpp:263 21 libxpcom_core.dylib NS_InvokeByIndex_P xpcom/reflect/xptcall/src/md/unix/xptcinvoke_unixish_x86.cpp:179 22 thunderbird-bin XPCWrappedNative::CallMethod js/src/xpconnect/src/xpcwrappednative.cpp:2722 23 thunderbird-bin XPC_WN_CallMethod js/src/xpconnect/src/xpcwrappednativejsops.cpp:1740 24 libmozjs.dylib js_Invoke js/src/jsinterp.cpp:1360 25 libmozjs.dylib js_Interpret js/src/jsops.cpp:2240 26 libmozjs.dylib js_Invoke js/src/jsinterp.cpp:1368 27 libmozjs.dylib js_fun_apply js/src/jsfun.cpp:2046 28 libmozjs.dylib js_Interpret js/src/jsops.cpp:2208 29 libmozjs.dylib js_Invoke js/src/jsinterp.cpp:1368 30 libmozjs.dylib js_InternalInvoke js/src/jsinterp.cpp:1423 31 libmozjs.dylib JS_CallFunctionValue js/src/jsapi.cpp:5099 32 thunderbird-bin nsJSContext::CallEventHandler dom/base/nsJSEnvironment.cpp:2197 33 thunderbird-bin nsJSEventListener::HandleEvent dom/src/events/nsJSEventListener.cpp:269 34 thunderbird-bin nsXBLPrototypeHandler::ExecuteHandler content/xbl/src/nsXBLPrototypeHandler.cpp:343 35 thunderbird-bin nsXBLKeyEventHandler::ExecuteMatchedHandlers content/xbl/src/nsXBLEventHandler.cpp:146 36 thunderbird-bin nsXBLKeyEventHandler::HandleEvent content/xbl/src/nsXBLEventHandler.cpp:175 37 thunderbird-bin nsEventListenerManager::HandleEventSubType content/events/src/nsEventListenerManager.cpp:1041 38 thunderbird-bin nsEventListenerManager::HandleEvent content/events/src/nsEventListenerManager.cpp:1147 39 thunderbird-bin nsEventTargetChainItem::HandleEvent content/events/src/nsEventDispatcher.cpp:246 40 thunderbird-bin nsEventTargetChainItem::HandleEventTargetChain content/events/src/nsEventDispatcher.cpp:281 41 thunderbird-bin nsEventDispatcher::Dispatch content/events/src/nsEventDispatcher.cpp:573 42 thunderbird-bin PresShell::HandleEventInternal layout/base/nsPresShell.cpp:6564 43 thunderbird-bin PresShell::HandleEvent layout/base/nsPresShell.cpp:6315 44 thunderbird-bin nsViewManager::HandleEvent view/src/nsViewManager.cpp:1224 45 thunderbird-bin nsViewManager::DispatchEvent view/src/nsViewManager.cpp:1203 46 thunderbird-bin HandleEvent view/src/nsView.cpp:167 47 thunderbird-bin nsChildView::DispatchEvent widget/src/cocoa/nsChildView.mm:1828 48 thunderbird-bin nsChildView::DispatchWindowEvent widget/src/cocoa/nsChildView.mm:1840 49 thunderbird-bin -[ChildView processKeyDownEvent:keyEquiv:] widget/src/cocoa/nsChildView.mm:5188 50 thunderbird-bin -[ChildView keyDown:] widget/src/cocoa/nsChildView.mm:5332 51 AppKit -[NSWindow sendEvent:] 52 AppKit -[NSApplication sendEvent:] 53 thunderbird-bin nsAppShell::ProcessNextNativeEvent widget/src/cocoa/nsAppShell.mm:694 54 thunderbird-bin nsBaseAppShell::OnProcessNextEvent widget/src/xpwidgets/nsBaseAppShell.cpp:155 55 thunderbird-bin nsAppShell::OnProcessNextEvent widget/src/cocoa/nsAppShell.mm:864 56 libxpcom_core.dylib nsThread::ProcessNextEvent xpcom/threads/nsThread.cpp:508 57 libxpcom_core.dylib NS_ProcessNextEvent_P nsThreadUtils.cpp:250 58 thunderbird-bin nsXULWindow::ShowModal xpfe/appshell/src/nsXULWindow.cpp:416 59 thunderbird-bin nsWindowWatcher::OpenWindowJSInternal embedding/components/windowwatcher/src/nsWindowWatcher.cpp:1026 60 thunderbird-bin nsWindowWatcher::OpenWindowJS embedding/components/windowwatcher/src/nsWindowWatcher.cpp:490 61 thunderbird-bin nsGlobalWindow::OpenInternal dom/base/nsGlobalWindow.cpp:7726 62 thunderbird-bin nsGlobalWindow::OpenDialog dom/base/nsGlobalWindow.cpp:5284 63 libxpcom_core.dylib NS_InvokeByIndex_P xpcom/reflect/xptcall/src/md/unix/xptcinvoke_unixish_x86.cpp:179 64 thunderbird-bin XPCWrappedNative::CallMethod js/src/xpconnect/src/xpcwrappednative.cpp:2722 65 thunderbird-bin XPC_WN_CallMethod js/src/xpconnect/src/xpcwrappednativejsops.cpp:1740 66 libmozjs.dylib js_Invoke js/src/jsinterp.cpp:1360 67 libmozjs.dylib js_Interpret js/src/jsops.cpp:2240 68 libmozjs.dylib js_Invoke js/src/jsinterp.cpp:1368 69 libmozjs.dylib js_InternalInvoke js/src/jsinterp.cpp:1423 70 libmozjs.dylib JS_CallFunctionValue js/src/jsapi.cpp:5099 71 thunderbird-bin nsJSContext::CallEventHandler dom/base/nsJSEnvironment.cpp:2197 72 thunderbird-bin nsJSEventListener::HandleEvent dom/src/events/nsJSEventListener.cpp:269 73 thunderbird-bin nsEventListenerManager::HandleEventSubType content/events/src/nsEventListenerManager.cpp:1041 74 thunderbird-bin nsEventListenerManager::HandleEvent content/events/src/nsEventListenerManager.cpp:1147 75 thunderbird-bin nsEventTargetChainItem::HandleEvent content/events/src/nsEventDispatcher.cpp:246 76 thunderbird-bin nsEventTargetChainItem::HandleEventTargetChain content/events/src/nsEventDispatcher.cpp:310 77 thunderbird-bin nsEventDispatcher::Dispatch content/events/src/nsEventDispatcher.cpp:573 78 thunderbird-bin nsEventDispatcher::DispatchDOMEvent content/events/src/nsEventDispatcher.cpp:636 79 thunderbird-bin nsEventListenerManager::DispatchEvent content/events/src/nsEventListenerManager.cpp:1274 80 thunderbird-bin nsDOMEventRTTearoff::DispatchEvent content/base/src/nsGenericElement.cpp:1672 81 thunderbird-bin nsContentUtils::DispatchXULCommand content/base/src/nsContentUtils.cpp:5156 82 thunderbird-bin nsXBLPrototypeHandler::DispatchXULKeyCommand content/xbl/src/nsXBLPrototypeHandler.cpp:552 83 thunderbird-bin nsXBLPrototypeHandler::ExecuteHandler content/xbl/src/nsXBLPrototypeHandler.cpp:259 84 thunderbird-bin nsXBLWindowKeyHandler::WalkHandlersAndExecute content/xbl/src/nsXBLWindowKeyHandler.cpp:585 85 thunderbird-bin nsXBLWindowKeyHandler::WalkHandlersInternal content/xbl/src/nsXBLWindowKeyHandler.cpp:501 86 thunderbird-bin nsXBLWindowKeyHandler::WalkHandlers content/xbl/src/nsXBLWindowKeyHandler.cpp:361 87 thunderbird-bin nsXBLWindowKeyHandler::KeyPress content/xbl/src/nsXBLWindowKeyHandler.cpp:419 88 thunderbird-bin nsEventListenerManager::HandleEvent content/events/src/nsEventListenerManager.cpp:172 89 thunderbird-bin nsEventTargetChainItem::HandleEvent content/events/src/nsEventDispatcher.cpp:246 90 thunderbird-bin nsEventTargetChainItem::HandleEventTargetChain content/events/src/nsEventDispatcher.cpp:332 91 thunderbird-bin nsEventTargetChainItem::HandleEventTargetChain content/events/src/nsEventDispatcher.cpp:362 92 thunderbird-bin nsEventDispatcher::Dispatch content/events/src/nsEventDispatcher.cpp:573 93 thunderbird-bin PresShell::HandleEventInternal layout/base/nsPresShell.cpp:6564 94 thunderbird-bin PresShell::HandleEvent layout/base/nsPresShell.cpp:6315 95 thunderbird-bin nsViewManager::HandleEvent view/src/nsViewManager.cpp:1224 96 thunderbird-bin nsViewManager::DispatchEvent view/src/nsViewManager.cpp:1203 97 thunderbird-bin HandleEvent view/src/nsView.cpp:167 98 thunderbird-bin nsChildView::DispatchEvent widget/src/cocoa/nsChildView.mm:1828 99 thunderbird-bin nsChildView::DispatchWindowEvent widget/src/cocoa/nsChildView.mm:1840 100 thunderbird-bin -[ChildView processKeyDownEvent:keyEquiv:] widget/src/cocoa/nsChildView.mm:5188 103 thunderbird-bin -[ToolbarWindow sendEvent:] widget/src/cocoa/nsCocoaWindow.mm:2041 104 AppKit -[NSApplication sendEvent:] 105 AppKit -[NSApplication run] 106 thunderbird-bin nsAppShell::Run widget/src/cocoa/nsAppShell.mm:778 107 thunderbird-bin nsAppStartup::Run toolkit/components/startup/src/nsAppStartup.cpp:183 108 thunderbird-bin XRE_main toolkit/xre/nsAppRunner.cpp:3495 109 thunderbird-bin main mail/app/nsMailApp.cpp:104 110 thunderbird-bin thunderbird-bin@0x16f1 111 thunderbird-bin thunderbird-bin@0x1618 112 @0x1
Xref 518698 didn't compare stacks to know if it's a dup or not.
Keywords: stackwanted
Crash Signature: [@ nsThreadManager::GetIsMainThread(int*) ]
bug 518698 has since been closed WFM. all crashes are Mac, and appear to have died out after TB3.1 -> WFM based on the above please comment if you still see an issue.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → WORKSFORME
Summary: Account settings don't display properly, failure to save, hangs, crashes on large mailbox with 2000+ folders [@ nsThreadManager::GetIsMainThread(int*) ] → Account settings don't display properly, failure to save, hangs, crashes on large mailbox with 2000+ folders [@ nsThreadManager::GetIsMainThread(int*) ] [Mac]
Agreed. I haven't seen the crash or settings corruption on MacOS for a long time.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: