Closed Bug 411145 Opened 18 years ago Closed 18 years ago

crash [@ nsQueryInterface::operator()(nsID const&, void**) const] (Mac+linux-only) [@ 0 - DocumentViewerImpl::Hide]

Categories

(Core :: Layout, defect)

defect
Not set
critical

Tracking

()

RESOLVED DUPLICATE of bug 415601

People

(Reporter: wsmwk, Unassigned)

References

Details

(Keywords: crash)

Crash Data

Attachments

(3 files)

crashes beginning with 2007112300 build - none of the crashes are windows bp-8e1e2e68-bd35-11dc-94fa-001a4bd43e5c Signature nsQueryInterface::operator()(nsID const&, void**) const UUID 8e1e2e68-bd35-11dc-94fa-001a4bd43e5c Time 2008-01-07 07:30:32-08:00 Build ID 2008010603 OS Mac OS X OS Version 10.4.11 8S2167 CPU x86 CPU Info GenuineIntel family 6 model 14 stepping 8 Crash Reason EXC_BAD_ACCESS / KERN_PROTECTION_FAILURE Crash Address 0xe07d8c 0 nsQueryInterface::operator()(nsID const&, void**) const nsCOMPtr.cpp:47 1 nsCOMPtr_base::assign_from_qi(nsQueryInterface, nsID const&) nsCOMPtr.cpp:96 2 thunderbird-bin@0x292d84 3 thunderbird-bin@0x5d52c2 4 thunderbird-bin@0x5d0b38 5 thunderbird-bin@0x5d0da0 6 thunderbird-bin@0x5cb4c2 7 NS_InvokeByIndex_P mozilla/xpcom/reflect/xptcall/src/md/unix/xptcinvoke_unixish_x86.cpp:179 8 thunderbird-bin@0x45f28b 9 thunderbird-bin@0x44c7e6 10 js_Invoke mozilla/js/src/jsinterp.c:1023 11 js_Interpret mozilla/js/src/jsinterp.c:3858 12 js_Invoke mozilla/js/src/jsinterp.c:1040 13 js_InternalInvoke mozilla/js/src/jsinterp.c:1096 14 js_InternalGetOrSet mozilla/js/src/jsinterp.c:1159 15 js_SetProperty mozilla/js/src/jsobj.c:3748 16 js_Interpret mozilla/js/src/jsinterp.c:3589 17 js_Invoke mozilla/js/src/jsinterp.c:1040 18 js_InternalInvoke mozilla/js/src/jsinterp.c:1096 19 JS_CallFunctionValue mozilla/js/src/jsapi.c:4927 20 thunderbird-bin@0x81fc89 21 thunderbird-bin@0x5c07c3 22 thunderbird-bin@0x5c07a5 23 thunderbird-bin@0x554176 24 thunderbird-bin@0x460e27 25 thunderbird-bin@0x4568cd 26 thunderbird-bin@0xaed6f 27 thunderbird-bin@0x552b56 28 thunderbird-bin@0x553e07 29 thunderbird-bin@0x55b32f 30 thunderbird-bin@0x44d700 31 js_NativeGet mozilla/js/src/jsobj.c:3506 32 js_GetProperty mozilla/js/src/jsobj.c:3649 33 js_Interpret mozilla/js/src/jsinterp.c:3595 34 js_Invoke mozilla/js/src/jsinterp.c:1040 35 thunderbird-bin@0x465a95 36 thunderbird-bin@0x75e498 37 PrepareAndDispatch(nsXPTCStubBase*, unsigned int, unsigned int*) mozilla/xpcom/reflect/xptcall/src/md/unix/xptcstubs_unixish_x86.cpp:93 38 nsXPTCStubBase::Stub3() mozilla/xpcom/reflect/xptcall/src/md/unix/xptcstubs_unixish_x86.cpp:5 39 thunderbird-bin@0x10b928 40 thunderbird-bin@0x10de69 41 thunderbird-bin@0x1aec39 42 thunderbird-bin@0x141a8d 43 thunderbird-bin@0x9ea2f 44 thunderbird-bin@0x9eee0 45 nsInputStreamReadyEvent::Run() mozilla/xpcom/MoreFiles/FSCopyObject.c:107 46 nsThread::ProcessNextEvent(int, int*) mozilla/xpcom/threads/nsThread.cpp:510 47 NS_ProcessPendingEvents_P(nsIThread*, unsigned int) nsThreadUtils.cpp:180 48 thunderbird-bin@0x726a69 49 thunderbird-bin@0x3b1cbb 50 CoreFoundation@0x21f19 51 CoreFoundation@0x21a55 52 HIToolbox@0x9877 53 HIToolbox@0x8eb8 54 HIToolbox@0x8dd8 55 AppKit@0x17484 56 AppKit@0x17075 57 AppKit@0xe1e7c 58 AppKit@0x1b2a71 59 AppKit@0x1b26a7 60 thunderbird-bin@0x3bab01 61 AppKit@0x10574a 62 thunderbird-bin@0x3c2a0d 63 AppKit@0x1b2005 64 AppKit@0xe5dba 65 AppKit@0x10e1d 66 thunderbird-bin@0x3b1814 67 thunderbird-bin@0x3def2a 68 thunderbird-bin@0x5c79 69 thunderbird-bin@0x1dda 70 thunderbird-bin@0x1cb9 71 thunderbird-bin@0x1bd4 72 @0x0
A new crash report: bp-cccfceca-bd6f-11dc-9e25-001a4bd46e84 Signature thunderbird-bin@0x48fa0c UUID cccfceca-bd6f-11dc-9e25-001a4bd46e84 Time 2008-01-07 14:27:43-08:00 Build ID 2008010703 OS Mac OS X OS Version 10.4.11 8S2167 CPU x86 CPU Info GenuineIntel family 6 model 14 stepping 8 Crash Reason EXC_BAD_ACCESS / KERN_PROTECTION_FAILURE Crash Address 0x490a0c 0 thunderbird-bin@0x48fa0c 1 thunderbird-bin@0x4be75f 2 thunderbird-bin@0x4c6286 3 NS_InvokeByIndex_P mozilla/xpcom/reflect/xptcall/src/md/unix/xptcinvoke_unixish_x86.cpp:179 4 thunderbird-bin@0x45ece7 5 thunderbird-bin@0x44c242 6 js_Invoke mozilla/js/src/jsinterp.c:1023 7 js_Interpret mozilla/js/src/jsinterp.c:3858 8 js_Invoke mozilla/js/src/jsinterp.c:1040 9 js_InternalInvoke mozilla/js/src/jsinterp.c:1096 10 JS_CallFunctionValue mozilla/js/src/jsapi.c:4927 11 thunderbird-bin@0x5fe29b 12 thunderbird-bin@0x63bcaf 13 thunderbird-bin@0x2e4cf6 14 thunderbird-bin@0x2e5ca2 15 thunderbird-bin@0x5961c5 16 thunderbird-bin@0x5963ee 17 thunderbird-bin@0x596d1b 18 thunderbird-bin@0x8edc3a 19 thunderbird-bin@0x8edd06 20 thunderbird-bin@0x4c001c 21 thunderbird-bin@0x4cc3dd 22 NS_InvokeByIndex_P mozilla/xpcom/reflect/xptcall/src/md/unix/xptcinvoke_unixish_x86.cpp:179 23 thunderbird-bin@0x45ece7 24 thunderbird-bin@0x44c242 25 js_Invoke mozilla/js/src/jsinterp.c:1023 26 js_Interpret mozilla/js/src/jsinterp.c:3858 27 js_Invoke mozilla/js/src/jsinterp.c:1040 28 thunderbird-bin@0x4654f1 29 thunderbird-bin@0x75d514 30 PrepareAndDispatch(nsXPTCStubBase*, unsigned int, unsigned int*) mozilla/xpcom/reflect/xptcall/src/md/unix/xptcstubs_unixish_x86.cpp:93 31 nsXPTCStubBase::Stub10() mozilla/xpcom/reflect/xptcall/src/md/unix/xptcstubs_unixish_x86.cpp:12 32 thunderbird-bin@0x19a696 33 thunderbird-bin@0x4d731b 34 thunderbird-bin@0x4d75ab 35 thunderbird-bin@0x190a0c 36 thunderbird-bin@0x1fecb5 37 thunderbird-bin@0x1fece0 38 thunderbird-bin@0x48d982 39 NS_InvokeByIndex_P mozilla/xpcom/reflect/xptcall/src/md/unix/xptcinvoke_unixish_x86.cpp:179 40 nsProxyObjectCallInfo::Run() mozilla/xpcom/proxy/src/nsProxyEvent.cpp:181 41 nsThread::ProcessNextEvent(int, int*) mozilla/xpcom/threads/nsThread.cpp:510 42 NS_ProcessPendingEvents_P(nsIThread*, unsigned int) nsThreadUtils.cpp:180 43 thunderbird-bin@0x725ac9 44 thunderbird-bin@0x3b16f7 45 CoreFoundation@0x21f19 46 CoreFoundation@0x21a55 47 HIToolbox@0x9877 48 HIToolbox@0x8f81 49 HIToolbox@0x8dd8 50 AppKit@0x17484 51 AppKit@0x17075 52 AppKit@0x10dfa 53 thunderbird-bin@0x3b1250 54 thunderbird-bin@0x3de986 55 thunderbird-bin@0x5619 56 thunderbird-bin@0x177a 57 thunderbird-bin@0x1659 58 thunderbird-bin@0x1574 59 @0x1 Some info from Bug 411140 (I'm not convinced 411140 and 411145 are duplicates, might be same root cause though): Previous Crash Report: bp-6680e96b-bd42-11dc-af92-001a4bd43ed6 Build Identifier: version 3.0a1pre (2008010703) Inside of Thunderbird I have an IMAP server that has several IMAP folders that I use to sort mail. The actual sorting happens via the Exchange Server side rule. I click in each of the different folders to read different messages. Three times now (since I started using the 3.0a1pre builds (was using 2.0.x.x nightly builds before)) it has crashed when I'm click on different folders to check for new messages. All three times there were no new messages in the folders, so it could be that I am "rapidly" changing folders. I have no altered this behavior since using the 2.x nightly builds. Reproducible: Sometimes (Often) Steps to Reproduce: 1. Change between IMAP folders (perhaps in a slightly rapid fashion). Actual Results: Thunderbird Crashes/Quits and "Report Crash to Apple" interface pops up. Expected Results: Folder change would happen and I would view contents of the folder.
Okay, I started running my own compiled version again. As such it isn't doing BreakPad reports but is doing Apple crash reporting. This looks a lot more useful to me (but mostly because I can see the symbol names). I only included Thread 0 since it is the one that crashed. Here is the stack via the Apple Crash Reporter: Exception: EXC_BAD_ACCESS (0x0001) Codes: KERN_PROTECTION_FAILURE (0x0002) at 0x00000000 Thread 0 Crashed: 0 <<00000000>> 0x00000000 0 + 0 1 org.mozilla.thunderbird 0x00288003 DocumentViewerImpl::Hide() + 523 2 org.mozilla.thunderbird 0x006e5f56 nsSubDocumentFrame::Destroy(nsPresContext*) + 204 3 org.mozilla.thunderbird 0x00650cbe nsFrameList::DestroyFrames(nsPresContext*) + 40 4 org.mozilla.thunderbird 0x005fea45 nsContainerFrame::Destroy(nsPresContext*) + 51 5 org.mozilla.thunderbird 0x00650cbe nsFrameList::DestroyFrames(nsPresContext*) + 40 6 org.mozilla.thunderbird 0x005fea45 nsContainerFrame::Destroy(nsPresContext*) + 51 7 org.mozilla.thunderbird 0x00650cbe nsFrameList::DestroyFrames(nsPresContext*) + 40 8 org.mozilla.thunderbird 0x005fea45 nsContainerFrame::Destroy(nsPresContext*) + 51 9 org.mozilla.thunderbird 0x00650cbe nsFrameList::DestroyFrames(nsPresContext*) + 40 10 org.mozilla.thunderbird 0x005fea45 nsContainerFrame::Destroy(nsPresContext*) + 51 11 org.mozilla.thunderbird 0x00650cbe nsFrameList::DestroyFrames(nsPresContext*) + 40 12 org.mozilla.thunderbird 0x005fea45 nsContainerFrame::Destroy(nsPresContext*) + 51 13 org.mozilla.thunderbird 0x00650cbe nsFrameList::DestroyFrames(nsPresContext*) + 40 14 org.mozilla.thunderbird 0x005fea45 nsContainerFrame::Destroy(nsPresContext*) + 51 15 org.mozilla.thunderbird 0x005fcd09 nsFrameManager::Destroy() + 69 16 org.mozilla.thunderbird 0x0024c8fa PresShell::Destroy() + 444 17 org.mozilla.thunderbird 0x00287b19 DocumentViewerImpl::Destroy() + 669 18 org.mozilla.thunderbird 0x0072a739 nsDocShell::Destroy() + 233 19 org.mozilla.thunderbird 0x007a8f41 nsXULWindow::Destroy() + 293 20 org.mozilla.thunderbird 0x004b728e nsWebShellWindow::Destroy() + 224 21 org.mozilla.thunderbird 0x0018ebbb nsMsgComposeService::CloseWindow(nsIDOMWindowInternal*) + 173 22 org.mozilla.thunderbird 0x0018f937 nsMsgComposeService::DeleteCachedWindows() + 55 23 org.mozilla.thunderbird 0x0018fcdc nsMsgComposeService::Observe(nsISupports*, char const*, unsigned short const*) + 92 24 libxpcom_core.dylib 0x0181463c nsObserverService::NotifyObservers(nsISupports*, char const*, unsigned short const*) + 304 25 org.mozilla.thunderbird 0x0044261c nsAppStartup::Quit(unsigned) + 596 26 org.mozilla.thunderbird 0x0044236d nsAppStartup::Observe(nsISupports*, char const*, unsigned short const*) + 665 27 libxpcom_core.dylib 0x0181463c nsObserverService::NotifyObservers(nsISupports*, char const*, unsigned short const*) + 304 28 org.mozilla.thunderbird 0x007a90ab nsXULWindow::Destroy() + 655 29 org.mozilla.thunderbird 0x004b728e nsWebShellWindow::Destroy() + 224 30 org.mozilla.thunderbird 0x00320d19 nsGlobalWindow::ReallyCloseWindow() + 401 31 libxpcom_core.dylib 0x01845039 PL_HandleEvent + 21 32 libxpcom_core.dylib 0x018452f2 PL_ProcessPendingEvents + 103 33 com.apple.CoreFoundation 0x90829379 CFRunLoopRunSpecific + 1213 34 com.apple.CoreFoundation 0x90828eb5 CFRunLoopRunInMode + 61 35 com.apple.HIToolbox 0x92dcdb90 RunCurrentEventLoopInMode + 285 36 com.apple.HIToolbox 0x92ec1ffe GetNextEventMatchingMask + 100 37 com.apple.HIToolbox 0x92ec1e29 WNEInternal + 123 38 com.apple.HIToolbox 0x92ec1d97 WaitNextEvent + 57 39 org.mozilla.thunderbird 0x007436cc nsMacMessagePump::GetEvent(EventRecord&) + 82 40 org.mozilla.thunderbird 0x00744431 nsMacMessagePump::DoMessagePump() + 45 41 org.mozilla.thunderbird 0x003d13b0 nsAppShell::Run() + 38 42 org.mozilla.thunderbird 0x00441bee nsAppStartup::Run() + 50 43 org.mozilla.thunderbird 0x00006389 XRE_main + 5275 44 org.mozilla.thunderbird 0x00003210 main + 32 45 org.mozilla.thunderbird 0x00003196 start + 270 46 org.mozilla.thunderbird 0x000030b1 start + 41 Thread 0 crashed with X86 Thread State (32-bit): eax: 0x0f71c64b ebx: 0x0f750b80 ecx: 0x00000000 edx: 0x1170a890 edi: 0x0f750b78 esi: 0x00000000 ebp: 0xbfffe988 esp: 0xbfffe96c ss: 0x0000001f efl: 0x00010206 eip: 0x00000000 cs: 0x00000017 ds: 0x0000001f es: 0x0000001f fs: 0x00000000 gs: 0x00000037
http://mxr.mozilla.org/seamonkey/source/layout/base/nsDocumentViewer.cpp#1932 if you built yourself, please ask apple's crash reporter to open gdb for you. we need to know which line of frame #1 (DocumentViewerImpl::Hide) crashed.
Component: General → Layout
Product: Thunderbird → Core
QA Contact: general → layout
Summary: crash [@ nsQueryInterface::operator()(nsID const&, void**) const] (Mac+linux-only) → crash [@ nsQueryInterface::operator()(nsID const&, void**) const] (Mac+linux-only) [@ 0 - DocumentViewerImpl::Hide]
perhaps fixed by checkin of bug 414747. I didn't do an extensive review of recent stacks, but * nsQueryInterface::operator()(nsID const&, void**) const [which for thunderbird according to crash-stats is both Mac _and_ linux] ... appears to be totally gone as of 2008013100 build bp-3290d285-d0d2-11dc-9506-001a4bd43ed6 with build 2008013003, is the last thunderbird crash http://crash-stats.mozilla.com/report/list?range_unit=weeks&query_search=signature&query_type=contains&signature=nsQueryInterface%3A%3Aoperator()(nsID+const%26%2C+void**)+const&query=nsQueryInterface%3A%3Aoperator()(nsID+const%26%2C+void**)&range_value=5
It appears I have a new "Folder Change" crash... and it started on 1/31 interestingly enough. I have at least three crash files, and probably four or five more crashes that I didn't take the time to copy and paste the Apple Crash report (I've included a couple below). I will recompile with debug & symbols and will debug next time it happens and find a line number. Exception: EXC_BAD_ACCESS (0x0001) Codes: KERN_INVALID_ADDRESS (0x0001) at 0x80034000 Thread 0 Crashed: 0 libmail.dylib 0x0a9810c3 NSGetModule + 65233 1 libmail.dylib 0x0a9da87c NSGetModule + 431754 2 libxpcom_core.dylib 0x2c04e5bd NS_InvokeByIndex_P + 81 3 libxpconnect.dylib 0x0ad741d5 NSGetModule + 46651 4 libxpconnect.dylib 0x0ad7880e NSGetModule + 64628 5 libmozjs.dylib 0x2305206a js_Invoke + 1861 6 libmozjs.dylib 0x230440fd js_FreeStack + 10355 7 libmozjs.dylib 0x230524d9 js_Invoke + 2996 8 libmozjs.dylib 0x23052992 js_Invoke + 4205 9 libmozjs.dylib 0x2300302c JS_CallFunctionValue + 62 10 libgklayout.dylib 0x012e7d82 NSGetModule + 2997698 Exception: EXC_BAD_ACCESS (0x0001) Codes: KERN_INVALID_ADDRESS (0x0001) at 0x3a044440 Thread 0 Crashed: 0 libmail.dylib 0x0a980ec3 NSGetModule + 65173 1 libmail.dylib 0x0a9da67c NSGetModule + 431694 2 libxpcom_core.dylib 0x2c04f361 NS_InvokeByIndex_P + 81 3 libxpconnect.dylib 0x0ad771bd NSGetModule + 46643 4 libxpconnect.dylib 0x0ad7b7f6 NSGetModule + 64620 5 libmozjs.dylib 0x2304fd58 js_Invoke + 1861 6 libmozjs.dylib 0x2304318f js_FreeStack + 7860 7 libmozjs.dylib 0x230501c7 js_Invoke + 2996 8 libmozjs.dylib 0x23050680 js_Invoke + 4205 9 libmozjs.dylib 0x23002ecf JS_CallFunctionValue + 62 10 libgklayout.dylib 0x012e6c4e NSGetModule + 2996398
that stack is useless, it only contains exported symbols. i look forward to a more useful stack :|
I've attached the full Apple Debug Report as folder-change-crash-1.txt Exception: EXC_BAD_ACCESS (0x0001) Codes: KERN_PROTECTION_FAILURE (0x0002) at 0x00000000 Thread 0 Crashed: 0 libmsgbaseutil.dylib 0x0bdf0c6a nsUInt32Array::GetAt(unsigned) const + 88 (nsUInt32Array.cpp:158) 1 libmailnews.dylib 0x10888bae nsMsgDBView::NonDummyMsgSelected(unsigned*, int) + 44 (nsMsgDBView.cpp:6095) 2 libmailnews.dylib 0x10892366 nsMsgDBView::SelectionChanged() + 280 (nsMsgDBView.cpp:1027) 3 libxpcom_core.dylib 0x013945d8 NS_InvokeByIndex_P + 98 (xptcinvoke_unixish_x86.cpp:179) 4 libxpconnect.dylib 0x19f39aff XPCWrappedNative::CallMethod(XPCCallContext&, XPCWrappedNative::CallMode) + 6167 (xpcwrappednative.cpp:2339) 5 libxpconnect.dylib 0x19f41638 XPC_WN_CallMethod(JSContext*, JSObject*, unsigned, long*, long*) + 398 (xpcwrappednativejsops.cpp:1470) 6 libmozjs.dylib 0x01063922 js_Invoke + 2656 (jsinterp.c:1400) 7 libmozjs.dylib 0x0107a3b5 js_Interpret + 86700 (jsinterp.c:4530) 8 libmozjs.dylib 0x010639ad js_Invoke + 2795 (jsinterp.c:1416) 9 libmozjs.dylib 0x01063c70 js_InternalInvoke + 137 (jsinterp.c:1472) 10 libmozjs.dylib 0x01020023 JS_CallFunctionValue + 136 (jsapi.c:4946)
Replicated crash again... Exception: EXC_BAD_ACCESS (0x0001) Codes: KERN_PROTECTION_FAILURE (0x0002) at 0x00000000 Thread 0 Crashed: 0 libmsgbaseutil.dylib 0x0c065c6a nsUInt32Array::GetAt(unsigned) const + 88 (nsUInt32Array.cpp:158) 1 libmailnews.dylib 0x0aa66bae nsMsgDBView::NonDummyMsgSelected(unsigned*, int) + 44 (nsMsgDBView.cpp:6095) 2 libmailnews.dylib 0x0aa70366 nsMsgDBView::SelectionChanged() + 280 (nsMsgDBView.cpp:1027) 3 libxpcom_core.dylib 0x013945d8 NS_InvokeByIndex_P + 98 (xptcinvoke_unixish_x86.cpp:179) 4 libxpconnect.dylib 0x0c5fcaff XPCWrappedNative::CallMethod(XPCCallContext&, XPCWrappedNative::CallMode) + 6167 (xpcwrappednative.cpp:2339) 5 libxpconnect.dylib 0x0c604638 XPC_WN_CallMethod(JSContext*, JSObject*, unsigned, long*, long*) + 398 (xpcwrappednativejsops.cpp:1470) 6 libmozjs.dylib 0x01063922 js_Invoke + 2656 (jsinterp.c:1400) 7 libmozjs.dylib 0x0107a3b5 js_Interpret + 86700 (jsinterp.c:4530) 8 libmozjs.dylib 0x010639ad js_Invoke + 2795 (jsinterp.c:1416) 9 libmozjs.dylib 0x01063c70 js_InternalInvoke + 137 (jsinterp.c:1472) 10 libmozjs.dylib 0x01020023 JS_CallFunctionValue + 136 (jsapi.c:4946)
Hopefully, these will be helpful. It is pretty much reproducible for me.
that's bug 415601 please use gdb to answer questions in the other bug.
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → DUPLICATE
(In reply to comment #12) > that's bug 415601 > *** This bug has been marked as a duplicate of bug 415601 *** that's Jay's issue. but what about comment 0? how does that tie in to bug 415601?
comment 0 isn't meaningful because it doesn't have symbols. comment 3 is a different problem. not sure which. i wish i could resolve *comments* as duplicates instead of bugs :)
Crash Signature: [@ nsQueryInterface::operator()(nsID const&, void**) const] [@ 0 - DocumentViewerImpl::Hide]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: