Assertion failure: self.get(), at builtin/TestingFunctions.cpp:5274
Categories
(Core :: JavaScript Engine, defect, P3)
Tracking
()
People
(Reporter: gkw, Assigned: sfink)
References
(Blocks 1 open bug, Regression)
Details
(Keywords: regression, reporter-external, testcase)
Attachments
(2 files)
x = [];
x.keepFailing = [];
oomTest(function () {
y = { z: [] };
makeSerializable().log;
}, x);
(gdb) bt
#0 CustomSerializableObject::ActivityLog::getThreadLog ()
at /home/gen32gx500/trees/mozilla-central/js/src/builtin/TestingFunctions.cpp:5274
#1 0x000055555778fcc1 in CustomSerializableObject::getLog_impl (
cx=cx@entry=0x7ffff662e100, args=...)
at /home/gen32gx500/trees/mozilla-central/js/src/builtin/TestingFunctions.cpp:5362
#2 0x000055555778f938 in JS::CallNonGenericMethod<&CustomSerializableObject::is, &CustomSerializableObject::getLog_impl> (cx=0x7ffff662e100, args=...)
at /home/gen32gx500/shell-cache/js-dbg-64-linux-x86_64-366005a91eda/objdir-js/dist/include/js/CallNonGenericMethod.h:103
#3 CustomSerializableObject::getLog (cx=cx@entry=0x7ffff662e100,
argc=<optimized out>, vp=<optimized out>)
at /home/gen32gx500/trees/mozilla-central/js/src/builtin/TestingFunctions.cpp:5355
#4 0x00005555571c5125 in CallJSNative (cx=cx@entry=0x7ffff662e100,
native=native@entry=0x55555778f850 <CustomSerializableObject::getLog(JSContext*, unsigned int, JS::Value*)>, reason=reason@entry=js::CallReason::Getter, args=...)
at /home/gen32gx500/trees/mozilla-central/js/src/vm/Interpreter.cpp:480
#5 0x000055555719c19b in js::InternalCallOrConstruct (cx=0x7ffff662e100, args=...,
construct=construct@entry=js::NO_CONSTRUCT, reason=js::CallReason::Getter)
at /home/gen32gx500/trees/mozilla-central/js/src/vm/Interpreter.cpp:574
#6 0x000055555719d10d in InternalCall (cx=0x7ffff7e37700 <_IO_stdfile_2_lock>,
cx@entry=0x7ffff662e100, args=..., reason=1488306768,
reason@entry=js::CallReason::Getter)
at /home/gen32gx500/trees/mozilla-central/js/src/vm/Interpreter.cpp:641
#7 0x000055555719d32e in js::Call (cx=cx@entry=0x7ffff662e100,
fval=fval@entry=..., thisv=thisv@entry=..., args=..., rval=rval@entry=...,
reason=reason@entry=js::CallReason::Getter)
at /home/gen32gx500/trees/mozilla-central/js/src/vm/Interpreter.cpp:673
#8 0x000055555719e744 in js::CallGetter (cx=cx@entry=0x7ffff662e100,
thisv=thisv@entry=..., getter=getter@entry=..., rval=rval@entry=...)
at /home/gen32gx500/trees/mozilla-central/js/src/vm/Interpreter.cpp:795
#9 0x00005555574bbbcb in CallGetter (cx=<optimized out>, obj=..., receiver=...,
id=..., prop=..., vp=...)
at /home/gen32gx500/trees/mozilla-central/js/src/vm/NativeObject.cpp:2150
#10 GetExistingProperty<(js::AllowGC)1> (cx=cx@entry=0x7ffff662e100,
receiver=receiver@entry=..., obj=obj@entry=..., id=id@entry=..., prop=...,
vp=vp@entry=...)
at /home/gen32gx500/trees/mozilla-central/js/src/vm/NativeObject.cpp:2178
#11 0x00005555574bc599 in NativeGetPropertyInline<(js::AllowGC)1> (
cx=0x7ffff662e100, obj=..., receiver=..., id=..., nameLookup=NotNameLookup,
vp=...)
at /home/gen32gx500/trees/mozilla-central/js/src/vm/NativeObject.cpp:2326
#12 0x00005555570ae8db in js::GetProperty (cx=0x7ffff662e100, obj=...,
receiver=..., name=<optimized out>, vp=...)
at /home/gen32gx500/trees/mozilla-central/js/src/vm/ObjectOperations-inl.h:124
#13 0x00005555571c01e8 in js::GetProperty (cx=cx@entry=0x7ffff662e100,
v=v@entry=..., name=name@entry=..., vp=vp@entry=...)
at /home/gen32gx500/trees/mozilla-central/js/src/vm/Interpreter.cpp:4519
#14 0x0000555557d76b34 in js::jit::DoGetPropFallback (cx=0x7ffff662e100,
frame=0x7fffffffc048, stub=0x7ffff6448a10, val=..., res=...)
at /home/gen32gx500/trees/mozilla-central/js/src/jit/BaselineIC.cpp:1283
/snip
Run with --fuzzing-safe --no-threads --no-baseline --no-ion
, compile with AR=ar sh ../configure --enable-debug --enable-debug-symbols --with-ccache --disable-bootstrap --enable-nspr-build --enable-ctypes --enable-gczeal --enable-rust-simd --disable-tests
, tested on m-c rev 366005a91eda.
Setting s-s to be safe.
Updated•1 year ago
|
![]() |
Reporter | |
Comment 1•1 year ago
|
||
The first bad revision is:
changeset: https://hg.mozilla.org/mozilla-central/rev/0e22cec33a2f
user: Steve Fink
date: Wed May 10 16:51:48 2023 +0000
summary: Bug 1818576 - Test infrastructure for custom serializable objects r=spidermonkey-reviewers,mgaudet
Steve, is bug 1818576 a likely regressor?
Comment 2•1 year ago
|
||
Set release status flags based on info from the regressing bug 1818576
Updated•1 year ago
|
Updated•1 year ago
|
Comment 3•1 year ago
|
||
Not s-s, crash in testing code itself. Likely needs to simply be marked as AutoEnterOOMUnsafeRegion
Comment 4•1 year ago
|
||
Set release status flags based on info from the regressing bug 1818576
Assignee | ||
Comment 5•1 year ago
|
||
Updated•1 year ago
|
Assignee | ||
Updated•1 year ago
|
Comment 7•1 year ago
|
||
Backed out for causing spider-monkey failures
Backout link: https://hg.mozilla.org/integration/autoland/rev/05e1180d2aa04a8882ff66dfaeeb0705694f7a61
Comment 9•1 year ago
|
||
Backed out for SM failures on bug1878098-serialization-log-oom.js
Failure log: https://treeherder.mozilla.org/logviewer?job_id=447828509&repo=autoland
Backout link: https://hg.mozilla.org/integration/autoland/rev/558067032002ffc8a775205a29adbe2dd686df28
Comment 10•1 year ago
|
||
Comment 11•1 year ago
|
||
bugherder |
Updated•1 year ago
|
Updated•1 year ago
|
![]() |
Reporter | |
Updated•11 months ago
|
Updated•9 months ago
|
Description
•