Closed Bug 172783 Opened 22 years ago Closed 22 years ago

crashes printing any email [@ nsPrintingPromptService::OnStateChange]

Categories

(Core :: Printing: Output, defect, P1)

defect

Tracking

()

RESOLVED FIXED
mozilla1.2beta

People

(Reporter: ajschult784, Assigned: rods)

References

Details

(Keywords: crash, regression)

Crash Data

Attachments

(3 files, 1 obsolete file)

If I try to print any email message, Mozilla crashes.  It seemed to be limited
to plaintext, but now I crash printing any email.

linux trunk build 2002100208 does not crash.  2002100308 does crash.
linux trunk build 2002100421 still crashes.

bonsai says mailnews printing got shook up pretty good during that window (bug
158110)

debug build give approximately 2.5 billion of these:
************************************************************
* Call to xpconnect wrapped JSObject produced this error:  *
[Exception... "'JavaScript component does not have a method named:
"getImageSource"' when calling method:
[nsIXULTreeBuilderObserver::getImageSource]"  nsresult: "0x80570030
(NS_ERROR_XPC_JSOBJECT_HAS_NO_FUNCTION_NAMED)"  location: "<unknown>"  data: no]
************************************************************
and then
###!!! ASSERTION: aWidgetView must have a widget: 'nsnull != widget', file
nsViewManager.cpp, line 1548
WEBSHELL- = 6
###!!! ASSERTION: You can't dereference a NULL nsCOMPtr with operator->().:
'mRawPtr != 0', file ../../../../../dist/include/xpcom/nsCOMPtr.h, line 650
Attached file stacktrace
mPrintProgress is NULL
Keywords: crash
further investigation shows that the JS Exception is Mailnews' fault.  it spews
that all the time.
Keywords: regression
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla1.2beta
Attached patch patch v1 (obsolete) — Splinter Review
When I fixed windows I should have fixed Linux. Simple just make sure it isn't
null befopre referenceing it. (on my S drive)
Priority: -- → P1
Almost made the same mistake twice, here is the same patch that is on Windows
for mac, unixshared and os2
Attachment #101976 - Attachment is obsolete: true
is bug 172753 (probably) a dupe then?
Comment on attachment 101978 [details] [diff] [review]
patch v2 (mac, unixshared, os2)

r=dcone
Attachment #101978 - Flags: review+
Andrew, I guess in a way it is....
Comment on attachment 101978 [details] [diff] [review]
patch v2 (mac, unixshared, os2)

sr=kin@netscape.com
Attachment #101978 - Flags: superreview+
*** Bug 172867 has been marked as a duplicate of this bug. ***
I've just marked Bug #172867 as a dup as it reports the same error, but it
happens when you select Window-Mail&Newsgroups.

Also, OS and PLATFORM should be ALL.
OS: Linux → All
Hardware: PC → All
*** Bug 173143 has been marked as a duplicate of this bug. ***
fixed
Status: ASSIGNED → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
*** Bug 172753 has been marked as a duplicate of this bug. ***
*** Bug 172867 has been marked as a duplicate of this bug. ***
I still see the crash on a Tru64 UNIX.
Stack trace is attched with comment #15.
you're seeing 173519
*** Bug 167555 has been marked as a duplicate of this bug. ***
Crash Signature: [@ nsPrintingPromptService::OnStateChange]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: