Skip to content
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

Latest android app crashes (since after version 5.3.181-mobile) #6643

Closed
1 task done
pkoretic opened this issue Jun 8, 2024 · 10 comments
Closed
1 task done

Latest android app crashes (since after version 5.3.181-mobile) #6643

pkoretic opened this issue Jun 8, 2024 · 10 comments

Comments

@pkoretic
Copy link

pkoretic commented Jun 8, 2024

Is there an existing issue for this?

Describe the bug

Latest Android app crashes after starting and showing home page for few seconds.
Using different available apks I traced it down to first starting in apk 1.0.81 (version code 81).

Version 1.0.75 (version code 75) works without issues. Any version afterwards doesn't.

If you can point me to some docs on how to build the android app I'm happy to try to bisect and find the commit that started this. Otherwise please see adb logcat output.

Steps to reproduce

  1. install latest Gdevelop from android app store
  2. run it
  3. wait a few seconds after opening and it will freeze and close by itself

GDevelop platform

Mobile

GDevelop version

5.3.201

Platform info

HarmonyOS 4.2.0
HUAWEI MatePad 11.5''S

As many might know this is based on forked Android code so it runs Android apps.

Additional context

adb logcat
https://justpaste.it/gdevelop_crash

@ClementPasteau
Copy link
Collaborator

Hey @pkoretic thanks for reporting, I can confirm I see weird things on the Android app too. We'll look into it

@AlexandreSi
Copy link
Collaborator

Hi @pkoretic,
thanks for investigating this! Is the crash consistent? Do you think you could record the screen while you start the app?

@pkoretic
Copy link
Author

Hi @AlexandreSi
It happens every time on launch. I tried all the usual things but made no difference.
Please find the video attached.

SVID_20240611_142745_1.mp4

@4ian
Copy link
Owner

4ian commented Jun 11, 2024

Thanks @pkoretic for reporting this and sending the video.
We want to verify something, as we wonder if the crash is coming from a request that loads the data for the asset store. Would you be able to try this debug version? https://drive.google.com/file/d/175CVl8fuRHTARdXvKso1IdMcdRLgsGU8/view?usp=sharing - You can request access with a Google account and mention it's you (It's not super critical, but I just want to avoid people downloading the app outside of the app store).

It's a debug version of the app, but with the loading that I mentioned removed (so the "shop" tab won't work).

@4ian
Copy link
Owner

4ian commented Jun 11, 2024

(shared with you, thanks again for taking the time to try this)

@pkoretic
Copy link
Author

Hi @4ian
happy to have tried this out.
Unfortunately result is the same. I did clean install and it crashes already during the welcome popup (after ~2 seconds) regardless if I try to do something or not.
Let me know if you need logs or if there is something else I could do.

@4ian
Copy link
Owner

4ian commented Jun 11, 2024

Bad luck! At least it's not related to the asset store loading.. The logcat you sent was just mentionned out of memory errors for the renderer process. It's a bit hard to pinpoint what could be causing this. I'll try to think about something else or we could try to give you a few version to bisect when the problem started (we checked at the commit but nothing obvious)

@pkoretic
Copy link
Author

Sounds good, happy to try few different versions.

@pkoretic
Copy link
Author

I've installed and tested latest 5.4.204 (1.0.95) version and it doesn't crash anymore.
Just to be sure I've checked older release (1.0.88) and it definitely crashes so I assume there was some change which fixed it.
From my perspective this can be closed.

@4ian
Copy link
Owner

4ian commented Jun 22, 2024

To be honest I'm not entirely sure what is behind this but it's good to know. If the crashes are coming back later, we'll at least know that this version is the "last known good version" :)
Thanks for following up!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants