App icon indicating copy to clipboard operation
App copied to clipboard

[$250] Investigate: 💥 Crash 💥 `Za`

Open melvin-bot[bot] opened this issue 3 years ago • 13 comments

Firebase has reported a new crash that we need to fix, here are all the details we found:

Non-fatal Exception: JavaScriptError

Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.

main.jsbundle:51:79371 line 51 Za

Number of Crashes: 4

Device Information

  • Platforms: iOS
  • App Versions: 1.2.22.3
  • Devices: Apple iPhone11,2 16.0.3

Stacktraces

iOS 1.2.22.3
Za (/private/var/containers/Bundle/Application/09F8B6FC-A660-4615-8FAA-8A79ED788A4F/New Expensify.app/main.jsbundle:51:79371:51)
enqueueSetState (/private/var/containers/Bundle/Application/09F8B6FC-A660-4615-8FAA-8A79ED788A4F/New Expensify.app/main.jsbundle:51:32850:51)
anonymous (/private/var/containers/Bundle/Application/09F8B6FC-A660-4615-8FAA-8A79ED788A4F/New Expensify.app/main.jsbundle:21:1115:21)
value (/private/var/containers/Bundle/Application/09F8B6FC-A660-4615-8FAA-8A79ED788A4F/New Expensify.app/main.jsbundle:1496:4080:1496)
ya (/private/var/containers/Bundle/Application/09F8B6FC-A660-4615-8FAA-8A79ED788A4F/New Expensify.app/main.jsbundle:51:78057:51)
Si (/private/var/containers/Bundle/Application/09F8B6FC-A660-4615-8FAA-8A79ED788A4F/New Expensify.app/main.jsbundle:51:88193:51)
yi (/private/var/containers/Bundle/Application/09F8B6FC-A660-4615-8FAA-8A79ED788A4F/New Expensify.app/main.jsbundle:51:87408:51)
oi (/private/var/containers/Bundle/Application/09F8B6FC-A660-4615-8FAA-8A79ED788A4F/New Expensify.app/main.jsbundle:51:83749:51)
pt (/private/var/containers/Bundle/Application/09F8B6FC-A660-4615-8FAA-8A79ED788A4F/New Expensify.app/main.jsbundle:51:27333:51)
Za (/private/var/containers/Bundle/Application/09F8B6FC-A660-4615-8FAA-8A79ED788A4F/New Expensify.app/main.jsbundle:51:79771:51)
enqueueSetState (/private/var/containers/Bundle/Application/09F8B6FC-A660-4615-8FAA-8A79ED788A4F/New Expensify.app/main.jsbundle:51:32850:51)
anonymous (/private/var/containers/Bundle/Application/09F8B6FC-A660-4615-8FAA-8A79ED788A4F/New Expensify.app/main.jsbundle:21:1115:21)
c (/private/var/containers/Bundle/Application/09F8B6FC-A660-4615-8FAA-8A79ED788A4F/New Expensify.app/main.jsbundle:632:5044:632)
V (/private/var/containers/Bundle/Application/09F8B6FC-A660-4615-8FAA-8A79ED788A4F/New Expensify.app/main.jsbundle:632:5350:632)
anonymous (/private/var/containers/Bundle/Application/09F8B6FC-A660-4615-8FAA-8A79ED788A4F/New Expensify.app/main.jsbundle:632:6156:632)
tryCallOne (/Users/distiller/react-native/sdks/hermes/build_iphoneos/lib/InternalBytecode/InternalBytecode.js:53:16:53)
anonymous (/Users/distiller/react-native/sdks/hermes/build_iphoneos/lib/InternalBytecode/InternalBytecode.js:139:27:139)
apply
anonymous (/private/var/containers/Bundle/Application/09F8B6FC-A660-4615-8FAA-8A79ED788A4F/New Expensify.app/main.jsbundle:77:1662:77)
k (/private/var/containers/Bundle/Application/09F8B6FC-A660-4615-8FAA-8A79ED788A4F/New Expensify.app/main.jsbundle:77:498:77)
w (/private/var/containers/Bundle/Application/09F8B6FC-A660-4615-8FAA-8A79ED788A4F/New Expensify.app/main.jsbundle:77:888:77)
callReactNativeMicrotasks (/private/var/containers/Bundle/Application/09F8B6FC-A660-4615-8FAA-8A79ED788A4F/New Expensify.app/main.jsbundle:77:3055:77)
value (/private/var/containers/Bundle/Application/09F8B6FC-A660-4615-8FAA-8A79ED788A4F/New Expensify.app/main.jsbundle:42:2868:42)
anonymous (/private/var/containers/Bundle/Application/09F8B6FC-A660-4615-8FAA-8A79ED788A4F/New Expensify.app/main.jsbundle:42:960:42)
value (/private/var/containers/Bundle/Application/09F8B6FC-A660-4615-8FAA-8A79ED788A4F/New Expensify.app/main.jsbundle:42:2504:42)
value (/private/var/containers/Bundle/Application/09F8B6FC-A660-4615-8FAA-8A79ED788A4F/New Expensify.app/main.jsbundle:42:919:42)
value (/private/var/containers/Bundle/Application/09F8B6FC-A660-4615-8FAA-8A79ED788A4F/New Expensify.app/main.jsbundle:42:854:42)

Internal Firebase Info

💥 DO NOT EDIT THIS SECTION 💥

Crash IDs: ad8e059586b9d92df79d2aa0f4ccd0fb Exception: Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.

REMINDER: Typically, Firebase Crashlytics issues should be capped at $500.

melvin-bot[bot] avatar Nov 01 '22 19:11 melvin-bot[bot]

Triggered auto assignment to @alexpensify (External), see https://stackoverflow.com/c/expensify/questions/8582 for more details.

melvin-bot[bot] avatar Nov 01 '22 19:11 melvin-bot[bot]

Triggered auto assignment to Contributor-plus team member for initial proposal review - @thesahindia (External)

melvin-bot[bot] avatar Nov 01 '22 19:11 melvin-bot[bot]

Triggered auto assignment to @Julesssss (External), see https://stackoverflow.com/c/expensify/questions/7972 for more details.

melvin-bot[bot] avatar Nov 01 '22 19:11 melvin-bot[bot]

The job has been created here: https://www.upwork.com/ab/applicants/1587588129324404736/job-details External: https://www.upwork.com/jobs/~0133035eba46e9470a

alexpensify avatar Nov 01 '22 23:11 alexpensify

I have already closed this in Firebase and I'm closing this issue too as it seems like a development issue to me.

Julesssss avatar Nov 02 '22 10:11 Julesssss

@Julesssss - with this news, should I remove the job in Upwork too?

alexpensify avatar Nov 02 '22 14:11 alexpensify

Oh yeah, please do Al

Julesssss avatar Nov 02 '22 14:11 Julesssss

Done

image

alexpensify avatar Nov 02 '22 14:11 alexpensify

This crash occurred again and has not been fully fixed, reopening issue 🔄

melvin-bot[bot] avatar Nov 08 '22 21:11 melvin-bot[bot]

@Julesssss - did this reopen in Firebase too?

alexpensify avatar Nov 08 '22 21:11 alexpensify

@alexpensify yeah it did but I reclosed it. The title is generic, so I think this is going to keep reopening.

Julesssss avatar Nov 09 '22 10:11 Julesssss

This crash occurred again and has not been fully fixed, reopening issue 🔄

melvin-bot[bot] avatar Nov 09 '22 15:11 melvin-bot[bot]

This crash occurred again and has not been fully fixed, reopening issue 🔄

melvin-bot[bot] avatar Nov 12 '22 06:11 melvin-bot[bot]