Closed
Bug 1719131
Opened 5 years ago
Closed 5 years ago
Assertion failure: isObject(), at js/Value.h:782 or Crash [@ JS_GetProperty]
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 1718027
| Tracking | Status | |
|---|---|---|
| firefox91 | --- | affected |
People
(Reporter: decoder, Unassigned)
Details
(4 keywords, Whiteboard: [bugmon:update,bisect][fuzzblocker])
Attachments
(1 file)
|
81 bytes,
text/plain
|
Details |
The following testcase crashes on mozilla-central revision 20210704-2db6a4941022 (debug build, run with --fuzzing-safe --no-threads):
stencil = compileToStencil("", options);
evalStencil(stencil, `function f() {}`);
Backtrace:
received signal SIGSEGV, Segmentation fault.
#0 0x0000555556a696df in JS::Value::toObject() const ()
#1 0x000055555717de4f in EvalStencil(JSContext*, unsigned int, JS::Value*) ()
#2 0x0000555556bf25d1 in CallJSNative(JSContext*, bool (*)(JSContext*, unsigned int, JS::Value*), js::CallReason, JS::CallArgs const&) ()
#3 0x0000555556bf1d06 in js::InternalCallOrConstruct(JSContext*, JS::CallArgs const&, js::MaybeConstruct, js::CallReason) ()
#4 0x0000555556bf3141 in InternalCall(JSContext*, js::AnyInvokeArgs const&, js::CallReason) ()
#5 0x0000555556be709d in Interpret(JSContext*, js::RunState&) ()
#6 0x0000555556bdea51 in js::RunScript(JSContext*, js::RunState&) ()
#7 0x0000555556bf4876 in js::ExecuteKernel(JSContext*, JS::Handle<JSScript*>, JS::Handle<JSObject*>, JS::Handle<JS::Value>, js::AbstractFramePtr, JS::MutableHandle<JS::Value>) ()
#8 0x0000555556bf4da4 in js::Execute(JSContext*, JS::Handle<JSScript*>, JS::Handle<JSObject*>, JS::MutableHandle<JS::Value>) ()
#9 0x0000555556dd603f in ExecuteScript(JSContext*, JS::Handle<JSObject*>, JS::Handle<JSScript*>, JS::MutableHandle<JS::Value>) ()
#10 0x0000555556dd623a in JS_ExecuteScript(JSContext*, JS::Handle<JSScript*>) ()
#11 0x0000555556abf6d5 in RunFile(JSContext*, char const*, _IO_FILE*, CompileUtf8, bool) ()
#12 0x0000555556abed60 in Process(JSContext*, char const*, bool, FileKind) ()
#13 0x0000555556a6620b in Shell(JSContext*, js::cli::OptionParser*) ()
#14 0x0000555556a5d902 in main ()
rax 0x5555558a4dae 93824995708334
rbx 0x26cb2f677000 42654115524608
rcx 0x5555580e27d8 93825037903832
rdx 0x0 0
rsi 0x7ffff7105770 140737338431344
rdi 0x7ffff7104540 140737338426688
rbp 0x7fffffffbb10 140737488337680
rsp 0x7fffffffbb10 140737488337680
r8 0x7ffff7105770 140737338431344
r9 0x7ffff7f99840 140737353717824
r10 0x0 0
r11 0x0 0
r12 0x7fffffffbbe0 140737488337888
r13 0x7ffff6019000 140737320685568
r14 0x7ffff60f90a8 140737321603240
r15 0xaaaa00a800000002 -6149101619666485246
rip 0x555556a696df <JS::Value::toObject() const+175>
=> 0x555556a696df <_ZNK2JS5Value8toObjectEv+175>: movl $0x30e,0x0
0x555556a696ea <_ZNK2JS5Value8toObjectEv+186>: callq 0x555556ae965a <abort>
This is part of a large number of different stencil crashes that are blocking fuzzing.
Severity: -- → S2
| Reporter | ||
Comment 1•5 years ago
|
||
| Reporter | ||
Updated•5 years ago
|
Flags: needinfo?(arai.unmht)
Comment 2•5 years ago
|
||
Thank you!
I'll fix this in bug 1718027 at once
Status: NEW → RESOLVED
Closed: 5 years ago
Flags: needinfo?(arai.unmht)
Resolution: --- → DUPLICATE
Comment 3•5 years ago
|
||
Bugmon Analysis
No valid actions for resolution (DUPLICATE)
Removing bugmon keyword as no further action possible. Please review the bug and re-add the keyword for further analysis.
Keywords: bugmon
You need to log in
before you can comment on or make changes to this bug.
Description
•