WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED DUPLICATE of
bug 171274
172739
Null pointer crash when handling async with arrow operator
https://bugs.webkit.org/show_bug.cgi?id=172739
Summary
Null pointer crash when handling async with arrow operator
Natalie Silvanovich
Reported
2017-05-30 16:31:53 PDT
Created
attachment 311551
[details]
script causing the crash The following script crashes with a null pointer exception in JSC (also attached) . class BaseClass { constructor(x) { } }; class DeferredSuperCall extends BaseClass { constructor(x) { return async() => super(x); } }; var q = new DeferredSuperCall("LexicalSuperCall")();
Attachments
script causing the crash
(209 bytes, application/javascript)
2017-05-30 16:31 PDT
,
Natalie Silvanovich
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Saam Barati
Comment 1
2017-05-30 19:16:52 PDT
I think this is fixed as of today. Aleksandr, is this a dupe of what you fixed today?
GSkachkov
Comment 2
2017-05-30 23:16:46 PDT
(In reply to Saam Barati from
comment #1
)
> I think this is fixed as of today. Aleksandr, is this a dupe of what you > fixed today?
Yes, it is the same as
bug 171274
GSkachkov
Comment 3
2017-05-30 23:37:48 PDT
(In reply to Natalie Silvanovich from
comment #0
)
> Created
attachment 311551
[details]
> script causing the crash > > The following script crashes with a null pointer exception in JSC (also > attached) . > > class BaseClass { > constructor(x) { > > } > > }; > > class DeferredSuperCall extends BaseClass { > constructor(x) { > return async() => super(x); > } > }; > > var q = new DeferredSuperCall("LexicalSuperCall")();
Natalie, thanks for registering this issue. We just fixed this similar
bug 171274
recently. As for now I can't reproduce your issue on latest Webkit nightly build, so I'm closing this task as duplicate. Could you please recheck if it fixed your issue on latest WebKit nightly or latest sources? *** This bug has been marked as a duplicate of
bug 171274
***
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