Jump to content
Sign in to follow this  
Mauro Botta

Delphi 12.3 - Android Play Store Error - DATASNAP - WaitForSyncEvent - ANR

Recommended Posts

Hi,

i have deploy my new FMX Client App ( Datasnap ) on Google Store. i have any errors log of my app
 

I'm using Delphi 12.3 + SKIA.  With my phones Android all work fine.

Server App is a Windows 64 DataSnap. 

 

 

Any Hint ?

Mauro


 

Title:

[split_config.arm64_v8a.apk] System::Classes::WaitForSyncEvent(int)

Input dispatching timed out

 

 

 

logs:

#00 pc 0x00000000000d7a78 /apex/com.android.runtime/lib64/bionic/libc.so (__pselect6+8)

#01 pc 0x0000000000095e38 /apex/com.android.runtime/lib64/bionic/libc.so (select+104)
#02 pc 0x00000000051222f4 /data/app/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/split_config.arm64_v8a.apk (System::Classes::WaitForSyncEvent(int)+160)
#03 pc 0x000000000512245c /data/app/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/split_config.arm64_v8a.apk (System::Classes::CheckSynchronize(int)+216)
#04 pc 0x00000000050b91c0 /data/app/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/split_config.arm64_v8a.apk (System::Classes::TThread::WaitFor()+176)
#05 pc 0x0000000007067a90 /data/app/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/split_config.arm64_v8a.apk (mycode::Client_DB_Open_Table_Multi(..


This is my code:

 

   MyAnonThread := TThread.CreateAnonymousThread(
        procedure
        begin
        TThread.NameThreadForDebugging( 'xxxxxxxxxxx-'+'Thread___Client_DB_Tabelle_Multi');    

 

        myResult := DSServerConnector_Loc.WebServer_DB_Tabelle_Multi(jaParam_Iniz,jaElenco_Iniz);
        end);

 

      MyAnonThread.FreeOnTerminate := False;  
      MyAnonThread.Start;

 

      if Assigned(MyAnonThread) then
         begin
         //MyThread.Terminate;
         MyAnonThread.WaitFor;
         FreeAndNil(MyAnonThread);
         end;

 

      Result := myResult;
      end;

 

----------------

image.thumb.png.03951f6d97b7b10640e7c39279a1732f.png

 

 

Edited by Mauro Botta

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
Sign in to follow this  

×