-
Notifications
You must be signed in to change notification settings - Fork 126
Open
Labels
bugSomething isn't workingSomething isn't working
Description
This JS seems to cause a Wasm-level stack overflow error when run with javy build:
let foo = {"":[[null,[[{},"",[],[],[{},[[],[-5102808638908533466,{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":[],"\n\n;":[[],[[],[[").","",[],[],null,{},[[],[[[],[],[[],[[{},[{},[],[],[[[null,[[{},"",[],[],[{},[[],[-5102808638908533466,{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{}},"\n\n;":[[],[[],[[").","",[],[],null,{},{},"",[],[],[{},[[],[-5102808638908533466,{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{}},"\n\n;":[[],[[],[[").","",[],[],null,{},[[],[[[],[],[[],[[{},[{},[],[],[{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":[],"\n\n;":[[],[[],[[").","",[],[],null,{},[[],[[[],[],[[],[[{},[{},[],[],[[[null,[[{},"",[],[],[{},[[],[-5102808638908533466,{"":{"":{"":{"0":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":[],"\n\n;":[[],[[],[[").","",[],[],null,{},[[],[[[],[],[[],{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":[],"\n\n;":[[],[[],[[").","",[],[],null,{},[[],[[[],[],[[],[[{},[{},[],[],[[[null,[[{},"",[],[],[{},[[],[-5102808638908533466,{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{}},"\n\n;":[[],[[],[[").","",[1.2681253932520594e-233,["",[],[],[{},[[],[-5102808638908533466,{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{}},"\n\n;":[[],[[],[[").","",[],[],null,{},[[],[[[],[],[[],[[{},[{},[],[],[{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":{"":""}}}}}}}}}}}}}}}}}}}}]]]]]]]]]]]]}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}]]]]]]]]]}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}]]]]]]]]]]]]]]]]]]]}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}]]]]]]]]}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}]]]]]]]]]]]]]]]]]]]}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"\n\u000f)":[]}]]]]]]]]]]]]}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}]]]]]]]}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}]]]]]]]]]]]]]]]]]]]}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}]]]]]]]};This behaviour reproduces on v7.0.1 and main. The JS runs correctly when executed with NodeJS. The context is I tried using the fuzzer and it found this case.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working