Skip to content

[Bug]: Crash for termux-notification #5145

Description

@arfoxcode

Problem description

Report Info

User Action: crash report
Sender: TermuxActivity
Report Timestamp: 2026-06-05 02:56:01.058 UTC

Crash Details

Crash Thread: Thread[Thread-4,5,main]
Crash Timestamp: 2026-06-05 02:43:34.428 UTC

Crash Message:

Package com.termux.styling does not belong to 10208

Stacktrace

java.lang.SecurityException: Package com.termux.styling does not belong to 10208
	at android.os.Parcel.createExceptionOrNull(Parcel.java:2456)
	at android.os.Parcel.createException(Parcel.java:2440)
	at android.os.Parcel.readException(Parcel.java:2423)
	at android.os.Parcel.readException(Parcel.java:2365)
	at android.app.INotificationManager$Stub$Proxy.enqueueNotificationWithTag(INotificationManager.java:3462)
	at android.app.NotificationManager.notifyAsUser(NotificationManager.java:683)
	at android.app.NotificationManager.notify(NotificationManager.java:633)
	at android.app.NotificationManager.notify(NotificationManager.java:609)
	at com.termux.shared.termux.crash.TermuxCrashUtils.sendCrashReportNotification(TermuxCrashUtils.java:367)
	at com.termux.shared.termux.crash.TermuxCrashUtils.notifyAppCrashFromCrashLogFileInner(TermuxCrashUtils.java:198)
	at com.termux.shared.termux.crash.TermuxCrashUtils.access$000(TermuxCrashUtils.java:34)
	at com.termux.shared.termux.crash.TermuxCrashUtils$1.run(TermuxCrashUtils.java:164)
Caused by: android.os.RemoteException: Remote stack trace:
	at android.app.AppOpsManager.checkPackage(AppOpsManager.java:8686)
	at com.android.server.notification.NotificationManagerService.isCallerInstantApp(NotificationManagerService.java:9646)
	at com.android.server.notification.NotificationManagerService.checkDisqualifyingFeatures(NotificationManagerService.java:6821)
	at com.android.server.notification.NotificationManagerService.enqueueNotificationInternal(NotificationManagerService.java:6557)
	at com.android.server.notification.NotificationManagerService.enqueueNotificationInternal(NotificationManagerService.java:6394)


Termux App Info

APP_NAME: Termux
PACKAGE_NAME: com.termux
VERSION_NAME: 0.119.0-beta.3
VERSION_CODE: 1022
UID: 10208
TARGET_SDK: 28
IS_DEBUGGABLE_BUILD: false
SE_PROCESS_CONTEXT: u:r:untrusted_app_27:s0:c208,c256,c512,c768
SE_FILE_CONTEXT: u:object_r:app_data_file:s0:c208,c256,c512,c768
SE_INFO: default:targetSdkVersion=28:complete
TERMUX_APP_PACKAGE_MANAGER: APT
TERMUX_APP_PACKAGE_VARIANT: APT_ANDROID_7
APK_RELEASE: F-Droid
SIGNING_CERTIFICATE_SHA256_DIGEST: 228FB2CFE90831C1499EC3CCAF61E96E8E1CE70766B9474672CE427334D41C42

Device Info

Software

OS_VERSION: 4.19.191-gd7bb700cdd52-dirty
SDK_INT: 31
RELEASE: 12
ID: SP1A.210812.016
DISPLAY: X6823C-H6513FGHIJK-SGo-GL-240509V1267
INCREMENTAL: 240509V1267
SECURITY_PATCH: 2024-05-05
IS_DEBUGGABLE: 0
IS_TREBLE_ENABLED: true
TYPE: user
TAGS: release-keys
MAX_PHANTOM_PROCESSES: - (Requires DUMP and PACKAGE_USAGE_STATS permission)
MONITOR_PHANTOM_PROCS: <unsupported>
DEVICE_CONFIG_SYNC_DISABLED: -

Hardware

MANUFACTURER: INFINIX
BRAND: Infinix
MODEL: Infinix X6823C
PRODUCT: X6823C-GL
BOARD: Infinix-X6823C
HARDWARE: mt6762G
DEVICE: Infinix-X6823C
SUPPORTED_ABIS: armeabi-v7a, armeabi
SUPPORTED_32_BIT_ABIS: armeabi-v7a, armeabi
SUPPORTED_64_BIT_ABIS:

Steps to reproduce the behavior.

I user termux-notification and using termux:widget

What is the expected behavior?

No response

System information

  • Termux application version: 0.119.0-beta-3
  • Android OS version: 12
  • Device model: Infinix smart 6 plus

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions