-
Notifications
You must be signed in to change notification settings - Fork 10
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
Search box results in app crash #69
Comments
I also just figured out how to export the logs if this helps |
Thanks, the logs helped a lot. Unfortunately, I couldn't reproduce the error on an emulator running Android 14. So, I'm not sure if the issue is just related to specific devices. Based on the stack trace from the logs your shared, I might have an idea what could cause the crash. Can you check if the error is fixed running this debug build: https://github.com/Drumber/Kitsune/actions/runs/11822426352/artifacts/2183328420 |
I am still encountering the same issue with the debug build you sent above. If anything, it's even faster at crashing |
looking at the debug log lines 141 and 142 are showing missing files, could that be the reason for the crash? |
Thats okay, just some system warning during the install. The crash is caused by these lines (something related to the fragment not being attached to an activity during onDestroyView)
Could you try this build and share the logs if it crashes: https://github.com/Drumber/Kitsune/actions/runs/11823001992/artifacts/2183510313 |
It's working for now (other than the occasional leaks pop up). I've been messing with it for a little bit and it's not crashing. Would you like the log? |
That's great news! Would be helpfull if you could share the logs (a last time ^^). I'm just curious what's going on here. Might be a bug related to the fragment lifecycle breaking the ViewBindingDelegrate library I'm using. |
Here's the newest log for you. Leaks was also finding other leaks but I assume that's just because it's a debug build and not related to my first issue |
Thanks for your help! I've published a pre-release with the fix. You can download it from here. If you encounter any other issues, feel free to re-open this issue or create a new one, |
Thanks so much for the help. I also just noticed, this was issue number #69. Nice lol Anyways, have a good one |
Just updated any while it's not a major issue. Every time I launch the app it's telling me to "upgrade" to version 2.0.2 |
Yeah well, I need to improve the update checker. It's just comparing the current version with the latest release on GitHub. And since 2.0.3 is a pre-release (and not the latest stable release) it's telling you there is an update. You may want to disable the update checker in the settings until the next stable release. Sry for that... |
The update fixed it from happening every time however I'm still getting a few crashes |
Thanks for providing the logs. Seems like this might be a bigger problem. I will look into it when I've more time. |
@joejoe135791 did you have any problems with v2.0.1? |
No, I did not encounter this issue on version 2.0.1 |
Just out of curiosity, did you enable predictive back animations in the android developer options? Besides updating the compile SDK of the app to 35 (Android 15) and opting-in to predictive-back-navigation, there weren't any big changes that could cause this bug. |
Predictive back animations is currently disabled and I'm only on android 14 |
Okay, I've done some bigger code changes and I think the root cause of the crash should be fixed now. Unfortuanate I still could not reproduce the crash on any device/emulator I have at hand. So, it would be great if you could test this build again and report back if you find any crashes/bugs: |
It's still crashing, a quick peak is showing that it's something else related to the searchbar Kitsune_2024-11-14_10-38-27.txt |
Looks like the crash is now caused by an edge case where some delayed/async code is accessing a view while the fragment (search screen) got destroyed. I'm still not sure what is causing these strange view lifecycle problems on your device. I have tried to force the occurrence of the crash in some test scenarios, but no luck so far... Once again, it would be great if you could test this build and let me know if you are still experiencing crashes: https://github.com/Drumber/Kitsune/actions/runs/11859089583/artifacts/2193742475 |
Kitsune_2024-11-15_08-10-47.txt Edit: please ignore above. I just noticed that it was not the newest build, I will update the logs asap |
My previous message I accidentally opened prerelease 2.0.3 instead of the debug build. After messing with the debug build for around 10 minutes, I haven't encountered any major crashes (I was going so fast I accidentally edited the app though). I will update with more info if I crash. Until then, here's the log Kitsune_2024-11-15_08-20-45.txt Everything I tried that crashed the other versions,
|
Hi @joejoe135791, is the build stable so far, no further crashes? |
Yes, I have experienced any crashes with the experimental build |
Thanks again for your help. I've published a new release v2.0.4 which includes the fix. If you encounter any other problems, feel free to post it here (if related) or open a new issue. |
Problem description
Whenever I use the search box, click on a result and attempt to back out, the app crashes
Steps to reproduce
Go to search
Search anything and click a result
Use the back button to back out of that result
App version
2.0.2
Android version
14
Device information
OnePlus 9 pro
Attachments and Logs
Record_2024-11-12-23-46-38.mp4
Acknowledgements
The text was updated successfully, but these errors were encountered: