-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IE11 Out of stack space #686
Comments
|
Well the same error happens on all versions after |
I'm having the same issue in IE11 while trying to upgrade to corejs3. Trying to understand what happens (ie11 debugging tools are terrible) |
After lots of debugging it seems that first stack overflow happens in dom-collections.iterable: Happens on the first loop iteration with https://github.com/zloirock/core-js/blob/master/packages/core-js/modules/es.symbol.js#L170 |
That looks like a conflict with another |
I don’t think we use another polyfill. Maybe it is sneaking in through some dependency. Any suggestion where to start looking?
Best regards,
Mike
…________________________________
From: Denis Pushkarev <[email protected]>
Sent: Monday, November 4, 2019 17:36
To: zloirock/core-js
Cc: Mike Aizatsky; Comment
Subject: Re: [zloirock/core-js] IE11 Out of stack space (#686)
That looks like a conflict with another Symbol polyfill (not 100%). core-js well-known symbols, like @@iterator on CSSRuleList haven't this setters-related logic.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub<#686?email_source=notifications&email_token=AAAAZJBYJUX3WBW4OZIODGLQSDEZHA5CNFSM4JH2L4G2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDBJVRI#issuecomment-549624517>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AAAAZJENFSV5C7PUBG4W4Z3QSDEZHANCNFSM4JH2L4GQ>.
|
Create a reproducible example? -) |
Yeah, that would be great. But to do that I need to find who’s messing with symbol in our very non-trivial typescript codebase. :(
Denis, if your theory is correct then there should be observable artifacts of another polyfill. Which prototypes/globals should I check? There have to be some functions registered. Maybe I can track them down by their source code.
Best regards,
Mike
…________________________________
From: Denis Pushkarev <[email protected]>
Sent: Monday, November 4, 2019 17:56
To: zloirock/core-js
Cc: Mike Aizatsky; Comment
Subject: Re: [zloirock/core-js] IE11 Out of stack space (#686)
Create a reproducible example? -)
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub<#686?email_source=notifications&email_token=AAAAZJCHJL3NOBDP35TSH2LQSDHDLA5CNFSM4JH2L4G2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDBKWQA#issuecomment-549628736>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AAAAZJHESXB6KVMJCY2464TQSDHDLANCNFSM4JH2L4GQ>.
|
@zloirock thanks, I'll try to dig through those bugs and see if it applies to us. |
Ok, so got to the bottom of our issue. We have a game wrapper bundle that gets injected moments before the game bundle, and it is also using |
I need to double-check things, but it seems that bad symbol comes from object.assign which comes from babel:
|
And related object.assign issue could be: ljharb/object.assign#17 |
@mikea the mentioned issue is not related to this recursion. |
Could you show me your |
Here it is:
|
@mikea so, in your case, the error comes from |
Could you check it with the current version? |
Closed due to lack of response. Most likely, it was fixed after adding this workaround. |
@zloirock |
@tonoslav we should hide polyfilled symbols from almost all ways of iteration includes |
We use core js in a games engine and recently updated from 2.5.7 to 2.6.0 but are facing an "Out of stack space" error happening in Internet Explorer 11 (Build 11.805.17763.0 on Windows 10). See picture below of stack trace:
The text was updated successfully, but these errors were encountered: