Closed Bug 1848391 Opened 2 years ago Closed 2 years ago

Crash with userscript through TamperMonkey

Categories

(Core :: JavaScript Engine: JIT, defect)

defect

Tracking

()

VERIFIED FIXED
118 Branch
Tracking Status
firefox-esr102 --- unaffected
firefox-esr115 --- unaffected
firefox116 --- unaffected
firefox117 --- unaffected
firefox118 blocking verified

People

(Reporter: ehoogeveen, Assigned: alexical)

References

(Regression, )

Details

(Keywords: crash, regression, topcrash)

Crash Data

Attachments

(1 file)

Started getting this crash with the most recent Nightly. Mozregression gave the following range:
https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=0f07d1564dc00ef20661573299b575bc66628183&tochange=ce7b575a77cab8d928eb162ef3f4abd9f1211e64

I suspect bug 1824051 as it's a JIT crash.

I managed to reduce the code to the scroll event listener in the attached file, although it's probably not a minimal reproduction.

Steps to reproduce:

  1. From a fresh profile on the latest Nightly,
  2. Install TamperMonkey 1.4.9 (the latest version).
  3. Add and enable the attached script.
  4. Go to Google Doodles and try scrolling (it's not specific to Google, but I made the script match Google URLs).
  5. Crash.

There may be other STR as this signature is currently the rank 5 crash for this build: https://crash-stats.mozilla.org/signature/?product=Firefox&signature=EnterJit&date=%3E%3D2023-08-04T17%3A10%3A00.000Z&date=%3C2023-08-11T17%3A10%3A00.000Z&_columns=date&_columns=product&_columns=version&_columns=build_id&_columns=platform&_columns=reason&_columns=address&_columns=install_time&_columns=startup_crash&_sort=-date&page=1#aggregations

:dthayer could you have a look?

Flags: needinfo?(dothayer)
Assignee: nobody → dothayer
Status: NEW → ASSIGNED
Flags: needinfo?(dothayer)

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

See Also: → SadJit

JFTR, the same crash also occurs when accessing http://colab.research.google.com/ without TamperMonkey (or any other addon).

While it may not be directly relevant, I note the crashes with this signature start going up around July 17th. For the colab crashes which are apparently new in the last day or two, bug 1824051 seems quite possible

Crash Signature: [@ EnterJit ] → [@ EnterJit ] [@ _tailMerge_hid.dll] [@ _tailMerge_hid.dll | EnterJit] [@ _tailMerge_hid.dll | JS::Rooted<T>::~Rooted]

The crash rate is massive on Firefox Nightly, I can reproduce the crash by visiting https://mangadex.org or https://colab.research.google.com

Can we back out the regressor ASAP to not loose our nightly population.

No more crashes in the last nightlies after the backout, marking fixed, thanks!

Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Duplicate of this bug: 1848584
Target Milestone: --- → 118 Branch

Copying crash signatures from duplicate bugs.

Crash Signature: [@ EnterJit ] [@ _tailMerge_hid.dll] [@ _tailMerge_hid.dll | EnterJit] [@ _tailMerge_hid.dll | JS::Rooted<T>::~Rooted] → [@ EnterJit ] [@ _tailMerge_hid.dll] [@ _tailMerge_hid.dll | EnterJit] [@ _tailMerge_hid.dll | JS::Rooted<T>::~Rooted] [@ js::jit::MaybeEnterJit]
Crash Signature: [@ EnterJit ] [@ _tailMerge_hid.dll] [@ _tailMerge_hid.dll | EnterJit] [@ _tailMerge_hid.dll | JS::Rooted<T>::~Rooted] [@ js::jit::MaybeEnterJit] → [@ EnterJit ] [@ _tailMerge_hid.dll] [@ _tailMerge_hid.dll | EnterJit] [@ _tailMerge_hid.dll | JS::Rooted<T>::~Rooted] [@ js::jit::MaybeEnterJit]
Flags: qe-verify+

I've reproduced the tab crash (both, through TamperMonkey and without) with Fx 118.0a1 (2023-08-11) on Windows 10.
Verified fixed with Fx 118.0b4 and Fx 119.0a1 (2023-09-04) on Windows 10 and macOS 13.

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

Attachment

General

Created:
Updated:
Size: