guardianproject / guardianproject/proofmode-android

share crash

Open
#137 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Kotlin
Stars
262
Forks
46
PR merge metrics
No merged PRs in 30d

Description

REPORT_ID=fc2a1288-87a9-460d-b4d6-dc0b41621fa9
APP_VERSION_CODE=310306002
APP_VERSION_NAME=3.1.0-RC-6
PACKAGE_NAME=org.witness.proofmode
FILE_PATH=/data/user/0/org.witness.proofmode/files
PHONE_MODEL=E7110
BRAND=KYOCERA
PRODUCT=VZW_E7110
ANDROID_VERSION=12
BUILD=BOARD=lito
BOOTLOADER=unknown
BRAND=KYOCERA
CPU_ABI=arm64-v8a
CPU_ABI2=
DEVICE=E7110
DISPLAY=5.240VZ
FINGERPRINT=KYOCERA/VZW_E7110/E7110:12/SKQ1.220303.001/5.240VZ.0700.a:user/release-keys
HARDWARE=qcom
HOST=AMATERAS
ID=SKQ1.220303.001
IS_DEBUGGABLE=false
IS_EMULATOR=false
MANUFACTURER=KYOCERA
MODEL=E7110
ODM_SKU=unknown
PERMISSIONS_REVIEW_REQUIRED=true
PRODUCT=VZW_E7110
RADIO=unknown
SKU=hikey960
SOC_MANUFACTURER=QTI
SOC_MODEL=SM7250
SUPPORTED_32_BIT_ABIS=["armeabi-v7a","armeabi"]
SUPPORTED_64_BIT_ABIS=["arm64-v8a"]
SUPPORTED_ABIS=["arm64-v8a","armeabi-v7a","armeabi"]
TAGS=release-keys
TIME=1742140400000
TYPE=user
UNKNOWN=unknown
USER=KYOCERA
VERSION.ACTIVE_CODENAMES=[]
VERSION.BASE_OS=
VERSION.CODENAME=REL
VERSION.INCREMENTAL=5.240VZ.0700.a
VERSION.MEDIA_PERFORMANCE_CLASS=0
VERSION.PREVIEW_SDK_FINGERPRINT=REL
VERSION.PREVIEW_SDK_INT=0
VERSION.RELEASE=12
VERSION.RELEASE_OR_CODENAME=12
VERSION.SDK=31
VERSION.SDK_INT=31
VERSION.SECURITY_PATCH=2025-03-01
TOTAL_MEM_SIZE=108750946304
AVAILABLE_MEM_SIZE=1684148224
BUILD_CONFIG=
CUSTOM_DATA=
IS_SILENT=false
STACK_TRACE=java.lang.SecurityException: org.witness.proofmode has no access to content://media/external/video/media/1000011572
at android.os.Parcel.createExceptionOrNull(Parcel.java:2448)
at android.os.Parcel.createException(Parcel.java:2432)
at android.os.Parcel.readException(Parcel.java:2415)
at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:190)
at android.database.DatabaseUtils.readExceptionWithFileNotFoundExceptionFromParcel(DatabaseUtils.java:153)
at android.content.ContentProviderProxy.openTypedAssetFile(ContentProviderNative.java:780)
at android.content.ContentResolver.openTypedAssetFileDescriptor(ContentResolver.java:2029)
at android.content.ContentResolver.openAssetFileDescriptor(ContentResolver.java:1844)
at android.content.ContentResolver.openInputStream(ContentResolver.java:1520)
at org.witness.proofmode.org.witness.proofmode.share.ShareProofActivity.h(r8-map-id-fe23766a77a335836b591583432e7090188468d5afa4ff1d5a5e453ecc2e5055:34)
at androidx.camera.camera2.adapter.l0.invokeSuspend(r8-map-id-fe23766a77a335836b591583432e7090188468d5afa4ff1d5a5e453ecc2e5055:246)
at kotlin.coroutines.jvm.internal.a.resumeWith(r8-map-id-fe23766a77a335836b591583432e7090188468d5afa4ff1d5a5e453ecc2e5055:8)
at kotlinx.coroutines.k0.run(r8-map-id-fe23766a77a335836b591583432e7090188468d5afa4ff1d5a5e453ecc2e5055:114)
at androidx.camera.core.impl.utils.futures.f.run(r8-map-id-fe23766a77a335836b591583432e7090188468d5afa4ff1d5a5e453ecc2e5055:13)
at kotlinx.coroutines.scheduling.i.run(r8-map-id-fe23766a77a335836b591583432e7090188468d5afa4ff1d5a5e453ecc2e5055:3)
at kotlinx.coroutines.scheduling.a.run(r8-map-id-fe23766a77a335836b591583432e7090188468d5afa4ff1d5a5e453ecc2e5055:88)
Suppressed: kotlinx.coroutines.internal.f: [w1{Cancelling}@676f0a5, Dispatchers.Main.immediate]

Contributor guide

No contributing guide indexed for this repository

Research direction

Start in ShareProofActivity, at the share path represented by the stack trace, and reproduce sharing the reported video content URI on Android 12. Trace the ContentResolver access that raises SecurityException; done means the share flow handles this URI without crashing and preserves the intended media access.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, kotlin
Domain
mobile-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.