Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bug] assertion crash - ndk_context::initialize_android_context being invoked multiple times #254

Closed
korejan opened this issue Mar 27, 2022 · 5 comments

Comments

@korejan
Copy link
Contributor

korejan commented Mar 27, 2022

Hi, using the latest release of ndk-context/ndk-glue (and tested only with ndk 23/24), I have had two seperate reports of an assertion crash in my app due to what appears to be ndk_context::ANDROID_CONTEXT being initialized multiple times. The same app runs fine on my phone (Asus Rog 2) and on the Oculus/Meta Quest 2 (it's a VR app), the assertion was trigged on a Pico Neo 3 (android 10) and Samsung Galaxy S10 (android 11) , I was given logs for each:

S10 Log:

03-26 11:46:34.929  1974  1974 W AppStartUtils: sendActiveLaunchBroadcast() v.hasOnClickListeners() : true, iconInfo : AppInfo(id=115 type=APP hidden=0 container=all_apps screen=1 rank=22 user=UserHandle{0} title=alxr_client componentName=ComponentInfo{rust.alxr_android_client/android.app.NativeActivity} screenType=0)
03-26 11:46:34.931  1007  1330 I Pageboost: start active launch : rust.alxr_android_client
03-26 11:46:34.932  1007  1367 I Pageboost: active launch for : rust.alxr_android_client , 1
03-26 11:46:34.932  2608 20566 E pageboostd: active launch start : app rustalxr_android_client
03-26 11:46:34.934   414   414 I lmkd    : check proc pid launching app : 19265
03-26 11:46:34.934  2608 20566 E pageboostd: rustalxr_android_client, amt 0 scnt 0 fcnt 0
03-26 11:46:34.934  2608 20566 E pageboostd: rustalxr_android_client, amt 3125248 scnt 4 fcnt 0
03-26 11:46:34.934  2608 20566 E pageboostd: active launch end : app rustalxr_android_client data_amount 3125248
03-26 11:46:34.971  1974  2021 I LauncherActivityInfo: packageName: rust.alxr_android_client, useThemeIcon: false, height: 135, width: 135, density: 640
03-26 11:46:34.972  1007  3321 I ActivityTaskManager: START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=rust.alxr_android_client/android.app.NativeActivity bnds=[295,1136][425,1364]} from uid 10156
03-26 11:46:34.973  1007  3321 D ActivityTaskManager: TaskLaunchParamsModifier:task=null activity=ActivityRecord{e371125 u0 rust.alxr_android_client/android.app.NativeActivity display-area-from-source=DefaultTaskDisplayArea@52775328 task-display-area=DefaultTaskDisplayArea@52775328 display-area-windowing-mode=1
03-26 11:46:34.973  1007  3321 D ActivityTaskManager: TaskLaunchParamsModifier:task=null activity=ActivityRecord{e371125 u0 rust.alxr_android_client/android.app.NativeActivity t-1} display-area-from-source=DefaultTaskDisplayArea@52775328 task-display-area=DefaultTaskDisplayArea@52775328 display-area-windowing-mode=1 inherit-from-source=fullscreen activity-options-fullscreen=Rect(0, 0 - 0, 0) non-freeform-display maximized-bounds
03-26 11:46:34.976  1007  3321 D ActivityTaskManager: TaskLaunchParamsModifier:task=Task{c49c2fa #523 visible=false type=standard mode=fullscreen translucent=true A=10317:rust.alxr_android_client U=0 StackId=523 sz=0} activity=ActivityRecord{e371125 u0 rust.alxr_android_client/android.app.NativeActivity t-1} display-from-task=0 task-display-area=DefaultTaskDisplayArea@52775328 display-area-windowing-mode=1 inherit-from-source=fullscreen activity-options-fullscreen=Rect(0, 0 - 0, 0) non-freeform-display maximized-bounds
03-26 11:46:34.976   626  1893 I SurfaceFlinger: id=16467 createSurf (0x0),-1 flag=80004, ActivityRecord{e371125 u0 rust.alxr_android_client/android.app.NativeActivity t523}#0
03-26 11:46:34.977  1007  3321 D ActivityTaskManager: applyFixedRotationTransform, r=ActivityRecord{e371125 u0 rust.alxr_android_client/android.app.NativeActivity t523}, caller=com.android.server.wm.DisplayContent.startFixedRotationTransform:1970 com.android.server.wm.DisplayContent.setFixedRotationLaunchingApp:1914 com.android.server.wm.DisplayContent.handleTopActivityLaunchingInDifferentOrientation:1831 com.android.server.wm.ActivityRecord.addStartingWindow:2244 com.android.server.wm.ActivityRecord.showStartingWindow:6659 
03-26 11:46:34.978  1007  3321 D WindowManager: setFixedRotationLaunchingAppUnchecked, rotation=1, r=ActivityRecord{e371125 u0 rust.alxr_android_client/android.app.NativeActivity t523}, caller=com.android.server.wm.DisplayContent.setFixedRotationLaunchingApp:1916 com.android.server.wm.DisplayContent.handleTopActivityLaunchingInDifferentOrientation:1831 com.android.server.wm.ActivityRecord.addStartingWindow:2244 com.android.server.wm.ActivityRecord.showStartingWindow:6659 com.android.server.wm.ActivityStack.startActivityLocked:2639 
03-26 11:46:34.979  1007  3321 D SurfaceControl: hide : mNativeObject = 504020373504 - sc.mNativeObject = 503483957632 - Surface(name=ActivityRecord{e371125 u0 rust.alxr_android_client/android.app.NativeActivity t523})/@0xce114c6
03-26 11:46:34.979  1007  3321 D SurfaceControl: nativeSetFlags Done : Surface(name=ActivityRecord{e371125 u0 rust.alxr_android_client/android.app.NativeActivity t523})/@0xce114c6
03-26 11:46:34.982  1007  1007 I Pageboost: package rust.alxr_android_client
03-26 11:46:34.984  1007  3321 D MARsPolicyManager: onPackageResumedFG pkgName = rust.alxr_android_client, userId = 0
03-26 11:46:34.986  1007  3321 D PkgDataHelper: notifyAppCreate(), pkgName: rust.alxr_android_client, sendRet: true
03-26 11:46:34.986  1007  1206 D GameManagerService: onLooperPrepared(), msg: MSG_APP_CREATE, pkgName: rust.alxr_android_client
03-26 11:46:34.987  1007  1206 D GameManagerService: onLooperPrepared(), msg: MSG_TASK_FOCUSED, focusedComponent: ComponentInfo{rust.alxr_android_client/android.app.NativeActivity}
03-26 11:46:34.987  1007  1206 D GameManagerService:   handleTaskFocused(), pkgName: rust.alxr_android_client, clsName: android.app.NativeActivity, userID:0
03-26 11:46:34.987  1007  1206 D GameManagerService:   handleResume(). pkgName: rust.alxr_android_client, isTunableApp: null
03-26 11:46:34.987  1007  1206 D GameManagerService: notifyFocusInOut(). of pkg: rust.alxr_android_client, type: 4, isMinimized: false, isTunableApp: false
03-26 11:46:34.988  1007  3321 D MARsPolicyManager: onPackageResumedFG pkgName = rust.alxr_android_client, userId = 0
03-26 11:46:35.003  1007  1042 V ActivityManager: Changed top to 10317,ProcessRecord{d76dfd0 19265:rust.alxr_android_client/u0a317}
03-26 11:46:35.006   626   641 I SurfaceFlinger: id=16469 createSurf (0x0),-1 flag=80004, e4f7a75 Splash Screen rust.alxr_android_client#0
03-26 11:46:35.007  1007  1043 D InsetsSourceConsumer: setRequestedVisible: visible=false, type=0, host=Splash Screen rust.alxr_android_client, from=android.view.InsetsSourceConsumer.hide:236 android.view.InsetsController.collectSourceControls:1172 android.view.InsetsController.controlAnimationUnchecked:1049 android.view.InsetsController.applyAnimation:1417 android.view.InsetsController.hide:984 android.view.InsetsController.hide:967 android.view.ViewRootImpl.controlInsetsForCompatibility:2852 android.view.ViewRootImpl.performTraversals:3314 android.view.ViewRootImpl.doTraversal:2618 android.view.ViewRootImpl$TraversalRunnable.run:9971 
03-26 11:46:35.007  1007  1043 V WindowManager: Relayout Window{e4f7a75 u0 Splash Screen rust.alxr_android_client}: viewVisibility=0 req=1520x720
03-26 11:46:35.008   626   641 I SurfaceFlinger: id=16470 createSurf (1520x720),1 flag=404, Splash Screen rust.alxr_android_client#0
03-26 11:46:35.008  1007  1043 D WindowManager: makeSurface duration=1 name=Splash Screen rust.alxr_android_client
03-26 11:46:35.011 19265 19265 I DecorView: [INFO] isPopOver=false, config=true
03-26 11:46:35.011 19265 19265 I DecorView: updateCaptionType >> DecorView@fe35ef8[], isFloating=false, isApplication=true, hasWindowDecorCaption=false, hasWindowControllerCallback=true
03-26 11:46:35.011 19265 19265 D DecorView: setCaptionType = 0, this = DecorView@fe35ef8[]
03-26 11:46:35.013  1007  1043 D WindowManager: finishDrawingWindow: Window{e4f7a75 u0 Splash Screen rust.alxr_android_client} mDrawState=DRAW_PENDING
03-26 11:46:35.014 19265 20494 I RustStdoutStderr: thread '<unnamed>' panicked at 'assertion failed: previous.is_none()', C:\Users\korcan\.cargo\registry\src\github.com-1ecc6299db9ec823\ndk-context-0.1.0\src\lib.rs:87:5
03-26 11:46:35.014 19265 20494 I RustStdoutStderr: stack backtrace:
03-26 11:46:35.014 19265 20494 I RustStdoutStderr: note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
03-26 11:46:35.015 19265 20494 I RustStdoutStderr: fatal runtime error: failed to initiate panic, error 5
03-26 11:46:35.015 19265 19265 F libc    : Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 19265 (_android_client), pid 19265 (_android_client)
03-26 11:46:35.018  1007  1040 D SehCodecSolutionService: Update top [rust.alxr_android_client]
03-26 11:46:35.018  1007  1296 D PkgPredictorService: rust.alxr_android_client go to foreground!
03-26 11:46:35.018  1007  1296 D PkgPredictorService: previous pkgs: rust.alxr_android_client,rust.alxr_android_client,rust.alxr_android_client running pkg: rust.alxr_android_client, uid: 0 is system: false
03-26 11:46:35.018  1007  1296 D PkgPredictorService-Collector:  (hour:11 day:7 previous:[rust.alxr_android_client, rust.alxr_android_client, rust.alxr_android_client] activityName:unknown running:rust.alxr_android_client userId:0 screenOrientation:0 wifi:1 bt:1 predictTime:0 apkVersion:0.3.0 consumeTime:-1 preloaded:false>)
03-26 11:46:35.018  1007  1296 D PkgPredictorService-NapPreloadController: User using: rust.alxr_android_client
03-26 11:46:35.018  1007  1042 D GameManagerService: noteResumeComponent(), received resumed-component: rust.alxr_android_client
03-26 11:46:35.019  1007  1206 D GameManagerService: onLooperPrepared(), msg: MSG_APP_RESUME, resumeComponent: ComponentInfo{rust.alxr_android_client/android.app.NativeActivity}
03-26 11:46:35.019  1007  1206 D GameManagerService:   handleResume(). pkgName: rust.alxr_android_client, isTunableApp: null
03-26 11:46:35.019  1007  1206 D GameManagerService: notifyFocusInOut(). of pkg: rust.alxr_android_client, type: 4, isMinimized: false, isTunableApp: false
03-26 11:46:35.019  1007  1042 I GameSDK@LifeCycle: noteResumeComponent(): package name  : rust.alxr_android_client
03-26 11:46:35.019  1007  1042 D GameManagerService: identifyGamePackage. rust.alxr_android_client, mCurrentUserId: 0, callerUserId: 0
03-26 11:46:35.019  1007  1042 D PkgDataHelper: getGamePkgData(). rust.alxr_android_client
03-26 11:46:35.021  1007  1042 D SemGameManager: isGamePackage(), pkgName=rust.alxr_android_client
03-26 11:46:35.021  1007  1042 D GameManagerService: identifyGamePackage. rust.alxr_android_client, mCurrentUserId: 0, callerUserId: 0
03-26 11:46:35.021  1007  1042 D PkgDataHelper: getGamePkgData(). rust.alxr_android_client
03-26 11:46:35.026  1007  3380 D WindowManager: createAnimationAdapter(): container=Task{c49c2fa #523 visible=false type=standard mode=fullscreen translucent=true A=10317:rust.alxr_android_client U=0 StackId=523 sz=1}
03-26 11:46:35.027  1007  3380 D WindowManager: 	Add container=Task{c49c2fa #523 visible=false type=standard mode=fullscreen translucent=true A=10317:rust.alxr_android_client U=0 StackId=523 sz=1}
03-26 11:46:35.028  1007  1040 D WindowManager: setDisableFlags: displayId=0, vis=0x8008, appearance=0, transientState=Pair{[I@eff67c8 [I@10e5061}, isFullscreen=true, isImmersive=true, barType=0, win=Window{e4f7a75 u0 Splash Screen rust.alxr_android_client}
03-26 11:46:35.029  1007  3380 I WindowManager: container=Task{c49c2fa #523 visible=false type=standard mode=fullscreen translucent=true A=10317:rust.alxr_android_client U=0 StackId=523 sz=1}
03-26 11:46:35.050   509   509 I tombstoned: received crash request for pid 19265
03-26 11:46:35.051 20579 20579 I crash_dump64: performing dump of process 19265 (target tid = 19265)
03-26 11:46:35.055 20579 20579 F DEBUG   : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
03-26 11:46:35.055 20579 20579 F DEBUG   : Build fingerprint: 'samsung/beyond1ltexx/beyond1:11/RP1A.200720.012/G973FXXSBFUF3:user/release-keys'
03-26 11:46:35.055 20579 20579 F DEBUG   : Revision: '26'
03-26 11:46:35.055 20579 20579 F DEBUG   : ABI: 'arm64'
03-26 11:46:35.056 20579 20579 F DEBUG   : Timestamp: 2022-03-26 11:46:35-0500
03-26 11:46:35.056 20579 20579 F DEBUG   : pid: 19265, tid: 19265, name: _android_client  >>> rust.alxr_android_client <<<
03-26 11:46:35.056 20579 20579 F DEBUG   : uid: 10317
03-26 11:46:35.056 20579 20579 F DEBUG   : signal 6 (SIGABRT), code -1 (SI_QUEUE), fault addr --------
03-26 11:46:35.056 20579 20579 F DEBUG   :     x0  0000000000000000  x1  0000000000004b41  x2  0000000000000006  x3  0000007fc07b33b0
03-26 11:46:35.056 20579 20579 F DEBUG   :     x4  fefefefefefefeff  x5  fefefefefefefeff  x6  fefefefefefefeff  x7  7f7f7f7f7f7f7f7f
03-26 11:46:35.056 20579 20579 F DEBUG   :     x8  00000000000000f0  x9  00000077cb6a09b8  x10 ffffff80fffffbdf  x11 0000000000000001
03-26 11:46:35.056 20579 20579 F DEBUG   :     x12 0000007fc07b3510  x13 0000007fc07b34e0  x14 000000746e260204  x15 00000077ca602898
03-26 11:46:35.056 20579 20579 F DEBUG   :     x16 00000077cb739c80  x17 00000077cb71b8b0  x18 00000077d09b0000  x19 00000000000000ac
03-26 11:46:35.056 20579 20579 F DEBUG   :     x20 0000000000004b41  x21 00000000000000b2  x22 0000000000004b41  x23 00000000ffffffff
03-26 11:46:35.056 20579 20579 F DEBUG   :     x24 0000000000000001  x25 0000000000000000  x26 0000007fc07b3888  x27 00000077d06ac000
03-26 11:46:35.056 20579 20579 F DEBUG   :     x28 0000007fc07b3894  x29 0000007fc07b3430
03-26 11:46:35.056 20579 20579 F DEBUG   :     lr  00000077cb6ce9cc  sp  0000007fc07b3390  pc  00000077cb6ce9fc  pst 0000000000000000
03-26 11:46:35.059   626   626 D SurfaceFlinger: Display 0 HWC layers:
03-26 11:46:35.059   626   626 D SurfaceFlinger:      CLIENT | 0x7d487634b0 | 0002 | RGBx_8888    |  800.0    0.0 2240.0 3040.0 |    0    0  720 1520 | com.android.systemui.ImageWallpaper$_1391#0
03-26 11:46:35.059   626   626 D SurfaceFlinger:      CLIENT | 0x7d4876b190 | 0000 | RGBA_8888    |    0.0    0.0  720.0 1520.0 |    0    0  720 1520 | com.sec.android.app.launcher/com.sec[...]ties.LauncherActivity$_1974#0 (Blur)
03-26 11:46:35.059   626   626 D SurfaceFlinger:      CLIENT | 0x7d48768250 | 0002 | RGBA_8888    |  344.0    0.0 1432.0  720.0 |  305 1110  414 1274 | Splash Screen rust.alxr_android_client#0
03-26 11:46:35.059   626   626 D SurfaceFlinger:      DEVICE | 0x7d487687f0 | 0000 | RGBA_8888    |    0.0    0.0  720.0   75.0 |    0    0  720   75 | StatusBar$_1391#0
03-26 11:46:35.059   626   626 D SurfaceFlinger:      DEVICE | 0x7d487650d0 | 0000 | RGBA_8888    |    0.0    0.0   67.0  228.0 |  653  205  720  433 | com.samsung.android.app.cocktailbars[...]arservice.CocktailBarService$_5999#0
03-26 11:46:35.059   626   626 D SurfaceFlinger:      DEVICE | 0x7d48769b10 | 0000 | RGBA_8888    |    0.0    0.0  720.0   90.0 |    0 1430  720 1520 | NavigationBar0$_1391#0
03-26 11:46:35.059   626   626 D SurfaceFlinger: 
03-26 11:46:35.103  1007  3289 D ActivityTaskManager: getRecentPairTasks() maxNum :3 from 10156
03-26 11:46:35.104  1007  3289 D RecentTaskItemController: getRecentPairTasksImpl() maxNum :3 from 10156
03-26 11:46:35.142  1007  1428 D MdnieScenarioControlService:  packageName : rust.alxr_android_client    className : android.app.NativeActivity
03-26 11:46:35.142  1007  1428 V MdnieScenarioControlService: setUIMode from UI function(3)
03-26 11:46:35.182 20579 20579 F DEBUG   : backtrace:
03-26 11:46:35.183 20579 20579 F DEBUG   :       #00 pc 000000000004e9fc  /apex/com.android.runtime/lib64/bionic/libc.so (abort+180) (BuildId: f85239005a40452d2a5d593676124555)
03-26 11:46:35.183 20579 20579 F DEBUG   :       rust-mobile/ndk#1 pc 0000000000241bdc  /data/app/~~kEtkxpXR2v8TD7sYe7mEUA==/rust.alxr_android_client-DWgEsYYZxVN3O_XZ45zRYw==/lib/arm64/libalxr_android_client.so (std::sys::unix::abort_internal::h15ef73a37f420440+4)
03-26 11:46:35.183 20579 20579 F DEBUG   :       rust-mobile/ndk#2 pc 000000000023e2cc  /data/app/~~kEtkxpXR2v8TD7sYe7mEUA==/rust.alxr_android_client-DWgEsYYZxVN3O_XZ45zRYw==/lib/arm64/libalxr_android_client.so (rust_panic+136)
03-26 11:46:35.183 20579 20579 F DEBUG   :       rust-mobile/ndk#3 pc 000000000023e094  /data/app/~~kEtkxpXR2v8TD7sYe7mEUA==/rust.alxr_android_client-DWgEsYYZxVN3O_XZ45zRYw==/lib/arm64/libalxr_android_client.so (std::panicking::rust_panic_with_hook::he0ffd8fc8015e7bb+912)
03-26 11:46:35.183 20579 20579 F DEBUG   :       rust-mobile/ndk#4 pc 000000000023dca8  /data/app/~~kEtkxpXR2v8TD7sYe7mEUA==/rust.alxr_android_client-DWgEsYYZxVN3O_XZ45zRYw==/lib/arm64/libalxr_android_client.so (std::panicking::begin_panic_handler::_$u7b$$u7b$closure$u7d$$u7d$::h6897cb6117e3fa05+100)
03-26 11:46:35.183 20579 20579 F DEBUG   :       rust-mobile/ndk#5 pc 000000000023b554  /data/app/~~kEtkxpXR2v8TD7sYe7mEUA==/rust.alxr_android_client-DWgEsYYZxVN3O_XZ45zRYw==/lib/arm64/libalxr_android_client.so (std::sys_common::backtrace::__rust_end_short_backtrace::h4da804ab75f9a9a4+16)
03-26 11:46:35.183 20579 20579 F DEBUG   :       rust-mobile/ndk#6 pc 000000000023da30  /data/app/~~kEtkxpXR2v8TD7sYe7mEUA==/rust.alxr_android_client-DWgEsYYZxVN3O_XZ45zRYw==/lib/arm64/libalxr_android_client.so (rust_begin_unwind+60)
03-26 11:46:35.183 20579 20579 F DEBUG   :       rust-mobile/ndk#7 pc 0000000000257f0c  /data/app/~~kEtkxpXR2v8TD7sYe7mEUA==/rust.alxr_android_client-DWgEsYYZxVN3O_XZ45zRYw==/lib/arm64/libalxr_android_client.so (core::panicking::panic_fmt::h47a9bcdca5caee9e+36)
03-26 11:46:35.183 20579 20579 F DEBUG   :       rust-mobile/ndk#8 pc 0000000000257e38  /data/app/~~kEtkxpXR2v8TD7sYe7mEUA==/rust.alxr_android_client-DWgEsYYZxVN3O_XZ45zRYw==/lib/arm64/libalxr_android_client.so (core::panicking::panic::h55326bdb7cec72fe+48)
03-26 11:46:35.183 20579 20579 F DEBUG   :       rust-mobile/ndk#9 pc 00000000000b93b0  /data/app/~~kEtkxpXR2v8TD7sYe7mEUA==/rust.alxr_android_client-DWgEsYYZxVN3O_XZ45zRYw==/lib/arm64/libalxr_android_client.so (ndk_context::initialize_android_context::ha9f378ac1b83f89c+64)
03-26 11:46:35.183 20579 20579 F DEBUG   :       rust-mobile/ndk#10 pc 00000000000b5d90  /data/app/~~kEtkxpXR2v8TD7sYe7mEUA==/rust.alxr_android_client-DWgEsYYZxVN3O_XZ45zRYw==/lib/arm64/libalxr_android_client.so (ndk_glue::init::h260f8ad4111fcf9a+232)
03-26 11:46:35.183 20579 20579 F DEBUG   :       rust-mobile/ndk#11 pc 00000000000b5034  /system/lib64/libandroid_runtime.so (android::loadNativeCode_native(_JNIEnv*, _jobject*, _jstring*, _jstring*, _jobject*, _jstring*, _jstring*, _jstring*, int, _jobject*, _jbyteArray*, _jobject*, _jstring*)+1948) (BuildId: 6af515674a3338ee559b7b92a237e8db)
03-26 11:46:35.183 20579 20579 F DEBUG   :       rust-mobile/ndk#12 pc 000000000024d9d0  /system/framework/arm64/boot-framework.oat (art_jni_trampoline+416) (BuildId: 263ae8853799966f8dd71d7cdf50aa6c5b172e12)
03-26 11:46:35.183 20579 20579 F DEBUG   :       rust-mobile/ndk#13 pc 0000000000135564  /apex/com.android.art/lib64/libart.so (art_quick_invoke_stub+548) (BuildId: fe6bfaf552d16195430b86d57f169733)
03-26 11:46:35.183 20579 20579 F DEBUG   :       rust-mobile/ndk#14 pc 00000000001ab7e8  /apex/com.android.art/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+200) (BuildId: fe6bfaf552d16195430b86d57f169733)
03-26 11:46:35.183 20579 20579 F DEBUG   :       rust-mobile/ndk#15 pc 0000000000326090  /apex/com.android.art/lib64/libart.so (art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, unsigned short, art::JValue*)+376) (BuildId: fe6bfaf552d16195430b86d57f169733)
03-26 11:46:35.183 20579 20579 F DEBUG   :       rust-mobile/ndk#16 pc 000000000031d2d8  /apex/com.android.art/lib64/libart.so (bool art::interpreter::DoCall<true, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+696) (BuildId: fe6bfaf552d16195430b86d57f169733)
03-26 11:46:35.183 20579 20579 F DEBUG   :       rust-mobile/cargo-apk#25 pc 0000000000697434  /apex/com.android.art/lib64/libart.so (MterpInvokeDirectRange+436) (BuildId: fe6bfaf552d16195430b86d57f169733)
03-26 11:46:35.183 20579 20579 F DEBUG   :       rust-mobile/ndk#18 pc 000000000012fc14  /apex/com.android.art/lib64/libart.so (mterp_op_invoke_direct_range+20) (BuildId: fe6bfaf552d16195430b86d57f169733)
03-26 11:46:35.183 20579 20579 F DEBUG   :       rust-mobile/ndk#19 pc 0000000000258c0a  /system/framework/framework.jar (android.app.NativeActivity.onCreate+414)
03-26 11:46:35.183 20579 20579 F DEBUG   :       rust-mobile/ndk#20 pc 0000000000313520  /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.llvm.230246881315256824)+264) (BuildId: fe6bfaf552d16195430b86d57f169733)
03-26 11:46:35.183 20579 20579 F DEBUG   :       rust-mobile/ndk#21 pc 0000000000680138  /apex/com.android.art/lib64/libart.so (artQuickToInterpreterBridge+776) (BuildId: fe6bfaf552d16195430b86d57f169733)
03-26 11:46:35.183 20579 20579 F DEBUG   :       rust-mobile/ndk#22 pc 000000000013eff8  /apex/com.android.art/lib64/libart.so (art_quick_to_interpreter_bridge+88) (BuildId: fe6bfaf552d16195430b86d57f169733)
03-26 11:46:35.183 20579 20579 F DEBUG   :       rust-mobile/ndk#23 pc 0000000000637fdc  /system/framework/arm64/boot-framework.oat (android.app.Activity.performCreate+492) (BuildId: 263ae8853799966f8dd71d7cdf50aa6c5b172e12)
03-26 11:46:35.183 20579 20579 F DEBUG   :       rust-mobile/ndk#24 pc 0000000000369260  /system/framework/arm64/boot-framework.oat (android.app.Instrumentation.callActivityOnCreate+80) (BuildId: 263ae8853799966f8dd71d7cdf50aa6c5b172e12)
03-26 11:46:35.183 20579 20579 F DEBUG   :       rust-mobile/ndk#25 pc 000000000045b914  /system/framework/arm64/boot-framework.oat (android.app.ActivityThread.performLaunchActivity+3060) (BuildId: 263ae8853799966f8dd71d7cdf50aa6c5b172e12)
03-26 11:46:35.183 20579 20579 F DEBUG   :       rust-mobile/ndk#26 pc 0000000000462f68  /system/framework/arm64/boot-framework.oat (android.app.ActivityThread.handleLaunchActivity+568) (BuildId: 263ae8853799966f8dd71d7cdf50aa6c5b172e12)
03-26 11:46:35.183 20579 20579 F DEBUG   :       rust-mobile/ndk#27 pc 0000000000645f64  /system/framework/arm64/boot-framework.oat (android.app.servertransaction.LaunchActivityItem.execute+404) (BuildId: 263ae8853799966f8dd71d7cdf50aa6c5b172e12)
03-26 11:46:35.183 20579 20579 F DEBUG   :       rust-mobile/ndk#28 pc 000000000039c170  /system/framework/arm64/boot-framework.oat (android.app.servertransaction.TransactionExecutor.executeCallbacks+560) (BuildId: 263ae8853799966f8dd71d7cdf50aa6c5b172e12)
03-26 11:46:35.183 20579 20579 F DEBUG   :       rust-mobile/ndk#29 pc 000000000039bec0  /system/framework/arm64/boot-framework.oat (android.app.servertransaction.TransactionExecutor.execute+752) (BuildId: 263ae8853799966f8dd71d7cdf50aa6c5b172e12)
03-26 11:46:35.183 20579 20579 F DEBUG   :       rust-mobile/ndk#30 pc 0000000000444dc4  /system/framework/arm64/boot-framework.oat (android.app.ActivityThread$H.handleMessage+1060) (BuildId: 263ae8853799966f8dd71d7cdf50aa6c5b172e12)
03-26 11:46:35.183 20579 20579 F DEBUG   :       rust-mobile/ndk#31 pc 00000000006bbf24  /system/framework/arm64/boot-framework.oat (android.os.Handler.dispatchMessage+180) (BuildId: 263ae8853799966f8dd71d7cdf50aa6c5b172e12)
03-26 11:46:35.183 20579 20579 F DEBUG   :       rust-mobile/ndk#32 pc 00000000006bf41c  /system/framework/arm64/boot-framework.oat (android.os.Looper.loop+1516) (BuildId: 263ae8853799966f8dd71d7cdf50aa6c5b172e12)
03-26 11:46:35.183 20579 20579 F DEBUG   :       rust-mobile/ndk#33 pc 0000000000459e34  /system/framework/arm64/boot-framework.oat (android.app.ActivityThread.main+820) (BuildId: 263ae8853799966f8dd71d7cdf50aa6c5b172e12)
03-26 11:46:35.183 20579 20579 F DEBUG   :       rust-mobile/ndk#34 pc 00000000001357e8  /apex/com.android.art/lib64/libart.so (art_quick_invoke_static_stub+568) (BuildId: fe6bfaf552d16195430b86d57f169733)
03-26 11:46:35.183 20579 20579 F DEBUG   :       rust-mobile/ndk#35 pc 00000000001ab804  /apex/com.android.art/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+228) (BuildId: fe6bfaf552d16195430b86d57f169733)
03-26 11:46:35.183 20579 20579 F DEBUG   :       rust-mobile/ndk#36 pc 00000000005688f4  /apex/com.android.art/lib64/libart.so (art::InvokeMethod(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jobject*, _jobject*, unsigned long)+1364) (BuildId: fe6bfaf552d16195430b86d57f169733)
03-26 11:46:35.183 20579 20579 F DEBUG   :       rust-mobile/ndk#37 pc 00000000004e7000  /apex/com.android.art/lib64/libart.so (art::Method_invoke(_JNIEnv*, _jobject*, _jobject*, _jobjectArray*)+48) (BuildId: fe6bfaf552d16195430b86d57f169733)
03-26 11:46:35.183 20579 20579 F DEBUG   :       rust-mobile/ndk#38 pc 000000000008a6f4  /apex/com.android.art/javalib/arm64/boot.oat (art_jni_trampoline+180) (BuildId: c3475b07d0e9fda8252c4d048848217b2ca92b3c)
03-26 11:46:35.183 20579 20579 F DEBUG   :       rust-mobile/ndk#39 pc 0000000000aee798  /system/framework/arm64/boot-framework.oat (com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run+136) (BuildId: 263ae8853799966f8dd71d7cdf50aa6c5b172e12)
03-26 11:46:35.183 20579 20579 F DEBUG   :       rust-mobile/ndk#40 pc 0000000000af87ec  /system/framework/arm64/boot-framework.oat (com.android.internal.os.ZygoteInit.main+2444) (BuildId: 263ae8853799966f8dd71d7cdf50aa6c5b172e12)
03-26 11:46:35.183 20579 20579 F DEBUG   :       rust-mobile/ndk#41 pc 00000000001357e8  /apex/com.android.art/lib64/libart.so (art_quick_invoke_static_stub+568) (BuildId: fe6bfaf552d16195430b86d57f169733)
03-26 11:46:35.183 20579 20579 F DEBUG   :       rust-mobile/ndk#42 pc 00000000001ab804  /apex/com.android.art/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+228) (BuildId: fe6bfaf552d16195430b86d57f169733)
03-26 11:46:35.184 20579 20579 F DEBUG   :       rust-mobile/ndk#43 pc 0000000000567310  /apex/com.android.art/lib64/libart.so (art::JValue art::InvokeWithVarArgs<art::ArtMethod*>(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, art::ArtMethod*, std::__va_list)+448) (BuildId: fe6bfaf552d16195430b86d57f169733)
03-26 11:46:35.184 20579 20579 F DEBUG   :       rust-mobile/ndk#44 pc 00000000005677d4  /apex/com.android.art/lib64/libart.so (art::JValue art::InvokeWithVarArgs<_jmethodID*>(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jmethodID*, std::__va_list)+92) (BuildId: fe6bfaf552d16195430b86d57f169733)
03-26 11:46:35.184 20579 20579 F DEBUG   :       rust-mobile/ndk#45 pc 00000000004497d4  /apex/com.android.art/lib64/libart.so (art::JNI<true>::CallStaticVoidMethodV(_JNIEnv*, _jclass*, _jmethodID*, std::__va_list)+652) (BuildId: fe6bfaf552d16195430b86d57f169733)
03-26 11:46:35.184 20579 20579 F DEBUG   :       rust-mobile/ndk#46 pc 000000000009d48c  /system/lib64/libandroid_runtime.so (_JNIEnv::CallStaticVoidMethod(_jclass*, _jmethodID*, ...)+124) (BuildId: 6af515674a3338ee559b7b92a237e8db)
03-26 11:46:35.184 20579 20579 F DEBUG   :       rust-mobile/ndk#47 pc 00000000000a56c8  /system/lib64/libandroid_runtime.so (android::AndroidRuntime::start(char const*, android::Vector<android::String8> const&, bool)+856) (BuildId: 6af515674a3338ee559b7b92a237e8db)
03-26 11:46:35.184 20579 20579 F DEBUG   :       rust-mobile/ndk#48 pc 00000000000035a0  /system/bin/app_process64 (main+1368) (BuildId: 29599d7c45ed3763d0f01c3f95154462)
03-26 11:46:35.184 20579 20579 F DEBUG   :       rust-mobile/ndk#49 pc 0000000000049ccc  /apex/com.android.runtime/lib64/bionic/libc.so (__libc_init+108) (BuildId: f85239005a40452d2a5d593676124555)

Pico Neo 3 Log:

02-22 15:12:15.330  5255  5255 I PVRHome-store: startApp, packageName is rust.alxr_android_client, activityName is android.app.NativeActivity
02-22 15:12:15.330  5255  5255 I AppUtils: startActivity{rust.alxr_android_client/android.app.NativeActivity/vr/0/false/1}
02-22 15:12:15.332  5255  5255 I AppUtils: vrshell process importance is 100
02-22 15:12:15.332  5255  5255 I AppUtils: startActivity{mainDisplayId=0, vrShellDisplayId=3, vrshellIsForeground=true}
02-22 15:12:15.332  5255  5255 I AppUtils: launchIntent{rust.alxr_android_client/android.app.NativeActivity/0}
02-22 15:12:10.918  1030  1968 D BatteryService: battery checkBatteryStatus temp is 230 batteryLevel is 79
02-22 15:12:15.333  1030  2056 D ActivityTaskManager: startPVRAdapterIfNeed start aInfo=ActivityInfo{b1798f5 android.app.NativeActivity} callingPackage=com.picovr.store
02-22 15:12:15.333  1030  2056 D ActivityTaskManager: startPVRAdapterIfNeed return by callingIsVrApp false
02-22 15:12:15.333  1030  2056 I ActivityTaskManager: START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=rust.alxr_android_client/android.app.NativeActivity} from uid 1000
02-22 15:12:15.334   900  7050 I PxrStreamingService: Call <pvrManagerCallBack> - onEventChange:key=activity_status value=activityStarting:rust.alxr_android_client,android.app.NativeActivity
02-22 15:12:15.334  5904  6340 I PVRShell: ----------activityStarting----------
02-22 15:12:15.334  1030  2056 I ActivityUtils: Metadata value of VR flag com.picovr.type for component:ComponentInfo{rust.alxr_android_client/android.app.NativeActivity} is:null
02-22 15:12:15.335  1030  2056 I ActivityUtils: Metadata value of VR flag pvr.app.type for component:ComponentInfo{rust.alxr_android_client/android.app.NativeActivity} is:null
02-22 15:12:15.335  1030  2056 I ActivityUtils: Metadata value of VR flag com.picovr.type for application:rust.alxr_android_client is:null
02-22 15:12:15.335  1030  2056 I ActivityUtils: Metadata value of VR flag pvr.app.type for application:rust.alxr_android_client is:vr
02-22 15:12:15.335  1030  2056 V LaunchParamsController: Preferred display is specified by activityoptions to:0
02-22 15:12:15.335   897  7052 I PxrHmdService: Call <pvrManagerCallBack> - onEventChange:key=activity_status value=activityStarting:rust.alxr_android_client,android.app.NativeActivity
02-22 15:12:15.336  1030  2056 E ANDR-PERF-JNI: com_qualcomm_qtiperformance_native_perf_io_prefetch_start
02-22 15:12:15.336   858   977 E ANDR-PERF-LM: GAMEOPT: getData() 872: isHeavy hint type 1 for app rust.alxr_android_client
02-22 15:12:15.336  5904  6340 I PVRShell: OnActivityStarting, componentName = rust.alxr_android_client/android.app.NativeActivity, displayMode = 0, startMode = vr, isPUIApp = false, rotation = 1
02-22 15:12:15.337   858   977 E ANDR-PERF-LM: MetaMeter: handleAsync() 164: AdaptLaunch Invalid Async
02-22 15:12:15.337   858   977 E ANDR-PERF-LM: MetaMeter: handleAsync() 164: AdaptLaunch Invalid Async
02-22 15:12:15.337  1030  2056 E ANDR-PERF-JNI: com_qualcomm_qtiperformance_native_perf_io_prefetch_start
02-22 15:12:15.425   894   894 I cp_xxxx_1: type=1400 audit(0.0:5261): avc: denied { search } for name="vendor" dev="tmpfs" ino=31068 scontext=u:r:pvrtrackingservice:s0 tcontext=u:object_r:mnt_vendor_file:s0 tclass=dir permissive=1
02-22 15:12:15.337  1030  2056 I ActivityUtils: Metadata value of VR flag com.picovr.type for component:ComponentInfo{rust.alxr_android_client/android.app.NativeActivity} is:null
02-22 15:12:15.337  1030  2056 I ActivityUtils: Metadata value of VR flag pvr.app.type for component:ComponentInfo{rust.alxr_android_client/android.app.NativeActivity} is:null
02-22 15:12:15.338  1030  2056 I ActivityUtils: Metadata value of VR flag com.picovr.type for application:rust.alxr_android_client is:null
02-22 15:12:15.338  1030  2056 I ActivityUtils: Metadata value of VR flag pvr.app.type for application:rust.alxr_android_client is:vr
02-22 15:12:15.338  1030  2056 V LaunchParamsController: Preferred display is specified by activityoptions to:0
02-22 15:12:15.338   857   987 E ANDR-IOP: io prefetch is disabled
02-22 15:12:15.338   858   977 E ANDR-PERF-LM: GAMEOPT: getData() 872: isHeavy hint type 1 for app rust.alxr_android_client
02-22 15:12:15.338   858   977 E ANDR-PERF-LM: MetaMeter: handleAsync() 164: AdaptLaunch Invalid Async
02-22 15:12:15.339   858   977 I chatty  : uid=0(root) lmCoreThread identical 2 lines
02-22 15:12:15.339   858   977 E ANDR-PERF-LM: MetaMeter: handleAsync() 164: AdaptLaunch Invalid Async
02-22 15:12:15.339   858   976 E ANDR-PERF-UTIL: Failed to update node /sys/class/devfreq/soc:qcom,cpu0-llcc-ddr-lat/min_freq with value 10437
02-22 15:12:15.339   858   976 E ANDR-PERF-RESOURCEQS: Failed to apply optimization [13, 12]
02-22 15:12:15.339  1030  2056 I ActivityUtils: Metadata value of VR flag com.picovr.type for component:ComponentInfo{rust.alxr_android_client/android.app.NativeActivity} is:null
02-22 15:12:15.339  1030  2056 I ActivityUtils: Metadata value of VR flag pvr.app.type for component:ComponentInfo{rust.alxr_android_client/android.app.NativeActivity} is:null
02-22 15:12:15.339  1030  2056 I ActivityUtils: Metadata value of VR flag com.picovr.type for application:rust.alxr_android_client is:null
02-22 15:12:15.339  1030  2056 I ActivityUtils: Metadata value of VR flag pvr.app.type for application:rust.alxr_android_client is:vr
02-22 15:12:15.339  1030  2056 V LaunchParamsController: Preferred display is specified by activityoptions to:0
02-22 15:12:15.339   858   976 E ANDR-PERF-UTIL: Failed to update node /sys/class/devfreq/soc:qcom,cpu0-llcc-ddr-lat/min_freq with value 10437
02-22 15:12:15.339   858   976 E ANDR-PERF-RESOURCEQS: Failed to apply optimization [13, 12]
02-22 15:12:15.340   858   976 E ANDR-PERF-UTIL: Failed to update node /sys/class/devfreq/soc:qcom,cpu0-llcc-ddr-lat/min_freq with value 10437
02-22 15:12:15.340   858   976 E ANDR-PERF-RESOURCEQS: Failed to apply optimization [13, 12]
02-22 15:12:15.341   857   987 E ANDR-IOP: io prefetch is disabled
02-22 15:12:15.341  1030  2056 W InputDispatcher: Focused display #0 does not have a focused window.
02-22 15:12:15.341  1030  2056 E InputDispatcher: But another display has a focused window:
02-22 15:12:15.341  1030  2056 E InputDispatcher: Display rust-mobile/ndk#3 has focused window: 'Window{57f9bb5 u0 com.picovr.store/com.picovr.store.app.AllAppActivity}'
02-22 15:12:15.342  1030  2056 D CompatibilityInfo: mCompatibilityFlags - 4
02-22 15:12:15.342  1030  2056 D CompatibilityInfo: applicationDensity - 560
02-22 15:12:15.342  1030  2056 D CompatibilityInfo: applicationScale - 1.0
02-22 15:12:15.342  1030  2056 D ActivityTrigger: ActivityTrigger activityPauseTrigger
02-22 15:12:15.343  5904  5904 D UnityNativeActivityPico: onPause
02-22 15:12:15.344  5255  5255 I PVRHome-store: rust.alxr_android_client start , isCN = true
02-22 15:12:15.345   897  4430 I PxrHmdService: getCPULevel:3 0
02-22 15:12:15.346   897  4430 I PxrHmdService: getGPULevel:0 0
02-22 15:12:15.346  5904  5904 D VRConfigUtils: save level 00
02-22 15:12:15.346  5904  5904 D VRConfigUtils: reset level
02-22 15:12:15.346  5904  5904 I UnityPlugin: PVR_SetCpuLevel  level 0
02-22 15:12:15.346  5904  5904 I PxrProxyServiceClient: Call <setCPULevel> - level=[0],fixfreq=[1].
02-22 15:12:15.346   823  5309 D hardware_info: hw_info_append_hw_type : device_name = vi-feedback
02-22 15:12:15.346   823  5309 V audio_hw_spkr_prot: spkr_prot_calib_cancel: Entry
02-22 15:12:15.346   823  5309 V audio_hw_spkr_prot: spkr_prot_calib_cancel: Exit
02-22 15:12:15.346   897  4430 I PxrHmdService: setCPULevel:0 1
02-22 15:12:15.346   823  5309 D msm8974_platform: platform_split_snd_device: snd_device(202) num devices(0) new_snd_devices(0)
02-22 15:12:15.346   823  5309 D audio_hw_primary: enable_snd_device: snd_device(202: vi-feedback)
02-22 15:12:15.346   823  5309 I soundtrigger: audio_extn_sound_trigger_update_device_status: device 0xca of type 1 for Event 1, with Raise=0
02-22 15:12:15.346   823  5309 D audio_route: Apply path: vi-feedback
02-22 15:12:15.346   823  5309 E audio_route: Path: vi-feedback, length: 0
02-22 15:12:15.346   823  5309 D soundtrigger: audio_extn_sound_trigger_update_stream_status: uc_info->id 52 of type 1 for Event 3, with Raise=0
02-22 15:12:15.346   823  5309 D audio_hw_utils: audio_extn_utils_send_app_type_cfg: usecase->in_snd_device vi-feedback
02-22 15:12:15.346   823  5309 E voice   : voice_is_in_call_rec_stream: input stream is NULL
02-22 15:12:15.346   823  5309 D msm8974_platform: platform_split_snd_device: snd_device(202) num devices(0) new_snd_devices(0)
02-22 15:12:15.346   823  5309 E audio_hw_utils: send_app_type_cfg_for_device: Could not get ctl for mixer cmd - Audio Stream Capture 33 App Type Cfg
02-22 15:12:15.346  5904  5936 I Unity   : VRShell------->OnActivityStarting = rust.alxr_android_client|android.app.NativeActivity|0|vr|false|1
02-22 15:12:15.346  5904  5936 I Unity   :
02-22 15:12:15.346   823  5309 D msm8974_platform: platform_split_snd_device: snd_device(202) num devices(1) new_snd_devices(0)
02-22 15:12:15.346  5904  5936 I Unity   : VRShell------->DisplayHide
02-22 15:12:15.346  5904  5936 I Unity   :
02-22 15:12:15.346   823  5309 D ACDB-LOADER: ACDB -> send_audio_cal, acdb_id = 102, path = 1, app id = 0x11132, sample rate = 8000, afe_sample_rate = 8000
02-22 15:12:15.346   823  5309 D ACDB-LOADER: ACDB -> send_asm_topology
02-22 15:12:15.346   823  5309 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AUDPROC_STREAM_TOPOLOGY_ID
02-22 15:12:15.346   823  5309 D ACDB-LOADER: ACDB -> send_adm_topology
02-22 15:12:15.346   823  5309 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AUDPROC_COMMON_TOPOLOGY_ID
02-22 15:12:15.347   823  5309 D ACDB-LOADER: ACDB -> send_audtable
02-22 15:12:15.347   823  5309 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AUDPROC_INSTANCE_COMMON_TABLE_SIZE
02-22 15:12:15.347  5904  5904 I UnityPlugin: PVR_SetGpuLevel_ level 0
02-22 15:12:15.347  5904  5904 I PxrProxyServiceClient: Call <setGPULevel> - level=[0],fixfreq=[1].
02-22 15:12:15.347   823  5309 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AUDPROC_INSTANCE_COMMON_TABLE
02-22 15:12:15.347   823  5309 D ACDB-LOADER: ACDB -> AUDIO_SET_AUDPROC_CAL cal_type[11] acdb_id[102] app_type[69938]
02-22 15:12:15.347   823  5309 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_PERSISTENT_AUDPROC_INSTANCE_COMMON_TABLE_SIZE
02-22 15:12:15.347   823  5309 D         : ACDBFILE_MGR: Property for the pid 000133B7 not found
02-22 15:12:15.347   823  5309 I chatty  : uid=1041(audioserver) writer identical 6 lines
02-22 15:12:15.347   823  5309 D         : ACDBFILE_MGR: Property for the pid 000133B7 not found
02-22 15:12:15.347   897  4430 I PxrHmdService: setGPULevel:0 1
02-22 15:12:15.347   823  5309 D         : ACDBFILE_MGR: Property for the pid 000133B7 not found
02-22 15:12:15.347   823  5309 I chatty  : uid=1041(audioserver) writer identical 2 lines
02-22 15:12:15.347   823  5309 D         : ACDBFILE_MGR: Property for the pid 000133B7 not found
02-22 15:12:15.347   823  5309 D         : [Data Manager]-> No data found
02-22 15:12:15.347   823  5309 D ACDB-LOADER: Error: ACDB_CMD_GET_PERSISTENT_AUDPROC_INSTANCE_COMMON_TABLE_SIZE returned -18
02-22 15:12:15.347   823  5309 D ACDB-LOADER: ACDB -> send_audproc_persist_table -18
02-22 15:12:15.347  5904  5904 I UnityNativeActivityPico: onPause set cpu 0
02-22 15:12:15.347   823  5309 D ACDB-LOADER: Error: Invalid Audproc persist size = -18
02-22 15:12:15.347   823  5309 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AUDPROC_INSTANCE_STREAM_TABLE_SIZE
02-22 15:12:15.347  5904  5904 I UnityPlugin: PVR_SetCpuLevel  level 0
02-22 15:12:15.347  5904  5904 I PxrProxyServiceClient: Call <setCPULevel> - level=[0],fixfreq=[1].
02-22 15:12:15.347   823  5309 D ACDB-LOADER: ACDB -> send_audstrmtable
02-22 15:12:15.347   823  5309 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AUDPROC_INSTANCE_STREAM_TABLE
02-22 15:12:15.347   823  5309 D ACDB-LOADER: ACDB -> audstrm_cal->cal_type.cal_data.cal_size = 20
02-22 15:12:15.347   823  5309 D ACDB-LOADER: ACDB -> send_afe_topology
02-22 15:12:15.347   823  5309 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AFE_TOPOLOGY_ID
02-22 15:12:15.347   823  5309 D ACDB-LOADER: ACDB -> GET_AFE_TOPOLOGY_ID for adcd_id 102, Topology Id 1001025c
02-22 15:12:15.347   897  4430 I PxrHmdService: setCPULevel:0 1
02-22 15:12:15.347   823  5309 D ACDB-LOADER: ACDB -> send_afe_cal
02-22 15:12:15.347   823  5309 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AFE_INSTANCE_COMMON_TABLE_SIZE
02-22 15:12:15.347   823  5309 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AFE_INSTANCE_COMMON_TABLE
02-22 15:12:15.347   823  5309 D ACDB-LOADER: ACDB -> AUDIO_SET_AFE_CAL cal_type[17] acdb_id[102]
02-22 15:12:15.347   823  5309 D ACDB-LOADER: ACDB -> send_hw_delay : acdb_id = 102 path = 1
02-22 15:12:15.347   823  5309 D ACDB-LOADER: ACDB -> ACDB_AVSYNC_INFO: ACDB_CMD_GET_DEVICE_PROPERTY
02-22 15:12:15.347   823  5309 D audio_hw_primary: enable_audio_route: apply mixer and update path: spkr-vi-record
02-22 15:12:15.347   823  5309 D audio_route: Apply path: spkr-vi-record
02-22 15:12:15.347   823  5309 E audio_route: Path: spkr-vi-record, length: 0
02-22 15:12:15.347   823  5309 D tinyalsa_pcm: pcm_open line903 fn is /dev/snd/pcmC0D33c
02-22 15:12:15.347  5904  5904 I UnityNativeActivityPico: Shell onPause shell_mode!=1)&&(force_cancel_unity_pause!=1)
02-22 15:12:15.348   858   977 E ANDR-PERF-LM: GAMEOPT: operator()() 416: ERROR: status != Status::SUCCESS
02-22 15:12:15.348   858   977 E ANDR-PERF-LM: GamePerfEngine: runAsync() 420: Hint is for rust.alxr_android_client/android.app.NativeActivity/16777472 = 0x1003 PID=1030
02-22 15:12:15.348   858   977 E ANDR-PERF-LM: GamePerfEngine: runAsync() 458: Hint is = RESUME
02-22 15:12:15.349   858   977 W ANDR-PERF-LM: FeatureState: writeState() 185: GameOptimization: State transition not allowed
02-22 15:12:15.357  5904  5936 I Unity   : OnApplicationPause-------------------------true
02-22 15:12:15.357  5904  5936 I Unity   :
02-22 15:12:15.358  5904  5936 I Unity   : OnApplicationPause-------------------------Activity Pause State:True
02-22 15:12:15.358  5904  5936 I Unity   :
02-22 15:12:15.358  5904  5936 I UnityPlugin: OnRenderEvent EVENT_PAUSE
02-22 15:12:15.359  5904  5936 I UnityPlugin: PVR_Pause()
02-22 15:12:15.359  5904  5936 I VrApi   : ---------- pvr_LeaveVrMode ----------
02-22 15:12:15.359  5904  5936 I TimeWarp: ---------------- Destruct MiraCast Start miraShutdownRequest=1----------------
02-22 15:12:15.359  5904  5936 I TimeWarp: wake VirScreen Thread to Exit
02-22 15:12:15.359  5904  5936 I TimeWarp: miraCast pthread_join() called
02-22 15:12:15.359  5904  7045 I TimeWarp: mSurfaceObjB received signal, Miracast thread continue
02-22 15:12:15.359  5904  7045 I TimeWarp: App is destorying, curr Thread will exit
02-22 15:12:15.359  5904  7045 I TimeWarp: LLLL nativeWindow = NULL
02-22 15:12:15.359  5904  7045 I TimeWarp: LLLL eglCreateWindowSurface failed
02-22 15:12:15.359  5904  7045 I TimeWarp: miraCastThread Loop start miraCastVirScreenPause = 0
02-22 15:12:15.359  5904  7045 I TimeWarp: eglPresentationSurface = EGL_NO_SURFACE
02-22 15:12:15.359  5904  7045 I TimeWarp:  Destroyed eglMiraCastContext.
02-22 15:12:15.359  5904  7045 I TimeWarp: MiraCastThreadShutdown() - End
02-22 15:12:15.359  5904  5936 I TimeWarp: miraCast pthread_join() returned
02-22 15:12:15.359  5904  5936 I TimeWarp: miraCast presentationWindowANativeWindow =  null
02-22 15:12:15.359  5904  5936 I TimeWarp: ---------------- Destruct MiraCast End -----------------
02-22 15:12:15.359  5904  5936 I TimeWarp: ---------------- Destruct TimeWarp Start ShutdownRequest=2 ----------------
02-22 15:12:15.359  5904  5936 I TimeWarp: timeWarp pthread_join() called
02-22 15:12:15.361   823  5309 V audio_hw_spkr_prot: spkr_prot_start_processing: Exit
02-22 15:12:15.361   823  5309 I audio_hw_utils: audio_extn_utils_update_stream_output_app_type_cfg Allowing 24 and above bits playback on speaker ONLY at default sampling rate
02-22 15:12:15.361   823  5309 E soundtrigger: audio_extn_sound_trigger_update_stream_status: invalid input device 0x0, for event 3
02-22 15:12:15.361   823  5309 D soundtrigger: audio_extn_sound_trigger_update_stream_status: uc_info->id 1 of type 0 for Event 3, with Raise=0
02-22 15:12:15.361   823  5309 D audio_hw_utils: audio_extn_utils_send_app_type_cfg: usecase->out_snd_device speaker
02-22 15:12:15.361   823  5309 D msm8974_platform: platform_split_snd_device: snd_device(2) num devices(0) new_snd_devices(0)
02-22 15:12:15.362   823  5309 D audio_hw_utils: audio_extn_btsco_get_sample_rate:Not a BT SCO device, need not update sampling rate
02-22 15:12:15.362   823  5309 I audio_hw_utils: send_app_type_cfg_for_device PLAYBACK app_type 69937, acdb_dev_id 124, sample_rate 48000, snd_device_be_idx 179
02-22 15:12:15.363   823  5309 D msm8974_platform: platform_split_snd_device: snd_device(2) num devices(1) new_snd_devices(0)
02-22 15:12:15.363   823  5309 D audio_hw_utils: audio_extn_btsco_get_sample_rate:Not a BT SCO device, need not update sampling rate
02-22 15:12:15.363   823  5309 D ACDB-LOADER: ACDB -> send_audio_cal, acdb_id = 124, path = 0, app id = 0x11131, sample rate = 48000, afe_sample_rate = 48000
02-22 15:12:15.363   823  5309 D ACDB-LOADER: ACDB -> send_asm_topology
02-22 15:12:15.363   823  5309 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AUDPROC_STREAM_TOPOLOGY_ID
02-22 15:12:15.363   823  5309 D ACDB-LOADER: ACDB -> send_adm_topology
02-22 15:12:15.363   823  5309 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AUDPROC_COMMON_TOPOLOGY_ID
02-22 15:12:15.363   823  5309 D ACDB-LOADER: ACDB -> send_audtable
02-22 15:12:15.363   823  5309 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AUDPROC_INSTANCE_COMMON_TABLE_SIZE
02-22 15:12:15.363   823  5309 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AUDPROC_INSTANCE_COMMON_TABLE
02-22 15:12:15.363   823  5309 D ACDB-LOADER: ACDB -> AUDIO_SET_AUDPROC_CAL cal_type[11] acdb_id[124] app_type[69937]
02-22 15:12:15.363   823  5309 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_PERSISTENT_AUDPROC_INSTANCE_COMMON_TABLE_SIZE
02-22 15:12:15.363   823  5309 D         : ACDBFILE_MGR: Property for the pid 000133B7 not found
02-22 15:12:15.363   823  5309 I chatty  : uid=1041(audioserver) writer identical 2 lines
02-22 15:12:15.363   823  5309 D         : ACDBFILE_MGR: Property for the pid 000133B7 not found
02-22 15:12:15.363   823  5309 D         : [Data Manager]-> No data found
02-22 15:12:15.363   823  5309 D ACDB-LOADER: Error: ACDB_CMD_GET_PERSISTENT_AUDPROC_INSTANCE_COMMON_TABLE_SIZE returned -18
02-22 15:12:15.363   823  5309 D ACDB-LOADER: ACDB -> send_audproc_persist_table -18
02-22 15:12:15.363   823  5309 D ACDB-LOADER: Error: Invalid Audproc persist size = -18
02-22 15:12:15.363   823  5309 D ACDB-LOADER: ACDB -> send_audvoltable
02-22 15:12:15.363   823  5309 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AUDPROC_INSTANCE_GAIN_DEP_STEP_TABLE_SIZE
02-22 15:12:15.363   823  5309 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AUDPROC_INSTANCE_GAIN_DEP_STEP_TABLE, vol index 0
02-22 15:12:15.363   823  5309 D ACDB-LOADER: ACDB -> AUDIO_SET_VOL_CAL cal type = 12
02-22 15:12:15.363   823  5309 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AUDPROC_INSTANCE_STREAM_TABLE_SIZE
02-22 15:12:15.363   823  5309 D ACDB-LOADER: ACDB -> send_audstrmtable
02-22 15:12:15.363   823  5309 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AUDPROC_INSTANCE_STREAM_TABLE
02-22 15:12:15.363   823  5309 D ACDB-LOADER: ACDB -> audstrm_cal->cal_type.cal_data.cal_size = 20
02-22 15:12:15.363   823  5309 D ACDB-LOADER: ACDB -> send_afe_topology
02-22 15:12:15.363   823  5309 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AFE_TOPOLOGY_ID
02-22 15:12:15.363   823  5309 D ACDB-LOADER: ACDB -> GET_AFE_TOPOLOGY_ID for adcd_id 124, Topology Id 1001025d
02-22 15:12:15.363   823  5309 D ACDB-LOADER: ACDB -> send_afe_cal
02-22 15:12:15.363   823  5309 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AFE_INSTANCE_COMMON_TABLE_SIZE
02-22 15:12:15.363   823  5309 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AFE_INSTANCE_COMMON_TABLE
02-22 15:12:15.363   823  5309 D ACDB-LOADER: ACDB -> AUDIO_SET_AFE_CAL cal_type[16] acdb_id[124]
02-22 15:12:15.363   823  5309 D ACDB-LOADER: ACDB -> send_hw_delay : acdb_id = 124 path = 0
02-22 15:12:15.363   823  5309 D ACDB-LOADER: ACDB -> ACDB_AVSYNC_INFO: ACDB_CMD_GET_DEVICE_PROPERTY
02-22 15:12:15.363   823  5309 D msm8974_platform: platform_split_snd_device: snd_device(2) num devices(0) new_snd_devices(0)
02-22 15:12:15.363   823  5309 I msm8974_platform: platform_get_custom_mtmx_params: no matching param with id 0 ip_ch 2 op_ch 2 uc_id 1 snd_dev 2
02-22 15:12:15.363   823  5309 D audio_hw_primary: enable_audio_route: apply mixer and update path: low-latency-playback02-22 15:12:15.363   823  5309 D audio_route: Apply path: low-latency-playback
02-22 15:12:15.363   823  5309 E audio_route: Path: low-latency-playback, length: 1
02-22 15:12:15.363   823  5309 E audio_route:   id=0: ctl=WSA_CDC_DMA_RX_0 Audio Mixer MultiMedia5
02-22 15:12:15.363   823  5309 E audio_route:     id=0 value=1
02-22 15:12:15.363   823  5309 E audio_route:     id=1 value=1
02-22 15:12:15.364   823  5309 D audio_hw_primary: select_devices: done
02-22 15:12:15.364   823  5309 D tinyalsa_pcm: pcm_open line903 fn is /dev/snd/pcmC0D9p
02-22 15:12:15.365  5904  7044 I TimeWarp: WarpThread ShutdownRequest received
02-22 15:12:15.379  5904  7044 I TimeWarp: WarpThreadShutdown()
02-22 15:12:15.380  5904  7044 I TimeWarp: EEEE DestroyFrameworkGraphics destroying eye render target 0
02-22 15:12:15.380  5904  7044 I TimeWarp: EEEE DestroyFrameworkGraphics destroying eye render target 1
02-22 15:12:15.380  5904  7044 I TimeWarp: EEEE DestroyEyeTargetGraphics
02-22 15:12:15.380  5904  7044 I TimeWarp: EEEE DestroyEyeTargetGraphics end
02-22 15:12:15.382  5904  7044 I TimeWarp: WarpThreadShutdown() - End
02-22 15:12:15.382  5904  7044 I TimeWarp: Exiting WarpThreadLoop()
02-22 15:12:15.382  5904  5936 I TimeWarp: timeWarp pthread_join() returned
02-22 15:12:15.382  5904  5936 I TimeWarp: ---------------- Destruct TimeWarp End ----------------
02-22 15:12:15.382  5904  5936 E GS      :  Gs_SeeDestroyHandle
02-22 15:12:15.382   847  4176 I [email protected]: svc_see_destroyHandle is called (do nothing here), frame_handler 0x7b18238000, HidlHeapMemData 0x7b0cd1e000
02-22 15:12:15.383  5904  5936 I [email protected]: Info <see_destroyHandle> - dlclose done.
02-22 15:12:15.383  5904  5936 I UnityPlugin: Pvr_StopSensor_ enter
02-22 15:12:15.383  5904  5936 I VrApi   : PVR_SERVICE_QUATERNION_MODE StopSensor GlobalTracking
02-22 15:12:15.383  5904  5936 I PxrProxyServiceClient: Call <stopVRMode>.
02-22 15:12:15.383  5904  5936 D TrackingClient: [StopAlgorithm]:139
02-22 15:12:15.383  5904  5936 I UnityPlugin: Pvr_StopSensor_ exit
02-22 15:12:15.383  5904  5936 I Unity   : PvrLog SetGameObjectToJar
02-22 15:12:15.383  5904  5936 I Unity   :
02-22 15:12:15.383  5904  5936 D ControllerClient: unityObjectName =
02-22 15:12:15.384  5904  5936 D ControllerClient: call client stopControllerThread(1,1)
02-22 15:12:15.384  5904  5936 I Unity   : PvrLog StopControllerThread11
02-22 15:12:15.384  5904  5936 I Unity   :
02-22 15:12:15.384  2835  2835 I VrApi   : PVR_SERVICE_QUATERNION_MODE StopSensor GlobalTracking
02-22 15:12:15.384  2835  2835 I PxrProxyServiceClient: Call <stopVRMode>.
02-22 15:12:15.384  5904  5936 I Unity   : VRShell------->OnApplicationPause = True
02-22 15:12:15.384  5904  5936 I Unity   :
02-22 15:12:15.384  5904  5936 I Unity   : OnApplicationPause   True
02-22 15:12:15.384  5904  5936 I Unity   :
02-22 15:12:15.385  1030  5752 I SmartPowerMonitor: [FEAT_POWER_MONITOR_COMMON][0] noteSensorStateChange uid: 1000, sensor: 11, state: 0
02-22 15:12:15.385   839   839 I sensors-hal: batch:229, android.sensor.accelerometer/11, period=1954000, max_latency=0
02-22 15:12:15.385   839   839 I sensors-hal: batch:240, android.sensor.accelerometer/11, period=1954000, max_latency=0 request completed
02-22 15:12:15.386  5904  5904 D UnityNativeActivityPico: onPause break-point
02-22 15:12:15.386  5904  5904 D UnityNativeActivityPico: Unity DismissPresentation enter
02-22 15:12:15.386  5904  5904 I ConfigApi: deInitialize Global Configs
02-22 15:12:15.386  5904  5904 E VrServiceApi: deInitServiceClient
02-22 15:12:15.386  5904  5904 I PVRShell: ==========onPause
02-22 15:12:15.386  5904  5904 D ActivityThread: [FEAT_UI_FIRST_WHEN_LAUNCH_APP][0] OnPause setUIFirstSched tid = 5904 processname = com.pvr.vrshell
02-22 15:12:15.387  1030  5752 I ActivityTaskManager: The Process rust.alxr_android_client Already Exists in BG. So sending its PID: 6198
02-22 15:12:15.387  1030  5752 D ActivityTaskManager: [FEAT_UI_FIRST_WHEN_LAUNCH_APP][0] AMSOE UI first enabled tid=6198 pkname = rust.alxr_android_client
02-22 15:12:15.387   858   977 E ANDR-PERF-LM: MetaMeter: handleAsync() 164: AdaptLaunch Invalid Async
02-22 15:12:15.387  1030  5752 W InputReader: Device has associated, but no associated display id.
02-22 15:12:15.387  2102  5549 W AppServiceManager: findServiceByInterface for class os.teatracker.config.TeaConfigService
02-22 15:12:15.387  2102  5549 W AppServiceManager: findActiveService active found
02-22 15:12:15.387  1030  5752 D CompatibilityInfo: mCompatibilityFlags - 4
02-22 15:12:15.387  1030  5752 D CompatibilityInfo: applicationDensity - 560
02-22 15:12:15.387  1030  5752 D CompatibilityInfo: applicationScale - 1.0
02-22 15:12:15.389  5904  5904 I PVRShell: ==========onWindowFocusChanged, hasFocus = true
02-22 15:12:15.390  5904  5904 I PVRShell: delay execute WHAT_CHECK_STACK
02-22 15:12:15.389  2102  5549 W AppServiceManager: findServiceByInterface for class os.teatracker.config.TeaConfigService
02-22 15:12:15.390  2102  5549 W AppServiceManager: findActiveService active found
02-22 15:12:15.390  6198  6198 W ActivityThread: handleWindowVisibility: no activity for token android.os.BinderProxy@6e3a399
02-22 15:12:15.392  5904  5904 I PVRShell: ==========onWindowFocusChanged, hasFocus = false
02-22 15:12:15.392  5904  5904 I PVRShell: cancel execute WHAT_CHECK_STACK
02-22 15:12:15.392  2570  3626 I ProcessController: onForegroundActivitiesChanged: pid = 6198,uid = 10071,foregroundActivities = true
02-22 15:12:15.394  6198  6198 W ActivityThread: notifyAppLaunchStatus rust.alxr_android_client android.app.NativeActivity
02-22 15:12:15.394  2570  3626 I NestServer-Utils: getFocusedStackDisplayId: topActivity = ComponentInfo{rust.alxr_android_client/android.app.NativeActivity}
02-22 15:12:15.403  6198  6223 I RustStdoutStderr: LOG in oxr_instance: LOG in oxr_instance: LOG in oxr_instance: LOG in oxr_instance: thread '<unnamed>' panicked at 'assertion failed: previous.is_none()', C:\Users\korcan\.cargo\registry\src\github.com-1ecc6299db9ec823\ndk-context-0.1.0\src\lib.rs:87:5
02-22 15:12:15.403  6198  6223 I RustStdoutStderr: stack backtrace:
02-22 15:12:15.403  6198  6223 I RustStdoutStderr: note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
02-22 15:12:15.403  6198  6223 I RustStdoutStderr: fatal runtime error: failed to initiate panic, error 5
02-22 15:12:15.403  6198  6198 F libc    : Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 6198 (_android_client), pid 6198 (_android_client)
02-22 15:12:15.404  5904  5904 W UnityNativeActivityPico: DIATW onTrimMemory level=20
02-22 15:12:15.421   823  5309 D msm8974_platform: platform_set_channel_map mixer_ctl_name:Playback Channel Map9
02-22 15:12:15.421   823  5309 D msm8974_platform: platform_set_channel_map: set mapping(1 2 0 0 0 0 0 0) for channel:2
02-22 15:12:15.422   823  5309 D audio_hw_primary: start_output_stream: exit
02-22 15:12:15.422   823  5309 D audio_hw_primary: out_write: retry previous failed cal level set
02-22 15:12:15.422   823  5309 D msm8974_platform: platform_split_snd_device: snd_device(2) num devices(1) new_snd_devices(0)
02-22 15:12:15.422   823  5309 W msm8974_platform: platform_send_gain_dep_cal: Usecase list is empty
02-22 15:12:15.426  7066  7066 I crash_dump64: obtaining output fd from tombstoned, type: kDebuggerdTombstone
02-22 15:12:15.426  1267  1267 I /system/bin/tombstoned: received crash request for pid 6198
02-22 15:12:15.426  7066  7066 I crash_dump64: performing dump of process 6198 (target tid = 6198)
02-22 15:12:15.430  7066  7066 F DEBUG   : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
02-22 15:12:15.430  7066  7066 F DEBUG   : Build fingerprint: 'Pico/A7H10/PICOA7H10:10/4.5.30/eng.scmbui.20220129.015944:user/test-keys'
02-22 15:12:15.430  7066  7066 F DEBUG   : Revision: '0'
02-22 15:12:15.430  7066  7066 F DEBUG   : ABI: 'arm64'
02-22 15:12:15.430  7066  7066 F DEBUG   : Timestamp: 2022-02-22 15:12:15+0100
02-22 15:12:15.430  7066  7066 F DEBUG   : pid: 6198, ppid: 694, tid: 6198, name: _android_client  >>> rust.alxr_android_client <<<
02-22 15:12:15.430  7066  7066 F DEBUG   : uid: 10071
02-22 15:12:15.430  7066  7066 F DEBUG   : signal 6 (SIGABRT), code -1 (SI_QUEUE), fault addr --------
02-22 15:12:15.430  7066  7066 F DEBUG   :     x0  0000000000000000  x1  0000000000001836  x2  0000000000000006  x3  0000007ffbec3bb0
02-22 15:12:15.430  7066  7066 F DEBUG   :     x4  0000000000fd7bcf  x5  0000000000fd7bcf  x6  0000000000fd7bcf  x7  0000000000fe1b23
02-22 15:12:15.430  7066  7066 F DEBUG   :     x8  00000000000000f0  x9  6ed4b17a00ad2015  x10 0000000000000001  x11 0000000000000000
02-22 15:12:15.430  7066  7066 F DEBUG   :     x12 fffffff0fffffbdf  x13 0000007ffbec3cd0  x14 000000715ed5f308  x15 0000000000000018
02-22 15:12:15.430  7066  7066 F DEBUG   :     x16 00000072486008c0  x17 00000072485dc910  x18 000000724baca200  x19 0000000000001836
02-22 15:12:15.430  7066  7066 F DEBUG   :     x20 0000000000001836  x21 00000000ffffffff  x22 000000715ed7b050  x23 000000715eb94050
02-22 15:12:15.430  7066  7066 F DEBUG   :     x24 0000000000000001  x25 0000000000000000  x26 0000007ffbec4058  x27 000000724bc1e020
02-22 15:12:15.430  7066  7066 F DEBUG   :     x28 0000007ffbec4070  x29 0000007ffbec3c50
02-22 15:12:15.430  7066  7066 F DEBUG   :     sp  0000007ffbec3b90  lr  000000724858e0c4  pc  000000724858e0f0
02-22 15:12:15.505  7066  7066 F DEBUG   :
02-22 15:12:15.505  7066  7066 F DEBUG   : backtrace:
02-22 15:12:15.505  7066  7066 F DEBUG   :       #00 pc 00000000000830f0  /apex/com.android.runtime/lib64/bionic/libc.so (abort+160) (BuildId: 3eb60c5540a70a7a12c5918c5cb324c2)
02-22 15:12:15.505  7066  7066 F DEBUG   :       rust-mobile/ndk#1 pc 0000000000231b4c  /data/app/rust.alxr_android_client-jbFSiGGf1rhKxeCt4zzlyQ==/lib/arm64/libalxr_android_client.so (std::sys::unix::net::Socket::recv_from_with_flags::h87d5c08aa1e035a5+128)
02-22 15:12:15.505  7066  7066 F DEBUG   :       rust-mobile/ndk#2 pc 000000000022f2d8  /data/app/rust.alxr_android_client-jbFSiGGf1rhKxeCt4zzlyQ==/lib/arm64/libalxr_android_client.so (__rdl_realloc+84)
02-22 15:12:15.505  7066  7066 F DEBUG   :       rust-mobile/ndk#3 pc 000000000000004c  [anon:.bss]
02-22 15:12:15.501  7066  7066 I crash_dump64: type=1400 audit(0.0:5262): avc: denied { search } for name="framework" dev="dm-0" ino=1945 scontext=u:r:crash_dump:s0:c71,c256,c512,c768 tcontext=u:object_r:system_framework_file:s0 tclass=dir permissive=1
02
@dvc94ch
Copy link
Contributor

dvc94ch commented Mar 27, 2022

that indicates that you have multiple versions of ndk-glue in your dependency tree. Can you run cargo tree -i ndk-glue --target aarch64-linux-android and post the results? If you're using winit, you probably need to use the git version.

@korejan
Copy link
Contributor Author

korejan commented Mar 27, 2022

that indicates that you have multiple versions of ndk-glue in your dependency tree. Can you run cargo tree -i ndk-glue --target aarch64-linux-android and post the results? If you're using winit, you probably need to use the git version.

I see, actually there is. My work is based on a fork of an existing code base, there are crates that do use a different version and those are part of a workspace but I only build binaries of my own crates that shouldn't have any dependencies on those, here's the output:

   Downloaded android_log-sys v0.2.0
   Downloaded ndk v0.6.0
   Downloaded ndk-glue v0.5.1
   Downloaded num-derive v0.3.3
   Downloaded combine v4.6.3
   Downloaded cesu8 v1.1.0
   Downloaded oboe v0.4.5
   Downloaded android_logger v0.10.1
   Downloaded camino v1.0.7
   Downloaded ident_case v1.0.1
   Downloaded cargo-platform v0.1.2
   Downloaded darling v0.13.1
   Downloaded darling_macro v0.13.1
   Downloaded darling_core v0.13.1
   Downloaded ndk-glue v0.6.1
   Downloaded ndk v0.5.0
   Downloaded cargo_metadata v0.14.2
   Downloaded jni v0.19.0
   Downloaded proc-macro-crate v1.1.3
   Downloaded oboe-sys v0.4.5
   Downloaded ndk-sys v0.3.0
   Downloaded ndk-macro v0.3.0
   Downloaded num_enum_derive v0.5.7
   Downloaded strsim v0.10.0
   Downloaded jni-sys v0.3.0
   Downloaded ndk-context v0.1.0
   Downloaded num_enum v0.5.7
   Downloaded ndk-sys v0.2.2
   Downloaded 28 crates (1.3 MB) in 0.72s
 error: There are multiple `ndk-glue` packages in your project, and the specification `ndk-glue` is ambiguous.
 Please re-run this command with `-p <spec>` where `<spec>` is one of the following:
   ndk-glue:0.5.1
   ndk-glue:0.6.1

@dvc94ch
Copy link
Contributor

dvc94ch commented Mar 27, 2022

if you still need more help I need the output of the following commands:

cargo tree -i ndk-glue:0.5.1 --target aarch64-linux-android
cargo tree -i ndk-glue:0.6.1 --target aarch64-linux-android

otherwise feel free to close the issue :)

@MarijnS95
Copy link
Member

MarijnS95 commented Mar 27, 2022

Please use a codeblock next time. That's a bit easier on the eyes and doesn't "link" a bunch of issues because #<number> is detected as a reference to issues/PRs.

We (or rather, David) invented ndk_context to resolve the issues with multiple ndk-glue versions in the tree - this issue seems totally different from that.

Perhaps you should track down where ndk_glue::init - and ndk_context::initialize_android_context as a consequence - was initially called from. I'm not entirely familiar with Androids lifecycle anymore, but perhaps the framework shut down and is now restarting this activity within the same app process (leaving statics alive), or is even having multiple NativeActivity instances alive in two separate "task stacks" (resulting in the same static already being initialized conflict)?

@dvc94ch
Copy link
Contributor

dvc94ch commented Apr 10, 2022

Closing due to inactivity.

@dvc94ch dvc94ch closed this as completed Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants