Closed Bug 223925 Opened 21 years ago Closed 21 years ago

print and print preview crashes @nsLineBox::DeleteLineList

Categories

(Core :: Printing: Output, defect)

x86
All
defect
Not set
critical

Tracking

()

RESOLVED DUPLICATE of bug 203206

People

(Reporter: noririty, Unassigned)

References

()

Details

(Keywords: crash, hang)

I cannot print or print preview this page.
http://jt.mozilla.gr.jp/products/firebird/why/
'File' -> 'Print Preview' makes Mozilla crash.

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6a) Gecko/20031025
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20031007 Firebird/0.7
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6a) Gecko/20031027
Firebird/0.7+
Works for me on Linux, current trunk.
Print Preview (don't try printing) works for me, using my non-official firebird
0.7+ gcc based homemade build :)

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6a) Gecko/20031027
Firebird/0.7+ (Gcc 3.3.1 i686 optimized - MozJF)
hmm wired. A lot of Japanese-mozillazine forum member claiming that this crash
happens.
It might be something to do with Japanese font or something like that.
If I print preview http://jt.mozilla.gr.jp/products/firebird/why/, it crashes 
when I click the Close button.  WinXP, Gecko/20031026 Firebird nightly. I have 
Japanese fonts installed.

Stack captured with a debug build of Mozilla Firebird that I made on Oct 23:

 	dddddddd()	
>	gklayout.dll!nsLineBox::DeleteLineList(nsIPresContext * 
aPresContext=0x03d65930, nsLineList & aLines={...})  Line 306	C++
 	gklayout.dll!nsBlockFrame::Destroy(nsIPresContext * 
aPresContext=0x03d65930)  Line 298 + 0x10	C++
 	gklayout.dll!nsLineBox::DeleteLineList(nsIPresContext * 
aPresContext=0x03d65930, nsLineList & aLines={...})  Line 306	C++
 	gklayout.dll!nsBlockFrame::Destroy(nsIPresContext * 
aPresContext=0x03d65930)  Line 298 + 0x10	C++
 	gklayout.dll!nsAreaFrame::Destroy(nsIPresContext * 
aPresContext=0x03d65930)  Line 167	C++
 	gklayout.dll!nsFrameList::DestroyFrames(nsIPresContext * 
aPresContext=0x03d65930)  Line 130	C++
 	gklayout.dll!nsBlockFrame::Destroy(nsIPresContext * 
aPresContext=0x03d65930)  Line 298	C++
 	gklayout.dll!nsLineBox::DeleteLineList(nsIPresContext * 
aPresContext=0x03d65930, nsLineList & aLines={...})  Line 306	C++
 	gklayout.dll!nsBlockFrame::Destroy(nsIPresContext * 
aPresContext=0x03d65930)  Line 298 + 0x10	C++
 	gklayout.dll!nsAreaFrame::Destroy(nsIPresContext * 
aPresContext=0x03d65930)  Line 167	C++
 	gklayout.dll!nsFrameList::DestroyFrames(nsIPresContext * 
aPresContext=0x03d65930)  Line 130	C++
 	gklayout.dll!nsContainerFrame::Destroy(nsIPresContext * 
aPresContext=0x03d65930)  Line 137	C++
 	gklayout.dll!ViewportFrame::Destroy(nsIPresContext * 
aPresContext=0x03d65930)  Line 68	C++
 	gklayout.dll!nsFrameList::DestroyFrames(nsIPresContext * 
aPresContext=0x03d65930)  Line 130	C++
 	gklayout.dll!nsContainerFrame::Destroy(nsIPresContext * 
aPresContext=0x03d65930)  Line 137	C++
 	gklayout.dll!nsFrameList::DestroyFrames(nsIPresContext * 
aPresContext=0x03d65930)  Line 130	C++
 	gklayout.dll!nsContainerFrame::Destroy(nsIPresContext * 
aPresContext=0x03d65930)  Line 137	C++
 	gklayout.dll!nsFrameList::DestroyFrames(nsIPresContext * 
aPresContext=0x03d65930)  Line 130	C++
 	gklayout.dll!nsContainerFrame::Destroy(nsIPresContext * 
aPresContext=0x03d65930)  Line 137	C++
 	gklayout.dll!nsBoxFrame::Destroy(nsIPresContext * 
aPresContext=0x03d65930)  Line 1069 + 0xd	C++
 	gklayout.dll!nsFrameList::DestroyFrames(nsIPresContext * 
aPresContext=0x03d65930)  Line 130	C++
 	gklayout.dll!nsContainerFrame::Destroy(nsIPresContext * 
aPresContext=0x03d65930)  Line 137	C++
 	gklayout.dll!nsBoxFrame::Destroy(nsIPresContext * 
aPresContext=0x03d65930)  Line 1069 + 0xd	C++
 	gklayout.dll!nsGfxScrollFrame::Destroy(nsIPresContext * 
aPresContext=0x03d65930)  Line 434	C++
 	gklayout.dll!nsFrameList::DestroyFrames(nsIPresContext * 
aPresContext=0x03d65930)  Line 130	C++
 	gklayout.dll!nsContainerFrame::Destroy(nsIPresContext * 
aPresContext=0x03d65930)  Line 137	C++
 	gklayout.dll!ViewportFrame::Destroy(nsIPresContext * 
aPresContext=0x03d65930)  Line 68	C++
 	gklayout.dll!FrameManager::Destroy()  Line 485	C++
 	gklayout.dll!PresShell::Destroy()  Line 1828	C++
 	gklayout.dll!DocumentViewerImpl::ReturnToGalleyPresentation()  Line 3618
	C++
 	gklayout.dll!DocumentViewerImpl::ExitPrintPreview()  Line 3350	C++
 	xpcom.dll!XPTC_InvokeByIndex(nsISupports * that=0x037d1400, unsigned 
int methodIndex=18, unsigned int paramCount=0, nsXPTCVariant * 
params=0x0012d980)  Line 102	C++
 	xpc3250.dll!XPCWrappedNative::CallMethod(XPCCallContext & ccx={...}, 
XPCWrappedNative::CallMode mode=CALL_METHOD)  Line 2017 + 0x1e	C++
 	xpc3250.dll!XPC_WN_CallMethod(JSContext * cx=0x00b303b8, JSObject * 
obj=0x02c22790, unsigned int argc=0, long * argv=0x03df815c, long * 
vp=0x0012dc50)  Line 1269 + 0xe	C++
 	js3250.dll!js_Invoke(JSContext * cx=0x00b303b8, unsigned int argc=0, 
unsigned int flags=0)  Line 912 + 0x20	C
 	js3250.dll!js_Interpret(JSContext * cx=0x00b303b8, long * 
result=0x0012e5b8)  Line 2933 + 0xf	C
 	js3250.dll!js_Invoke(JSContext * cx=0x00b303b8, unsigned int argc=1, 
unsigned int flags=2)  Line 929 + 0xd	C
 	js3250.dll!js_InternalInvoke(JSContext * cx=0x00b303b8, JSObject * 
obj=0x03615a28, long fval=45120944, unsigned int flags=0, unsigned int argc=1, 
long * argv=0x0012e8a0, long * rval=0x0012e6d4)  Line 1006 + 0x14	C
 	js3250.dll!JS_CallFunctionValue(JSContext * cx=0x00b303b8, JSObject * 
obj=0x03615a28, long fval=45120944, unsigned int argc=1, long * 
argv=0x0012e8a0, long * rval=0x0012e6d4)  Line 3571 + 0x1f	C
 	jsdom.dll!nsJSContext::CallEventHandler(void * aTarget=0x03615a28, void 
* aHandler=0x02b07db0, unsigned int argc=1, void * argv=0x0012e8a0, int * 
aBoolResult=0x0012e7ec, int aReverseReturnResult=0)  Line 1297 + 0x21	C++
 	jsdom.dll!nsJSEventListener::HandleEvent(nsIDOMEvent * 
aEvent=0x0372a230)  Line 180 + 0x44	C++
 	gklayout.dll!nsEventListenerManager::HandleEventSubType
(nsListenerStruct * aListenerStruct=0x03d5b4c8, nsIDOMEvent * 
aDOMEvent=0x0372a230, nsIDOMEventTarget * aCurrentTarget=0x036b4aa8, unsigned 
int aSubType=8, unsigned int aPhaseFlags=7)  Line 1422 + 0x14	C++
 	gklayout.dll!nsEventListenerManager::HandleEvent(nsIPresContext * 
aPresContext=0x02469a90, nsEvent * aEvent=0x0012ef0c, nsIDOMEvent * * 
aDOMEvent=0x0012ee9c, nsIDOMEventTarget * aCurrentTarget=0x036b4aa8, unsigned 
int aFlags=7, nsEventStatus * aEventStatus=0x0012ef08)  Line 1515 + 0x37
	C++
 	gklayout.dll!nsXULElement::HandleDOMEvent(nsIPresContext * 
aPresContext=0x02469a90, nsEvent * aEvent=0x0012ef0c, nsIDOMEvent * * 
aDOMEvent=0x0012ee9c, unsigned int aFlags=7, nsEventStatus * 
aEventStatus=0x0012ef08)  Line 3168	C++
 	gklayout.dll!PresShell::HandleDOMEventWithTarget(nsIContent * 
aTargetContent=0x03daa750, nsEvent * aEvent=0x0012ef0c, nsEventStatus * 
aStatus=0x0012ef08)  Line 6262 + 0x22	C++
 	gklayout.dll!nsButtonBoxFrame::MouseClicked(nsIPresContext * 
aPresContext=0x02469a90, nsGUIEvent * aEvent=0x0012f164)  Line 190	C++
 	gklayout.dll!nsButtonBoxFrame::HandleEvent(nsIPresContext * 
aPresContext=0x02469a90, nsGUIEvent * aEvent=0x0012f164, nsEventStatus * 
aEventStatus=0x0012f4c8)  Line 151	C++
 	gklayout.dll!PresShell::HandleEventInternal(nsEvent * 
aEvent=0x0012f164, nsIView * aView=0x00000000, unsigned int aFlags=1, 
nsEventStatus * aStatus=0x0012f4c8)  Line 6228 + 0x21	C++
 	gklayout.dll!PresShell::HandleEventWithTarget(nsEvent * 
aEvent=0x0012f164, nsIFrame * aFrame=0x035db70c, nsIContent * 
aContent=0x03daa750, unsigned int aFlags=1, nsEventStatus * 
aStatus=0x0012f4c8)  Line 6141 + 0x16	C++
 	gklayout.dll!nsEventStateManager::CheckForAndDispatchClick
(nsIPresContext * aPresContext=0x02469a90, nsMouseEvent * aEvent=0x0012f6dc, 
nsEventStatus * aStatus=0x0012f4c8)  Line 2912 + 0x42	C++
 	gklayout.dll!nsEventStateManager::PostHandleEvent(nsIPresContext * 
aPresContext=0x02469a90, nsEvent * aEvent=0x0012f6dc, nsIFrame * 
aTargetFrame=0x035db70c, nsEventStatus * aStatus=0x0012f4c8, nsIView * 
aView=0x0246a3b8)  Line 1900 + 0x17	C++
 	gklayout.dll!PresShell::HandleEventInternal(nsEvent * 
aEvent=0x0012f6dc, nsIView * aView=0x0246a3b8, unsigned int aFlags=1, 
nsEventStatus * aStatus=0x0012f4c8)  Line 6236 + 0x31	C++
 	gklayout.dll!PresShell::HandleEvent(nsIView * aView=0x0246a3b8, 
nsGUIEvent * aEvent=0x0012f6dc, nsEventStatus * aEventStatus=0x0012f4c8, int 
aForceHandle=1, int & aHandled=1)  Line 6079 + 0x19	C++
 	gklayout.dll!nsViewManager::HandleEvent(nsView * aView=0x0246a3b8, 
nsGUIEvent * aEvent=0x0012f6dc, int aCaptured=1)  Line 2299	C++
 	gklayout.dll!nsView::HandleEvent(nsViewManager * aVM=0x0246a200, 
nsGUIEvent * aEvent=0x0012f6dc, int aCaptured=1)  Line 298	C++
 	gklayout.dll!nsViewManager::DispatchEvent(nsGUIEvent * 
aEvent=0x0012f6dc, nsEventStatus * aStatus=0x0012f5d4)  Line 2036 + 0x17
	C++
 	gklayout.dll!HandleEvent(nsGUIEvent * aEvent=0x0012f6dc)  Line 79
	C++
 	gkwidget.dll!nsWindow::DispatchEvent(nsGUIEvent * event=0x0012f6dc, 
nsEventStatus & aStatus=nsEventStatus_eIgnore)  Line 1050 + 0xa	C++
 	gkwidget.dll!nsWindow::DispatchWindowEvent(nsGUIEvent * 
event=0x0012f6dc)  Line 1071	C++
 	gkwidget.dll!nsWindow::DispatchMouseEvent(unsigned int aEventType=301, 
unsigned int wParam=0, nsPoint * aPoint=0x00000000)  Line 5196 + 0x15	C++
 	gkwidget.dll!ChildWindow::DispatchMouseEvent(unsigned int 
aEventType=301, unsigned int wParam=0, nsPoint * aPoint=0x00000000)  Line 5453
	C++
 	gkwidget.dll!nsWindow::ProcessMessage(unsigned int msg=514, unsigned 
int wParam=0, long lParam=1049271, long * aRetValue=0x0012fb74)  Line 3986 + 
0x1c	C++
 	gkwidget.dll!nsWindow::WindowProc(HWND__ * hWnd=0x002501a4, unsigned 
int msg=514, unsigned int wParam=0, long lParam=1049271)  Line 1333 + 0x1b
	C++
 	user32.dll!77d43a50() 	
 	user32.dll!77d43b1f() 	
 	user32.dll!77d43d79() 	
 	user32.dll!77d43ddf() 	
 	appshell.dll!nsAppShellService::Run()  Line 484	C++
 	MozillaFirebird.exe!main1(int argc=2, char * * argv=0x00378140, 
nsISupports * nativeApp=0x00a5a4c8, const nsXREAppData & aAppData={...})  Line 
1282 + 0x20	C++
 	MozillaFirebird.exe!xre_main(int argc=2, char * * argv=0x00378140, 
const nsXREAppData & aAppData={...})  Line 1716 + 0x29	C++
 	MozillaFirebird.exe!main(int argc=2, char * * argv=0x00378140)  Line 51 
+ 0x11	C++
 	MozillaFirebird.exe!mainCRTStartup()  Line 400 + 0x11	C
 	kernel32.dll!77e814c7() 	
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: stackwanted
Summary: print and print preview crashes → print and print preview crashes @nsLineBox::DeleteLineList

*** This bug has been marked as a duplicate of 203206 ***
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → DUPLICATE
FWIW, 2003-10-25-05 trunk Linux crash on Print Preview of URL:  TB24875766Y
OS: Windows XP → All
You need to log in before you can comment on or make changes to this bug.