Closed
Bug 363770
Opened 18 years ago
Closed 18 years ago
Crash [@ nsCOMPtr::nsCOMPtr] on print preview on page with frame element
Categories
(Core :: Printing: Output, defect)
Tracking
()
VERIFIED
FIXED
People
(Reporter: martijn.martijn, Assigned: sharparrow1)
References
Details
(Keywords: crash, regression, testcase)
Crash Data
Attachments
(3 files)
4.07 KB,
application/xhtml+xml
|
Details | |
276 bytes,
application/xhtml+xml
|
Details | |
1.07 KB,
patch
|
roc
:
review+
roc
:
superreview+
|
Details | Diff | Splinter Review |
See upcoming testcase, which crashes Mozilla on print preview. First you get an error dialog, if you then click the error dialog away, Mozilla crashes. This regressed between 2006-12-09 and 2006-12-10: http://bonsai.mozilla.org/cvsquery.cgi?treeid=default&module=all&branch=HEAD&branchtype=match&dir=&file=&filetype=match&who=&whotype=match&sortby=Date&hours=2&date=explicit&mindate=2006-12-09+03&maxdate=2006-12-10+06&cvsroot=%2Fcvsroot I guess this is a regression from bug 361844. Talkback ID: TB27293883Y nsCOMPtr<nsISOAPCall>::nsCOMPtr<nsISOAPCall> [mozilla\dist\include\xpcom\nscomptr.h, line 627] nsPrintEngine::CleanupOnFailure [mozilla\layout\printing\nsprintengine.cpp, line 1726] DocumentViewerImpl::PrintPreview [mozilla\layout\base\nsdocumentviewer.cpp, line 3555] NS_InvokeByIndex [mozilla\xpcom\reflect\xptcall\src\md\win32\xptcinvoke.cpp, line 102] XPCWrappedNative::CallMethod [mozilla\js\src\xpconnect\src\xpcwrappednative.cpp, line 2162]
Reporter | ||
Comment 1•18 years ago
|
||
Reporter | ||
Comment 2•18 years ago
|
||
Oops, that was the unminimised testcase, this is the minimised testcase.
Assignee | ||
Comment 3•18 years ago
|
||
Taking; it's a refcounting problem with nsPrintEngine. I need to look a bit more, though.
Assignee: printing → sharparrow1
Assignee | ||
Comment 4•18 years ago
|
||
I really need to clean up the print error handling code; it's really a mess. This patch is correct, and stops the crash; I'm still not sure how to deal with the underlying problem. It appears the <frame> has a subdocument and a frame, but not a view.
Attachment #248717 -
Flags: review?(roc)
Attachment #248717 -
Flags: superreview+
Attachment #248717 -
Flags: review?(roc)
Attachment #248717 -
Flags: review+
Assignee | ||
Updated•18 years ago
|
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Reporter | ||
Updated•18 years ago
|
Status: RESOLVED → VERIFIED
Reporter | ||
Comment 5•17 years ago
|
||
These testcase are crashing again in current trunk build on print preview, I filed bug 398265 for it.
Updated•13 years ago
|
Crash Signature: [@ nsCOMPtr::nsCOMPtr]
You need to log in
before you can comment on or make changes to this bug.
Description
•