WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED WORKSFORME
255715
ASSERTION FAILED: edge->hasResult() in DFG::{anonymous}::Validate::validate()
https://bugs.webkit.org/show_bug.cgi?id=255715
Summary
ASSERTION FAILED: edge->hasResult() in DFG::{anonymous}::Validate::validate()
xiangwei1895
Reported
2023-04-20 02:22:01 PDT
## JavaScriptCore Version dd75c5c12d617264cfc1e26a70c94591e4eb67c1 ## Build Ubuntu 20.04.2 LTS (Linux 5.15.0-67-generic x86_64) ## Testcase and Execution steps ``` function f0() { for (let i = 0; i < 1e5; i++) {;} } v0 = {value: 0}; function f1() { var v1 = Object.defineProperties([0], {0: v0}); for ( _ in v1) { f0(v1[i]); ++v1[ f1 (i in v1) ]; if (i === "0") Object.defineProperties(v1, {0: v0}); } } for (var i = 0; i < 1e5; ++i) f1(); ``` ./bin/jsc testcase.js ## Output At D@178 -> Check:Untyped:Kill:D@76: validation failed: edge->hasResult() (/home/WebKit/Source/JavaScriptCore/dfg/DFGValidate.cpp:156). At time of failure: 54: DFG for f1#<no-hash>:[0x62d0000d48e0->0x62d0000d4340->0x62d000069880, DFGFunctionCall, 276 (DidTryToEnterInLoop)]: 54: Fixpoint state: FixpointConverged; Form: SSA; Unification state: GloballyUnified; Ref count state: ExactRefCount 54: Argument formats for entrypoint index: 0 : FlushedJSValue 0 54: Block #0 (bc#0): (OSR target) 0 54: Execution count: 1.000000 …… ASSERTION FAILED: edge->hasResult() /home/WebKit/Source/JavaScriptCore/dfg/DFGValidate.cpp(156) : void JSC::DFG::{anonymous}::Validate::validate() Aborted
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2023-04-23 14:34:07 PDT
<
rdar://problem/108430274
>
Yusuke Suzuki
Comment 2
2025-05-23 17:42:20 PDT
It seems that this no longer reproduces.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug