Closed Bug 1564196 Opened 5 years ago Closed 2 years ago

Select All in very long text file crashes the content process

Categories

(Core :: DOM: Selection, defect, P2)

defect

Tracking

()

RESOLVED DUPLICATE of bug 1524237
Tracking Status
firefox69 --- affected

People

(Reporter: botond, Unassigned)

References

Details

(Keywords: crash)

Crash Data

STR

  1. Navigate to https://taskcluster-artifacts.net/IDH-fv3_TSm7HrKOptD8FA/0/public/test_info//logcat-emulator-5554.log
  2. With the page content in focus, press Ctrl+A (Select All)

Expected results

All the text on the page is selected.

Actual results

The content process crashes. See crash report for a stack trace.

Regression range goes back to 2015:

https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=51e3cb11a258&tochange=8af644c9b616

Given the stack trace, bug 1071562 seems likely?

Could reproduce this on Ubuntu 18.04 with FF 67. The file mentioned in the description has roughly 120 MB, not uncommon these days.

Crash Signature: [@ mozilla::ipc::ProcessLink::SendMessage | IPC_Message_Name=PContent::Msg_SetClipboard]
Keywords: crash

Bug 1524237 is the same issue but I don't know which component this should be in. I guess one of the two bugs should be dup'd but I can't say which because I don't know where the fix should happen.

I would say that this is a duplicate of bug 1524237 because the root cause is in the widget code: https://bugzilla.mozilla.org/show_bug.cgi?id=1524237#c3
But although I've contributed a few patches in this area, I'm not part of of either module, so I'll defer the duplication decision to others.

Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.