-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Android Hybrid - Search - App crashes when switching between expenses of the same report. #51584
Comments
Triggered auto assignment to @jasperhuangg ( |
💬 A slack conversation has been started in #expensify-open-source |
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
|
Production: Screenrecorder-2024-10-28-16-48-40-587.mp4 |
We think that this bug might be related to #wave-collect - Release 1 |
At the dentist, will tackle this when I'm back |
Building a revert that might be related |
@lanitochka17 for debugging this issue, are you able to reproduce the bug on your device, connect it to a computer and run (The crash from the logs is an ANR, and in that log file we have no info to what happened. This bugreport zip file will help us to understand what caused the crash) |
@hannojg I'm testing right now, I'll try that out |
Thanks! (Btw, the pr hasn't touched any UI related stuff and nothing in regards to reports, so i am not sure how likely it is related - but lets see!) |
dumpstate-2024-10-28-11-25-07.zip I was able to reproduce on staging, here's the |
I was also able to reproduce the bug in the NewDot App (not HybridApp), so we should be able to test some reverts. |
Yeah seems like the |
bugreport-beyond1ltexx-SP1A.210812.016-2024-10-28-11-43-45.zip Here's the bug report after running it on New Expensify |
Doesn't seem to be very useful 🤔 |
I am fairly certain that the crash is being caused by #51332 I reproduced the bug on NewDot staging after navigating to/back from roughly 5-10 expense reports. After testing the AdHoc build of the revert, I've navigated to/back expense reports > 50 times and haven't experienced a crash yet. Sorry @hannojg 😓 I think I'm going to have to revert the PR again. |
Waiting on app deploys to be fixed before CPing |
Retested and seems to have fixed the issue, navigated to/from expenses in the report a bunch of times and no crash. |
@jasperhuangg were all those expense reports part of the same chat/report? |
This is so weird. The code I have added is only used in |
Aha, interesting, i can reproduce on release, but not on debug |
Okay, i can reproduce this bug when building a release app from (happy to help investigate whats causing the bug though!) |
I can reproduce this with the adhoc build as well: |
I think the issue is caused by our native stack PR/bridgeless PR/or some general bug in reanimated that we've only discovered now for some reason |
@hannojg Hmm, shoot. I tried reproducing the bug for nearly 10 minutes on the AdHoc build and couldn't get it, but I was able to reproduce it within a minute on staging. I'm so sorry if I made a mistake reverting your PR. Feel free to revert the revert again 😅 and I'd be happy to help you merge it. If this bug is really hard to reproduce, it makes sense that we could only find it now. Do you have any recommendations on which PRs specifically would be causing this regression? |
Ah hmm, that being said, @NikkiWines mentioned that the revert solved a deploy blocker that she was assigned to #51527, so we may still want to investigate that. It also doesn't really seem like your code is invoked there, so it may be unrelated and just flaky like this one. |
Yes, i will make a new PR that addresses the other blockers soon! For the crash: i can reproduce the bug very easily 100% of the time, so it should be easy for me to investigate. I can test a few likely PRs by reverting them to identify the faulty PR tmrw! (I think you guys have a set of git commands that you use to revert a PR right, if so, could you share that one please?) |
Note: i am still able to reproduce this bug on version 9.0.53-0, which is over one week old. Going further back … // Edit: Also reproducible on 9.0.50-0, two weeks old // Edit: also reproducible on 9.0.45-0, one month old at this point i am not sure if it makes sense to go further back (i have the feeling i would find that its since we turned on the new arch). Maybe instead we should try to just fix the bug? |
If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results. If a regression has occurred and you are the assigned CM follow the instructions here. If this regression could have been avoided please consider also proposing a recommendation to the PR checklist so that we can avoid it in the future. |
I'm marking this NAB since @hannojg confirmed this can be reproduced on older builds, cool? 👍 Thanks so much for your investigation, both of y'all! 🙏 |
Let us know if you want us to investigate whats going on (feel free to assign to me, either i will work on it or someone else from our margelo team can take a look!) |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Version Number: 9.0.54-2
Reproducible in staging?: Y
Reproducible in production?: N
If this was caught on HybridApp, is this reproducible on New Expensify Standalone?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail: https://expensify.testrail.io/index.php?/tests/view/5135640&group_by=cases:section_id&group_order=asc&group_id=296775
Issue reported by: Applause - Internal Team
Action Performed:
Expected Result:
The user should be able to switch between expenses of the same report, all the necessary times, without the app closing
Actual Result:
The app crashes when switching between expenses of the same report in "Outstanding" section in search
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6648292_1730123864600.Outstanding.mp4
logs (2).txt
View all open jobs on GitHub
The text was updated successfully, but these errors were encountered: