Jump to content
globalfish

Android App freezes on Launch Screen (only on certain devices)

Recommended Posts

Hello,

 

On certain Android smartphones I have the problem that our Delphi app freezes on the start screen and no longer responds. The App.Initialize is never reached. This problem has not been reported on iOS devices.

 

So far the problem has been reported on a Samsung S10, I can also recreate it on a Fairphone 4. On most devices the app starts and works as expected. We also have a Samsung S10 at hands, on which the app works fine. So, I guess the problems doesn't specifically have to do with the device but maybe with certain settings on them?

 

I have created a log using Pidcat which I will share here. I noticed that the app is stuck in a loop in release mode. In debug mode, this loop does not occur.

 

I am using Delphi 11.1 and tried Android SDK 30 & 33. The earlier builds of the app, which were created with Delphi 10.4, work on the Fairphone 4 (Android Version 11).

 

I am happy to receive messages and provide more information. Thank you very much.

 

Start of the App in Release Mode:

                            Process de.bssd.labappbssd created for pre-top-activity {de.bssd.labappbssd/com.embarcadero.firemonkey.FMXNativeActivity}
                            PID: 11612   UID:    GIDs:

         bssd.labappbss  I  Unquickening 18 vdex files!
                   Perf  I  Connecting to perf service.
  NetworkSecurityConfig  D  No Network Security Config specified, using platform default
                         D  No Network Security Config specified, using platform default
            FirebaseApp  I  Device unlocked: initializing all Firebase APIs for app [DEFAULT]
                 linker  W  Warning: "/data/app/~~VMtdHawvITnY_uOh1mqhaQ==/de.bssd.labappbssd-4YWny2iJ3vlCc9FH-mHlUg==/lib/arm64/libQCLabApp.so" unused DT entry: DT_RPATH (type 0xf arg 0x3e076) (ignoring)
       TetheringManager  I  registerTetheringEventCallback:de.bssd.labappbssd
           DpmTcmClient  I  RegisterTcmMonitor from: $Proxy1
           AdrenoGLES-0  I  QUALCOMM build                   : 9fb8420ccd, I4cee0650f2
                         I  Build Date                       : 05/17/21
                         I  OpenGL ES Shader Compiler Version: EV031.32.02.12
                         I  Local Branch                     :
                         I  Remote Branch                    :
                         I  Remote Branch                    :
                         I  Reconstruct Branch               :
                         I  Build Config                     : S P 10.0.7 AArch64
                         I  Driver Path                      : /vendor/lib64/egl/libGLESv2_adreno.so
                         I  PFP: 0x016ee197, ME: 0x00000000

Loop in Release Mode:

                            Process de.bssd.labappbssd created for top-activity {de.bssd.labappbssd/com.embarcadero.firemonkey.FMXNativeActivity}
                            PID: 12894   UID:    GIDs:

         bssd.labappbss  I  Late-enabling -Xcheck:jni
                         I  Unquickening 18 vdex files!
                   Perf  I  Connecting to perf service.
  NetworkSecurityConfig  D  No Network Security Config specified, using platform default
                         D  No Network Security Config specified, using platform default
            FirebaseApp  I  Device unlocked: initializing all Firebase APIs for app [DEFAULT]
       TetheringManager  I  registerTetheringEventCallback:de.bssd.labappbssd
                 linker  W  Warning: "/data/app/~~VMtdHawvITnY_uOh1mqhaQ==/de.bssd.labappbssd-4YWny2iJ3vlCc9FH-mHlUg==/lib/arm64/libQCLabApp.so" unused DT entry: DT_RPATH (type 0xf arg 0x3e076) (ignoring)
           AdrenoGLES-0  I  QUALCOMM build                   : 9fb8420ccd, I4cee0650f2
                         I  Build Date                       : 05/17/21
                         I  OpenGL ES Shader Compiler Version: EV031.32.02.12
                         I  Local Branch                     :
                         I  Remote Branch                    :
                         I  Remote Branch                    :
                         I  Reconstruct Branch               :
                         I  Build Config                     : S P 10.0.7 AArch64
                         I  Driver Path                      : /vendor/lib64/egl/libGLESv2_adreno.so
                         I  PFP: 0x016ee197, ME: 0x00000000

 

Start in Debug Mode:

                            Process de.bssd.labappbssd created for pre-top-activity {de.bssd.labappbssd/com.embarcadero.firemonkey.FMXNativeActivity}
                            PID: 24106   UID:    GIDs:

         bssd.labappbss  I  Late-enabling -Xcheck:jni
                         I  Unquickening 18 vdex files!
                   Perf  I  Connecting to perf service.
  NetworkSecurityConfig  D  No Network Security Config specified, using platform default
                         D  No Network Security Config specified, using platform default
            FirebaseApp  I  Device unlocked: initializing all Firebase APIs for app [DEFAULT]
       TetheringManager  I  registerTetheringEventCallback:de.bssd.labappbssd
                 linker  W  Warning: "/data/app/~~dy2c2A5PvcPMzWdOKYv3ZA==/de.bssd.labappbssd-rikYeJ6oMv4IxJ3yfgGMkw==/lib/arm64/libQCLabApp.so" unused DT entry: DT_RPATH (type 0xf arg 0x3e076) (ignoring)
         bssd.labappbss  I  Waiting for a blocking GC ProfileSaver
                         I  WaitForGcToComplete blocked ProfileSaver on ClassLinker for 15.296ms

 

Edited by globalfish

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×