You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
React Navigation routing performance tracking: 'Maximum call stack size exceeded' in the /utils library #5172
There is nothing "wrong" with the user land code actually it's crashing inside Sentry logic (at least for us) as soon as you pass a recursive object in navigation.
Not exactly sure how to fix this in the utils logic, but one policy could be to have a max depth in the recursion.
Actual Result
it badly crash the app of our users when the performance monitoring is active for them. see attached event.
Hi @gre, thanks for raising this issue. I saw your comment in #2470 (comment).
We are currently working on a fix for the SDK to be more defensive when being passed objects with circular references.
You can track progress in:
fix(utils): Fix infinite recursion in dropUndefinedKeys #5163 (This one fixes the infinite recursion and is already merged - you can try version 7.0.0-rc.0 to see if this error crashes a bit less bad, however it still crashes, due to the data not being serializable)
Activity
lforst commentedon May 27, 2022
Hi @gre, thanks for raising this issue. I saw your comment in #2470 (comment).
We are currently working on a fix for the SDK to be more defensive when being passed objects with circular references.
You can track progress in:
dropUndefinedKeys#5163 (This one fixes the infinite recursion and is already merged - you can try version7.0.0-rc.0to see if this error crashes a bit less bad, however it still crashes, due to the data not being serializable)The proper fix will probably be included in one of the first patches of version 7 so keep an eye out for that.
gre commentedon May 27, 2022
@lforst awesome to hear. thanks
lforst commentedon Jun 10, 2022
I'm gonna close this issue for now as we fixed this in 7.1.0. Please use 7.1.1 though as 7.1.0 was buggy.
Feel free to ping me if the problem persists on new versions!