Closed
Bug 1637886
Opened 5 years ago
Closed 5 years ago
Crash in [@ JS::GetScriptPrivate]
Categories
(Core :: JavaScript Engine, defect, P1)
Tracking
()
RESOLVED
FIXED
mozilla78
Tracking | Status | |
---|---|---|
firefox-esr68 | --- | unaffected |
firefox76 | --- | unaffected |
firefox77 | --- | unaffected |
firefox78 | --- | fixed |
People
(Reporter: calixte, Assigned: denispal)
References
(Blocks 1 open bug, Regression)
Details
(Keywords: crash, regression)
Crash Data
Attachments
(1 file)
This bug is for crash report bp-ab57428c-f6b9-4494-a439-24ecd0200513.
Top 10 frames of crashing thread:
0 xul.dll JS::GetScriptPrivate js/src/jsapi.cpp:3700
1 xul.dll mozilla::dom::ScriptLoader::EvaluateScript dom/script/ScriptLoader.cpp:2873
2 xul.dll mozilla::dom::ScriptLoader::ProcessRequest dom/script/ScriptLoader.cpp:2379
3 xul.dll mozilla::dom::ScriptLoader::ProcessOffThreadRequest dom/script/ScriptLoader.cpp:2066
4 xul.dll mozilla::dom::`anonymous namespace'::NotifyOffThreadScriptLoadCompletedRunnable::Run dom/script/ScriptLoader.cpp:2093
5 xul.dll mozilla::SchedulerGroup::Runnable::Run xpcom/threads/SchedulerGroup.cpp:146
6 xul.dll nsThread::ProcessNextEvent xpcom/threads/nsThread.cpp:1211
7 xul.dll NS_ProcessNextEvent xpcom/threads/nsThreadUtils.cpp:501
8 xul.dll mozilla::ipc::MessagePump::Run ipc/glue/MessagePump.cpp:87
9 xul.dll MessageLoop::RunHandler ipc/chromium/src/base/message_loop.cc:308
There are 8 crashes (from 7 installations) in nightly 78 with buildid 20200513094918. In analyzing the backtrace, the regression may have been introduced by patch [1] to fix bug 1501608.
[1] https://hg.mozilla.org/mozilla-central/rev?node=554b7637fe60
Reporter | ||
Updated•5 years ago
|
Flags: needinfo?(dpalmeiro)
Assignee | ||
Comment 1•5 years ago
|
||
I believe this is due to a missing null check on the JSScript.
Assignee: nobody → dpalmeiro
Flags: needinfo?(dpalmeiro)
Updated•5 years ago
|
Severity: -- → S2
Priority: -- → P1
Pushed by dpalmeiro@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/566430349999
Check for valid JSScript* before getting private value r=smaug
Assignee | ||
Comment 3•5 years ago
|
||
Missing check to see if the JSScript coming from exec.GetScript() is valid.
![]() |
||
Comment 4•5 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla78
Updated•5 years ago
|
Has Regression Range: --- → yes
You need to log in
before you can comment on or make changes to this bug.
Description
•