Closed Bug 92424 Opened 24 years ago Closed 24 years ago

Crash in nsPresShell.cpp due non-existing |mViewManager|

Categories

(Core :: Layout, defect)

Sun
Solaris
defect
Not set
normal

Tracking

()

VERIFIED DUPLICATE of bug 92325

People

(Reporter: roland.mainz, Assigned: dcone)

References

()

Details

(Keywords: crash)

2001-07-25-08-trunk Mozilla on Solaris 7 SPARC build with Sun Workshop 6 Update 2 FCS crashes while printing: -- snip -- XpuCheckExtension: XpQueryVersion ':1.0' 1 0 XpSetContext(mPDisplay, mPContext) XpuGetOneLongAttribute: 'default-printer-resolution' got '300' XpuGetOneLongAttribute: result 300 Enabling Quirk StyleSheet t@1 (l@1) signal SEGV (no mapping at the fault address) in PresShell::ResizeReflow at line 2759 in file "nsPresShell.cpp" 2759 mViewManager->CacheWidgetChanges(PR_TRUE); (/opt/SUNWspro/bin/../WS6U2/bin/sparcv9/dbx) where current thread: t@1 =>[1] PresShell::ResizeReflow(this = 0x93b6e8, aWidth = 11520, aHeight = 15115), line 2759 in "nsPresShell.cpp" [2] DocumentViewerImpl::ReflowPrintObject(this = ???, aPO = ???) (optimized), at 0xfd47eb94 (line ~2927) in "nsDocumentViewer.cpp" [3] DocumentViewerImpl::ReflowDocList(this = ???, aPO = ???) (optimized), at 0xfd47ddf4 (line ~2705) in "nsDocumentViewer.cpp" [4] DocumentViewerImpl::SetupToPrintContent(this = ???, aParent = ???, aDContext = ???, aCurrentFocusedDOMWin = ???) (optimized), at 0xfd47fa14 (line ~3224) in "nsDocumentViewer.cpp" [5] DocumentViewerImpl::DocumentReadyForPrinting(this = ???) (optimized), at 0xfd481ad8 (line ~3999) in "nsDocumentViewer.cpp" [6] DocumentViewerImpl::Print(this = ???, aSilent = ???, aFile = ???, aPrintListener = ???) (optimized), at 0xfd4842d8 (line ~4595) in "nsDocumentViewer.cpp" [7] GlobalWindowImpl::Print(this = ???) (optimized), at 0xfcd463dc (line ~1866) in "nsGlobalWindow.cpp" [8] XPTC_InvokeByIndex(0x5cc564, 0x45, 0x0, 0xffbed318, 0x5fd738, 0x8000fc00), at 0xff0fd288 [9] XPCWrappedNative::CallMethod(ccx = CLASS, mode = ???) (optimized), at 0xfe1e26ac (line ~1881) in "xpcwrappednative.cpp" [10] XPC_WN_CallMethod(cx = ???, obj = ???, argc = ???, argv = ???, vp = ???) (optimized), at 0xfe1eeae4 (line ~1253) in "xpcwrappednativejsops.cpp" [11] js_Invoke(cx = ???, argc = ???, flags = ???) (optimized), at 0xff244c48 (line ~807) in "jsinterp.c" [12] js_Interpret(cx = ???, result = ???) (optimized), at 0xff25064c (line ~2697) in "jsinterp.c" [13] js_Invoke(cx = ???, argc = ???, flags = ???) (optimized), at 0xff244cbc (line ~824) in "jsinterp.c" [14] js_InternalInvoke(cx = ???, obj = ???, fval = ???, flags = ???, argc = ???, argv = ???, rval = ???) (optimized), at 0xff244f24 (line ~896) in "jsinterp.c" [15] JS_CallFunctionValue(cx = ???, obj = ???, fval = ???, argc = ???, argv = ???, rval = ???) (optimized), at 0xff21d734 (line ~3320) in "jsapi.c" [16] nsJSContext::CallEventHandler(this = ???, aTarget = ???, aHandler = ???, argc = ???, argv = ???, aBoolResult = ???, aReverseReturnResult = ???) (optimized), at 0xfcd33d20 (line ~945) in "nsJSEnvironment.cpp" [17] nsJSEventListener::HandleEvent(this = ???, aEvent = ???) (optimized), at 0xfcd98618 (line ~138) in "nsJSEventListener.cpp" [18] nsEventListenerManager::HandleEventSubType(this = ???, aListenerStruct = ???, aDOMEvent = ???, aCurrentTarget = ???, aSubType = ???, aPhaseFlags = ???) (optimized), at 0xfd172730 (line ~1161) in "nsEventListenerManager.cpp" [19] nsEventListenerManager::HandleEvent(this = ???, aPresContext = ???, aEvent = ???, aDOMEvent = ???, aCurrentTarget = ???, aFlags = ???, aEventStatus = ???) (optimized), at 0xfd174ff8 (line ~2131) in "nsEventListenerManager.cpp" [20] nsXULElement::HandleDOMEvent(this = ???, aPresContext = ???, aEvent = ???, aDOMEvent = ???, aFlags = ???, aEventStatus = ???) (optimized), at 0xfd355540 (line ~3678) in "nsXULElement.cpp" [21] PresShell::HandleDOMEventWithTarget(this = 0x3bca00, aTargetContent = 0x489180, aEvent = 0xffbee818, aStatus = 0xffbee860), line 5680 in "nsPresShell.cpp" [22] nsMenuFrame::Execute(this = ???) (optimized), at 0xfc7df23c (line ~1487) in "nsMenuFrame.cpp" [23] nsMenuFrame::HandleEvent(this = ???, aPresContext = ???, aEvent = ???, aEventStatus = ???) (optimized), at 0xfc7dbbc0 (line ~457) in "nsMenuFrame.cpp" [24] PresShell::HandleEventInternal(this = 0x3bca00, aEvent = 0xffbeefb8, aView = 0x914248, aFlags = 1U, aStatus = 0xffbeede4), line 5648 in "nsPresShell.cpp" [25] PresShell::HandleEvent(this = 0x3bca00, aView = 0x914248, aEvent = 0xffbeefb8, aEventStatus = 0xffbeede4, aForceHandle = 0, aHandled = 1), line 5560 in "nsPresShell.cpp" [26] nsView::HandleEvent(this = ???, event = ???, aEventFlags = ???, aStatus = ???, aForceHandle = ???, aHandled = ???) (optimized), at 0xfca5ebf0 (line ~364) in "nsView.cpp" [27] nsView::HandleEvent(this = ???, event = ???, aEventFlags = ???, aStatus = ???, aForceHandle = ???, aHandled = ???) (optimized), at 0xfca5eb4c (line ~348) in "nsView.cpp" [28] nsView::HandleEvent(this = ???, event = ???, aEventFlags = ???, aStatus = ???, aForceHandle = ???, aHandled = ???) (optimized), at 0xfca5eb4c (line ~348) in "nsView.cpp" [29] nsView::HandleEvent(this = ???, event = ???, aEventFlags = ???, aStatus = ???, aForceHandle = ???, aHandled = ???) (optimized), at 0xfca5eb4c (line ~348) in "nsView.cpp" [30] nsViewManager::DispatchEvent(this = ???, aEvent = ???, aStatus = ???) (optimized), at 0xfca6c300 (line ~2051) in "nsViewManager.cpp" [31] HandleEvent(aEvent = ???) (optimized), at 0xfca5df6c (line ~67) in "nsView.cpp" [32] nsWidget::DispatchEvent(this = ???, aEvent = ???, aStatus = ???) (optimized), at 0xfdbb2f48 (line ~1227) in "nsWidget.cpp" [33] nsWidget::DispatchWindowEvent(this = ???, aEvent = STRUCT) (optimized), at 0xfdbb2e98 (line ~1125) in "nsWidget.cpp" [34] nsWidget::DispatchMouseEvent(this = ???, aEvent = STRUCT) (optimized), at 0xfdbb2d74 (line ~1104) in "nsWidget.cpp" [35] nsAppShell::HandleButtonEvent(event = ???, aWidget = ???) (optimized), at 0xfdba1638 (line ~779) in "nsAppShell.cpp" [36] nsAppShell::DispatchXEvent(event = ???) (optimized), at 0xfdba0f5c (line ~633) in "nsAppShell.cpp" [37] nsAppShell::Run(this = ???) (optimized), at 0xfdba0a8c (line ~453) in "nsAppShell.cpp" [38] nsAppShellService::Run(this = ???) (optimized), at 0xfe127990 (line ~424) in "nsAppShellService.cpp" [39] main1(argc = ???, argv = ???, nativeApp = ???) (optimized), at 0x188ac (line ~1300) in "nsAppRunner.cpp" [40] main(argc = ???, argv = ???) (optimized), at 0x19298 (line ~1611) in "nsAppRunner.cpp" (/opt/SUNWspro/bin/../WS6U2/bin/sparcv9/dbx) print mViewManager mViewManager = (nil) -- snip -- This looks like http://bonsai.mozilla.org/cvsview2.cgi?diff_mode=context&whitespace_mode=show&root=/cvsroot&subdir=mozilla/layout/html/base/src&command=DIFF_FRAMESET&file=nsPresShell.cpp&rev2=3.275&rev1=3.274
Reassigning to dcone. Don, is this related to your recent checkin?
Assignee: karnaze → dcone
Keywords: crash
No.. I ran all my test,etc. Then I backed out my changed.. still crash, same reason. I am trying to track down who regressed this right now.
Also Don, look at 92297, is that related to this bug?
If someone finds a workaround or fix for this issue - please attach a patch here... thanks!
This is the same as 92325 *** This bug has been marked as a duplicate of 92325 ***
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
verified.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.