Skip to content

[Bug]: Crash Message Unknown package com.termux.api #4875

@tmstaedt

Description

@tmstaedt

Problem description

only remember having enabled root for termux.Force-stopping the app didn't help. Had to restart device.

Steps to reproduce the behavior.

not reproduced so far

What is the expected behavior?

No response

System information

Report Info

User Action: crash report
Sender: TermuxActivity
Report Timestamp: 2025-12-04 23:43:41.239 UTC

Crash Details

Crash Thread: Thread[Thread-2,5,main]
Crash Timestamp: 2025-12-04 23:42:28.654 UTC

Crash Message:

Unknown package com.termux.api

Stacktrace

java.lang.SecurityException: Unknown package com.termux.api
	at android.os.Parcel.createExceptionOrNull(Parcel.java:3340)
	at android.os.Parcel.createException(Parcel.java:3324)
	at android.os.Parcel.readException(Parcel.java:3307)
	at android.os.Parcel.readException(Parcel.java:3249)
	at android.app.INotificationManager$Stub$Proxy.enqueueNotificationWithTag(INotificationManager.java:3515)
	at android.app.NotificationManager.notifyAsUser(NotificationManager.java:808)
	at android.app.NotificationManager.notify(NotificationManager.java:750)
	at android.app.NotificationManager.notify(NotificationManager.java:726)
	at com.termux.app.utils.CrashUtils.sendCrashReportNotification(CrashUtils.java:163)
	at com.termux.app.utils.CrashUtils$1.run(CrashUtils.java:90)
Caused by: android.os.RemoteException: Remote stack trace:
	at com.android.server.notification.NotificationManagerService.isCallerInstantApp(NotificationManagerService.java:11855)
	at com.android.server.notification.NotificationManagerService.checkDisqualifyingFeatures(NotificationManagerService.java:9077)
	at com.android.server.notification.NotificationManagerService.enqueueNotificationInternal(NotificationManagerService.java:8579)
	at com.android.server.notification.NotificationManagerService.enqueueNotificationInternal(NotificationManagerService.java:8379)
	at com.android.server.notification.NotificationManagerService.enqueueNotificationInternal(NotificationManagerService.java:8368)


Termux App Info

APP_NAME: Termux
PACKAGE_NAME: com.termux
VERSION_NAME: 0.118.3
VERSION_CODE: 1002
TARGET_SDK: 28
IS_DEBUGGABLE_BUILD: false
SE_PROCESS_CONTEXT: u:r:untrusted_app_27:s0:c157,c258,c512,c768
SE_FILE_CONTEXT: u:object_r:app_data_file:s0:c157,c258,c512,c768
SE_INFO: default:targetSdkVersion=28:complete
APK_RELEASE: F-Droid
SIGNING_CERTIFICATE_SHA256_DIGEST: 228FB2CFE90831C1499EC3CCAF61E96E8E1CE70766B9474672CE427334D41C42

Device Info

Software

OS_VERSION: 4.19.325-cip124-st8-Sirius+-g782277c3bf59
SDK_INT: 36
RELEASE: 16
ID: BP2A.250805.005
DISPLAY: BP2A.250805.005 release-keys
INCREMENTAL: 1764543096
SECURITY_PATCH: 2025-10-05
IS_TREBLE_ENABLED: true
TYPE: user
TAGS: release-keys

Hardware

MANUFACTURER: OnePlus
BRAND: OnePlus
MODEL: KB2003
PRODUCT: OnePlus8T
BOARD: kona
HARDWARE: qcom
DEVICE: OnePlus8T
SUPPORTED_ABIS: arm64-v8a, armeabi-v7a, armeabi
SUPPORTED_32_BIT_ABIS: armeabi-v7a, armeabi
SUPPORTED_64_BIT_ABIS: arm64-v8a
PAGE_SIZE: 4096

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions