Closed Bug 293978 Opened 20 years ago Closed 18 years ago

Frequent crash during startup [@ nsMsgLocalMailFolder::WriteStartOfNewMessage]

Categories

(MailNews Core :: Backend, defect)

defect
Not set
critical

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 284876

People

(Reporter: alexeys, Unassigned)

Details

(Keywords: crash)

Crash Data

User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8b2) Gecko/20050421 Firefox/1.0+ Build Identifier: version 1.0+ (20050510) Linux home 2.6.8-24.14-smp #1 SMP Tue Mar 29 09:27:43 UTC 2005 i686 i686 i386 GNU/Linux Recently Thunderbird started frequently crash after I added message filters to all three of configured IMAP accounts. It looks like the crash happens before spam filter is executed, but after the crash spam filter does not run and I have to run it manually. Reproducible: Sometimes Steps to Reproduce: Actual Results: TB5791428Q Expected Results: not crash
Here's the stack trace: nsMsgLocalMailFolder::WriteStartOfNewMessage() [/builds/tinderbox/thunderbird-trunk/Linux_2.4.18-14_Depend/mozilla/mailnews/local/src/nsLocalMailFolder.cpp, line 402] nsCopyMessageStreamListener::StartMessage() [/builds/tinderbox/thunderbird-trunk/Linux_2.4.18-14_Depend/mozilla/mailnews/base/src/nsCopyMessageStreamListener.cpp, line 116] nsImapMailFolder::StartMessage() [/builds/tinderbox/thunderbird-trunk/Linux_2.4.18-14_Depend/mozilla/mailnews/imap/src/nsImapMailFolder.cpp, line 4994] Do you have your inbox(es) configured for offline use? Or have a filter that moves messages to a local folder?
Yes, all three IMAP accounts have filters that move some messages into local folders.
if you turn off just those filters, does the crash stop?
I think you are correct. The crashes started to happen after I added filters to copy messages into local folders to all accounts. The crashes happen on startup (I think because all three accounts are checked simultaneously). Is it possible to disable filters in config files, before Thunderbird starts?
Do you mean you always crash on startup so you can't disable the filters through the UI? If so, you can edit the msgFilterRules.dat files for each server, and change the enabled="yes" lines to enabled="no". Or did you mean you just wanted the filters disabled on startup, but to work afterwards? There's no way to do that. I'm just trying to make sure it's the filters that are causing the crash.
The crashes stopped after disabling rules on additional accounts.
It stopped happening after one of nightly build updated. I think it got fixed somehow.
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → WORKSFORME
It started to happen again. I do not know if it is related, but there seems a race condition in spam filter - I was able to reliably crash Thunderbird when selecting about 20 messages in IMAP folder, marking them all spam (with automatic moving the messages into Trash) and switching the current folder. I am sorry, during those crashes, no TalkBack was activated.
Status: RESOLVED → UNCONFIRMED
Resolution: WORKSFORME → ---
See talkback 10324049 .
Incident ID: 10324049 Stack Signature nsMsgLocalMailFolder::WriteStartOfNewMessage() 5bb13e86 Product ID Thunderbird15 Build ID 2005100604 Trigger Time 2005-10-06 19:33:00.0 Platform LinuxIntel Operating System Linux 2.6.8-24.18-smp Module thunderbird-bin + (007c709b) URL visited User Comments crash during startup Since Last Crash 0 sec Total Uptime 0 sec Trigger Reason SIGSEGV: Segmentation Fault: (signal 11) Source File, Line No. /builds/tinderbox/Tb-Mozilla1.8/Linux_2.4.18-14_Depend/mozilla/mailnews/local/src/nsLocalMailFolder.cpp, line 402 Stack Trace nsMsgLocalMailFolder::WriteStartOfNewMessage() [/builds/tinderbox/Tb-Mozilla1.8/Linux_2.4.18-14_Depend/mozilla/mailnews/local/src/nsLocalMailFolder.cpp, line 402] nsCopyMessageStreamListener::StartMessage() [/builds/tinderbox/Tb-Mozilla1.8/Linux_2.4.18-14_Depend/mozilla/mailnews/base/src/nsCopyMessageStreamListener.cpp, line 116] nsImapMailFolder::StartMessage() [/builds/tinderbox/Tb-Mozilla1.8/Linux_2.4.18-14_Depend/mozilla/mailnews/imap/src/nsImapMailFolder.cpp, line 5108] XPTC_InvokeByIndex() EventHandler() [/builds/tinderbox/Tb-Mozilla1.8/Linux_2.4.18-14_Depend/mozilla/xpcom/proxy/src/nsProxyEvent.cpp, line 156] PL_HandleEvent() [/builds/tinderbox/Tb-Mozilla1.8/Linux_2.4.18-14_Depend/mozilla/xpcom/threads/plevent.c, line 688] PL_ProcessPendingEvents() [/builds/tinderbox/Tb-Mozilla1.8/Linux_2.4.18-14_Depend/mozilla/xpcom/threads/plevent.c, line 623] nsEventQueueImpl::ProcessPendingEvents() [/builds/tinderbox/Tb-Mozilla1.8/Linux_2.4.18-14_Depend/mozilla/xpcom/threads/nsEventQueue.cpp, line 423] event_processor_callback() [/builds/tinderbox/Tb-Mozilla1.8/Linux_2.4.18-14_Depend/mozilla/widget/src/gtk2/nsAppShell.cpp, line 71] libglib-2.0.so.0 + 0x4ad5f (0x40620d5f) libglib-2.0.so.0 + 0x23d17 (0x405f9d17) libglib-2.0.so.0 + 0x26467 (0x405fc467) libglib-2.0.so.0 + 0x27677 (0x405fd677) libgtk-x11-2.0.so.0 + 0x111e43 (0x402ffe43) nsAppShell::Run() [/builds/tinderbox/Tb-Mozilla1.8/Linux_2.4.18-14_Depend/mozilla/widget/src/gtk2/nsAppShell.cpp, line 141] nsAppStartup::Run() [/builds/tinderbox/Tb-Mozilla1.8/Linux_2.4.18-14_Depend/mozilla/toolkit/components/startup/src/nsAppStartup.cpp, line 151] XRE_main() [/builds/tinderbox/Tb-Mozilla1.8/Linux_2.4.18-14_Depend/mozilla/toolkit/xre/nsAppRunner.cpp, line 848] main() [/builds/tinderbox/Tb-Mozilla1.8/Linux_2.4.18-14_Depend/mozilla/mail/app/nsMailApp.cpp, line 63] libc.so.6 + 0x14b10 (0x40a17b10)
Assignee: mscott → nobody
Component: General → MailNews: Backend
Keywords: crash
Product: Thunderbird → Core
Summary: Frequent crash during startup → Frequent crash during startup [@ nsMsgLocalMailFolder::WriteStartOfNewMessage]
Version: unspecified → Trunk
One more: TB19400322M
I noticed that too, reinstalled the last build, and crashed it again on a different account. There are still no debug symbols. Maybe there are no debug symbols for tgz Linux builds?
TB24951536H
TB24951536H is TB 2.x and stack looks same as previous comments except for source line number changes OS=ALL - there are talkback incidents against windows. another startup bug is bug 361311
OS: Linux → All
Hardware: PC → All
Now it crashed (twice) in EndMessage() when starting Thunderbird after two days. There was about 360 and 90 spam messages in both registered IMAP accounts: TB26461997M TB26462007G
TB28237224H I think that maybe rules on both my IMAP accounts that output into the same local folder cause the crash.
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago18 years ago
Resolution: --- → DUPLICATE
Product: Core → MailNews Core
Crash Signature: [@ nsMsgLocalMailFolder::WriteStartOfNewMessage]
You need to log in before you can comment on or make changes to this bug.