Closed Bug 264935 Opened 20 years ago Closed 20 years ago

Thunderbird 0.8 and 0.9 crashes after a period of inactivity [@ nsSupportsArray::ElementAt][@ nsSupportsArray::Clear][@ NSS_CMSArray_Sort|nsSupportsArray::Clear][@ nsSupportsArray::DeleteArray]

Categories

(Thunderbird :: General, defect)

PowerPC
macOS
defect
Not set
critical

Tracking

(Not tracked)

VERIFIED DUPLICATE of bug 234620

People

(Reporter: rvineyard, Assigned: mscott)

Details

(Keywords: crash)

Crash Data

User-Agent:       Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; rv:1.7.3) Gecko/20040913 Firefox/0.10
Build Identifier: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; rv:1.7.3) Gecko/20040913 Firefox/0.10

When left running for (usually long) periods of time, Thunderbird's message
listing pane will become unresponsive and will eventually crash the entire
program. If I am in front of the system when it happens, the crash is typically
preceded by Thunderbird no longer notifying me of new messages in my inbox.
Also, if I try to view any messages in any of my IMAP folders, I get the
spinning beachball and the message is not displayed. Clicking on Get Mail or
changing folders has no effect, and the program must eventually be restarted in
order to get anything done. Even sending mail stops working (I have lost
messages that fail to send after I'm done composing them, and Thunderbird just
throws them away since it cant save to the IMAP Drafts folder). Typically when
closing the program in this state, a crash report will be generated. If I am
away from the machine when this happens, I'll return in the morning to find that
Thunderbird has crashed. These crashes don't seem to be related to any action on
my part, and there isnt a specific time limit that has to elapse before the
crashes will start. It's definitely repeatable... I have Talkback crash reports
from almost every day over the last few weeks. I do not experience this problem
on Windows machines.

Reproducible: Always
Steps to Reproduce:
Leave Thunderbird running for awhile... sometimes it takes days for this to
happen, other times it's just an hour or so before I get the crash.

Actual Results:  
Thunderbird becomes unresponsive and eventually crashes.

Expected Results:  
No crash, and maintain a connection to the IMAP server.

Talkback crash IDs: TB938522E, TB947067Q, TB1008406Z, TB1029018X, TB1069413G,
TB1168437E, TB1179049E, TB1190451K, TB1194462W, TB1256520W, TB1266705G,
TB1284079Z, TB1322444Z, TB1375890Z
Date/Time:      2004-10-18 15:25:03 -0400
OS Version:     10.3.5 (Build 7M34)
Report Version: 2

Command: thunderbird-bin
Path:    /Applications/Thunderbird.app/Contents/MacOS/thunderbird-bin
Version: 0.8 (0.8)
PID:     11425
Thread:  0

Exception:  EXC_BAD_ACCESS (0x0001)
Codes:      KERN_INVALID_ADDRESS (0x0001) at 0x6f006300

Thread 0 Crashed:
0   <<00000000>> 	0x6f006300 0 + 0x6f006300
1   libxpcom.dylib          	0x0700fd20 nsSupportsArray::DeleteArray() + 0x28
2   libxpcom.dylib          	0x0700f948 nsSupportsArray::Release() + 0x3c
3   libxpcom.dylib          	0x0700b060 nsObserverList::~nsObserverList
[unified]() + 0x24
4   libxpcom.dylib          	0x0700bacc nsObserverService::Create(nsISupports*,
nsID const&, void**) + 0xb8
5   libxpcom.dylib          	0x07009cc0 nsHashtable::Enumerate(int
(*)(nsHashKey*, void*, void*), void*) + 0xa4
6   libxpcom.dylib          	0x0700507c PL_DHashTableEnumerate + 0x78
7   libxpcom.dylib          	0x07009d38 nsHashtable::Reset(int (*)(nsHashKey*,
void*, void*), void*) + 0x50
8   libxpcom.dylib          	0x0700ab14 nsObjectHashtable::~nsObjectHashtable
[unified]() + 0x34
9   libxpcom.dylib          	0x0700b878 nsObserverService::Release() + 0x3c
10  libxpcom.dylib          	0x0703abc0 non-virtual thunk [nv:-32] to
nsComponentManagerImpl::CreateInstanceByContractID(char const*, nsISupports*,
nsID const&, void**) + 0x64
11  libxpcom.dylib          	0x0700507c PL_DHashTableEnumerate + 0x78
12  libxpcom.dylib          	0x0703ac2c nsComponentManagerImpl::FreeServices() +
0x58
13  libxpcom.dylib          	0x07003c00 NS_ShutdownXPCOM + 0x1cc
14  org.mozilla.thunderbird 	0x0000b744 ScopedXPCOMStartup::~ScopedXPCOMStartup
[unified]() + 0x38
15  org.mozilla.thunderbird 	0x0000dc18 xre_main(int, char**, nsXREAppData
const*) + 0xb04
16  org.mozilla.thunderbird 	0x00009ec0 start + 0x1b0
17  org.mozilla.thunderbird 	0x00009d40 start + 0x30

Thread 1:
0   libSystem.B.dylib       	0x90016f48 semaphore_wait_signal_trap + 0x8
1   libSystem.B.dylib       	0x9000e790 _pthread_cond_wait + 0x270
2   libnspr4.dylib          	0x03018614 PR_WaitCondVar + 0x74
3   libxpcom.dylib          	0x070477d4 TimerThread::Run() + 0x1ac
4   libxpcom.dylib          	0x07044d18 nsThread::Main(void*) + 0x38
5   libnspr4.dylib          	0x0301d4ac PR_Select + 0x33c
6   libSystem.B.dylib       	0x900246e8 _pthread_body + 0x28

PPC Thread State:
  srr0: 0x6f006300 srr1: 0x4200f930                vrsave: 0x00000000
    cr: 0x28002424  xer: 0x00000004   lr: 0x070104a0  ctr: 0x6f006300
    r0: 0x0700fd20   r1: 0xbffff280   r2: 0x0229a43b   r3: 0x01b1fd40
    r4: 0x00000002   r5: 0x000003e8   r6: 0xbffff510   r7: 0x00000001
    r8: 0x00000016   r9: 0x01b209e4  r10: 0x0700f754  r11: 0x03033a2c
   r12: 0x6f006300  r13: 0x00000000  r14: 0x00000000  r15: 0xbffff890
   r16: 0x00ae0000  r17: 0x00ac0000  r18: 0xbffffce0  r19: 0x00000000
   r20: 0x00000000  r21: 0x07009c8c  r22: 0xbffff510  r23: 0x00000001
   r24: 0x0000001f  r25: 0x01b16078  r26: 0x0000000c  r27: 0x00000100
   r28: 0x02033a00  r29: 0x00000000  r30: 0x01b209d0  r31: 0x07009cf8

Binary Images Description:
    0x1000 -   0xac6fff org.mozilla.thunderbird 0.8
/Applications/Thunderbird.app/Contents/MacOS/thunderbird-bin
 0x1826000 -  0x182ffff libqfaservices.dylib 
/Applications/Thunderbird.app/Contents/MacOS/components/libqfaservices.dylib
 0x1876000 -  0x189dfff talkback.dylib 
/Applications/Thunderbird.app/Contents/MacOS/components/talkback/talkback.dylib
 0x18dd000 -  0x18dffff com.apple.textencoding.unicode 1.6.4
/System/Library/TextEncodings/Unicode Encodings.bundle/Contents/MacOS/Unicode
Encodings
 0x3000000 -  0x3032fff libnspr4.dylib 
/Applications/Thunderbird.app/Contents/MacOS/libnspr4.dylib
 0x4000000 -  0x400dfff libplds4.dylib 
/Applications/Thunderbird.app/Contents/MacOS/libplds4.dylib
 0x5000000 -  0x500efff libplc4.dylib 
/Applications/Thunderbird.app/Contents/MacOS/libplc4.dylib
 0x6000000 -  0x6068fff libmozjs.dylib 
/Applications/Thunderbird.app/Contents/MacOS/libmozjs.dylib
 0x7000000 -  0x7083fff libxpcom.dylib 
/Applications/Thunderbird.app/Contents/MacOS/libxpcom.dylib
 0x8000000 -  0x801afff libssl3.dylib 
/Applications/Thunderbird.app/Contents/MacOS/libssl3.dylib
 0x9000000 -  0x905cfff libnss3.dylib 
/Applications/Thunderbird.app/Contents/MacOS/libnss3.dylib
 0xa000000 -  0xa01dfff libsmime3.dylib 
/Applications/Thunderbird.app/Contents/MacOS/libsmime3.dylib
 0xb000000 -  0xb079fff libsoftokn3.dylib 
/Applications/Thunderbird.app/Contents/MacOS/libsoftokn3.dylib
 0xc000000 -  0xc019fff libxpcom_compat.dylib 
/Applications/Thunderbird.app/Contents/MacOS/libxpcom_compat.dylib
 0xe000000 -  0xe00dfff libprldap50.dylib 
/Applications/Thunderbird.app/Contents/MacOS/libprldap50.dylib
 0xf000000 -  0xf02efff libldap50.dylib 
/Applications/Thunderbird.app/Contents/MacOS/libldap50.dylib
0x8df60000 - 0x8df76fff libJapaneseConverter.dylib 
/System/Library/CoreServices/Encodings/libJapaneseConverter.dylib
0x8fe00000 - 0x8fe4ffff dyld 	/usr/lib/dyld
0x90000000 - 0x90122fff libSystem.B.dylib 	/usr/lib/libSystem.B.dylib
0x90190000 - 0x9023dfff com.apple.CoreFoundation 6.3.5 (299.32)
/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
0x90280000 - 0x904f9fff com.apple.CoreServices.CarbonCore 10.3.5
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/CarbonCore
0x90570000 - 0x905dffff com.apple.framework.IOKit 1.3.5 (???)
/System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
0x90610000 - 0x9069afff com.apple.CoreServices.OSServices 3.0.1
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServices.framework/Versions/A/OSServices
0x90700000 - 0x90700fff com.apple.CoreServices 10.3 (???)
/System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices
0x90720000 - 0x90787fff com.apple.audio.CoreAudio 2.1.2
/System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio
0x907f0000 - 0x907f9fff com.apple.DiskArbitration 2.0.3
/System/Library/PrivateFrameworks/DiskArbitration.framework/Versions/A/DiskArbitration
0x90810000 - 0x90810fff com.apple.ApplicationServices 1.0 (???)
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices
0x90830000 - 0x9089ffff libobjc.A.dylib 	/usr/lib/libobjc.A.dylib
0x90910000 - 0x90983fff com.apple.DesktopServices 1.2.2
/System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/DesktopServicesPriv
0x909f0000 - 0x90b4bfff com.apple.Foundation 6.3.5 (500.56)
/System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
0x90d00000 - 0x90d1bfff com.apple.SystemConfiguration 1.7.1 (???)
/System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfiguration
0x90d40000 - 0x90d40fff com.apple.Carbon 10.3 (???)
/System/Library/Frameworks/Carbon.framework/Versions/A/Carbon
0x90ec0000 - 0x90ec0fff com.apple.Cocoa 6.3 (???)
/System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa
0x910b0000 - 0x91101fff com.apple.bom 1.2.5 (63.2)
/System/Library/PrivateFrameworks/Bom.framework/Versions/A/Bom
0x912a0000 - 0x912bdfff com.apple.audio.SoundManager 3.8
/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CarbonSound.framework/Versions/A/CarbonSound
0x912e0000 - 0x912f7fff com.apple.LangAnalysis 1.5.4
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/LangAnalysis.framework/Versions/A/LangAnalysis
0x91320000 - 0x913defff ColorSync 
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ColorSync.framework/Versions/A/ColorSync
0x91460000 - 0x91473fff com.apple.speech.synthesis.framework 3.2
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/SpeechSynthesis.framework/Versions/A/SpeechSynthesis
0x914a0000 - 0x91509fff com.apple.htmlrendering 1.1.2
/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HTMLRendering.framework/Versions/A/HTMLRendering
0x91560000 - 0x91619fff com.apple.QD 3.4.65 (???)
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/QD.framework/Versions/A/QD
0x91670000 - 0x916a8fff com.apple.AE 1.4
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/AE.framework/Versions/A/AE
0x916e0000 - 0x91773fff com.apple.print.framework.PrintCore 3.3
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/PrintCore.framework/Versions/A/PrintCore
0x917e0000 - 0x917f0fff com.apple.speech.recognition.framework 3.3
/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SpeechRecognition.framework/Versions/A/SpeechRecognition
0x91810000 - 0x9182afff com.apple.openscripting 1.2.1 (???)
/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/OpenScripting.framework/Versions/A/OpenScripting
0x91850000 - 0x91860fff com.apple.ImageCapture 2.1.5
/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/ImageCapture.framework/Versions/A/ImageCapture
0x91890000 - 0x9189cfff com.apple.help 1.0.1
/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Help.framework/Versions/A/Help
0x918c0000 - 0x918cdfff com.apple.CommonPanels 1.2.1 (1.0)
/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CommonPanels.framework/Versions/A/CommonPanels
0x918f0000 - 0x9193efff com.apple.print.framework.Print 3.3
/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Print.framework/Versions/A/Print
0x91990000 - 0x9199bfff com.apple.securityhi 1.2 (90)
/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SecurityHI.framework/Versions/A/SecurityHI
0x919c0000 - 0x91a33fff com.apple.NavigationServices 3.3.2
/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/NavigationServices.framework/Versions/A/NavigationServices
0x91a90000 - 0x91a90fff com.apple.audio.units.AudioUnit 1.3.2
/System/Library/Frameworks/AudioUnit.framework/Versions/A/AudioUnit
0x91ab0000 - 0x91ac4fff libCGATS.A.dylib 
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/libCGATS.A.dylib
0x91ae0000 - 0x91aebfff libCSync.A.dylib 
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/libCSync.A.dylib
0x91b10000 - 0x91b2afff libPDFRIP.A.dylib 
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/libPDFRIP.A.dylib
0x91b50000 - 0x91b5ffff libPSRIP.A.dylib 
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/libPSRIP.A.dylib
0x91b80000 - 0x91b93fff libRIP.A.dylib 
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/libRIP.A.dylib
0x91bb0000 - 0x91d45fff com.apple.QuickTime 6.5.1
/System/Library/Frameworks/QuickTime.framework/Versions/A/QuickTime
0x92070000 - 0x92096fff com.apple.FindByContent 1.4 (1.2)
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/FindByContent.framework/Versions/A/FindByContent
0x920c0000 - 0x922a7fff com.apple.security 2.3 (176)
/System/Library/Frameworks/Security.framework/Versions/A/Security
0x92430000 - 0x92468fff com.apple.LaunchServices 10.3.5 (98.4)
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/LaunchServices
0x92740000 - 0x92777fff com.apple.CFNetwork 1.2.1 (7)
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CFNetwork.framework/Versions/A/CFNetwork
0x927d0000 - 0x92b54fff com.apple.HIToolbox 1.3.4 (???)
/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox
0x92d30000 - 0x92d80fff com.apple.HIServices 1.4.1 (0.0.1d1)
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/HIServices.framework/Versions/A/HIServices
0x92dc0000 - 0x932befff com.apple.AppKit 6.3.4 (743.24)
/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
0x935d0000 - 0x938a8fff com.apple.CoreGraphics 1.203.26 (???)
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics
0x939a0000 - 0x939b4fff libcups.2.dylib 	/usr/lib/libcups.2.dylib
0x939d0000 - 0x939d4fff libmathCommon.A.dylib 	/usr/lib/system/libmathCommon.A.dylib
0x93b50000 - 0x93bf3fff com.apple.audio.toolbox.AudioToolbox 1.3.2
/System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox
0x94060000 - 0x94078fff com.apple.WebServices 1.1.1 (1.1.0)
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/WebServicesCore.framework/Versions/A/WebServicesCore
0x945b0000 - 0x945b9fff libz.1.dylib 	/usr/lib/libz.1.dylib
0x94610000 - 0x9462afff libresolv.9.dylib 	/usr/lib/libresolv.9.dylib
0x94650000 - 0x946affff com.apple.SearchKit 1.0.2
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SearchKit.framework/Versions/A/SearchKit
0x94a30000 - 0x94af5fff libxml2.2.dylib 	/usr/lib/libxml2.2.dylib
0x94b20000 - 0x94badfff com.apple.ink.framework 101.1.3 (55.10)
/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Ink.framework/Versions/A/Ink
0x968d0000 - 0x969b2fff libicucore.A.dylib 	/usr/lib/libicucore.A.dylib
0x96a20000 - 0x96ae2fff libcrypto.0.9.7.dylib 	/usr/lib/libcrypto.0.9.7.dylib
0x96b40000 - 0x96b6efff libssl.0.9.7.dylib 	/usr/lib/libssl.0.9.7.dylib
0x96bf0000 - 0x96c7ffff ATS 
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/ATS
0x96cb0000 - 0x96d9efff libiconv.2.dylib 	/usr/lib/libiconv.2.dylib
0x97510000 - 0x97518fff libbsm.dylib 	/usr/lib/libbsm.dylib

an imap protocol log might be helpful - especially the last part of the log that
shows what might be happening to stop us from getting new mail.

http://www.mozilla.org/quality/mailnews/mail-troubleshoot.html#imap
I tried to follow the steps on that page, however nothing happens when I
drag-and-drop the text file onto the Thunderbird icon. If I click Show
Package Contents and manually copy the text file into the MacOS folder,
and then launch Thunderbird... nothing happens. No log file is created.
How do I create an IMAP log for Thunderbird under Mac OSX?

-- Robert
I'm not a mac person...you could try the unix instructions, I guess, since OS/X
is unix underneath. Asa, have you generated a log from a Mac?
Summary: thunderbird 0.8 crashes after a period of inactivity → thunderbird 0.8 crashes after a period of inactivity [@ nsSupportsArray::ElementAt][@ nsSupportsArray::Clear][@ NSS_CMSArray_Sort|nsSupportsArray::Clear][@ nsSupportsArray::DeleteArray]
TB1256520W /could/ be different
Keywords: crash
Summary: thunderbird 0.8 crashes after a period of inactivity [@ nsSupportsArray::ElementAt][@ nsSupportsArray::Clear][@ NSS_CMSArray_Sort|nsSupportsArray::Clear][@ nsSupportsArray::DeleteArray] → Zhunderbird 0.8 crashes after a period of inactivity [@ nsSupportsArray::ElementAt][@ nsSupportsArray::Clear][@ NSS_CMSArray_Sort|nsSupportsArray::Clear][@ nsSupportsArray::DeleteArray]
Summary: Zhunderbird 0.8 crashes after a period of inactivity [@ nsSupportsArray::ElementAt][@ nsSupportsArray::Clear][@ NSS_CMSArray_Sort|nsSupportsArray::Clear][@ nsSupportsArray::DeleteArray] → Thunderbird 0.8 crashes after a period of inactivity [@ nsSupportsArray::ElementAt][@ nsSupportsArray::Clear][@ NSS_CMSArray_Sort|nsSupportsArray::Clear][@ nsSupportsArray::DeleteArray]
I would be happy to produce an IMAP log if anyone knows how to do that on a Mac.
I'm not entirely sure that Mac programs can be started from a shell command line
(to set the environment variables as suggested in the UNIX instructions).
Also... my IMAP connection uses SSL, so tcpdump is out :-(
This bug is apparently still present in Thunderbird 0.9. Please see Talkback
Incident TB1742341Z.
Summary: Thunderbird 0.8 crashes after a period of inactivity [@ nsSupportsArray::ElementAt][@ nsSupportsArray::Clear][@ NSS_CMSArray_Sort|nsSupportsArray::Clear][@ nsSupportsArray::DeleteArray] → Thunderbird 0.8 and 0.9 crashes after a period of inactivity [@ nsSupportsArray::ElementAt][@ nsSupportsArray::Clear][@ NSS_CMSArray_Sort|nsSupportsArray::Clear][@ nsSupportsArray::DeleteArray]
Whiteboard: DUPEME
this will be fixed by 1.0, we believe.

*** This bug has been marked as a duplicate of 234620 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
Status: RESOLVED → VERIFIED
Whiteboard: DUPEME
Crash Signature: [@ nsSupportsArray::ElementAt] [@ nsSupportsArray::Clear] [@ NSS_CMSArray_Sort|nsSupportsArray::Clear] [@ nsSupportsArray::DeleteArray]
You need to log in before you can comment on or make changes to this bug.