Crashes at nsPresContext::SetCompatibilityMode

VERIFIED FIXED

Status

()

Core
Printing: Output
P3
critical
VERIFIED FIXED
18 years ago
18 years ago

People

(Reporter: Shiva Thirumazhusai, Assigned: dcone (gone))

Tracking

({crash, topcrash})

Trunk
x86
Windows NT
crash, topcrash
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(URL)

(Reporter)

Description

18 years ago
Reported by Talkback System

Steps to Reproduce :-

Build: 2000060520 CrashDate: 2000-06-07 UptimeMinutes: 63  Total: 63 
OS: Windows NT  4.0 build 1381
URL: pes.eunet.cz/index_t.htm
Comment: I tried to print it (Menu File-Print).

Stack Trace for the Crash :-

Incident ID 11985371 
nsPresContext::SetCompatibilityMode 
[d:\builds\seamonkey\mozilla\layout\base\src\nsPresContext.cpp, line 426] 
DocumentViewerImpl::PrintContent 
[d:\builds\seamonkey\mozilla\layout\base\src\nsDocumentViewer.cpp, line 767] 
DocumentViewerImpl::DocumentReadyForPrinting 
[d:\builds\seamonkey\mozilla\layout\base\src\nsDocumentViewer.cpp, line 1135] 
DocumentViewerImpl::Print 
[d:\builds\seamonkey\mozilla\layout\base\src\nsDocumentViewer.cpp, line 1445] 
nsBrowserInstance::Print 
[d:\builds\seamonkey\mozilla\xpfe\browser\src\nsBrowserInstance.cpp, line 1222] 
XPTC_InvokeByIndex 
[d:\builds\seamonkey\mozilla\xpcom\reflect\xptcall\src\md\win32\xptcinvoke.cpp, 
line 139] 
nsXPCWrappedNativeClass::CallWrappedMethod 
[d:\builds\seamonkey\mozilla\js\src\xpconnect\src\xpcwrappednativeclass.cpp, 
line 915] 
WrappedNative_CallMethod 
[d:\builds\seamonkey\mozilla\js\src\xpconnect\src\xpcwrappednativejsops.cpp, 
line 195] 
js_Invoke [d:\builds\seamonkey\mozilla\js\src\jsinterp.c, line 687] 
js_Interpret [d:\builds\seamonkey\mozilla\js\src\jsinterp.c, line 2488] 
js_Invoke [d:\builds\seamonkey\mozilla\js\src\jsinterp.c, line 703] 
js_InternalInvoke [d:\builds\seamonkey\mozilla\js\src\jsinterp.c, line 776] 
JS_CallFunctionValue [d:\builds\seamonkey\mozilla\js\src\jsapi.c, line 2803] 
nsJSContext::CallEventHandler 
[d:\builds\seamonkey\mozilla\dom\src\base\nsJSEnvironment.cpp, line 792] 
nsJSEventListener::HandleEvent 
[d:\builds\seamonkey\mozilla\dom\src\events\nsJSEventListener.cpp, line 155] 
nsEventListenerManager::HandleEventSubType 
[d:\builds\seamonkey\mozilla\layout\events\src\nsEventListenerManager.cpp, line 
755] 
nsEventListenerManager::HandleEvent 
[d:\builds\seamonkey\mozilla\layout\events\src\nsEventListenerManager.cpp, line 
1579] 
nsXULElement::HandleDOMEvent 
[d:\builds\seamonkey\mozilla\rdf\content\src\nsXULElement.cpp, line 3418] 
nsMenuFrame::Execute 
[d:\builds\seamonkey\mozilla\layout\xul\base\src\nsMenuFrame.cpp, line 1422] 
nsMenuFrame::HandleEvent 
[d:\builds\seamonkey\mozilla\layout\xul\base\src\nsMenuFrame.cpp, line 323] 
PresShell::HandleEventInternal 
[d:\builds\seamonkey\mozilla\layout\html\base\src\nsPresShell.cpp, line 3620] 
PresShell::HandleEvent 
[d:\builds\seamonkey\mozilla\layout\html\base\src\nsPresShell.cpp, line 3538] 
nsView::HandleEvent [d:\builds\seamonkey\mozilla\view\src\nsView.cpp, line 782] 
nsView::HandleEvent [d:\builds\seamonkey\mozilla\view\src\nsView.cpp, line 755] 
nsView::HandleEvent [d:\builds\seamonkey\mozilla\view\src\nsView.cpp, line 755] 
nsView::HandleEvent [d:\builds\seamonkey\mozilla\view\src\nsView.cpp, line 755] 
nsViewManager2::DispatchEvent 
[d:\builds\seamonkey\mozilla\view\src\nsViewManager2.cpp, line 1369] 
HandleEvent [d:\builds\seamonkey\mozilla\view\src\nsView.cpp, line 69] 
nsWindow::DispatchEvent 
[d:\builds\seamonkey\mozilla\widget\src\windows\nsWindow.cpp, line 564] 
nsWindow::DispatchWindowEvent 
[d:\builds\seamonkey\mozilla\widget\src\windows\nsWindow.cpp, line 581] 
nsWindow::DispatchMouseEvent 
[d:\builds\seamonkey\mozilla\widget\src\windows\nsWindow.cpp, line 3675] 
ChildWindow::DispatchMouseEvent 
[d:\builds\seamonkey\mozilla\widget\src\windows\nsWindow.cpp, line 3880] 
nsWindow::ProcessMessage 
[d:\builds\seamonkey\mozilla\widget\src\windows\nsWindow.cpp, line 2795] 
nsWindow::WindowProc 
[d:\builds\seamonkey\mozilla\widget\src\windows\nsWindow.cpp, line 830] 
USER32.dll + 0x124c (0x77e7124c) 




Code Around the Crash :-


 416 peterl    3.21  NS_IMETHODIMP
 417                 nsPresContext::SetCompatibilityMode(nsCompatibility aMode)
 418                 {
 419 peterl    3.71    if (! mCompatibilityLocked) {
 420                     mCompatibilityMode = aMode;
 421                   }
 422 attinasi  3.118 
 423                   // enable the QuirkSheet
 424                   nsCOMPtr<nsIStyleSet> set;
 425                   nsresult rv = mShell->GetStyleSet(getter_AddRefs(set));
 426                   if (NS_SUCCEEDED(rv) && set) {
 427                     set->EnableQuirkStyleSheet(mCompatibilityMode != 
eCompatibility_Standard ? PR_TRUE : PR_FALSE);
 428                   }
 429                 
 430 peterl    3.29    return NS_OK;
 431                 }
 432 kmcclusk  3.56  
 433
(Reporter)

Comment 1

18 years ago
Adding crash, topcrash keywords.
Keywords: crash, topcrash
(Reporter)

Comment 2

18 years ago
The crash is NOT reproducible in DEBUG Build.
(Assignee)

Comment 3

18 years ago
This is fixed.. 
Status: NEW → RESOLVED
Last Resolved: 18 years ago
Resolution: --- → FIXED

Comment 4

18 years ago
verified fixed (2000060808m17)
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.