Skip to content
This repository has been archived by the owner on Oct 27, 2020. It is now read-only.

Assertion failed on RC controller launch activity #131

Open
technova12611 opened this issue Nov 14, 2019 · 0 comments
Open

Assertion failed on RC controller launch activity #131

technova12611 opened this issue Nov 14, 2019 · 0 comments

Comments

@technova12611
Copy link

Recently we got the following error a few times. Could be a timing issue?

11-13 17:22:13.146  8591  8591 D Uvc     : [jni.cpp:72] JNI_OnLoad()...
11-13 17:22:13.146  8591  8591 D Uvc     : [JniEnv.h:32] ScopedJniEnv::onJniLoad()...
11-13 17:22:13.146  8591  8591 D Uvc     : [JniEnv.h:32] ...ScopedJniEnv::onJniLoad()
11-13 17:22:13.146  8591  8591 D Uvc     : [jni.cpp:72] ...JNI_OnLoad()
11-13 17:22:13.225  8591  8591 V AppUtil : initializing: getExternalStorageDirectory()=/storage/emulated/0
11-13 17:22:13.236  8591  8591 I AppUtil : found usbFileSystemRoot: /dev/bus/usb
11-13 17:22:13.274  8591  8625 V RobotCore: saving logcat to /storage/emulated/0/robotControllerLog.txt
11-13 17:22:13.274  8591  8625 V RobotCore: logging command line: exec logcat -f /storage/emulated/0/robotControllerLog.txt -r4096 -n4 -v threadtime UsbRequestJNI:S UsbRequest:S art:W ThreadPool:W System:W ExtendedExtractor:W OMXClient:W MediaPlayer:W dalvikvm:W  *:V
11-13 17:22:13.300  8591  8591 V AppUtil : rootActivity=FtcRobotControllerActivity
11-13 17:22:13.305  8591  8591 V RCActivity: Redirecting to permission validator
11-13 17:22:13.396  8591  8625 I RobotCore: Done running ps
11-13 17:22:13.416  8591  8591 I PermissionValidatorActivity: onCreate
11-13 17:22:13.448  8631  8631 W sh      : type=1400 audit(0.0:218): avc: denied { read } for uid=10146 name="/" dev="rootfs" ino=2 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:rootfs:s0 tclass=dir permissive=0
11-13 17:22:13.739  8591  8591 I PermissionValidatorActivity: onStart
11-13 17:22:13.744  8591  8591 I PermissionValidator: Checking permission for android.permission.WRITE_EXTERNAL_STORAGE
11-13 17:22:13.836  8591  8591 I PermissionValidator:     Granted: android.permission.WRITE_EXTERNAL_STORAGE
11-13 17:22:13.837  8591  8591 I PermissionValidator: Checking permission for android.permission.READ_EXTERNAL_STORAGE
11-13 17:22:13.837  8591  8591 I PermissionValidator:     Granted: android.permission.READ_EXTERNAL_STORAGE
11-13 17:22:13.837  8591  8591 I PermissionValidator: Checking permission for android.permission.CAMERA
11-13 17:22:13.837  8591  8591 I PermissionValidator:     Granted: android.permission.CAMERA
11-13 17:22:13.838  8591  8591 I PermissionValidator: Checking permission for android.permission.ACCESS_COARSE_LOCATION
11-13 17:22:13.838  8591  8591 I PermissionValidator:     Granted: android.permission.ACCESS_COARSE_LOCATION
11-13 17:22:13.843  8591  8591 V ServiceStarter: attempting to start service MediaTransferProtocolMonitorService
11-13 17:22:13.857  8591  8591 V ServiceStarter: started service MediaTransferProtocolMonitorService
11-13 17:22:13.857  8591  8591 V ServiceStarter: attempting to start service OnBotJavaService
11-13 17:22:13.879  8591  8591 V ServiceStarter: started service OnBotJavaService
11-13 17:22:13.879  8591  8591 I PermissionValidatorActivity: All permissions validated.  Starting RobotController
11-13 17:22:13.902  8591  8591 V MTPMonitorService: onCreate()
11-13 17:22:13.902  8591  8591 V MTPMonitorService: onStartCommand() intent=Intent { cmp=com.qualcomm.ftcrobotcontroller/org.firstinspires.ftc.robotcore.internal.files.MediaTransferProtocolMonitorService } flags=0x0 startId=1
11-13 17:22:13.906  8591  8591 V MTPMonitor: observing: /storage/emulated/0
11-13 17:22:14.220  8591  8591 V OnBotJavaService: onCreate()
11-13 17:22:14.221  8591  8591 V OnBotJavaService: onStartCommand() intent=Intent { cmp=com.qualcomm.ftcrobotcontroller/org.firstinspires.ftc.onbotjava.OnBotJavaService } flags=0x0 startId=1
11-13 17:22:14.221  8591  8591 V OnBotJava: OnBotJavaManager::static
11-13 17:22:15.026  8591  8591 V OnBotJava: ctor()...
11-13 17:22:15.028  8591  8591 V OnBotJava: ...ctor()
11-13 17:22:15.034  8591  8591 V RCActivity: Permissions validated already
11-13 17:22:15.034  8591  8591 V RCActivity: onCreate()
11-13 17:22:15.038  8591  8591 V RCActivity: rootActivity is of class FtcRobotControllerActivity
11-13 17:22:15.041  8591  8591 V RCActivity: launchActivity is of class class org.firstinspires.ftc.robotcontroller.internal.PermissionValidatorWrapper
11-13 17:22:15.041  8591  8591 F Assert  : assertion failed
11-13 17:22:15.047  8591  8591 E Assert  : java.lang.RuntimeException: assertion failed
11-13 17:22:15.052  8591  8591 E Assert  : 	at org.firstinspires.ftc.robotcore.internal.system.Assert.assertFailed(Assert.java:127)
11-13 17:22:15.055  8591  8591 E Assert  : 	at org.firstinspires.ftc.robotcore.internal.system.Assert.assertTrue(Assert.java:52)
11-13 17:22:15.058  8591  8591 E Assert  : 	at org.firstinspires.ftc.robotcontroller.internal.FtcRobotControllerActivity.onCreate(FtcRobotControllerActivity.java:262)
11-13 17:22:15.063  8591  8591 E Assert  : 	at android.app.Activity.performCreate(Activity.java:6698)
11-13 17:22:15.064  8591  8591 E Assert  : 	at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1140)
11-13 17:22:15.065  8591  8591 E Assert  : 	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2643)
11-13 17:22:15.067  8591  8591 E Assert  : 	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2755)
11-13 17:22:15.068  8591  8591 E Assert  : 	at android.app.ActivityThread.-wrap12(ActivityThread.java)
11-13 17:22:15.069  8591  8591 E Assert  : 	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1495)
11-13 17:22:15.070  8591  8591 E Assert  : 	at android.os.Handler.dispatchMessage(Handler.java:102)
11-13 17:22:15.070  8591  8591 E Assert  : 	at android.os.Looper.loop(Looper.java:154)
11-13 17:22:15.073  8591  8591 E Assert  : 	at android.app.ActivityThread.main(ActivityThread.java:6196)
11-13 17:22:15.074  8591  8591 E Assert  : 	at java.lang.reflect.Method.invoke(Native Method)
11-13 17:22:15.075  8591  8591 E Assert  : 	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:888)
11-13 17:22:15.076  8591  8591 E Assert  : 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:778)
11-13 17:22:15.083  8591  8681 V CallbackLooper: thread=667
11-13 17:22:15.087  8591  8591 V NetDiscover_wifiDirectAgent: doStart()...
11-13 17:22:15.091  8591  8681 V NetDiscover_wifiDirectAgent_bcast: wifiP2pEnabled=true
11-13 17:22:15.093  8591  8591 V NetDiscover_wifiDirectAgent: ...doStart()
11-13 17:22:15.094  8591  8591 V NetDiscover_name: doStart()...
11-13 17:22:15.094  8591  8591 V NetDiscover_name: ...doStart()
11-13 17:22:15.095  8591  8591 V NetDiscover_prefremrc: ----- all preferences -----
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant