Closed
Bug 1531889
Opened 6 years ago
Closed 4 years ago
Firefox crashes toggling the javascript.options.baseline pref in debug builds
Categories
(Core :: JavaScript Engine, enhancement, P3)
Core
JavaScript Engine
Tracking
()
RESOLVED
FIXED
People
(Reporter: tcampbell, Unassigned)
Details
If you build a full browser with asserts compiled in and then try to disable baseline / ion from about:config the browser crashes at https://searchfox.org/mozilla-central/rev/00f3836a87b844b5e4bc82f698c559b9966e4be2/js/src/jit/Jit.cpp#25
We probably don't clear scripts when toggling the pref so the next Interp -> Baseline call edge will crash.
Reporter | ||
Comment 1•6 years ago
|
||
Looks like there is no purging of jitcode when we toggle options.
Comment 2•6 years ago
|
||
Also see https://bugzilla.mozilla.org/show_bug.cgi?id=1523564 which is another crash stack for the same problem.
Reporter | ||
Comment 3•4 years ago
|
||
(Fixed by making JIT prefs read on startup only)
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•