Closed
Bug 6784
Opened 26 years ago
Closed 26 years ago
[CRASH] Printing crashes on Mac
Categories
(Core :: Printing: Output, defect, P3)
Tracking
()
VERIFIED
FIXED
People
(Reporter: cmaximus, Assigned: dcone)
Details
(Whiteboard: talkback and macstack included)
Apprunner crashes when you try to print on the Macintosh
*Build info: MacOS 8.5 1999051909. Works fine on WinNT and Linux with the same builds.
*To REPRO: Launch Appruner. Select File|Print or click 'Print' on the Navigation toolbar. Click Print in the resulting dialog box.
*Expected Result: the platform specific dialog appears and upon clicking 'print' the page goes about its way printing in the
background.
*Actual Results: the OS specific dialog appears and after you click 'print' a modal dialog comes up informing you that your doc is
being printed then - poof! you crash.
TalkBack Incident ID is 8828446.
Here's the Talkback call stack for what it's worth:
Call Stack: (Signature = NQD + 0x17db8 (0x070350d8) 8e493a47)
NQD + 0x17db8 (0x070350d8)
InterfaceLib + 0x10b8c (0xffd5d14c)
WIDGET_DLL + 0x1714 (0x05283de4)
WIDGET_DLL + 0xb2a0 (0x0528d970)
WIDGET_DLL + 0xb528 (0x0528dbf8)
VIEW_DLL + 0x3710 (0x0670fc50)
VIEW_DLL + 0x3a24 (0x0670ff64)
layout.shlb + 0x92dc4 (0x04d31b74)
layout.shlb + 0x92720 (0x04d314d0)
layout.shlb + 0x23cf94 (0x04edbd44)
layout.shlb + 0x2602c (0x04cc4ddc)
layout.shlb + 0x168dc (0x04cb568c)
layout.shlb + 0x25ed2c (0x04efdadc)
Here also is the MacsBug trace:
Calling chain using A6/R1 links
Back chain ISA Caller
00000000 PPC 06A0DDC8
01D12600 PPC 06A0CEE0 main+00774
01D12460 PPC 067A4570 nsAppShellService::Run()+00018
01D12420 PPC 06702938 nsAppShell::Run()+00038
01D123A0 PPC 067032B4 nsMacMessagePump::DoMessagePump()+0003C
01D12350 PPC 06703460 nsMacMessagePump::DispatchEvent(int, EventRecord*)+00070
01D12300 PPC 06703B50 nsMacMessagePump::DoMouseUp(EventRecord&)+0004C
01D122B0 PPC 06704028 nsMacMessagePump::DispatchOSEventToRaptor(EventRecord&, GrafPort
*)+00044
01D12260 PPC 066FE2AC nsMacMessageSink::DispatchOSEvent(EventRecord&, GrafPort*)+00038
01D12220 PPC 066F9DCC nsMacWindow::HandleOSEvent(EventRecord&)+00020
01D121C0 PPC 066FA1EC nsMacEventHandler::HandleOSEvent(EventRecord&)+0009C
01D12180 PPC 066FB288 nsMacEventHandler::HandleMouseUpEvent(EventRecord&)+000AC
01D12100 PPC 066E48E8 nsWindow::DispatchMouseEvent(nsMouseEvent&)+00058
01D120A0 PPC 066E4830 nsWindow::DispatchWindowEvent(nsGUIEvent&)+00018
01D12060 PPC 066E475C nsWindow::DispatchEvent(nsGUIEvent*, nsEventStatus&)+00090
01D12010 PPC 06066C28 HandleEvent(nsGUIEvent*)+00058
01D11FC0 PPC 060644F0 nsViewManager::DispatchEvent(nsGUIEvent*, nsEventStatus&)+005C4
01D11E80 PPC 06068770 nsView::HandleEvent(nsGUIEvent*, unsigned int, nsEventStatus&)+0
01AC
01D11E00 PPC 0615EDBC PresShell::HandleEvent(nsIView*, nsGUIEvent*, nsEventStatus&)+00
220
01D11D80 PPC 061DF5D8 nsEventStateManager::PostHandleEvent(nsIPresContext&, nsGUIEvent
*, nsIFrame*, nsEventStatus&, nsIView*)+001BC
01D11CB0 PPC 061E0130 nsEventStateManager::CheckForAndDispatchClick(nsIPresContext&, n
sMouseEvent*, nsEventStatus&)+001F0
01D11C10 PPC 06455CB0 RDFElementImpl::HandleDOMEvent(nsIPresContext&, nsEvent*, nsIDOM
Event**, unsigned int, nsEventStatus&)+001E0
01D11B70 PPC 061DDCE0 nsEventListenerManager::HandleEvent(nsIPresContext&, nsEvent*, n
sIDOMEvent**, unsigned int, nsEventStatus&)+00330
01D11A70 PPC 0675BA4C nsJSEventListener::HandleEvent(nsIDOMEvent*)+00190
01D119D0 PPC 067F938C JS_CallFunctionValue+00014
01D11990 PPC 06811B9C js_CallFunctionValue+000B8
01D118E0 PPC 0681199C js_Invoke+0057C
01D11800 PPC 06817B38 js_Interpret+05900
01D115C0 PPC 0681199C js_Invoke+0057C
01D114E0 PPC 06817B38 js_Interpret+05900
01D112A0 PPC 06811944 js_Invoke+00524
01D111C0 PPC 064EDB5C BrowserAppCorePrint(JSContext*, JSObject*, unsigned int, long*,
long*)+0004C
01D11170 PPC 064EA354 nsBrowserAppCore::Print()+00050
01D11120 PPC 063A37C4 DocumentViewerImpl::Print()+00128
01D110A0 PPC 063A3ADC DocumentViewerImpl::PrintContent(nsIWebShell*, nsIDeviceContext*
)+00280
01D10FE0 PPC 0615B68C PresShell::InitialReflow(int, int)+000C0
01D10E70 PPC 0616ADDC StyleSetImpl::ConstructRootFrame(nsIPresContext*, nsIContent*, n
sIFrame*&)+00018
01D10E30 PPC 06381D44 nsCSSFrameConstructor::ConstructRootFrame(nsIPresContext*, nsICo
ntent*, nsIFrame*&)+00270
01D10CF0 PPC 061D74D0 nsScrollFrame::Init(nsIPresContext&, nsIContent*, nsIFrame*, nsI
StyleContext*, nsIFrame*)+0002C
01D10CA0 PPC 061D7B74 nsScrollFrame::CreateScrollingView(nsIPresContext&)+00394
01D10BC0 PPC 0605EF64 nsScrollingView::SetScrollPreference(nsScrollPreference)+0001C
01D10B80 PPC 0605EC50 nsScrollingView::ComputeScrollOffsets(int)+00B7C
01D10A10 PPC 066EDBF8 nsScrollbar::SetParameters(unsigned int, unsigned int, unsigned
int, unsigned int)+00044
01D109C0 PPC 066ED970 nsScrollbar::SetPosition(unsigned int)+00060
01D10980 PPC 066E3DE4 nsWindow::Update()+00098
01D10920 PPC FFD5D14C CopyRgn+00020
Return addresses on the stack
Stack Addr Frame Addr ISA Caller
01D10C84 68K 0141625E
01D10C78 PPC 06158430 nsPresContext::ResolvePseudoStyleContextFor(nsICont
ent*, nsIAtom*, nsIStyleContext*, int, nsIStyleContext**)+000C0
01D10C38 01D10C30 PPC 068EAEAC nsCOMPtr_base::~nsCOMPtr_base()+00030
01D10C28 01D10C20 PPC 0699D524 operator new(unsigned long)+00010
01D10C08 01D10C00 PPC 061526E4 nsFrame::Init(nsIPresContext&, nsIContent*, nsIFram
e*, nsIStyleContext*, nsIFrame*)+00058
01D10BFC 68K 018F6042
01D10BE8 01D10BE0 PPC 0616A938 StyleSetImpl::ResolvePseudoStyleFor(nsIPresContext*
, nsIContent*, nsIAtom*, nsIStyleContext*, int)+001BC
01D10BC8 PPC 061D7B74 nsScrollFrame::CreateScrollingView(nsIPresContext&)
+00394
01D10B88 01D10B80 PPC 0605EF64 nsScrollingView::SetScrollPreference(nsScrollPrefer
ence)+0001C
01D10B28 68K 018F649A
01D10B18 01D10B10 PPC 06063C5C nsViewManager::UpdateView(nsIView*, nsIRegion*, uns
igned int)+00074
01D10B00 PPC 01D10B5C
01D10AD8 01D10AD0 PPC 0699D524 operator new(unsigned long)+00010
01D10AC8 01D10AC0 PPC 0605D190 nsScrollingView::SetVisibility(nsViewVisibility)+00
02C
01D10A98 01D10A90 PPC 0605DFCC nsScrollingView::CreateScrollControls(void*)+00778
01D10A38 01D10A30 PPC 06064A4C nsViewManager::InsertChild(nsIView*, nsIView*, int)
+00120
01D10A18 01D10A10 PPC 0605EC50 nsScrollingView::ComputeScrollOffsets(int)+00B7C
01D109F8 01D109F0 PPC 06068CCC nsView::SetBounds(const nsRect&, int)+0004C
01D109E8 01D109E0 PPC 06069B2C nsView::CreateWidget(const nsID&, nsWidgetInitData*
, void*)+00364
01D109DC 68K 01A4AFFE
01D109D8 68K 0605FD72 nsScrollingView::GetScrolledView(nsIView*&) const+0
002A
01D109C8 01D109C0 PPC 066EDBF8 nsScrollbar::SetParameters(unsigned int, unsigned i
nt, unsigned int, unsigned int)+00044
01D109A8 01D109A0 PPC 06068F60 nsView::SetVisibility(nsViewVisibility)+00038
01D1099C 68K 01A4AFFE
01D10988 01D10980 PPC 066ED970 nsScrollbar::SetPosition(unsigned int)+00060
01D1097C 68K 018F649A
01D10968 01D10960 PPC 066FB9F8 nsMacControl::Create(nsIWidget*, const nsRect&, nsE
ventStatus(*)(nsGUIEvent*), nsIDeviceContext*, nsIAppShell*, nsIToolkit*, nsWidgetInitData*)+
00024
01D1095C 68K 018F649A
01D10948 01D10940 PPC 066E3A38 nsWindow::Invalidate(int)+00014
01D1093C 68K 018F649A
01D10928 68K 066E3DE6 nsWindow::Update()+0009A
01D1091C 68K 018F649A
01D108F8 01D108F0 PPC 066FC28C nsMacControl::CreateOrReplaceMacControl(short)+0003
C
01D108E8 01D108E0 PPC FFD5D14C CopyRgn+00020
01D108D8 68K 018F649A
01D108C8 01D108C0 PPC 066E2A8C nsWindow::StandardCreate(nsIWidget*, const nsRect&,
nsEventStatus(*)(nsGUIEvent*), nsIDeviceContext*, nsIAppShell*, nsIToolkit*, nsWidgetInitDat
a*, void*)+0008C
01D108AC 68K 01A4AFFE
01D108A8 01D108A0 PPC 07035888 NQDNewRgn+0002C
Updated•26 years ago
|
Whiteboard: talkback and macstack included
Assignee | ||
Updated•26 years ago
|
Status: NEW → ASSIGNED
Assignee | ||
Updated•26 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 1•26 years ago
|
||
Fixed a problem in nsWindow.cpp, the Update() method was not checking for a null
mWindowPtr.
Reporter | ||
Comment 2•26 years ago
|
||
so is that gonna make M6 or not? When did it get checked in?
Updated•26 years ago
|
Status: RESOLVED → VERIFIED
Comment 3•26 years ago
|
||
Fixed in June 2nd Build.
You need to log in
before you can comment on or make changes to this bug.
Description
•