Closed Bug 1556210 Opened 7 years ago Closed 7 years ago

Regression, JS shell crashes on macOS, "Assertion failure: gInitialized (calling TimeDuration too early)"

Categories

(Core :: JavaScript Engine, defect, P1)

68 Branch
Unspecified
macOS
defect

Tracking

()

RESOLVED FIXED
mozilla69
Tracking Status
firefox68 --- fixed
firefox69 --- fixed

People

(Reporter: ptomato, Assigned: ptomato)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

See bug 1414945 for description, this is basically the same thing, but newly regressed in bug 1505622.

On Darwin this would cause a race between two static initializers.

Assignee: nobody → philip.chimento
Status: NEW → ASSIGNED
Priority: -- → P1
Blocks: sm-embedding
Keywords: checkin-needed

Pushed by aiakab@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/7d9ce93eacf6
Don't use TimeDuration in static initializer. r=jonco

Keywords: checkin-needed

This doesn't need an uplift request yet, if I want to get it into esr68, correct?

Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla69

Comment on attachment 9069208 [details]
Bug 1556210 - Don't use TimeDuration in static initializer. r?jandem

ESR Uplift Approval Request

  • If this is not a sec:{high,crit} bug, please state case for ESR consideration: This affects embedders of SpiderMonkey on macOS. The crash makes it impossible to run any application with embedded SpiderMonkey if using ESR68.
  • User impact if declined: Embedders of SpiderMonkey will have to patch ESR68 themselves, or stick with ESR60.
  • Fix Landed on Version: 69
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): A patch with a very similar fix (bug 1414945) was uplifted to a previous ESR without incident. Since the change involves static initializers, any problems will probably be immediately obvious.
  • String or UUID changes made by this patch: None
Attachment #9069208 - Flags: approval-mozilla-esr68?

Comment on attachment 9069208 [details]
Bug 1556210 - Don't use TimeDuration in static initializer. r?jandem

68 is still on Beta, so let's start there with the approval request.

Attachment #9069208 - Flags: approval-mozilla-esr68? → approval-mozilla-beta?

Comment on attachment 9069208 [details]
Bug 1556210 - Don't use TimeDuration in static initializer. r?jandem

approved for 68.0b10

Attachment #9069208 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: