Closed Bug 1870286 Opened 2 years ago Closed 2 years ago

Firefox freezes when writing in online editor

Categories

(Core :: Performance: General, defect)

Firefox 120
defect

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: hadmut, Unassigned)

Details

Attachments

(2 files)

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:120.0) Gecko/20100101 Firefox/120.0

Steps to reproduce:

For several months and firefox versions (using Ubuntu 22.04 and the latest snaps) I do have this problem, now at least once a day, and using the latest updates does not help, on the contrary, the problem seems to increase and happen more often:

While writing blog articles in a wordpress blog (using the old style editor) firefox occasionally completely freezes. All windows, all open browser tabs dead, not even the window refresh doesn't work anymore. firefox needs to be killed by killall firefox, and restarted.

I have not seen this behaviour anywhere else. No problem at all with common browsing. It just happens when and while writing blog articles.

There must be some problem in a javascript function used by the editor to update the text window.

I believe, although I am not sure, that it happens only when I am writing in a fast, fluent way, so it could be some kind of race condition.

Since it crashes the browser, it seems to damage pointers or the stack, and thus could be a way to attack by code injection or pointer manipulation or something like that.

Actual results:

See above (it crashed)

Expected results:

It should not crash.

Group: firefox-core-security
Component: Untriaged → Performance
Product: Firefox → Core

The whole browser hanging and needing to be killed doesn't really feel like a security issue. Most crashes are benign from a security perspective.

This bug was moved into the Performance component.

:hadmut, could you make sure the following information is on this bug?

  • For slowness or high CPU usage, capture a profile with http://profiler.firefox.com/, upload it and share the link here.
  • For memory usage issues, capture a memory dump from about:memory and attach it to this bug.
  • Troubleshooting information: Go to about:support, click "Copy raw data to clipboard", paste it into a file, save it, and attach the file here.

If the requested information is already in the bug, please confirm it is recent.

Thank you.

Flags: needinfo?(hadmut)
Attached file memory dump
Flags: needinfo?(hadmut)
Attached file ffraw.json

Creating a profile is difficult at the moment, since I have replaced this machine with a new one, new hardware, new OS, and don't use that machine anymore, put it into my stock of old spare hardware. I haven't seen this problem with my freshly installed new machine yet.

If you're able to get a profile from the machine, please re-open! Otherwise I'll consider this as working for now if you're not seeing it on your current machine.

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

Attachment

General

Creator:
Created:
Updated:
Size: