Closed Bug 218304 Opened 22 years ago Closed 20 years ago

Print preview of about:config crashes - Trunk [@ nsPrintEngine::ReflowPrintObject ]

Categories

(Core :: Printing: Output, defect)

x86
All
defect
Not set
critical

Tracking

()

RESOLVED DUPLICATE of bug 240490

People

(Reporter: tor, Unassigned)

References

Details

(Keywords: crash, topcrash)

Crash Data

Attachments

(1 file)

Steps to reproduce: * start mozilla * go to "about:config" * file -> print preview * boom Crashes in nsPrintEngine::ReflowPrintObject after GetPageSequenceFrame can't find a pageSequence (deferencing a null pointer). ###!!! ASSERTION: Error: Could not find pageSequence!: 'NS_SUCCEEDED(rv)', file /home/tor/src/mozilla/layout/html/base/src/nsPresShell.cpp, line 3623 Program received signal SIGSEGV, Segmentation fault. 0x414d7e6a in nsPrintEngine::ReflowPrintObject(nsPrintObject*, int) ( this=0x89b0680, aPO=0x8911e40, aDoCalcShrink=1) at /home/tor/src/mozilla/content/base/src/nsPrintEngine.cpp:2836 2836 pageSequence->GetSTFPercent(aPO->mShrinkRatio); (gdb) where 5 #0 0x414d7e6a in nsPrintEngine::ReflowPrintObject(nsPrintObject*, int) ( this=0x8465be0, aPO=0x89b3758, aDoCalcShrink=1) at /home/tor/src/mozilla/content/base/src/nsPrintEngine.cpp:2836 #1 0x414d692e in nsPrintEngine::ReflowDocList(nsPrintObject*, int, int) ( this=0x8465be0, aPO=0x89b3758, aSetPixelScale=0, aDoCalcShrink=1) at /home/tor/src/mozilla/content/base/src/nsPrintEngine.cpp:2559 #2 0x414d6174 in nsPrintEngine::SetupToPrintContent(nsIDeviceContext*, nsIDOMWindowInternal*) (this=0x8465be0, aDContext=0x8662528, aCurrentFocusedDOMWin=0x0) at /home/tor/src/mozilla/content/base/src/nsPrintEngine.cpp:2380 #3 0x414d4a74 in nsPrintEngine::DocumentReadyForPrinting() (this=0x8465be0) at /home/tor/src/mozilla/content/base/src/nsPrintEngine.cpp:2205 #4 0x414dc861 in nsPrintEngine::FinishPrintPreview() (this=0x8465be0) at /home/tor/src/mozilla/content/base/src/nsPrintEngine.cpp:4492 (More stack frames follow...) (gdb) p pageSequence $2 = (class nsIPageSequenceFrame *) 0x0
Don't we have general issues with printing XUL?
see bug 189814 -- the stack looks very close.
the stack in bug 214253 is a little bit different
Severity: normal → critical
Keywords: crash
Crashing W2K too - 2003090904 -> TB23631742W
OS: Linux → All
Incident ID: Incident ID 23631742 Stack Signature nsPrintEngine::ReflowPrintObject e7f7b802 Email Address aha@pinknet.cz Product ID MozillaTrunk Build ID 2003090904 Trigger Time 2003-09-15 22:42:53 Platform Win32 Operating System Windows NT 5.0 build 2195 Module gklayout.dll URL visited http://bugzilla.mozilla.org/attachment.cgi?id=131300&action=view User Comments AHA: B#218304 Trigger Reason Access violation Source File Name c:/builds/seamonkey/mozilla/content/base/src/nsPrintEngine.cpp Trigger Line No. 2878 Stack Trace nsPrintEngine::ReflowPrintObject [c:/builds/seamonkey/mozilla/content/base/src/nsPrintEngine.cpp, line 2878] nsPrintEngine::ReflowDocList [c:/builds/seamonkey/mozilla/content/base/src/nsPrintEngine.cpp, line 2557] nsPrintEngine::SetupToPrintContent [c:/builds/seamonkey/mozilla/content/base/src/nsPrintEngine.cpp, line 2379] nsPrintEngine::DocumentReadyForPrinting [c:/builds/seamonkey/mozilla/content/base/src/nsPrintEngine.cpp, line 2203] nsPrintEngine::FinishPrintPreview [c:/builds/seamonkey/mozilla/content/base/src/nsPrintEngine.cpp, line 4491] nsPrintEngine::PrintPreview [c:/builds/seamonkey/mozilla/content/base/src/nsPrintEngine.cpp, line 1265] DocumentViewerImpl::PrintPreview [c:/builds/seamonkey/mozilla/content/base/src/nsDocumentViewer.cpp, line 3142] XPTC_InvokeByIndex [c:/builds/seamonkey/mozilla/xpcom/reflect/xptcall/src/md/win32/xptcinvoke.cpp, line 102] XPCWrappedNative::CallMethod [c:/builds/seamonkey/mozilla/js/src/xpconnect/src/xpcwrappednative.cpp, line 2019] XPC_WN_CallMethod [c:/builds/seamonkey/mozilla/js/src/xpconnect/src/xpcwrappednativejsops.cpp, line 1270] js_Invoke [c:/builds/seamonkey/mozilla/js/src/jsinterp.c, line 845] js_Interpret [c:/builds/seamonkey/mozilla/js/src/jsinterp.c, line 2861] js_Invoke [c:/builds/seamonkey/mozilla/js/src/jsinterp.c, line 861] js_InternalInvoke [c:/builds/seamonkey/mozilla/js/src/jsinterp.c, line 936] JS_CallFunctionValue [c:/builds/seamonkey/mozilla/js/src/jsapi.c, line 3540] nsJSContext::CallEventHandler [c:/builds/seamonkey/mozilla/dom/src/base/nsJSEnvironment.cpp, line 1220] GlobalWindowImpl::RunTimeout [c:/builds/seamonkey/mozilla/dom/src/base/nsGlobalWindow.cpp, line 5038] GlobalWindowImpl::TimerCallback [c:/builds/seamonkey/mozilla/dom/src/base/nsGlobalWindow.cpp, line 5395] nsTimerImpl::Fire [c:/builds/seamonkey/mozilla/xpcom/threads/nsTimerImpl.cpp, line 383] nsAppShell::Run [c:/builds/seamonkey/mozilla/widget/src/windows/nsAppShell.cpp, line 142] nsAppShellService::Run [c:/builds/seamonkey/mozilla/xpfe/appshell/src/nsAppShellService.cpp, line 484] main1 [c:/builds/seamonkey/mozilla/xpfe/bootstrap/nsAppRunner.cpp, line 1306] main [c:/builds/seamonkey/mozilla/xpfe/bootstrap/nsAppRunner.cpp, line 1672] WinMain [c:/builds/seamonkey/mozilla/xpfe/bootstrap/nsAppRunner.cpp, line 1694] WinMainCRTStartup() KERNEL32.DLL + 0x87f5 (0x796487f5)
Summary: Print preview of about:config crashes → Print preview of about:config crashes [@ nsPrintEngine::ReflowPrintObject ]
*** Bug 192706 has been marked as a duplicate of this bug. ***
Depends on: xulprinting
*** Bug 225191 has been marked as a duplicate of this bug. ***
Depends on: 189814
Adding topcrash keyword for tracking. Also, it looks like bug 189814 is related...maybe even a dup?
Keywords: topcrash
Summary: Print preview of about:config crashes [@ nsPrintEngine::ReflowPrintObject ] → Print preview of about:config crashes - Trunk [@ nsPrintEngine::ReflowPrintObject ]
Recent trunk Linux build doesn't have this problem. Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8a2) Gecko/20040608
Reproducable with Firefox 0.9.1 on Win2k.
maybe this is dupe of/related with Bug 240490.
*** This bug has been marked as a duplicate of 240490 ***
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
Crash Signature: [@ nsPrintEngine::ReflowPrintObject ]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: