Skip to content

Report Text #4583

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

Open
Umeh832 opened this issue Jun 3, 2025 · 4 comments
Open

Report Text #4583

Umeh832 opened this issue Jun 3, 2025 · 4 comments

Comments

@Umeh832
Copy link

Umeh832 commented Jun 3, 2025

Report Info

User Action: crash report
Sender: TermuxInstaller
Report Timestamp: 2025-06-03 18:57:16.891 UTC

Bootstrap Error

(-1) Termux Bootstrap Second Stage Command:
Previous State: `Executed`
Current State: `Success`

Stdout: -
Stderr:
```
/data/data/com.termux/files/usr/etc/termux/bootstrap/termux-bootstrap-second-stage.sh[177]: syntax error: unexpected operator/operand '=~'

```

Exit Code: `1`


Termux Files Info

TERMUX_REQUIRED_FILES_DIR_PATH ($PREFIX): /data/data/com.termux/files
ANDROID_ASSIGNED_FILES_DIR_PATH: /data/user/0/com.termux/files

$ echo 'ls info:'
/system/bin/ls -lhdZ '/data/data' '/data/user/0' '/data/data/com.termux' '/data/user/0/com.termux' '/data/data/com.termux/files' '/data/user/0/com.termux/files' '/data/user/0/com.termux/files' '/data/user/com.termux/files' '/data/data/com.termux/files/usr-staging' '/data/data/com.termux/files/usr' '/data/data/com.termux/files/home' '/data/data/com.termux/files/usr/bin/login' 2>&1
echo; echo 'mount info:'
/system/bin/grep -E '( /data )|( /data/data )|( /data/user/[0-9]+ )' /proc/self/mountinfo 2>&1 | /system/bin/grep -v '/data_mirror' 2>&1

ls info:
ls: /data/user/com.termux/files: No such file or directory
ls: /data/data/com.termux/files/usr-staging: No such file or directory
drwxrwx--x 171 system  system  u:object_r:app_data_file:s0:c91,c258,c512,c768   20K 2025-06-03 19:56 /data/data
drwx------   6 u0_a138 u0_a138 u:object_r:app_data_file:s0:c91,c258,c512,c768  3.3K 2025-06-03 19:56 /data/data/com.termux
drwxrwx--x   4 u0_a138 u0_a138 u:object_r:app_data_file:s0:c91,c258,c512,c768  3.3K 2025-06-03 19:57 /data/data/com.termux/files
drwx------   2 u0_a138 u0_a138 u:object_r:app_data_file:s0:c91,c258,c512,c768  3.3K 2025-06-03 19:56 /data/data/com.termux/files/home
drwx------  10 u0_a138 u0_a138 u:object_r:app_data_file:s0:c91,c258,c512,c768  3.3K 2025-06-03 19:57 /data/data/com.termux/files/usr
-rwx------   1 u0_a138 u0_a138 u:object_r:app_data_file:s0:c91,c258,c512,c768  2.7K 2025-06-03 19:57 /data/data/com.termux/files/usr/bin/login
drwxrwx--x 171 system  system  u:object_r:app_data_file:s0:c91,c258,c512,c768   20K 2025-06-03 19:56 /data/user/0
drwx------   6 u0_a138 u0_a138 u:object_r:app_data_file:s0:c91,c258,c512,c768  3.3K 2025-06-03 19:56 /data/user/0/com.termux
drwxrwx--x   4 u0_a138 u0_a138 u:object_r:app_data_file:s0:c91,c258,c512,c768  3.3K 2025-06-03 19:57 /data/user/0/com.termux/files
drwxrwx--x   4 u0_a138 u0_a138 u:object_r:app_data_file:s0:c91,c258,c512,c768  3.3K 2025-06-03 19:57 /data/user/0/com.termux/files

mount info:
24367 14158 253:52 / /data rw,nosuid,nodev,noatime master:39 - f2fs /dev/block/dm-52 rw,lazytime,seclabel,background_gc=on,discard,no_heap,user_xattr,inline_xattr,acl,inline_data,inline_dentry,extent_cache,mode=adaptive,active_logs=6,reserve_root=32768,resuid=0,resgid=5678,usrquota,grpquota,inlinecrypt,alloc_mode=default,fsync_mode=nobarrier,compress_algorithm=lz4,compress_log_size=5,compress_mode=user
24368 24367 253:52 /data /data/user/0 rw,nosuid,nodev,noatime master:39 - f2fs /dev/block/dm-52 rw,lazytime,seclabel,background_gc=on,discard,no_heap,user_xattr,inline_xattr,acl,inline_data,inline_dentry,extent_cache,mode=adaptive,active_logs=6,reserve_root=32768,resuid=0,resgid=5678,usrquota,grpquota,inlinecrypt,alloc_mode=default,fsync_mode=nobarrier,compress_algorithm=lz4,compress_log_size=5,compress_mode=user
24361 24367 0:650 / /data/data rw,nosuid,nodev,noexec,relatime - tmpfs tmpfs rw,seclabel,mode=751

Logcat Dump

$ /system/bin/logcat -d -t 3000 2>&1

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: -
SE_FILE_CONTEXT: -
SE_INFO: default:targetSdkVersion=28:complete
APK_RELEASE: F-Droid
SIGNING_CERTIFICATE_SHA256_DIGEST: 228FB2CFE90831C1499EC3CCAF61E96E8E1CE70766B9474672CE427334D41C42

Device Info

Software

OS_VERSION: 4.4.223-g52750b8f2138-ab6846512
SDK_INT: 30
RELEASE: 11
ID: RD2A.211001.002
DISPLAY: RD2A.211001.002
INCREMENTAL: 6934943
SECURITY_PATCH: 2021-10-01
IS_DEBUGGABLE: 0
IS_TREBLE_ENABLED: true
TYPE: user
TAGS: release-keys

Hardware

MANUFACTURER: Google
BRAND: google
MODEL: Pixel 4
PRODUCT: marlin
BOARD: unknown
HARDWARE: ranchu
DEVICE: marlin
SUPPORTED_ABIS: arm64-v8a
SUPPORTED_32_BIT_ABIS:
SUPPORTED_64_BIT_ABIS: arm64-v8a

@agnostic-apollo
Copy link
Member

Did you remove the logcat dump?

@Umeh832
Copy link
Author

Umeh832 commented Jun 3, 2025 via email

@agnostic-apollo
Copy link
Member

There is no output shown for the $ /system/bin/logcat -d -t 3000 2>&1 command, did you remove its output from the report before posting here? Or have you given Termux app READ_LOGS permission?

Does not error keep happening after app restart?

@Umeh832
Copy link
Author

Umeh832 commented Jun 3, 2025 via email

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

2 participants