Skip to content

requestAnimationFrame makes the app crash #1720

@sebj54

Description

@sebj54

Environment
Provide version numbers for the following components (information can be retrieved by running tns info in your project folder or by inspecting the package.json of the project):

  • CLI: 8.3.2
  • Cross-platform modules: 8.3.1
  • Android Runtime: 8.3.0
  • Plugin(s): none

Describe the bug

When using requestAnimationFrame in an Android app, the app crashes.

To Reproduce

Use requestAnimationFrame, for instance:

<template>
    <Page>
        <ActionBar>
            <Label text="Home"/>
        </ActionBar>

        <GridLayout>
            <Label class="info" :text="lastTimestamp" />
        </GridLayout>
    </Page>
</template>

<script>
import { requestAnimationFrame } from '@nativescript/core/animation-frame'

export default {
    data() {
        return {
            lastTimestamp: 0,
        }
    },
    mounted() {
        requestAnimationFrame(this.updateTimestamp)
    },
    methods: {
        updateTimestamp(timestamp) {
            this.lastTimestamp = timestamp
            requestAnimationFrame(this.updateTimestamp)
        },
    },
}
</script>

Expected behavior

The app should not crash

Sample project

Minimal reproduction project:

https://github.com/sebj54/ns-debug-raf

git clone https://github.com/sebj54/ns-debug-raf
cd ns-debug-raf
ns debug android

You can see the app does not crash with @nativescript/android@8.2.4 by changing branch:

git checkout 8.2.4
ns clean
ns debug android

Additional context

I'm able to prevent the app from crashing by adding global.__runOnMainThread = undefined in my app.js file. But then, requestAnimationFrame is not recursive.

Not sure it is relevant, but here is my adb logcat:

--------- beginning of system
08-02 14:57:57.243  1518  1690 V DisplayPowerController[0]: Brightness [0.05] reason changing to: 'automatic [ dim ]', previous reason: 'automatic'.
--------- beginning of main
08-02 14:58:00.012 17490 17490 W RemoteViews: Could not find a RemoteViews fitting the current size: 221.96078x186.66667
08-02 14:58:00.012 17490 17490 W RemoteViews: Could not find a RemoteViews fitting the current size: 221.96078x186.66667
08-02 14:58:00.018 17454 17545 I AiAiEcho: Predicting[1]: { Feature:1, creation:2022-08-02T12:36:24.769Z, expiry:2022-08-02T18:36:24.769Z, isExpired: false}
08-02 14:58:00.020 17454 17545 I AiAiEcho: Ranked targets strategy: SORT, count: 1, ranking metadata: { cardId: WEATHER-569377242, card type: 1, update time: 2022-08-02T12:36:24.769Z, expiration time: 2022-08-02T18:36:24.769Z, ranking metadata: RankingMetaData(urgency=0.0, priority=0.0, recency=0.0, rankScore=0.0, importantTimePoints=# mak@7bca4) }
08-02 14:58:00.027 17454 17545 I AiAiEcho: #postPredictionTargets: Sending updates to UISurface lockscreen with targets# 1
08-02 14:58:00.029 17454 17545 I AiAiEcho: #postPredictionTargets: Sending updates to UISurface home with targets# 1
08-02 14:58:00.031 17454 17545 I AiAiEcho: #postPredictionTargets: Sending updates to UISurface media_data_manager with targets# 0
08-02 14:58:00.033 17490 17490 W BcSmartspaceCard: No title view to update
08-02 14:58:00.037  1902  1902 W BcSmartspaceCard: No title view to update
08-02 14:58:05.231 22073 22073 D ProcessState: Binder ioctl to enable oneway spam detection failed: Invalid argument
08-02 14:58:05.510 22080 22080 W ps      : type=1400 audit(0.0:22377): avc: denied { read } for name="passwd" dev="dm-0" ino=6702 scontext=u:r:shell:s0 tcontext=u:object_r:vendor_file:s0 tclass=file permissive=0
08-02 14:58:05.750   900  1857 I LOWI-8.6.0.70: [LOWI-Scan] lowi_close_record:Scan done in 3129208201ms, 3 APs in scan results
08-02 14:58:05.750  1518  4365 D WifiNl80211Manager: Scan result ready event
08-02 14:58:05.751  1518  4365 D WifiNative: Scan result ready event
08-02 14:58:05.861 22095 22095 D ProcessState: Binder ioctl to enable oneway spam detection failed: Invalid argument
08-02 14:58:05.877  1518  4365 D CompatibilityChangeReporter: Compat change id reported: 174042980; UID 10523; state: DISABLED
08-02 14:58:05.878  1518  4365 D CompatibilityChangeReporter: Compat change id reported: 181136395; UID 10523; state: DISABLED
08-02 14:58:05.879  1518  4365 D CompatibilityChangeReporter: Compat change id reported: 174042936; UID 10523; state: DISABLED
08-02 14:58:05.879  1518  4365 D CompatibilityChangeReporter: Compat change id reported: 184838306; UID 10523; state: DISABLED
08-02 14:58:05.880  1518  4365 D CompatibilityChangeReporter: Compat change id reported: 185004937; UID 10523; state: DISABLED
08-02 14:58:05.954  1518  4365 I ProcessStatsService: Added stats: 2022-08-02-09-58-17, over +3h39m55s501ms
08-02 14:58:05.970  1518  4365 I ProcessStatsService: Added stats: 2022-08-01-16-46-00, over +17h12m17s115ms
08-02 14:58:05.986  1518  4365 I ProcessStatsService: Added stats: 2022-07-29-23-23-34, over +2d17h22m25s353ms
08-02 14:58:06.042  1518  4365 I ProcessStatsService: Added stats: 2022-08-02-09-58-17, over +3h39m55s501ms
08-02 14:58:06.071  1518  4365 D IntervalStats: Unable to parse usage stats packages: [497, 500]
08-02 14:58:06.071  1518  4365 D IntervalStats: Unable to parse event packages: [500]
08-02 14:58:06.075 17223 21724 E WakeLock: GCM_HB_ALARM release without a matched acquire!
08-02 14:58:06.123  1518  4353 W TelephonyManager: requestModemActivityInfo: Received an invalid ModemActivityInfo
08-02 14:58:06.123  1518  4353 W BatteryExternalStatsWorker: error reading modem stats:ERROR_INVALID_INFO_RECEIVED
08-02 14:58:06.147  1518  1665 E system_server: Cannot read thread CPU times for PID 1518
08-02 14:58:06.325 22102 22102 D ProcessState: Binder ioctl to enable oneway spam detection failed: Invalid argument
08-02 14:58:06.327  1518  4365 I ActivityTaskManager: START u0 {flg=0x10000000 cmp=org.nativescript.nsdebugraf/com.tns.NativeScriptActivity} from uid 2000
08-02 14:58:06.328  1518  4365 W ActivityTaskManager: Can't find TaskDisplayArea to determine support for multi window. Task id=2374 attached=false
08-02 14:58:06.332  1518  4365 D CompatibilityChangeReporter: Compat change id reported: 197654537; UID 10523; state: ENABLED
08-02 14:58:06.333   572   572 I android.hardware.power-service-qti: Power setMode: 5 to: 1
08-02 14:58:06.334   587   634 E ANDR-PERF-OPTSHANDLER: Perflock resource /proc/sys/kernel/sched_spill_nr_run not supported
08-02 14:58:06.334   587   634 E ANDR-PERF-RESOURCEQS: Failed to apply optimization [3, 11]
08-02 14:58:06.334   587   634 E ANDR-PERF-OPTSHANDLER: Perflock resource /proc/sys/kernel/sched_restrict_cluster_spill not supported
08-02 14:58:06.334   587   634 E ANDR-PERF-RESOURCEQS: Failed to apply optimization [3, 13]
08-02 14:58:06.335  1518  4365 D CompatibilityChangeReporter: Compat change id reported: 168419799; UID 10523; state: DISABLED
08-02 14:58:06.338   522   557 E statsd  : Predicate 5980654721335871649 dropping data for dimension key (10)0x2010101->10523[I] (10)0x30000->*launch*[S] 
08-02 14:58:06.353  1518  1636 D CompatibilityChangeReporter: Compat change id reported: 135634846; UID 10523; state: DISABLED
08-02 14:58:06.354  1518  1636 D CompatibilityChangeReporter: Compat change id reported: 177438394; UID 10523; state: DISABLED
08-02 14:58:06.354  1518  1636 D CompatibilityChangeReporter: Compat change id reported: 135772972; UID 10523; state: DISABLED
08-02 14:58:06.354  1518  1636 D CompatibilityChangeReporter: Compat change id reported: 135754954; UID 10523; state: ENABLED
08-02 14:58:06.354  1518  1650 D CompatibilityChangeReporter: Compat change id reported: 143937733; UID 10523; state: ENABLED
08-02 14:58:06.362  1902  1969 I ContentCaptureHelper: Setting logging level to OFF
08-02 14:58:06.364   524   524 D Zygote  : Forked child process 22107
08-02 14:58:06.366  1518  1650 I ActivityManager: Start proc 22107:org.nativescript.nsdebugraf/u0a523 for pre-top-activity {org.nativescript.nsdebugraf/com.tns.NativeScriptActivity}
08-02 14:58:06.381 22107 22107 I ript.nsdebugra: Late-enabling -Xcheck:jni
08-02 14:58:06.399 16090 16090 E adbd    : failed to connect to socket 'localabstract:org.nativescript.nsdebugraf-livesync': could not connect to localabstract address 'localabstract:org.nativescript.nsdebugraf-livesync'
08-02 14:58:06.425 16090 16095 I adbd    : jdwp connection from 22107
08-02 14:58:06.431 22107 22107 D ProcessState: Binder ioctl to enable oneway spam detection failed: Invalid argument
08-02 14:58:06.453 17981 17981 I GsaVoiceInteractionSrv: Handling ACTION_STOP_HOTWORD
08-02 14:58:06.454 17981 18069 E HwDetectorWithState: (REDACTED) a: %d
08-02 14:58:06.474 22107 22107 D CompatibilityChangeReporter: Compat change id reported: 171979766; UID 10523; state: ENABLED
08-02 14:58:06.787 22107 22107 V GraphicsEnvironment: ANGLE Developer option for 'org.nativescript.nsdebugraf' set to: 'default'
08-02 14:58:06.788 22107 22107 V GraphicsEnvironment: ANGLE GameManagerService for org.nativescript.nsdebugraf: false
08-02 14:58:06.789 22107 22107 V GraphicsEnvironment: Neither updatable production driver nor prerelease driver is supported.
08-02 14:58:06.793 22107 22107 D NetworkSecurityConfig: No Network Security Config specified, using platform default
08-02 14:58:06.795 22107 22107 D NetworkSecurityConfig: No Network Security Config specified, using platform default
08-02 14:58:06.822 22107 22107 I TNS.Runtime: NativeScript Runtime Version 8.3.0, commit no commit sha was provided by build.gradle build
08-02 14:58:06.881 22107 22107 D TNS.Runtime: V8 version 8.3.110.9
08-02 14:58:07.799 22151 22151 D ProcessState: Binder ioctl to enable oneway spam detection failed: Invalid argument
08-02 14:58:07.803  1518  2451 I ActivityManager: Force stopping org.nativescript.nsdebugraf appid=10523 user=0: from pid 22151
08-02 14:58:07.804  1518  2451 I ActivityManager: Killing 22107:org.nativescript.nsdebugraf/u0a523 (adj 0): stop org.nativescript.nsdebugraf due to from pid 22151
08-02 14:58:07.807  1518  2451 W ActivityTaskManager: Force removing ActivityRecord{92f6678 u0 org.nativescript.nsdebugraf/com.tns.NativeScriptActivity t2374 f}}: app died, no saved state
08-02 14:58:07.810  1518  2451 W InputManager-JNI: Input channel object 'd5fbab7 Splash Screen org.nativescript.nsdebugraf (client)' was disposed without first being removed with the input manager!
08-02 14:58:07.816   522   557 E statsd  : Predicate 5980654721335871649 dropping data for dimension key (10)0x2010101->10523[I] (10)0x30000->*launch*[S] 
08-02 14:58:07.822  1518  2451 W ActivityTaskManager: Can't find TaskDisplayArea to determine support for multi window. Task id=2374 attached=false
08-02 14:58:07.822  1518  2451 W ActivityTaskManager: Can't find TaskDisplayArea to determine support for multi window. Task id=2374 attached=false
08-02 14:58:07.832 17490 17490 W RemoteViews: Could not find a RemoteViews fitting the current size: 221.96078x186.66667
08-02 14:58:07.832 17490 17490 W RemoteViews: Could not find a RemoteViews fitting the current size: 221.96078x186.66667
08-02 14:58:07.837  2190  2190 E PhoneInterfaceManager: [PhoneIntfMgr] getCarrierPackageNamesForIntentAndPhone: No UICC
08-02 14:58:07.837  2190  2190 D CarrierSvcBindHelper: No carrier app for: 0
08-02 14:58:07.838  2190  2190 E PhoneInterfaceManager: [PhoneIntfMgr] getCarrierPackageNamesForIntentAndPhone: No UICC
08-02 14:58:07.838  2190  2190 D CarrierSvcBindHelper: No carrier app for: 1
08-02 14:58:07.856 17439 17463 I OpenGLRenderer: Davey! duration=36925ms; Flags=1, FrameTimelineVsyncId=4495611, IntendedVsync=546365189239545, Vsync=546365189239545, InputEventId=0, HandleInputStart=546365190266301, AnimationStart=546365190268280, PerformTraversalsStart=546365190269791, DrawStart=546365209271459, FrameDeadline=546365222572877, FrameInterval=546365190246978, FrameStartTime=16666666, SyncQueued=546365210540678, SyncStart=546365210825522, IssueDrawCommandsStart=546365211488387, SwapBuffers=546365212494533, FrameCompleted=546402115245553, DequeueBufferDuration=24427, QueueBufferDuration=856770, GpuCompleted=546402115245553, SwapBuffersCompleted=546365214260002, DisplayPresentTime=0, 
08-02 14:58:07.856 17981 17981 I GsaVoiceInteractionSrv: Handling ACTION_START_HOTWORD
08-02 14:58:07.857 17981 18069 I GsaVoiceInteractionSrv: (REDACTED) disregardVoiceMatch: %b
08-02 14:58:07.857 17981 18069 I GsaVoiceInteractionSrv: Cannot start hotword, hotword has been explicitly disabled.
08-02 14:58:07.861 17490 17553 D QuickstepModelDelegate: notifyAppTargetEvent action=1 launchLocation=workspace/0/[-1,-1]/[1,1]
08-02 14:58:07.872   572   572 I android.hardware.power-service-qti: Power setMode: 5 to: 0
08-02 14:58:07.875 17488 17488 I GoogleInputMethodService: GoogleInputMethodService.onFinishInput():3220 
08-02 14:58:07.876 17488 17488 I GoogleInputMethodService: GoogleInputMethodService.updateDeviceLockedStatus():2114 repeatCheckTimes = 0, unlocked = true
08-02 14:58:07.877 17488 17488 I GoogleInputMethodService: GoogleInputMethodService.onStartInput():1919 onStartInput(EditorInfo{inputType=0x0(NULL) imeOptions=0x0 privateImeOptions=null actionName=UNSPECIFIED actionLabel=null actionId=0 initialSelStart=-1 initialSelEnd=-1 initialCapsMode=0x0 hintText=null label=null packageName=com.google.android.apps.nexuslauncher fieldId=-1 fieldName=null extras=null}, false)
08-02 14:58:07.877 17488 17488 I GoogleInputMethodService: GoogleInputMethodService.updateDeviceLockedStatus():2114 repeatCheckTimes = 2, unlocked = true
08-02 14:58:07.878  1518  4359 V ActivityManager: Got obituary of 22107:org.nativescript.nsdebugraf
08-02 14:58:07.878 17490 17776 I OpenGLRenderer: Davey! duration=9222825634726ms; Flags=0, FrameTimelineVsyncId=4496192, IntendedVsync=546402128400968, Vsync=546402128400968, InputEventId=0, HandleInputStart=546402129193991, AnimationStart=546402129196752, PerformTraversalsStart=546402129197846, DrawStart=546402140233263, FrameDeadline=546402161734300, FrameInterval=546402129189564, FrameStartTime=16666666, SyncQueued=546402140849097, SyncStart=546402141062795, IssueDrawCommandsStart=546402141431024, SwapBuffers=546402145849410, FrameCompleted=9223372036854775807, DequeueBufferDuration=39479, QueueBufferDuration=837291, GpuCompleted=9223372036854775807, SwapBuffersCompleted=546402147410400, DisplayPresentTime=0, 
08-02 14:58:07.878 17454 17545 I AiAiEcho: Predicting[1]: { Feature:1, creation:2022-08-02T12:36:24.769Z, expiry:2022-08-02T18:36:24.769Z, isExpired: false}
08-02 14:58:07.879 17454 17545 I AiAiEcho: Ranked targets strategy: SORT, count: 1, ranking metadata: { cardId: WEATHER-569377242, card type: 1, update time: 2022-08-02T12:36:24.769Z, expiration time: 2022-08-02T18:36:24.769Z, ranking metadata: RankingMetaData(urgency=0.0, priority=0.0, recency=0.0, rankScore=0.0, importantTimePoints=# mak@7bca4) }
08-02 14:58:07.880   524   524 I Zygote  : Process 22107 exited due to signal 9 (Killed)
08-02 14:58:07.883 17454 17545 I AiAiEcho: #postPredictionTargets: Sending updates to UISurface lockscreen with targets# 1
08-02 14:58:07.883  1518  1659 I libprocessgroup: Successfully killed process cgroup uid 10523 pid 22107 in 77ms
08-02 14:58:07.884 17454 17545 I AiAiEcho: #postPredictionTargets: Sending updates to UISurface home with targets# 1
08-02 14:58:07.884 17454 17545 I AiAiEcho: #postPredictionTargets: Sending updates to UISurface media_data_manager with targets# 0
08-02 14:58:07.885  1902  1902 W BcSmartspaceCard: No title view to update
08-02 14:58:07.890 17490 17490 W BcSmartspaceCard: No title view to update
08-02 14:58:07.954 22164 22164 D ProcessState: Binder ioctl to enable oneway spam detection failed: Invalid argument
08-02 14:58:08.013  1518  2451 I ProcessStatsService: Added stats: 2022-08-02-09-58-17, over +3h39m55s501ms
08-02 14:58:08.029  1518  2451 I ProcessStatsService: Added stats: 2022-08-01-16-46-00, over +17h12m17s115ms
08-02 14:58:08.046  1518  2451 I ProcessStatsService: Added stats: 2022-07-29-23-23-34, over +2d17h22m25s353ms
08-02 14:58:08.098  1518  4359 W WindowManager: Failed looking up window session=Session{59c680a 1902:u0a10158} callers=com.android.server.wm.WindowManagerService.windowForClientLocked:5750 com.android.server.wm.WindowManagerService.relayoutWindow:2227 com.android.server.wm.Session.relayout:235 
08-02 14:58:08.108  1518  4359 W WindowManager: Failed looking up window session=Session{59c680a 1902:u0a10158} callers=com.android.server.wm.WindowManagerService.windowForClientLocked:5750 com.android.server.wm.WindowManagerService.removeWindow:2031 com.android.server.wm.Session.remove:218 
08-02 14:58:08.112  1518  2451 I ProcessStatsService: Added stats: 2022-08-02-09-58-17, over +3h39m55s501ms
08-02 14:58:08.146  1518  2451 D IntervalStats: Unable to parse usage stats packages: [497, 500]
08-02 14:58:08.146  1518  2451 D IntervalStats: Unable to parse event packages: [500]
08-02 14:58:08.191  1518  1549 I system_server: Background young concurrent copying GC freed 659763(29MB) AllocSpace objects, 286(16MB) LOS objects, 47% free, 43MB/82MB, paused 287us,179us total 140.105ms
08-02 14:58:08.194  1518  1551 W System  : A resource failed to call release. 
08-02 14:58:08.195  1518  1551 W System  : A resource failed to call release. 
08-02 14:58:08.195  1518  1551 W System  : A resource failed to call release. 
08-02 14:58:08.195  1518  1551 W System  : A resource failed to call close. 
08-02 14:58:08.196  1518  1551 W System  : A resource failed to call close. 
08-02 14:58:08.196  1518  1551 W System  : A resource failed to call release. 
08-02 14:58:08.205  1518  4359 W TelephonyManager: requestModemActivityInfo: Received an invalid ModemActivityInfo
08-02 14:58:08.205  1518  4359 W BatteryExternalStatsWorker: error reading modem stats:ERROR_INVALID_INFO_RECEIVED
08-02 14:58:08.216  1518  1665 E system_server: Cannot read thread CPU times for PID 1518
08-02 14:58:08.334 22172 22172 D ProcessState: Binder ioctl to enable oneway spam detection failed: Invalid argument
08-02 14:58:08.336  1518  2451 I ActivityTaskManager: START u0 {flg=0x10000000 cmp=org.nativescript.nsdebugraf/com.tns.NativeScriptActivity} from uid 2000
08-02 14:58:08.337  1518  2451 W ActivityTaskManager: Can't find TaskDisplayArea to determine support for multi window. Task id=2375 attached=false
08-02 14:58:08.340   572   572 I android.hardware.power-service-qti: Power setMode: 5 to: 1
08-02 14:58:08.342   587   634 E ANDR-PERF-OPTSHANDLER: Perflock resource /proc/sys/kernel/sched_spill_nr_run not supported
08-02 14:58:08.342   587   634 E ANDR-PERF-RESOURCEQS: Failed to apply optimization [3, 11]
08-02 14:58:08.342   587   634 E ANDR-PERF-OPTSHANDLER: Perflock resource /proc/sys/kernel/sched_restrict_cluster_spill not supported
08-02 14:58:08.342   587   634 E ANDR-PERF-RESOURCEQS: Failed to apply optimization [3, 13]
08-02 14:58:08.343   522   557 E statsd  : Predicate 5980654721335871649 dropping data for dimension key (10)0x2010101->10523[I] (10)0x30000->*launch*[S] 
08-02 14:58:08.359  1518  1636 D CompatibilityChangeReporter: Compat change id reported: 135634846; UID 10523; state: DISABLED
08-02 14:58:08.360  1518  1636 D CompatibilityChangeReporter: Compat change id reported: 177438394; UID 10523; state: DISABLED
08-02 14:58:08.360  1518  1636 D CompatibilityChangeReporter: Compat change id reported: 135772972; UID 10523; state: DISABLED
08-02 14:58:08.360  1518  1636 D CompatibilityChangeReporter: Compat change id reported: 135754954; UID 10523; state: ENABLED
08-02 14:58:08.360  1518  1650 D CompatibilityChangeReporter: Compat change id reported: 143937733; UID 10523; state: ENABLED
08-02 14:58:08.367  1902  1969 I ContentCaptureHelper: Setting logging level to OFF
08-02 14:58:08.370   524   524 D Zygote  : Forked child process 22178
08-02 14:58:08.371  1518  1650 I ActivityManager: Start proc 22178:org.nativescript.nsdebugraf/u0a523 for pre-top-activity {org.nativescript.nsdebugraf/com.tns.NativeScriptActivity}
08-02 14:58:08.387 22178 22178 I ript.nsdebugra: Late-enabling -Xcheck:jni
08-02 14:58:08.434 16090 16095 I adbd    : jdwp connection from 22178
08-02 14:58:08.441 22178 22178 D ProcessState: Binder ioctl to enable oneway spam detection failed: Invalid argument
08-02 14:58:08.449 17981 17981 I GsaVoiceInteractionSrv: Handling ACTION_STOP_HOTWORD
08-02 14:58:08.450 17981 18069 E HwDetectorWithState: (REDACTED) a: %d
08-02 14:58:08.481 22178 22178 D CompatibilityChangeReporter: Compat change id reported: 171979766; UID 10523; state: ENABLED
08-02 14:58:08.507 22179 22179 W ps      : type=1400 audit(0.0:22378): avc: denied { read } for name="passwd" dev="dm-0" ino=6702 scontext=u:r:shell:s0 tcontext=u:object_r:vendor_file:s0 tclass=file permissive=0
08-02 14:58:08.559 16090 16090 E adbd    : failed to connect to socket 'localabstract:org.nativescript.nsdebugraf-livesync': could not connect to localabstract address 'localabstract:org.nativescript.nsdebugraf-livesync'
08-02 14:58:08.810 22178 22178 V GraphicsEnvironment: ANGLE Developer option for 'org.nativescript.nsdebugraf' set to: 'default'
08-02 14:58:08.811 22178 22178 V GraphicsEnvironment: ANGLE GameManagerService for org.nativescript.nsdebugraf: false
08-02 14:58:08.811 22178 22178 V GraphicsEnvironment: Neither updatable production driver nor prerelease driver is supported.
08-02 14:58:08.815 22178 22178 D NetworkSecurityConfig: No Network Security Config specified, using platform default
08-02 14:58:08.817 22178 22178 D NetworkSecurityConfig: No Network Security Config specified, using platform default
08-02 14:58:08.843 22178 22178 I TNS.Runtime: NativeScript Runtime Version 8.3.0, commit no commit sha was provided by build.gradle build
08-02 14:58:08.901 22178 22178 D TNS.Runtime: V8 version 8.3.110.9
08-02 14:58:09.624 22216 22216 D ProcessState: Binder ioctl to enable oneway spam detection failed: Invalid argument
08-02 14:58:10.004 22224 22224 W ps      : type=1400 audit(0.0:22379): avc: denied { read } for name="passwd" dev="dm-0" ino=6702 scontext=u:r:shell:s0 tcontext=u:object_r:vendor_file:s0 tclass=file permissive=0
08-02 14:58:10.312 22178 22178 I JS      : [HMR][6a1e5bd3f55b01e3247a] boot | HMR Enabled - waiting for changes...
08-02 14:58:10.310 22228 22228 W ps      : type=1400 audit(0.0:22380): avc: denied { read } for name="passwd" dev="dm-0" ino=6702 scontext=u:r:shell:s0 tcontext=u:object_r:vendor_file:s0 tclass=file permissive=0
08-02 14:58:10.672 22178 22178 I JS      : NativeScript-Vue has "Vue.config.silent" set to true, to see output logs set it to false.
08-02 14:58:10.856 22178 22178 W ript.nsdebugra: Accessing hidden method Landroid/view/View;->computeFitSystemWindows(Landroid/graphics/Rect;Landroid/graphics/Rect;)Z (unsupported, reflection, allowed)
08-02 14:58:10.858 22178 22178 W ript.nsdebugra: Accessing hidden method Landroid/view/ViewGroup;->makeOptionalFitsSystemWindows()V (unsupported, reflection, allowed)
08-02 14:58:11.217 22178 22230 I AdrenoGLES-0: QUALCOMM build                   : 03dd3ba, I13854cb805
08-02 14:58:11.217 22178 22230 I AdrenoGLES-0: Build Date                       : 10/28/20
08-02 14:58:11.217 22178 22230 I AdrenoGLES-0: OpenGL ES Shader Compiler Version: EV031.32.02.02
08-02 14:58:11.217 22178 22230 I AdrenoGLES-0: Local Branch                     : mybrancheb191cbf-5661-f183-9b13-08f1eafda2d8
08-02 14:58:11.217 22178 22230 I AdrenoGLES-0: Remote Branch                    : quic/gfx-adreno.lnx.1.0.r122-rel
08-02 14:58:11.217 22178 22230 I AdrenoGLES-0: Remote Branch                    : NONE
08-02 14:58:11.217 22178 22230 I AdrenoGLES-0: Reconstruct Branch               : NOTHING
08-02 14:58:11.217 22178 22230 I AdrenoGLES-0: Build Config                     : S L 10.0.7 AArch64
08-02 14:58:11.217 22178 22230 I AdrenoGLES-0: Driver Path                      : /system/vendor/lib64/egl/libGLESv2_adreno.so
08-02 14:58:11.226 22178 22230 I AdrenoGLES-0: PFP: 0x005ff087, ME: 0x005ff063
08-02 14:58:11.230 22178 22230 D hw-ProcessState: Binder ioctl to enable oneway spam detection failed: Invalid argument
08-02 14:58:11.243   568   568 I SDM     : HWCDisplay::GetColorModeCount: Supported color mode count = 1
08-02 14:58:11.243   568   568 I SDM     : HWCDisplay::GetColorModes: Supports color mode[0] = 0
08-02 14:58:11.243   624   688 E HWComposer: getSupportedContentTypes: getSupportedContentTypes failed for display 0: Unsupported (8)
08-02 14:58:11.240 22178 22178 W RenderThread: type=1400 audit(0.0:22381): avc: denied { read } for name="passwd" dev="dm-0" ino=6702 scontext=u:r:untrusted_app:s0:c11,c258,c512,c768 tcontext=u:object_r:vendor_file:s0 tclass=file permissive=0 app=org.nativescript.nsdebugraf
08-02 14:58:11.245   448   448 I hwservicemanager: getTransport: Cannot find entry android.hardware.graphics.mapper@4.0::IMapper/default in either framework or device VINTF manifest.
08-02 14:58:11.246 22178 22234 I Gralloc4: mapper 4.x is not supported
08-02 14:58:11.246   448   448 I hwservicemanager: getTransport: Cannot find entry android.hardware.graphics.mapper@3.0::IMapper/default in either framework or device VINTF manifest.
08-02 14:58:11.246 22178 22234 W Gralloc3: mapper 3.x is not supported
08-02 14:58:11.249   448   448 I hwservicemanager: getTransport: Cannot find entry android.hardware.graphics.allocator@4.0::IAllocator/default in either framework or device VINTF manifest.
08-02 14:58:11.249 22178 22234 W Gralloc4: allocator 4.x is not supported
08-02 14:58:11.250   448   448 I hwservicemanager: getTransport: Cannot find entry android.hardware.graphics.allocator@3.0::IAllocator/default in either framework or device VINTF manifest.
08-02 14:58:11.250 22178 22234 W Gralloc3: allocator 3.x is not supported
08-02 14:58:11.251 22178 22234 I Gralloc2: Adding additional valid usage bits: 0x202000
08-02 14:58:11.329  1518  2451 I WindowManager: WIN DEATH: Window{fadc598 u0 org.nativescript.nsdebugraf/com.tns.NativeScriptActivity}
08-02 14:58:11.330  1518  2451 W InputManager-JNI: Input channel object 'fadc598 org.nativescript.nsdebugraf/com.tns.NativeScriptActivity (client)' was disposed without first being removed with the input manager!
08-02 14:58:11.330  1518  2159 I ActivityManager: Process org.nativescript.nsdebugraf (pid 22178) has died: fg  TOP 
08-02 14:58:11.335   524   524 I Zygote  : Process 22178 exited due to signal 11 (Segmentation fault)
08-02 14:58:11.335  1518  1659 I libprocessgroup: Successfully killed process cgroup uid 10523 pid 22178 in 5ms
08-02 14:58:11.337  1518  2159 W ActivityTaskManager: Force removing ActivityRecord{36c4b38 u0 org.nativescript.nsdebugraf/com.tns.NativeScriptActivity t2375}: app died, no saved state
08-02 14:58:11.340  1518  2159 W InputManager-JNI: Input channel object '42a7677 Splash Screen org.nativescript.nsdebugraf (client)' was disposed without first being removed with the input manager!
08-02 14:58:11.344   624   624 E BpTransactionCompletedListener: Failed to transact (-32)
08-02 14:58:11.344   522   557 E statsd  : Predicate 5980654721335871649 dropping data for dimension key (10)0x2010101->10523[I] (10)0x30000->*launch*[S] 
08-02 14:58:11.347  1518  2159 W ActivityTaskManager: Can't find TaskDisplayArea to determine support for multi window. Task id=2375 attached=false
08-02 14:58:11.347  1518  2159 W ActivityTaskManager: Can't find TaskDisplayArea to determine support for multi window. Task id=2375 attached=false
08-02 14:58:11.350  1518  1636 W ActivityManager: setHasOverlayUi called on unknown pid: 22178
08-02 14:58:11.365 17439 17463 I OpenGLRenderer: Davey! duration=26983ms; Flags=1, FrameTimelineVsyncId=4495901, IntendedVsync=546378653160808, Vsync=546378653160808, InputEventId=0, HandleInputStart=546378653782486, AnimationStart=546378653784309, PerformTraversalsStart=546378653785195, DrawStart=546378659550664, FrameDeadline=546378686494140, FrameInterval=546378653775767, FrameStartTime=16666666, SyncQueued=546378660883476, SyncStart=546378661035560, IssueDrawCommandsStart=546378661931862, SwapBuffers=546378662982123, FrameCompleted=546405637160174, DequeueBufferDuration=46198, QueueBufferDuration=900677, GpuCompleted=546405637160174, SwapBuffersCompleted=546378665618112, DisplayPresentTime=0, 
08-02 14:58:11.369 17490 17490 W RemoteViews: Could not find a RemoteViews fitting the current size: 221.96078x186.66667
08-02 14:58:11.369 17490 17490 W RemoteViews: Could not find a RemoteViews fitting the current size: 221.96078x186.66667
08-02 14:58:11.383 17981 17981 I GsaVoiceInteractionSrv: Handling ACTION_START_HOTWORD
08-02 14:58:11.383 17490 17528 I OpenGLRenderer: Davey! duration=9222825631214ms; Flags=1, FrameTimelineVsyncId=4496329, IntendedVsync=546405640162041, Vsync=546405640162041, InputEventId=0, HandleInputStart=546405640834133, AnimationStart=546405640835227, PerformTraversalsStart=546405640835800, DrawStart=546405649816061, FrameDeadline=546405673495373, FrameInterval=546405640830175, FrameStartTime=16666666, SyncQueued=546405651409863, SyncStart=546405651513509, IssueDrawCommandsStart=546405651738822, SwapBuffers=546405654826582, FrameCompleted=9223372036854775807, DequeueBufferDuration=28125, QueueBufferDuration=741719, GpuCompleted=9223372036854775807, SwapBuffersCompleted=546405656283562, DisplayPresentTime=0, 
08-02 14:58:11.383 17981 18069 I GsaVoiceInteractionSrv: (REDACTED) disregardVoiceMatch: %b
08-02 14:58:11.383 17981 18069 I GsaVoiceInteractionSrv: Cannot start hotword, hotword has been explicitly disabled.
08-02 14:58:11.401 17490 17553 D QuickstepModelDelegate: notifyAppTargetEvent action=1 launchLocation=workspace/0/[-1,-1]/[1,1]
08-02 14:58:11.409 17488 17488 I GoogleInputMethodService: GoogleInputMethodService.onFinishInput():3220 
08-02 14:58:11.409 17488 17488 I GoogleInputMethodService: GoogleInputMethodService.updateDeviceLockedStatus():2114 repeatCheckTimes = 0, unlocked = true
08-02 14:58:11.409 17488 17488 I GoogleInputMethodService: GoogleInputMethodService.onStartInput():1919 onStartInput(EditorInfo{inputType=0x0(NULL) imeOptions=0x0 privateImeOptions=null actionName=UNSPECIFIED actionLabel=null actionId=0 initialSelStart=-1 initialSelEnd=-1 initialCapsMode=0x0 hintText=null label=null packageName=com.google.android.apps.nexuslauncher fieldId=-1 fieldName=null extras=null}, false)
08-02 14:58:11.410 17488 17488 I GoogleInputMethodService: GoogleInputMethodService.updateDeviceLockedStatus():2114 repeatCheckTimes = 2, unlocked = true
08-02 14:58:11.416 17454 17545 I AiAiEcho: Predicting[1]: { Feature:1, creation:2022-08-02T12:36:24.769Z, expiry:2022-08-02T18:36:24.769Z, isExpired: false}
08-02 14:58:11.417 17454 17545 I AiAiEcho: Ranked targets strategy: SORT, count: 1, ranking metadata: { cardId: WEATHER-569377242, card type: 1, update time: 2022-08-02T12:36:24.769Z, expiration time: 2022-08-02T18:36:24.769Z, ranking metadata: RankingMetaData(urgency=0.0, priority=0.0, recency=0.0, rankScore=0.0, importantTimePoints=# mak@7bca4) }
08-02 14:58:11.422 17454 17545 I AiAiEcho: #postPredictionTargets: Sending updates to UISurface lockscreen with targets# 1
08-02 14:58:11.423 17454 17545 I AiAiEcho: #postPredictionTargets: Sending updates to UISurface home with targets# 1
08-02 14:58:11.424 17454 17545 I AiAiEcho: #postPredictionTargets: Sending updates to UISurface media_data_manager with targets# 0
08-02 14:58:11.424  1902  1902 W BcSmartspaceCard: No title view to update
08-02 14:58:11.430 17490 17490 W BcSmartspaceCard: No title view to update
08-02 14:58:11.449   572   572 I android.hardware.power-service-qti: Power setMode: 5 to: 0
08-02 14:58:11.616  1518  4359 W WindowManager: Failed looking up window session=Session{59c680a 1902:u0a10158} callers=com.android.server.wm.WindowManagerService.windowForClientLocked:5750 com.android.server.wm.WindowManagerService.relayoutWindow:2227 com.android.server.wm.Session.relayout:235 
08-02 14:58:11.619  1518  4359 W WindowManager: Failed looking up window session=Session{59c680a 1902:u0a10158} callers=com.android.server.wm.WindowManagerService.windowForClientLocked:5750 com.android.server.wm.WindowManagerService.removeWindow:2031 com.android.server.wm.Session.remove:218 
08-02 14:58:16.516 18566 18985 I PlayCommon: [111] adru.j(22): Preparing logs for uploading
08-02 14:58:16.519 18566 18985 W PlayCommon: [111] adru.l(1): No account for auth token provided
08-02 14:58:16.520 18566 18985 I PlayCommon: [111] adru.j(163): Connecting to server: https://play.googleapis.com/play/log?format=raw&proto_v2=true
08-02 14:58:18.144  2160  2160 D QtiCarrierConfigHelper: WARNING, no carrier configs on phone Id: 0
08-02 14:58:18.148  1902  6646 D PowerUI : can't show warning due to - plugged: true status unknown: false
08-02 14:58:18.154  1902  1902 D PowerNotificationWarningsGoogleImpl: onReceive: android.intent.action.BATTERY_CHANGED
08-02 14:58:18.156  1902  1902 D BatteryInfoBroadcast: onReceive: android.intent.action.BATTERY_CHANGED isPowerSaveMode: false
08-02 14:58:18.156  1902  1902 D BatteryDefenderNotification: isPlugged: true | isOverheated: false | defenderEnabled: false | isCharged: false
08-02 14:58:18.350 18566 18985 I PlayCommon: [111] adru.j(196): Successfully uploaded logs.

I was thinking the error was android.os.DeadObjectException when I first noticed it in my main project, but I'm not sure anymore now.

Feel free to let me know if you want me to test anything.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions