Closed Bug 1946133 Opened 2 months ago Closed 1 month ago

GleanDebugActivity generates a strict mode violation in Fenix when starting while application onboarding is active

Categories

(Data Platform and Tools :: Glean: SDK, defect, P1)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: travis_, Assigned: travis_)

Details

Attachments

(1 file)

While trying to launch Fenix for the first time when onboarding is active, the GleanDebugActivity appears to generate an Android strict mode violation, specifically UnsafeIntentLaunchViolation.

Relevant stack:

02-05 09:28:25.208   534   549 I ActivityTaskManager: Add Task{f310a37 #54 type=standard A=10214:org.mozilla.fenix.debug} to hidden list because adding Task{70fdcd5 #55 type=standard A=10214:org.mozilla.fenix.debug}
02-05 09:28:25.216   763   844 V WindowManagerShell: Transition requested (#140): android.os.BinderProxy@f384902 TransitionRequestInfo { type = OPEN, triggerTask = TaskInfo{userId=0 taskId=55 displayId=0 isRunning=true baseIntent=Intent { flg=0x10000000 cmp=org.mozilla.fenix.debug/mozilla.telemetry.glean.debug.GleanDebugActivity } baseActivity=ComponentInfo{org.mozilla.fenix.debug/mozilla.telemetry.glean.debug.GleanDebugActivity} topActivity=ComponentInfo{org.mozilla.fenix.debug/mozilla.telemetry.glean.debug.GleanDebugActivity} origActivity=null realActivity=ComponentInfo{org.mozilla.fenix.debug/mozilla.telemetry.glean.debug.GleanDebugActivity} numActivities=1 lastActiveTime=22430589 supportsMultiWindow=true resizeMode=1 isResizeable=true minWidth=-1 minHeight=-1 defaultMinSize=220 token=WCT{android.window.IWindowContainerToken$Stub$Proxy@ac1e213} topActivityType=1 pictureInPictureParams=null shouldDockBigOverlays=false launchIntoPipHostTaskId=-1 lastParentTaskIdBeforePip=-1 displayCutoutSafeInsets=null topActivityInfo=ActivityInfo{5213c50 mozilla.telemetry.glean.debug.GleanDebugActivity} launchCookies=[] positionInParent=Point(0, 0) parentTaskId=-1 isFocused=false isVisible=false isVisibleRequested=false isSleeping=false locusId=null displayAreaFeatureId=1 isTopActivityTransparent=false appCompatTaskInfo=AppCompatTaskInfo { topActivityInSizeCompat=false topActivityEligibleForLetterboxEducation= falseisLetterboxEducationEnabled= true isLetterboxDoubleTapEnabled= false topActivityEligibleForUserAspectRatioButton= false topActivityBoundsLetterboxed= false isFromLetterboxDoubleTap= false topActivityLetterboxVerticalPosition= -1 topActivityLetterboxHorizontalPosition= -1 topActivityLetterboxWidth=1080 topActivityLetterboxHeight=2400 isUserFullscreenOverrideEnabled=false isSystemFullscreenOverrideEnabled=false cameraCompatTaskInfo=CameraCompatTaskInfo { cameraCompatControlState=hidden freeformCameraCompatMode=inactive}}}, pipTask = null, remoteTransition = null, displayChange = null, flags = 0, debugId = 140 }
02-05 09:28:25.217   534   549 I ActivityTaskManager: START u0 {flg=0x10000000 cmp=org.mozilla.fenix.debug/mozilla.telemetry.glean.debug.GleanDebugActivity (has extras)} with LAUNCH_SINGLE_INSTANCE from uid 2000 (BAL_ALLOW_PERMISSION) result code=0
02-05 09:28:25.221  1080  1080 I TopTaskTracker: onTaskMovedToFront: (moved taskInfo to front) taskId=55, baseIntent=Intent { flg=0x10000000 cmp=org.mozilla.fenix.debug/mozilla.telemetry.glean.debug.GleanDebugActivity }
02-05 09:28:25.228   534  1209 W OptProp : Cannot read opt property android.window.PROPERTY_COMPAT_ENABLE_FAKE_FOCUS
02-05 09:28:25.229   534  1209 D CompatChangeReporter: Compat change id reported: 324203798; UID 10214; state: ENABLED
02-05 09:28:25.230   382   382 I BpBinder: onLastStrongRef automatically unlinking death recipients: 
02-05 09:28:25.273 15165 15195 W Bugle   : TextClassifierLibManagerImpl: Reclaiming memory at level: 40
02-05 09:28:25.275 19494 19494 I glean/DebugActivity: Running next: org.mozilla.fenix.debug/org.mozilla.fenix.debug.App
02-05 09:28:25.278 14582 14591 W .apps.wellbeing: ApkAssets: Deleting an ApkAssets object '<empty> and /apex/com.android.permission/priv-app/GooglePermissionController@350820360/GooglePermissionController.apk' with 1 weak references
02-05 09:28:25.278 14582 14591 W .apps.wellbeing: ApkAssets: Deleting an ApkAssets object '/product/overlay/GooglePermissionControllerOverlay.apk' with 1 weak references
02-05 09:28:25.278 14582 14591 W .apps.wellbeing: ApkAssets: Deleting an ApkAssets object '<empty> and /apex/com.android.btservices/app/BluetoothGoogle@342010060/BluetoothGoogle.apk' with 1 weak references
02-05 09:28:25.278 14582 14591 W .apps.wellbeing: ApkAssets: Deleting an ApkAssets object '<empty> and /system/priv-app/SettingsProvider/SettingsProvider.apk' with 1 weak references
02-05 09:28:25.278 14582 14591 W .apps.wellbeing: ApkAssets: Deleting an ApkAssets object '/product/overlay/LargeScreenSettingsProviderOverlay.apk' with 1 weak references
02-05 09:28:25.278 14582 14591 W .apps.wellbeing: ApkAssets: Deleting an ApkAssets object '/product/overlay/SettingsProvider__sdk_gphone64_arm64__auto_generated_rro_product.apk' with 1 weak references
02-05 09:28:25.278 14582 14591 W .apps.wellbeing: ApkAssets: Deleting an ApkAssets object '<empty> and /system/app/PrintSpooler/PrintSpooler.apk' with 1 weak references
02-05 09:28:25.278 14582 14591 W .apps.wellbeing: ApkAssets: Deleting an ApkAssets object '<empty> and /system/app/BasicDreams/BasicDreams.apk' with 1 weak references
02-05 09:28:25.278 14582 14591 W .apps.wellbeing: ApkAssets: Deleting an ApkAssets object '<empty> and /product/priv-app/DeviceIntelligenceNetworkPrebuilt-astrea_20240329.00_RC02/DeviceIntelligenceNetworkPrebuilt-astrea_20240329.00_RC02.apk' with 1 weak references
02-05 09:28:25.278 14582 14591 W .apps.wellbeing: ApkAssets: Deleting an ApkAssets object '<empty> and /system/priv-app/InputDevices/InputDevices.apk' with 1 weak references
02-05 09:28:25.279 14582 14591 W .apps.wellbeing: ApkAssets: Deleting an ApkAssets object '<empty> and /apex/com.android.devicelock/priv-app/DeviceLockControllerGoogle@AE3A.240806.036/DeviceLockControllerGoogle.apk' with 1 weak references
02-05 09:28:25.279 14582 14591 W .apps.wellbeing: ApkAssets: Deleting an ApkAssets object '<empty> and /data/app/~~2rXcVLOVDIxEs9SRRSPHmA==/com.google.android.dialer-2x13NZrnBN1SeSICcRJcqw==/base.apk' with 1 weak references
02-05 09:28:25.279 14582 14591 W .apps.wellbeing: ApkAssets: Deleting an ApkAssets object '<empty> and /system/priv-app/BuiltInPrintService/BuiltInPrintService.apk' with 1 weak references
02-05 09:28:25.279 14582 14591 W .apps.wellbeing: ApkAssets: Deleting an ApkAssets object '/product/overlay/BuiltInPrintService__sdk_gphone64_arm64__auto_generated_rro_product.apk' with 1 weak references
02-05 09:28:25.279 14582 14591 W .apps.wellbeing: ApkAssets: Deleting an ApkAssets object '<empty> and /system/app/CaptivePortalLoginGoogle/CaptivePortalLoginGoogle.apk' with 1 weak references
02-05 09:28:25.279 14582 14591 W .apps.wellbeing: ApkAssets: Deleting an ApkAssets object '<empty> and /system/priv-app/MusicFX/MusicFX.apk' with 1 weak references
02-05 09:28:25.279 14582 14591 W .apps.wellbeing: ApkAssets: Deleting an ApkAssets object '<empty> and /data/app/~~zkkZqz-AEKt0HAa-1KL8Kw==/com.google.android.apps.docs-fJogxN5aHYsP5YYu-2I_XQ==/base.apk' with 1 weak references
02-05 09:28:25.279 14582 14591 W .apps.wellbeing: ApkAssets: Deleting an ApkAssets object '<empty> and /data/app/~~zkkZqz-AEKt0HAa-1KL8Kw==/com.google.android.apps.docs-fJogxN5aHYsP5YYu-2I_XQ==/split_config.arm64_v8a.apk' with 1 weak references
02-05 09:28:25.279 14582 14591 W .apps.wellbeing: ApkAssets: Deleting an ApkAssets object '<empty> and /data/app/~~zkkZqz-AEKt0HAa-1KL8Kw==/com.google.android.apps.docs-fJogxN5aHYsP5YYu-2I_XQ==/split_config.en.apk' with 1 weak references
02-05 09:28:25.279 14582 14591 W .apps.wellbeing: ApkAssets: Deleting an ApkAssets object '<empty> and /data/app/~~zkkZqz-AEKt0HAa-1KL8Kw==/com.google.android.apps.docs-fJogxN5aHYsP5YYu-2I_XQ==/split_config.xxhdpi.apk' with 1 weak references
02-05 09:28:25.279 14582 14591 W .apps.wellbeing: ApkAssets: Deleting an ApkAssets object '<empty> and /data/app/~~e7NG3PkTsQSEXEkthsRLrA==/com.google.android.apps.maps-IkyPRK22fJFnjNqMQWPNpA==/base.apk' with 1 weak references
02-05 09:28:25.279 14582 14591 W .apps.wellbeing: ApkAssets: Deleting an ApkAssets object '<empty> and /data/app/~~e7NG3PkTsQSEXEkthsRLrA==/com.google.android.apps.maps-IkyPRK22fJFnjNqMQWPNpA==/split_config.arm64_v8a.apk' with 1 weak references
02-05 09:28:25.279 14582 14591 W .apps.wellbeing: ApkAssets: Deleting an ApkAssets object '<empty> and /data/app/~~e7NG3PkTsQSEXEkthsRLrA==/com.google.android.apps.maps-IkyPRK22fJFnjNqMQWPNpA==/split_config.en.apk' with 1 weak references
02-05 09:28:25.279 14582 14591 W .apps.wellbeing: ApkAssets: Deleting an ApkAssets object '<empty> and /data/app/~~e7NG3PkTsQSEXEkthsRLrA==/com.google.android.apps.maps-IkyPRK22fJFnjNqMQWPNpA==/split_config.xxhdpi.apk' with 1 weak references
02-05 09:28:25.279 14582 14591 W .apps.wellbeing: ApkAssets: Deleting an ApkAssets object '<empty> and /product/app/ModuleMetadataGoogle/ModuleMetadataGoogle.apk' with 1 weak references
02-05 09:28:25.279 14582 14591 W .apps.wellbeing: ApkAssets: Deleting an ApkAssets object '<empty> and /product/overlay/DisplayCutoutEmulationEmu01/DisplayCutoutEmulationEmu01Overlay.apk' with 1 weak references
02-05 09:28:25.279 14582 14591 W .apps.wellbeing: ApkAssets: Deleting an ApkAssets object '<empty> and /system_ext/priv-app/AvatarPickerGoogle/AvatarPickerGoogle.apk' with 1 weak references
02-05 09:28:25.279 14582 14591 W .apps.wellbeing: ApkAssets: Deleting an ApkAssets object '<empty> and /product/app/MarkupGoogle_v2/MarkupGoogle_v2.apk' with 1 weak references
02-05 09:28:25.279 14582 14591 W .apps.wellbeing: ApkAssets: Deleting an ApkAssets object '<empty> and /system/priv-app/NetworkStackGoogle/NetworkStackGoogle.apk' with 1 weak references
02-05 09:28:25.279 14582 14591 W .apps.wellbeing: ApkAssets: Deleting an ApkAssets object '<empty> and /apex/com.android.rkpd/priv-app/rkpdapp.google@350820300/rkpdapp.google.apk' with 1 weak references
02-05 09:28:25.279 14582 14591 W .apps.wellbeing: ApkAssets: Deleting an ApkAssets object '<empty> and /product/app/GoogleContacts/GoogleContacts.apk' with 1 weak references
02-05 09:28:25.284 14582 14591 W .apps.wellbeing: ApkAssets: Deleting an ApkAssets object '<empty> and /system/priv-app/Telecom/Telecom.apk' with 1 weak references
02-05 09:28:25.285 14582 14591 W .apps.wellbeing: ApkAssets: Deleting an ApkAssets object '/product/overlay/Telecom__sdk_gphone64_arm64__auto_generated_rro_product.apk' with 1 weak references
02-05 09:28:25.285 14582 14591 W .apps.wellbeing: ApkAssets: Deleting an ApkAssets object '<empty> and /system/app/KeyChain/KeyChain.apk' with 1 weak references
02-05 09:28:25.286 14582 14591 W .apps.wellbeing: ApkAssets: Deleting an ApkAssets object '<empty> and /data/app/~~M7CQ30nIE00BLTIeQc3bKg==/com.android.chrome-ZEdKhETHDaY7eAuHnVbmPA==/base.apk' with 1 weak references
02-05 09:28:25.286 14582 14591 W .apps.wellbeing: ApkAssets: Deleting an ApkAssets object '<empty> and /data/app/~~M7CQ30nIE00BLTIeQc3bKg==/com.android.chrome-ZEdKhETHDaY7eAuHnVbmPA==/split_chrome.apk' with 1 weak references
02-05 09:28:25.287 14582 14591 W .apps.wellbeing: ApkAssets: Deleting an ApkAssets object '<empty> and /data/app/~~M7CQ30nIE00BLTIeQc3bKg==/com.android.chrome-ZEdKhETHDaY7eAuHnVbmPA==/split_config.en.apk' with 1 weak references
02-05 09:28:25.287 19494 19494 D StrictMode: StrictMode policy violation: android.os.strictmode.UnsafeIntentLaunchViolation: Launch of unsafe intent: Intent { flg=0x10000000 pkg=org.mozilla.fenix.debug cmp=org.mozilla.fenix.debug/.App (has extras) }
02-05 09:28:25.287 19494 19494 D StrictMode: 	at android.os.StrictMode.onUnsafeIntentLaunch(StrictMode.java:2386)
02-05 09:28:25.287 19494 19494 D StrictMode: 	at android.content.Intent.prepareToLeaveProcess(Intent.java:12559)
02-05 09:28:25.287 19494 19494 D StrictMode: 	at android.content.Intent.prepareToLeaveProcess(Intent.java:12472)
02-05 09:28:25.287 19494 19494 D StrictMode: 	at android.app.Instrumentation.execStartActivity(Instrumentation.java:1999)
02-05 09:28:25.287 19494 19494 D StrictMode: 	at android.app.Activity.startActivityForResult(Activity.java:5874)
02-05 09:28:25.287 19494 19494 D StrictMode: 	at android.app.Activity.startActivityForResult(Activity.java:5832)
02-05 09:28:25.287 19494 19494 D StrictMode: 	at android.app.Activity.startActivity(Activity.java:6329)
02-05 09:28:25.287 19494 19494 D StrictMode: 	at android.app.Activity.startActivity(Activity.java:6296)
02-05 09:28:25.287 19494 19494 D StrictMode: 	at mozilla.telemetry.glean.debug.GleanDebugActivity.onCreate(GleanDebugActivity.kt:162)
02-05 09:28:25.287 19494 19494 D StrictMode: 	at android.app.Activity.performCreate(Activity.java:9002)
02-05 09:28:25.287 19494 19494 D StrictMode: 	at android.app.Activity.performCreate(Activity.java:8980)
02-05 09:28:25.287 19494 19494 D StrictMode: 	at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1526)
02-05 09:28:25.287 19494 19494 D StrictMode: 	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:4030)
02-05 09:28:25.287 19494 19494 D StrictMode: 	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:4235)
02-05 09:28:25.287 19494 19494 D StrictMode: 	at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:112)
02-05 09:28:25.287 19494 19494 D StrictMode: 	at android.app.servertransaction.TransactionExecutor.executeNonLifecycleItem(TransactionExecutor.java:174)
02-05 09:28:25.287 19494 19494 D StrictMode: 	at android.app.servertransaction.TransactionExecutor.executeTransactionItems(TransactionExecutor.java:109)
02-05 09:28:25.287 19494 19494 D StrictMode: 	at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:81)
02-05 09:28:25.287 19494 19494 D StrictMode: 	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2636)
02-05 09:28:25.287 19494 19494 D StrictMode: 	at android.os.Handler.dispatchMessage(Handler.java:107)
02-05 09:28:25.287 19494 19494 D StrictMode: 	at android.os.Looper.loopOnce(Looper.java:232)
02-05 09:28:25.287 19494 19494 D StrictMode: 	at android.os.Looper.loop(Looper.java:317)
02-05 09:28:25.287 19494 19494 D StrictMode: 	at android.app.ActivityThread.main(ActivityThread.java:8705)
02-05 09:28:25.287 19494 19494 D StrictMode: 	at java.lang.reflect.Method.invoke(Native Method)
02-05 09:28:25.287 19494 19494 D StrictMode: 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:580)
02-05 09:28:25.287 19494 19494 D StrictMode: 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:886)
Assignee: nobody → tlong
Priority: P3 → P1
Status: NEW → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: