Closed Bug 400741 Opened 17 years ago Closed 15 years ago

On-quit crash [@ nsCOMPtr_base::~nsCOMPtr_base] or [@ nsCOMPtr_base::nsCOMPtr_base]

Categories

(Core :: XPCOM, defect)

1.8 Branch
defect
Not set
critical

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: samuel.sidler+old, Unassigned)

References

()

Details

(Keywords: crash, topcrash)

Crash Data

Our nsCOMPtr_base::~nsCOMPtr_base topcrash from 1.0.x, 1.5.0.x, and 2.0.0.x has moved down to #23, but it's still a topcrash. The steps to reproduce from that bug are no longer applicable so this seems like it was just hidden in the past in the midst of all those other crashes. Most of the comments for this crash indicate it's happening on quit. I'm nominating this for blocking1.8.1.10 but since we don't have full steps to reproduce, I don't expect it to get blocking. I just want to get it on the radar. Sample stack from a Windows XP crash (TB37212729): Stack Signature nsCOMPtr_base::~nsCOMPtr_base 08c3d03e Product ID Firefox2 Build ID 2007100816 Trigger Time 2007-10-21 21:27:12.0 Platform Win32 Operating System Windows NT 5.1 build 2600 Module xpcom_core.dll + (000017dd) URL visited User Comments I was closing FIrefox for the first time after installing v2.0.0.8 Since Last Crash 32339 sec Total Uptime 32339 sec Trigger Reason Access violation Source File, Line No. c:/builds/tinderbox/Fx-Mozilla1.8-Release/WINNT_5.2_Depend/mozilla/xpcom/build/nsCOMPtr.cpp, line 81 Stack Trace nsCOMPtr_base::~nsCOMPtr_base [mozilla/xpcom/build/nsCOMPtr.cpp, line 81] XPCJSRuntime::GCCallback [mozilla/js/src/xpconnect/src/xpcjsruntime.cpp, line 547] DOMGCCallback [mozilla/dom/src/base/nsJSEnvironment.cpp, line 2269] Smart analysis: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Rank StackSignature Count 23 nsCOMPtr_base::nsCOMPtr_base 144 Source File : c:/builds/tinderbox/Fx-Mozilla1.8-Release/WINNT_5.2_Depend/mozilla/xpcom/build/nsCOMPtr.cpp line : 81 ==================================================================================================== Count Offset Real Signature [ 62 nsCOMPtr_base::nsCOMPtr_base 08c3d03e - nsCOMPtr_base::~nsCOMPtr_base ] [ 2 nsCOMPtr_base::nsCOMPtr_base 368d1be1 - nsCOMPtr_base::~nsCOMPtr_base ] Crash date range: 18-OCT-07 to 20-OCT-07 Min/Max Seconds since last crash: 4 - 115344 Min/Max Runtime: 50 - 115344 Count Platform List 60 Windows XP [Windows NT 5.1 build 2600] 3 [Windows NT 6.0 build 6000] 1 Windows 2K [Windows NT 5.0 build 2195] Count Build Id List 64 2007100816 No of Unique Users 60 Stack trace(Frame) nsCOMPtr_base::~nsCOMPtr_base [c:/builds/tinderbox/Fx-Mozilla1.8-Release/WINNT_5.2_Depend/mozilla/xpcom/build/nsCOMPtr.cpp line 81] XPCJSRuntime::GCCallback [c:/builds/tinderbox/Fx-Mozilla1.8-Release/WINNT_5.2_Depend/mozilla/js/src/xpconnect/src/xpcjsruntime.cpp line 547] DOMGCCallback [c:/builds/tinderbox/Fx-Mozilla1.8-Release/WINNT_5.2_Depend/mozilla/dom/src/base/nsJSEnvironment.cpp line 2269] (37176446) Comments: Was closing firefox (only a single tab) at the time of the error. (37176340) URL: http://nba.spurs.com (37171271) URL: http://nba.spurs.com (37171271) Comments: Error box popped up when i closed Firefox to end session. (37167970) Comments: reading news om CBC (37141150) Comments: streaming video (37119557) Comments: accessing tv links ==================================================================================================== Count Offset Real Signature [ 13 nsCOMPtr_base::nsCOMPtr_base 36ce35cc - nsCOMPtr_base::~nsCOMPtr_base ] [ 2 nsCOMPtr_base::nsCOMPtr_base db01f516 - nsCOMPtr_base::~nsCOMPtr_base ] [ 1 nsCOMPtr_base::nsCOMPtr_base e5fd0aeb - nsCOMPtr_base::~nsCOMPtr_base ] [ 1 nsCOMPtr_base::nsCOMPtr_base e4a17431 - nsCOMPtr_base::~nsCOMPtr_base ] Crash date range: 18-OCT-07 to 20-OCT-07 Min/Max Seconds since last crash: 150 - 61750 Min/Max Runtime: 196 - 61750 Count Platform List 13 Windows XP [Windows NT 5.1 build 2600] 4 [Windows NT 6.0 build 6000] Count Build Id List 17 2007100816 No of Unique Users 15 Stack trace(Frame) nsCOMPtr_base::~nsCOMPtr_base [c:/builds/tinderbox/Fx-Mozilla1.8-Release/WINNT_5.2_Depend/mozilla/xpcom/build/nsCOMPtr.cpp line 81] XPCJSRuntime::GCCallback [c:/builds/tinderbox/Fx-Mozilla1.8-Release/WINNT_5.2_Depend/mozilla/js/src/xpconnect/src/xpcjsruntime.cpp line 547] DOMGCCallback [c:/builds/tinderbox/Fx-Mozilla1.8-Release/WINNT_5.2_Depend/mozilla/dom/src/base/nsJSEnvironment.cpp line 2269] JS_GC [c:/builds/tinderbox/Fx-Mozilla1.8-Release/WINNT_5.2_Depend/mozilla/js/src/jsapi.c line 1879] nsObserverService::NotifyObservers [c:/builds/tinderbox/Fx-Mozilla1.8-Release/WINNT_5.2_Depend/mozilla/xpcom/ds/nsObserverService.cpp line 235] NS_ShutdownXPCOM_P [c:/builds/tinderbox/Fx-Mozilla1.8-Release/WINNT_5.2_Depend/mozilla/xpcom/build/nsXPComInit.cpp line 814] ScopedXPCOMStartup::~ScopedXPCOMStartup [c:/builds/tinderbox/Fx-Mozilla1.8-Release/WINNT_5.2_Depend/mozilla/toolkit/xre/nsAppRunner.cpp line 762] main [c:/builds/tinderbox/Fx-Mozilla1.8-Release/WINNT_5.2_Depend/mozilla/browser/app/nsBrowserApp.cpp line 61] kernel32.dll + 0x16fd7 (0x7c816fd7) ==================================================================================================== Count Offset Real Signature [ 11 nsCOMPtr_base::nsCOMPtr_base 70150b41 - nsCOMPtr_base::~nsCOMPtr_base ] [ 10 nsCOMPtr_base::nsCOMPtr_base() ce68d97b - nsCOMPtr_base::~nsCOMPtr_base() ] [ 2 nsCOMPtr_base::nsCOMPtr_base 5fd53f24 - nsCOMPtr_base::~nsCOMPtr_base ] Crash date range: 19-OCT-07 to 20-OCT-07 Min/Max Seconds since last crash: 0 - 28409 Min/Max Runtime: 0 - 28409 Count Platform List 12 Windows XP [Windows NT 5.1 build 2600] 4 [Linux 2.6.17-5mdv] 2 [Linux 2.6.22.9-0.4-default] 1 Windows 98 [Windows 98 4.10 build 67766446] 1 [Linux 2.6.22.5] 1 [Linux 2.6.20-16-generic] 1 [Linux 2.6.16.27-0.9-smp] 1 [Linux 2.6.15-29-k7] Count Build Id List 23 2007100816 No of Unique Users 18 Stack trace(Frame) nsCOMPtr_base::~nsCOMPtr_base [c:/builds/tinderbox/Fx-Mozilla1.8-Release/WINNT_5.2_Depend/mozilla/xpcom/build/nsCOMPtr.cpp line 81] (37147679) URL: http://apps.facebook.com/emoting/?requp=512903003 (37147679) Comments: Accessing a facebook application (moods) ==================================================================================================== Count Offset Real Signature [ 7 nsCOMPtr_base::nsCOMPtr_base 63f9aab3 - nsCOMPtr_base::~nsCOMPtr_base ] Crash date range: 18-OCT-07 to 20-OCT-07 Min/Max Seconds since last crash: 3193 - 77626 Min/Max Runtime: 3193 - 77626 Count Platform List 6 Windows XP [Windows NT 5.1 build 2600] 1 Windows 2K [Windows NT 5.0 build 2195] Count Build Id List 7 2007100816 No of Unique Users 6 Stack trace(Frame) nsCOMPtr_base::~nsCOMPtr_base [c:/builds/tinderbox/Fx-Mozilla1.8-Release/WINNT_5.2_Depend/mozilla/xpcom/build/nsCOMPtr.cpp line 81] XPCJSRuntime::GCCallback [c:/builds/tinderbox/Fx-Mozilla1.8-Release/WINNT_5.2_Depend/mozilla/js/src/xpconnect/src/xpcjsruntime.cpp line 547] DOMGCCallback [c:/builds/tinderbox/Fx-Mozilla1.8-Release/WINNT_5.2_Depend/mozilla/dom/src/base/nsJSEnvironment.cpp line 2269] js_GC [c:/builds/tinderbox/Fx-Mozilla1.8-Release/WINNT_5.2_Depend/mozilla/js/src/jsgc.c line 3116] (37176296) Comments: closed browser (37139345) Comments: closed browser at end of session ==================================================================================================== Count Offset Real Signature [ 2 nsCOMPtr_base::nsCOMPtr_base dfc75fbc - nsCOMPtr_base::~nsCOMPtr_base ] Crash date range: 19-OCT-07 to 20-OCT-07 Min/Max Seconds since last crash: 263 - 1928 Min/Max Runtime: 777 - 1928 Count Platform List 2 Windows XP [Windows NT 5.1 build 2600] Count Build Id List 2 2007100816 No of Unique Users 2 Stack trace(Frame) nsCOMPtr_base::~nsCOMPtr_base [c:/builds/tinderbox/Fx-Mozilla1.8-Release/WINNT_5.2_Depend/mozilla/xpcom/build/nsCOMPtr.cpp line 81] nsCSSDeclaration::~nsCSSDeclaration [c:/builds/tinderbox/Fx-Mozilla1.8-Release/WINNT_5.2_Depend/mozilla/layout/style/nsCSSDeclaration.cpp line 105] nsXMLDocument::`scalar deleting destructor' DOMGCCallback [c:/builds/tinderbox/Fx-Mozilla1.8-Release/WINNT_5.2_Depend/mozilla/dom/src/base/nsJSEnvironment.cpp line 2269] ==================================================================================================== Count Offset Real Signature [ 2 nsCOMPtr_base::nsCOMPtr_base 6a1004b3 - nsCOMPtr_base::~nsCOMPtr_base ] Crash date range: 19-OCT-07 to 20-OCT-07 Min/Max Seconds since last crash: 61 - 5621 Min/Max Runtime: 61 - 5621 Count Platform List 2 Windows XP [Windows NT 5.1 build 2600] Count Build Id List 2 2007100816 No of Unique Users 2 Stack trace(Frame) nsCOMPtr_base::~nsCOMPtr_base [c:/builds/tinderbox/Fx-Mozilla1.8-Release/WINNT_5.2_Depend/mozilla/xpcom/build/nsCOMPtr.cpp line 81] DOMGCCallback [c:/builds/tinderbox/Fx-Mozilla1.8-Release/WINNT_5.2_Depend/mozilla/dom/src/base/nsJSEnvironment.cpp line 2269] JS_GC [c:/builds/tinderbox/Fx-Mozilla1.8-Release/WINNT_5.2_Depend/mozilla/js/src/jsapi.c line 1879] nsAppStartup::Run [c:/builds/tinderbox/Fx-Mozilla1.8-Release/WINNT_5.2_Depend/mozilla/toolkit/components/startup/src/nsAppStartup.cpp line 152] main [c:/builds/tinderbox/Fx-Mozilla1.8-Release/WINNT_5.2_Depend/mozilla/browser/app/nsBrowserApp.cpp line 61] kernel32.dll + 0x16fd7 (0x7c816fd7) ==================================================================================================== Count Offset Real Signature [ 1 nsCOMPtr_base::nsCOMPtr_base ed85d45a - nsCOMPtr_base::~nsCOMPtr_base ] Crash date range: 19-OCT-07 to 19-OCT-07 Min/Max Seconds since last crash: 215 - 215 Min/Max Runtime: 1512 - 1512 Count Platform List 1 Windows XP [Windows NT 5.1 build 2600] Count Build Id List 1 2007100816 No of Unique Users 1 Stack trace(Frame) nsCOMPtr_base::~nsCOMPtr_base [c:/builds/tinderbox/Fx-Mozilla1.8-Release/WINNT_5.2_Depend/mozilla/xpcom/build/nsCOMPtr.cpp line 81] nsHTMLImageElement::HandleDOMEvent [c:/builds/tinderbox/Fx-Mozilla1.8-Release/WINNT_5.2_Depend/mozilla/content/html/content/src/nsHTMLImageElement.cpp line 509] PresShell::HandleEventInternal [c:/builds/tinderbox/Fx-Mozilla1.8-Release/WINNT_5.2_Depend/mozilla/layout/base/nsPresShell.cpp line 6527] PresShell::HandleEvent [c:/builds/tinderbox/Fx-Mozilla1.8-Release/WINNT_5.2_Depend/mozilla/layout/base/nsPresShell.cpp line 6310] nsViewManager::HandleEvent [c:/builds/tinderbox/Fx-Mozilla1.8-Release/WINNT_5.2_Depend/mozilla/view/src/nsViewManager.cpp line 2566] nsViewManager::DispatchEvent [c:/builds/tinderbox/Fx-Mozilla1.8-Release/WINNT_5.2_Depend/mozilla/view/src/nsViewManager.cpp line 2253] HandleEvent [c:/builds/tinderbox/Fx-Mozilla1.8-Release/WINNT_5.2_Depend/mozilla/view/src/nsView.cpp line 174] nsWindow::DispatchEvent [c:/builds/tinderbox/Fx-Mozilla1.8-Release/WINNT_5.2_Depend/mozilla/widget/src/windows/nsWindow.cpp line 1319] nsWindow::DispatchMouseEvent [c:/builds/tinderbox/Fx-Mozilla1.8-Release/WINNT_5.2_Depend/mozilla/widget/src/windows/nsWindow.cpp line 6329] ChildWindow::DispatchMouseEvent [c:/builds/tinderbox/Fx-Mozilla1.8-Release/WINNT_5.2_Depend/mozilla/widget/src/windows/nsWindow.cpp line 6576] nsWindow::WindowProc [c:/builds/tinderbox/Fx-Mozilla1.8-Release/WINNT_5.2_Depend/mozilla/widget/src/windows/nsWindow.cpp line 1507] USER32.dll + 0x8709 (0x77d48709) USER32.dll + 0x87eb (0x77d487eb) USER32.dll + 0x89a5 (0x77d489a5) USER32.dll + 0x89e8 (0x77d489e8) nsAppShell::Run [c:/builds/tinderbox/Fx-Mozilla1.8-Release/WINNT_5.2_Depend/mozilla/widget/src/windows/nsAppShell.cpp line 159] nsAppStartup::Run [c:/builds/tinderbox/Fx-Mozilla1.8-Release/WINNT_5.2_Depend/mozilla/toolkit/components/startup/src/nsAppStartup.cpp line 152] main [c:/builds/tinderbox/Fx-Mozilla1.8-Release/WINNT_5.2_Depend/mozilla/browser/app/nsBrowserApp.cpp line 61] kernel32.dll + 0x16d4f (0x7c816d4f) ==================================================================================================== Count Offset Real Signature [ 1 nsCOMPtr_base::nsCOMPtr_base ec8ec874 - nsCOMPtr_base::~nsCOMPtr_base ] Crash date range: 19-OCT-07 to 19-OCT-07 Min/Max Seconds since last crash: 42075 - 42075 Min/Max Runtime: 42075 - 42075 Count Platform List 1 Windows XP [Windows NT 5.1 build 2600] Count Build Id List 1 2007100816 No of Unique Users 1 Stack trace(Frame) nsCOMPtr_base::~nsCOMPtr_base [c:/builds/tinderbox/Fx-Mozilla1.8-Release/WINNT_5.2_Depend/mozilla/xpcom/build/nsCOMPtr.cpp line 81] XPCJSRuntime::GCCallback [c:/builds/tinderbox/Fx-Mozilla1.8-Release/WINNT_5.2_Depend/mozilla/js/src/xpconnect/src/xpcjsruntime.cpp line 547] DOMGCCallback [c:/builds/tinderbox/Fx-Mozilla1.8-Release/WINNT_5.2_Depend/mozilla/dom/src/base/nsJSEnvironment.cpp line 2269] js_GC [c:/builds/tinderbox/Fx-Mozilla1.8-Release/WINNT_5.2_Depend/mozilla/js/src/jsgc.c line 3116] JS_GC [c:/builds/tinderbox/Fx-Mozilla1.8-Release/WINNT_5.2_Depend/mozilla/js/src/jsapi.c line 1879] nsObserverService::NotifyObservers [c:/builds/tinderbox/Fx-Mozilla1.8-Release/WINNT_5.2_Depend/mozilla/xpcom/ds/nsObserverService.cpp line 235] NS_ShutdownXPCOM_P [c:/builds/tinderbox/Fx-Mozilla1.8-Release/WINNT_5.2_Depend/mozilla/xpcom/build/nsXPComInit.cpp line 814] ScopedXPCOMStartup::~ScopedXPCOMStartup [c:/builds/tinderbox/Fx-Mozilla1.8-Release/WINNT_5.2_Depend/mozilla/toolkit/xre/nsAppRunner.cpp line 762] main [c:/builds/tinderbox/Fx-Mozilla1.8-Release/WINNT_5.2_Depend/mozilla/browser/app/nsBrowserApp.cpp line 61] kernel32.dll + 0x16fd7 (0x7c816fd7) ==================================================================================================== Count Offset Real Signature [ 1 nsCOMPtr_base::nsCOMPtr_base d7edf74c - nsCOMPtr_base::~nsCOMPtr_base ] Crash date range: 19-OCT-07 to 19-OCT-07 Min/Max Seconds since last crash: 22488 - 22488 Min/Max Runtime: 22488 - 22488 Count Platform List 1 [Windows NT 6.0 build 6000] Count Build Id List 1 2007100816 No of Unique Users 1 Stack trace(Frame) nsCOMPtr_base::~nsCOMPtr_base [c:/builds/tinderbox/Fx-Mozilla1.8-Release/WINNT_5.2_Depend/mozilla/xpcom/build/nsCOMPtr.cpp line 81] nsTransactionStack::~nsTransactionStack [c:/builds/tinderbox/Fx-Mozilla1.8-Release/WINNT_5.2_Depend/mozilla/editor/txmgr/src/nsTransactionStack.cpp line 53] nsTransactionManager::`scalar deleting destructor' nsPlaintextEditor::~nsPlaintextEditor [c:/builds/tinderbox/Fx-Mozilla1.8-Release/WINNT_5.2_Depend/mozilla/editor/libeditor/text/nsPlaintextEditor.cpp line 110] nsPlaintextEditor::`scalar deleting destructor' nsTextControlFrame::Destroy [c:/builds/tinderbox/Fx-Mozilla1.8-Release/WINNT_5.2_Depend/mozilla/layout/forms/nsTextControlFrame.cpp line 1454] nsBoxFrame::Destroy [c:/builds/tinderbox/Fx-Mozilla1.8-Release/WINNT_5.2_Depend/mozilla/layout/xul/base/src/nsBoxFrame.cpp line 1122] nsBoxFrame::Destroy [c:/builds/tinderbox/Fx-Mozilla1.8-Release/WINNT_5.2_Depend/mozilla/layout/xul/base/src/nsBoxFrame.cpp line 1122] nsFrameList::DestroyFrames [c:/builds/tinderbox/Fx-Mozilla1.8-Release/WINNT_5.2_Depend/mozilla/layout/generic/nsFrameList.cpp line 138] nsBoxFrame::Destroy [c:/builds/tinderbox/Fx-Mozilla1.8-Release/WINNT_5.2_Depend/mozilla/layout/xul/base/src/nsBoxFrame.cpp line 1122] nsBoxFrame::Destroy [c:/builds/tinderbox/Fx-Mozilla1.8-Release/WINNT_5.2_Depend/mozilla/layout/xul/base/src/nsBoxFrame.cpp line 1122] nsBoxFrame::Destroy [c:/builds/tinderbox/Fx-Mozilla1.8-Release/WINNT_5.2_Depend/mozilla/layout/xul/base/src/nsBoxFrame.cpp line 1122] nsBoxFrame::Destroy [c:/builds/tinderbox/Fx-Mozilla1.8-Release/WINNT_5.2_Depend/mozilla/layout/xul/base/src/nsBoxFrame.cpp line 1122] nsBoxFrame::Destroy [c:/builds/tinderbox/Fx-Mozilla1.8-Release/WINNT_5.2_Depend/mozilla/layout/xul/base/src/nsBoxFrame.cpp line 1122] nsBoxFrame::Destroy [c:/builds/tinderbox/Fx-Mozilla1.8-Release/WINNT_5.2_Depend/mozilla/layout/xul/base/src/nsBoxFrame.cpp line 1122] ViewportFrame::Destroy [c:/builds/tinderbox/Fx-Mozilla1.8-Release/WINNT_5.2_Depend/mozilla/layout/generic/nsViewportFrame.cpp line 67] DocumentViewerImpl::Destroy [c:/builds/tinderbox/Fx-Mozilla1.8-Release/WINNT_5.2_Depend/mozilla/layout/base/nsDocumentViewer.cpp line 1556] nsDocShell::Destroy [c:/builds/tinderbox/Fx-Mozilla1.8-Release/WINNT_5.2_Depend/mozilla/docshell/base/nsDocShell.cpp line 3556] nsXULWindow::Destroy [c:/builds/tinderbox/Fx-Mozilla1.8-Release/WINNT_5.2_Depend/mozilla/xpfe/appshell/src/nsXULWindow.cpp line 514] nsWebShellWindow::Destroy [c:/builds/tinderbox/Fx-Mozilla1.8-Release/WINNT_5.2_Depend/mozilla/xpfe/appshell/src/nsWebShellWindow.cpp line 850] nsChromeTreeOwner::Destroy [c:/builds/tinderbox/Fx-Mozilla1.8-Release/WINNT_5.2_Depend/mozilla/xpfe/appshell/src/nsChromeTreeOwner.cpp line 363] PL_HandleEvent [c:/builds/tinderbox/Fx-Mozilla1.8-Release/WINNT_5.2_Depend/mozilla/xpcom/threads/plevent.c line 689] 0x778b0c24 0x2df2e804 0x0e8b0000 0x74084139 0xc8835f06 0x8bc35eff 0x89480847 0x0d750847 0x5e5f168b 0x04245489 0x00064fe9 0xc0335f00 0x9090c35e 0x90909090 0x90909090 0x2dbae856 0x4c8b0000 0x518b0824 0x8b128b04 0xf03b0872 0x8b04755e 0x33c30841 0x9090c3c0 0x99e85756 0x8b00002d 0x8b0c2474 0x118b044e 0x74084239 0xc8835f06 0x8bc35eff 0x8b102454 0x46c7087e
Flags: blocking1.8.1.10?
We're not sure what causes this so it's going to make 1.8.1.12. Marking as wanted.
Flags: wanted1.8.0.x+
Flags: blocking1.8.1.12?
Flags: blocking1.8.1.12-
bug 406524 and some talkbacks mention gmail. eg TB39265676 "Logging out of gmail. This is a recurrent problem, happens daily." MozillaOrgFirefox2Win322007112718
(In reply to comment #2) > bug 406524 and some talkbacks mention gmail. Crashing in nsCOMPtr_base::~nsCOMPtr_base is fairly common and doesn't mean the crashes are at all related. Bug 400741 is specifically about an on-quit crash that's crashing with that signature.
I'm not seeing any crashes [@ nsCOMPtr_base::~nsCOMPtr_base() | XPCJSRuntime::GCCallback], which are the majority of the stacks shown in comment 0, in recent crash-stats.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → WORKSFORME
Crash Signature: [@ nsCOMPtr_base::~nsCOMPtr_base] [@ nsCOMPtr_base::nsCOMPtr_base]
You need to log in before you can comment on or make changes to this bug.