Jump to content
Sign in to follow this  
Mauro Botta

Delphi 12.3 - Crash Android APP - APP_SCOUT_WARNING

Recommended Posts

Hi,  

 

I have Xiaomi Poco phone show me some times this error ( crash - close app ) after a Datasnap call,
 

Enter APP_SCOUT_WARNING  State

Currrent Message duration = 2501 ms

 

 

 

Thank you at all Delphi Developers of this forum!!

 

Any hint ?

 

Mauro

 

code:

 

    MyAnonThread_DC := TThread.CreateAnonymousThread(
               procedure
               begin

 

               CALL_DS;

         

               end);

             MyAnonThread_DC.FreeOnTerminate := False;
             MyAnonThread_DC.Start;

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

 

error:

 

Enter APP_SCOUT_WARNING State
2025-11-28 12:21:57.592 17988-18300 MIUIScout App           com.xxxxxxxxxxxxxxxxxx               W   (Current message: duration=2501ms seq=42196 h=android.os.Handler c=$Proxy10)
2025-11-28 12:21:57.593 17988-18300 AppScoutStateMachine    com.xxxxxxxxxxxxxxxxxx               D  dump trace dirName = 2025-11-28-12-21-57-17988-APP_SCOUT_WARNING-com.xxxxxxxxxxxxxxxxxx
2025-11-28 12:21:57.594 17988-18458 MIUIScout App           com.xxxxxxxxxxxxxxxxxx               W  Event:APP_SCOUT_WARNING Thread:main backtrace:
                                                                                                        at java.lang.reflect.Executable.getParameterTypesInternal(Native Method)
                                                                                                        at java.lang.reflect.Method.getParameterTypes(Method.java:186)
                                                                                                        at com.embarcadero.rtl.ProxyInterface.invoke(ProxyInterface.java:20)
                                                                                                        at java.lang.reflect.Proxy.invoke(Proxy.java:1006)
                                                                                                        at $Proxy20.onTextChanged(Unknown Source)
                                                                                                        at android.widget.TextView.sendOnTextChanged(TextView.java:12853)
                                                                                                        at android.widget.TextView.setText(TextView.java:7513)
                                                                                                        at android.widget.TextView.setText(TextView.java:7318)
                                                                                                        at android.widget.EditText.setText(EditText.java:196)
                                                                                                        at com.embarcadero.rtl.ProxyInterface.dispatchToNative(Native Method)
                                                                                                        at com.embarcadero.rtl.ProxyInterface.invoke(ProxyInterface.java:20)
                                                                                                        at java.lang.reflect.Proxy.invoke(Proxy.java:1006)
                                                                                                        at $Proxy10.run(Unknown Source)
                                                                                                        at android.os.Handler.handleCallback(Handler.java:959)
                                                                                                        at android.os.Handler.dispatchMessage(Handler.java:100)
                                                                                                        at android.os.Looper.loopOnce(Looper.java:249)
                                                                                                        at android.os.Looper.loop(Looper.java:337)
                                                                                                        at android.app.ActivityThread.main(ActivityThread.java:9493)
                                                                                                        at java.lang.reflect.Method.invoke(Native Method)
                                                                                                        at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:636)
                                                                                                        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1005)

 

Skipped 191 frames!  The application may be doing too much work on its main thread.
D  invoke error.
I  Davey! duration=3218ms; Flags=32, FrameTimelineVsyncId=277378, IntendedVsync=2578546397830, Vsync=2581729654254, InputEventId=0, HandleInputStart=2581732212153, AnimationStart=2581732218922, PerformTraversalsStart=2581750595537, DrawStart=2581756186845, FrameDeadline=2578580018421, FrameInterval=2581730751153, FrameStartTime=16666264, SyncQueued=2581758298307, SyncStart=2581758591768, IssueDrawCommandsStart=2581759132461, SwapBuffers=2581763604691, FrameCompleted=2581764979768, DequeueBufferDuration=71462, QueueBufferDuration=787924, GpuCompleted=2581764670922, SwapBuffersCompleted=2581764979768, DisplayPresentTime=78807040, CommandSubmissionCompleted=2581763604691, 
I  Wrote stack traces to tombstoned
W  Enter APP_SCOUT_SLOW state



 

 

image.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  

×