Trying to debug Aurora Store (anbox)



  • Any ideas on how to do this?



  • I suppose it would help if you started by describing the problem you're trying to debug, I guess. But, running adb logcat in terminal app should work, to get the system log from the anbox container, I guess.



  • Thanks, here is log from when Aurora is loaded:

    04-25 07:01:51.905   112   124 I ActivityManager: Start proc 585:com.aurora.store/u0a51 for broadcast com.aurora.store/.receiver.BootReceiver
    04-25 07:01:51.908   585   585 W art     : Unknown instruction set features for ARM CPU variant (generic) using conservative defaults
    04-25 07:01:52.141   585   585 I ACRA    : ACRA is enabled for com.aurora.store, initializing...
    04-25 07:01:52.774   585   585 I Aurora Store: Periodic update preferences updated
    04-25 07:01:52.774   112   404 I BroadcastQueue: Delay finish: com.aurora.store/.receiver.BootReceiver
    04-25 07:01:52.775   585   585 I Aurora Store: Notification Service Started
    04-25 07:01:52.850   585   585 D NetworkSecurityConfig: No Network Security Config specified, using platform default
    04-25 07:02:05.620   490   511 D InitAlarmsService: Clearing and rescheduling alarms.
    04-25 07:02:07.777   112   126 I ActivityManager: Waited long enough for: ServiceRecord{8faae3 u0 com.aurora.store/.service.NotificationService}
    04-25 07:02:07.777   112   126 I BroadcastQueue: Resuming delayed broadcast
    04-25 07:02:07.799   112   126 I ActivityManager: Start proc 606:org.fdroid.fdroid/u0a50 for broadcast org.fdroid.fdroid/.receiver.StartupReceiver
    04-25 07:02:07.800   606   606 W art     : Unknown instruction set features for ARM CPU variant (generic) using conservative defaults
    04-25 07:02:07.832   606   606 W System  : ClassLoader referenced unknown path: /data/app/org.fdroid.fdroid-1/lib/arm
    04-25 07:02:08.056   606   606 I ACRA    : ACRA is enabled for org.fdroid.fdroid, initializing...
    04-25 07:02:08.063   606   606 I InstalledAppProvider: selectNotSystemSignature: systemSignature == null, querying for it
    04-25 07:02:08.080   606   606 I InstalledAppProvider: excluding InstalledApps signed by system signatures
    04-25 07:02:08.287   112   282 I BroadcastQueue: Delay finish: org.fdroid.fdroid/.receiver.StartupReceiver
    04-25 07:02:08.333   606   630 I SDCardScannerService: getExternalFilesDirs /storage/emulated/0/Android/data/org.fdroid.fdroid/files
    04-25 07:02:08.333   606   630 I SDCardScannerService: getExternalFilesDirs /storage/emulated/0/Android/data/org.fdroid.fdroid/files
    04-25 07:02:08.335   606   630 I SDCardScannerService: sdcard files []
    04-25 07:02:10.826   606   628 D InstalledAppProviderSer: insertAppIntoDb android
    04-25 07:02:10.962   606   628 D InstalledAppProviderSer: insertAppIntoDb android.ext.services
    04-25 07:02:11.005   606   628 D InstalledAppProviderSer: insertAppIntoDb android.ext.shared
    04-25 07:02:11.086   606   628 D InstalledAppProviderSer: insertAppIntoDb com.android.backupconfirm
    04-25 07:02:11.133   606   628 D InstalledAppProviderSer: insertAppIntoDb com.android.bluetooth
    04-25 07:02:11.180   606   628 D InstalledAppProviderSer: insertAppIntoDb com.android.bluetoothmidiservice
    04-25 07:02:11.223   606   628 D InstalledAppProviderSer: insertAppIntoDb com.android.bookmarkprovider
    04-25 07:02:11.266   606   628 D InstalledAppProviderSer: insertAppIntoDb com.android.calculator2
    04-25 07:02:11.425   606   628 D InstalledAppProviderSer: insertAppIntoDb com.android.calendar
    04-25 07:02:12.707   606   628 D InstalledAppProviderSer: insertAppIntoDb com.android.camera2
    04-25 07:02:12.779   606   628 D InstalledAppProviderSer: insertAppIntoDb com.android.captiveportallogin
    04-25 07:02:12.869   606   628 D InstalledAppProviderSer: insertAppIntoDb com.android.certinstaller
    04-25 07:02:13.489   606   628 D InstalledAppProviderSer: insertAppIntoDb com.android.contacts
    04-25 07:02:13.531   606   628 D InstalledAppProviderSer: insertAppIntoDb com.android.cts.ctsshim
    04-25 07:02:13.577   606   628 D InstalledAppProviderSer: insertAppIntoDb com.android.cts.priv.ctsshim
    04-25 07:02:13.621   606   628 D InstalledAppProviderSer: insertAppIntoDb com.android.defcontainer
    04-25 07:02:13.800   606   628 D InstalledAppProviderSer: insertAppIntoDb com.android.deskclock
    04-25 07:02:13.915   606   628 D InstalledAppProviderSer: insertAppIntoDb com.android.documentsui
    04-25 07:02:13.961   606   628 D InstalledAppProviderSer: insertAppIntoDb com.android.dreams.basic
    04-25 07:02:14.012   606   628 D InstalledAppProviderSer: insertAppIntoDb com.android.dreams.phototable
    04-25 07:02:14.064   606   628 D InstalledAppProviderSer: insertAppIntoDb com.android.egg
    04-25 07:02:14.442   606   628 D InstalledAppProviderSer: insertAppIntoDb com.android.email
    04-25 07:02:14.504   606   628 D InstalledAppProviderSer: insertAppIntoDb com.android.externalstorage
    04-25 07:02:15.287   606   628 D InstalledAppProviderSer: insertAppIntoDb com.android.gallery3d
    04-25 07:02:15.353   606   628 D InstalledAppProviderSer: insertAppIntoDb com.android.htmlviewer
    04-25 07:02:15.419   606   628 D InstalledAppProviderSer: insertAppIntoDb com.android.inputdevices
    04-25 07:02:17.335   606   628 D InstalledAppProviderSer: insertAppIntoDb com.android.inputmethod.latin
    04-25 07:02:17.422   606   628 D InstalledAppProviderSer: insertAppIntoDb com.android.keychain
    04-25 07:02:17.588   606   628 D InstalledAppProviderSer: insertAppIntoDb com.android.location.fused
    04-25 07:02:17.722   606   628 D InstalledAppProviderSer: insertAppIntoDb com.android.managedprovisioning
    04-25 07:02:17.729   606   628 I art     : Starting a blocking GC Alloc
    04-25 07:02:17.730   606   628 I art     : Starting a blocking GC Alloc
    04-25 07:02:17.815   606   628 D InstalledAppProviderSer: insertAppIntoDb com.android.mms.service
    04-25 07:02:17.879   606   628 D InstalledAppProviderSer: insertAppIntoDb com.android.mtp
    04-25 07:02:17.917   606   628 D InstalledAppProviderSer: insertAppIntoDb com.android.music
    04-25 07:02:17.999   606   628 D InstalledAppProviderSer: insertAppIntoDb com.android.musicfx
    04-25 07:02:18.052   606   628 D InstalledAppProviderSer: insertAppIntoDb com.android.onetimeinitializer
    04-25 07:02:18.528   606   628 D InstalledAppProviderSer: insertAppIntoDb com.android.packageinstaller
    04-25 07:02:18.565   606   628 D InstalledAppProviderSer: insertAppIntoDb com.android.pacprocessor
    04-25 07:02:19.029   606   628 D InstalledAppProviderSer: insertAppIntoDb com.android.phone
    04-25 07:02:19.077   606   628 D InstalledAppProviderSer: insertAppIntoDb com.android.printservice.recommendation
    04-25 07:02:19.144   606   628 D InstalledAppProviderSer: insertAppIntoDb com.android.printspooler
    04-25 07:02:19.187   606   628 D InstalledAppProviderSer: insertAppIntoDb com.android.providers.blockednumber
    04-25 07:02:19.227   606   628 D InstalledAppProviderSer: insertAppIntoDb com.android.providers.calendar
    04-25 07:02:19.262   606   628 D InstalledAppProviderSer: insertAppIntoDb com.android.providers.contacts
    04-25 07:02:19.320   606   628 D InstalledAppProviderSer: insertAppIntoDb com.android.providers.downloads
    04-25 07:02:19.390   606   628 D InstalledAppProviderSer: insertAppIntoDb com.android.providers.downloads.ui
    04-25 07:02:19.429   606   628 D InstalledAppProviderSer: insertAppIntoDb com.android.providers.media
    04-25 07:02:19.491   606   628 D InstalledAppProviderSer: insertAppIntoDb com.android.providers.settings
    04-25 07:02:19.568   606   628 D InstalledAppProviderSer: insertAppIntoDb com.android.providers.telephony
    04-25 07:02:19.605   606   628 I art     : Starting a blocking GC Alloc
    04-25 07:02:19.605   606   628 I art     : Starting a blocking GC Alloc
    04-25 07:02:19.649   606   628 D InstalledAppProviderSer: insertAppIntoDb com.android.providers.userdictionary
    04-25 07:02:19.688   606   628 D InstalledAppProviderSer: insertAppIntoDb com.android.provision
    04-25 07:02:19.734   606   628 D InstalledAppProviderSer: insertAppIntoDb com.android.proxyhandler
    04-25 07:02:19.999   606   628 D InstalledAppProviderSer: insertAppIntoDb com.android.server.telecom
    04-25 07:02:22.733   606   628 D InstalledAppProviderSer: insertAppIntoDb com.android.settings
    04-25 07:02:22.802   606   628 D InstalledAppProviderSer: insertAppIntoDb com.android.sharedstoragebackup
    04-25 07:02:22.868   606   628 D InstalledAppProviderSer: insertAppIntoDb com.android.shell
    04-25 07:02:22.911   606   628 D InstalledAppProviderSer: insertAppIntoDb com.android.smspush
    04-25 07:02:22.944   606   628 D InstalledAppProviderSer: insertAppIntoDb com.android.statementservice
    04-25 07:02:23.138   112   126 I ActivityManager: Waited long enough for: ServiceRecord{c5044d1 u0 org.fdroid.fdroid/.data.InstalledAppProviderService}
    04-25 07:02:23.138   112   126 I BroadcastQueue: Resuming delayed broadcast
    04-25 07:02:23.190   261   261 I VvmSimChangeReceiver: Received SIM change for invalid subscription id.
    04-25 07:02:23.194   490   490 D AlertReceiver: onReceive: a=android.intent.action.PROVIDER_CHANGED Intent { act=android.intent.action.PROVIDER_CHANGED dat=content://com.android.calendar flg=0x20000010 cmp=com.android.calendar/.alerts.AlertReceiver }
    04-25 07:02:23.208   112   216 I BroadcastQueue: Delay finish: com.android.calendar/.alerts.AlertReceiver
    04-25 07:02:23.212   490   634 D AlertService: 0 Action = android.intent.action.PROVIDER_CHANGED
    04-25 07:02:23.690   606   628 D InstalledAppProviderSer: insertAppIntoDb com.android.storagemanager
    04-25 07:02:24.751   606   628 D InstalledAppProviderSer: insertAppIntoDb com.android.systemui
    04-25 07:02:24.822   606   628 D InstalledAppProviderSer: insertAppIntoDb com.android.vpndialogs
    04-25 07:02:25.007   606   628 D InstalledAppProviderSer: insertAppIntoDb com.android.wallpaper.livepicker
    04-25 07:02:25.049   606   628 D InstalledAppProviderSer: insertAppIntoDb com.android.wallpaperbackup
    04-25 07:02:25.091   606   628 D InstalledAppProviderSer: insertAppIntoDb com.android.wallpapercropper
    04-25 07:02:28.215   490   634 I GlobalDismissManager: no sender configured
    04-25 07:02:28.215   490   634 D AlertService: Beginning updateAlertNotification
    04-25 07:02:28.233   490   634 D AlertService: No fired or scheduled alerts
    04-25 07:02:28.240   490   634 D AlertService: Scheduling next alarm with AlarmScheduler. sEventReminderReceived: null
    04-25 07:02:28.250   490   634 D AlarmScheduler: No events found starting within 1 week.
    04-25 07:02:28.252   112   124 I BroadcastQueue: Resuming delayed broadcast
    04-25 07:02:29.295   112   124 I BroadcastQueue: Delay finish: com.android.providers.calendar/.CalendarProviderBroadcastReceiver
    04-25 07:02:29.332   112   404 I BroadcastQueue: Resuming delayed broadcast
    04-25 07:02:29.336   112   401 I BroadcastQueue: Delay finish: com.android.providers.calendar/.CalendarProviderBroadcastReceiver
    04-25 07:02:29.346   112   216 I BroadcastQueue: Resuming delayed broadcast
    04-25 07:02:35.181   606   628 D InstalledAppProviderSer: insertAppIntoDb com.android.webview
    04-25 07:02:35.264   606   628 D InstalledAppProviderSer: insertAppIntoDb com.svox.pico
    04-25 07:02:35.512   606   628 D InstalledAppProviderSer: insertAppIntoDb jp.co.omronsoft.openwnn
    04-25 07:02:35.594   606   628 D InstalledAppProviderSer: insertAppIntoDb org.anbox.appmgr
    04-25 07:02:35.596   606   628 I art     : Starting a blocking GC Alloc
    04-25 07:02:35.596   606   628 I art     : Starting a blocking GC Alloc
    04-25 07:02:35.772   606   628 D InstalledAppProviderSer: insertAppIntoDb org.chromium.webview_shell
    04-25 07:05:18.699   112   129 E BatteryStatsService: power: Missing API
    04-25 07:05:19.441   112   157 D WifiNative-HAL: Failing getSupportedFeatureset because HAL isn't started
    04-25 07:05:19.442   112   129 E BluetoothAdapter: Bluetooth binder is null
    04-25 07:05:19.702   112   126 E KernelUidCpuTimeReader: Failed to read uid_cputime: /proc/uid_cputime/show_uid_stat (No such file or directory)
    04-25 07:05:20.065   112   129 E BatteryStatsService: no controller energy info supplied
    04-25 07:05:20.147   112   122 W art     : Suspending all threads took: 17.192ms
    04-25 07:05:20.157   112   122 I art     : Background sticky concurrent mark sweep GC freed 19183(991KB) AllocSpace objects, 0(0B) LOS objects, 15% free, 6MB/8MB, paused 19.104ms total 587.734ms
    04-25 07:05:20.545   261   261 E PhoneInterfaceManager: [PhoneIntfMgr] queryModemActivityInfo: Empty response
    04-25 07:05:20.584   112   129 E KernelUidCpuTimeReader: Failed to read uid_cputime: /proc/uid_cputime/show_uid_stat (No such file or directory)
    04-25 07:05:20.584   112   129 E BatteryStatsService: modem info is invalid: ModemActivityInfo{ mTimestamp=0 mSleepTimeMs=0 mIdleTimeMs=0 mTxTimeMs[]=[0, 0, 0, 0, 0] mRxTimeMs=0 mEnergyUsed=0}
    04-25 07:06:55.942    30    57 I Anboxd  : Launch am with the following arguments: 
    04-25 07:06:55.943    30    57 I Anboxd  : /system/bin/am start --stack 2 -a android.intent.action.MAIN com.aurora.store/com.aurora.store.ui.single.activity.SplashActivity 
    04-25 07:06:58.119   662   662 D AndroidRuntime: >>>>>> START com.android.internal.os.RuntimeInit uid 0 <<<<<<
    04-25 07:06:58.225   662   662 D AndroidRuntime: CheckJNI is OFF
    04-25 07:06:59.572   662   662 W art     : Unknown instruction set features for ARM CPU variant (generic) using conservative defaults
    04-25 07:07:00.031   662   662 D ICU     : No timezone override file found: /data/misc/zoneinfo/current/icu/icu_tzdata.dat
    04-25 07:07:00.980   662   662 E memtrack: Couldn't load memtrack module (No such file or directory)
    04-25 07:07:00.980   662   662 E android.os.Debug: failed to load memtrack module: -2
    04-25 07:07:01.011   662   662 I Radio-JNI: register_android_hardware_Radio DONE
    04-25 07:07:01.440   662   662 D AndroidRuntime: Calling main entry com.android.commands.am.Am
    04-25 07:07:01.636   112   401 I ActivityManager: START u0 {act=android.intent.action.MAIN flg=0x10000000 cmp=com.aurora.store/.ui.single.activity.SplashActivity} from uid 0 on display 0
    04-25 07:07:02.120   662   662 D AndroidRuntime: Shutting down VM
    04-25 07:07:02.131   112   654 E ActivityManager: applyOptionsLocked: Unknown animationType=0
    04-25 07:07:02.273   585   596 I art     : CollectorTransition marksweep + semispace GC freed 272(-15KB) AllocSpace objects, 0(0B) LOS objects, 24% free, 3MB/4MB, paused 19.819ms total 19.819ms
    04-25 07:07:03.606   112   133 I Choreographer: Skipped 33 frames!  The application may be doing too much work on its main thread.
    04-25 07:07:04.893   112   405 I ActivityManager: START u0 {cmp=com.aurora.store/.ui.accounts.AccountsActivity} from uid 10051 on display 0
    04-25 07:07:05.055   585   596 I art     : Background sticky concurrent mark sweep GC freed 2739(436KB) AllocSpace objects, 0(0B) LOS objects, 13% free, 3MB/4MB, paused 68.901ms total 84.247ms
    04-25 07:07:05.472   112   124 E ActivityManager: Activity Manager Crash
    04-25 07:07:05.472   112   124 E ActivityManager: java.lang.IllegalArgumentException: resizeTask not allowed on task=TaskRecord{a760d07 #15 A=com.aurora.store U=0 StackId=1 sz=2}
    04-25 07:07:05.472   112   124 E ActivityManager: 	at com.android.server.am.ActivityManagerService.resizeTask(ActivityManagerService.java:9444)
    04-25 07:07:05.472   112   124 E ActivityManager: 	at android.app.ActivityManagerNative.onTransact(ActivityManagerNative.java:2659)
    04-25 07:07:05.472   112   124 E ActivityManager: 	at com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:2800)
    04-25 07:07:05.472   112   124 E ActivityManager: 	at android.os.Binder.execTransact(Binder.java:565)
    04-25 07:07:06.019   585   585 D         : HostConnection::get() New Host Connection established 0xdf47c1b0, tid 585
    04-25 07:07:06.295   585   678 D         : HostConnection::get() New Host Connection established 0xe0c1d510, tid 678
    04-25 07:07:06.427   585   678 I OpenGLRenderer: Initialized EGL, version 1.4
    04-25 07:07:06.427   585   678 D OpenGLRenderer: Swap behavior 1
    04-25 07:07:06.502   585   585 I ViewConfigCompat: Could not find method getScaledScrollFactor() on ViewConfiguration
    04-25 07:07:06.585   585   590 I art     : Do partial code cache collection, code=18KB, data=28KB
    04-25 07:07:06.586   585   590 I art     : After code cache collection, code=18KB, data=28KB
    04-25 07:07:06.586   585   590 I art     : Increasing code cache capacity to 128KB
    04-25 07:07:06.754   112   133 I ActivityManager: Displayed com.aurora.store/.ui.accounts.AccountsActivity: +1s850ms (total +4s623ms)
    04-25 07:07:07.959   112   283 E ActivityManager: Activity Manager Crash
    04-25 07:07:07.959   112   283 E ActivityManager: java.lang.IllegalArgumentException: resizeTask not allowed on task=TaskRecord{a760d07 #15 A=com.aurora.store U=0 StackId=1 sz=1}
    04-25 07:07:07.959   112   283 E ActivityManager: 	at com.android.server.am.ActivityManagerService.resizeTask(ActivityManagerService.java:9444)
    04-25 07:07:07.959   112   283 E ActivityManager: 	at android.app.ActivityManagerNative.onTransact(ActivityManagerNative.java:2659)
    04-25 07:07:07.959   112   283 E ActivityManager: 	at com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:2800)
    04-25 07:07:07.959   112   283 E ActivityManager: 	at android.os.Binder.execTransact(Binder.java:565)
    04-25 07:07:10.774    44    82 I MediaPlayerService: MediaPlayerService::getOMX
    04-25 07:07:10.776   112   689 I OMXClient: MuxOMX ctor
    04-25 07:07:10.776   112   689 E ACodec  : Unable to instantiate a decoder for type 'audio/vorbis' with err 0xfffffffe.
    04-25 07:07:10.776   112   689 E ACodec  : signalError(omxError 0xfffffffe, internalError -2)
    04-25 07:07:10.776   112   689 E MediaCodec: Codec reported err 0xfffffffe, actionCode 0, while in state 1
    04-25 07:07:10.892   112   683 E SoundPool: Unable to load sample
    04-25 07:07:10.893   112   168 W AudioService: onLoadSoundEffects(), Error -2147483648 while loading samples
    04-25 07:07:10.904    44    44 I MediaPlayerService: MediaPlayerService::getOMX
    04-25 07:07:10.905   112   692 I OMXClient: MuxOMX ctor
    04-25 07:07:10.905   112   692 E ACodec  : Unable to instantiate a decoder for type 'audio/vorbis' with err 0xfffffffe.
    04-25 07:07:10.905   112   692 E ACodec  : signalError(omxError 0xfffffffe, internalError -2)
    04-25 07:07:10.905   112   692 E MediaCodec: Codec reported err 0xfffffffe, actionCode 0, while in state 1
    04-25 07:07:10.908   112   683 E SoundPool: Unable to load sample
    04-25 07:07:11.188   585   687 D         : HostConnection::get() New Host Connection established 0xd1683208, tid 687
    
    


  • But what is your problem exactly?



  • @Ingo if it's anything like my problem with Aurora store it crashes when you try to login



  • @ImmyChan said in Trying to debug Aurora Store (anbox):

    @Ingo if it's anything like my problem with Aurora store it crashes when you try to login

    ^ This


Log in to reply