Closed Bug 1662204 Opened 5 years ago Closed 5 years ago

Crash when printing about:sessionrestore

Categories

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

defect

Tracking

()

VERIFIED FIXED
82 Branch
Tracking Status
firefox-esr68 --- unaffected
firefox-esr78 --- unaffected
firefox80 --- unaffected
firefox81 --- verified
firefox82 --- verified

People

(Reporter: emmamalysz, Assigned: emilio)

References

(Regression)

Details

(Keywords: regression)

Attachments

(2 files)

I don't believe any of the other crash bugs handle this, but I'm seeing nightly crash whenever I print about:sessionrestore. There were a few bugs that covered weird "about" behavior, but this is the only about page that always crashes when printing (as far as I can tell).

Here's my crash report:
https://crash-stats.mozilla.org/report/index/4f9cbb26-8141-4e0b-9d01-4d9390200831

Interesting one!

Assignee: nobody → emilio
Flags: needinfo?(emilio)

Look at this beauty of a stack!

Severity: -- → S3
Flags: needinfo?(emilio)
Priority: -- → P1
Regressed by: 1636728
Has Regression Range: --- → yes

Before bug 1636728 this couldn't happen because print documents weren't
hosted in an <iframe>. The presentation of documents that are being
printed should be managed by the print job.

We should, in fact, probably just make mDocument->IsStaticDocument() the
condition, or such.

Pushed by ealvarez@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/7801d63e36f8 Prevent all printed documents, not just print preview, from getting a regular non-print presentation. r=jwatt
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → 82 Branch

Set release status flags based on info from the regressing bug 1636728

(In reply to Release mgmt bot [:sylvestre / :calixte / :marco for bugbug] from comment #6)

Set release status flags based on info from the regressing bug 1636728

The question is, are you going to be smart enough to update the flags if bug 1636728 gets uplifted. I'll change status-firefox81 just in case you're not.

Comment on attachment 9173199 [details]
Bug 1662204 - Prevent all printed documents, not just print preview, from getting a regular non-print presentation. r=jwatt

Beta/Release Uplift Approval Request

  • User impact if declined: Crash fix.
  • Is this code covered by automated tests?: No
  • Has the fix been verified in Nightly?: Yes
  • Needs manual test from QE?: No
  • If yes, steps to reproduce:
  • List of other uplifts needed: None
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): crash fix
  • String changes made/needed:
Attachment #9173199 - Flags: approval-mozilla-beta?

Comment on attachment 9173199 [details]
Bug 1662204 - Prevent all printed documents, not just print preview, from getting a regular non-print presentation. r=jwatt

Approved for 81.0b6.

Attachment #9173199 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
QA Whiteboard: [qa-triaged]

Reproduced this issue using Firefox 82.0a1 (BuildId:20200831215215).

This issue is verified fixed using Firefox 81.0b7 (BuildId:20200906164749) and Firefox 82.0a1 (BuildId:20200907094115). Firefox no longer crashes after printing the about:sessionrestore page with the given steps.

Status: RESOLVED → VERIFIED
Flags: qe-verify+
No longer regressions: 1672523
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: