prnvc8 / -data-data-com.termux-files-usr-bin-bash-dir-cd-dirname-0-pwd-export-HOME-data-d

0 stars 0 forks source link

Report Text #1

Open LordKnightSir187 opened 1 year ago

LordKnightSir187 commented 1 year ago

Report Info

User Action: crash report
Sender: TermuxInstaller
Report Timestamp: 2022-12-19 20:52:30.754 UTC

Bootstrap Error

(150) FileUtils Error: The termux files directory not found at path "/data/data/com.termux/files". TERMUX_FILES_DIR: /data/data/com.termux/files

Termux Files Info

TERMUX_REQUIRED_FILES_DIR_PATH ($PREFIX): /data/data/com.termux/files
ANDROID_ASSIGNED_FILES_DIR_PATH: /mnt/expand/b3993ab4-052c-4b86-9437-d33476b66aea/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' '/mnt/expand/b3993ab4-052c-4b86-9437-d33476b66aea/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/data/com.termux: No such file or directory
ls: /data/user/0/com.termux: No such file or directory
ls: /data/data/com.termux/files: No such file or directory
ls: /data/user/0/com.termux/files: No such file or directory
ls: /data/user/com.termux/files: No such file or directory
ls: /data/data/com.termux/files/usr-staging: No such file or directory
ls: /data/data/com.termux/files/usr: No such file or directory
ls: /data/data/com.termux/files/home: No such file or directory
ls: /data/data/com.termux/files/usr/bin/login: No such file or directory
drwxrwx--x 199 system  system  u:object_r:system_data_file:s0                    24K 2022-12-18 22:27 /data/data
drwxrwx--x 199 system  system  u:object_r:system_data_file:s0                    24K 2022-12-18 22:27 /data/user/0
drwxrwx--x   2 u0_a382 u0_a382 u:object_r:app_data_file:s0:c126,c257,c512,c768  3.4K 2022-12-19 12:37 /mnt/expand/b3993ab4-052c-4b86-9437-d33476b66aea/user/0/com.termux/files

mount info:
1344 863 253:8 / /data rw,nosuid,nodev,noatime master:32 - f2fs /dev/block/dm-8 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=5757,resuid=0,resgid=1065,alloc_mode=reuse,fsync_mode=posix
1345 1344 253:8 /data /data/user/0 rw,nosuid,nodev,noatime master:32 - f2fs /dev/block/dm-8 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=5757,resuid=0,resgid=1065,alloc_mode=reuse,fsync_mode=posix

Logcat Dump

$ /system/bin/logcat -d -t 3000 2>&1
--------- beginning of main
12-19 15:52:29.918 17626 17626 W Termux:SharedProperties: Not loading properties since file is null
12-19 15:52:30.067 17626 17626 V PhoneWindow: DecorView setVisiblity: visibility = 4, Parent = null, this = DecorView@247bae[]
12-19 15:52:30.072 17626 17626 D ViewRootImpl[TermuxActivity]: hardware acceleration = true , fakeHwAccelerated = false, sRendererDisabled = false, forceHwAccelerated = false, sSystemRendererDisabled = false
12-19 15:52:30.087 17626 17626 I InputTransport: Create ARC handle: 0x96bde5b0
12-19 15:52:30.092 17626 17626 V PhoneWindow: DecorView setVisiblity: visibility = 0, Parent = android.view.ViewRootImpl@f9961e5, this = DecorView@247bae[TermuxActivity]
12-19 15:52:30.112 17626 17626 E Termux:TermuxInstaller: (150) FileUtils Error: The termux files directory not found at path "/data/data/com.termux/files".
12-19 15:52:30.112 17626 17626 E Termux:TermuxInstaller: TERMUX_FILES_DIR: `/data/data/com.termux/files`
12-19 15:52:30.181 18722 18722 W sh      : type=1400 audit(0.0:48435): avc: denied { search } for name="mm" dev="sysfs" ino=4023 scontext=u:r:untrusted_app_27:s0:c126,c257,c512,c768 tcontext=u:object_r:sysfs_mm:s0 tclass=dir permissive=0 app=com.termux
12-19 15:52:30.225 17626 18726 D CCodec  : allocate(c2.android.vorbis.decoder)
12-19 15:52:30.254 17626 18726 I CCodec  : Created component [c2.android.vorbis.decoder]
12-19 15:52:30.258 17626 18726 D CCodecConfig: read media type: audio/vorbis
12-19 15:52:30.276 17626 18726 D ReflectedParamUpdater: extent() != 1 for single value type: algo.buffers.max-count.values
12-19 15:52:30.278 17626 18726 D ReflectedParamUpdater: extent() != 1 for single value type: output.subscribed-indices.values
12-19 15:52:30.284 17626 18726 D ReflectedParamUpdater: extent() != 1 for single value type: input.buffers.allocator-ids.values
12-19 15:52:30.284 17626 18726 D ReflectedParamUpdater: extent() != 1 for single value type: output.buffers.allocator-ids.values
12-19 15:52:30.285 17626 18726 D ReflectedParamUpdater: extent() != 1 for single value type: algo.buffers.allocator-ids.values
12-19 15:52:30.286 17626 18726 D ReflectedParamUpdater: extent() != 1 for single value type: output.buffers.pool-ids.values
12-19 15:52:30.286 17626 18726 D ReflectedParamUpdater: extent() != 1 for single value type: algo.buffers.pool-ids.values
12-19 15:52:30.303 17626 18726 I CCodecConfig: query failed after returning 7 values (BAD_INDEX)
12-19 15:52:30.303 17626 18726 D CCodecConfig: c2 config diff is Dict {
12-19 15:52:30.303 17626 18726 D CCodecConfig:   c2::u32 coded.bitrate.value = 64000
12-19 15:52:30.303 17626 18726 D CCodecConfig:   c2::u32 input.buffers.max-size.value = 32768
12-19 15:52:30.303 17626 18726 D CCodecConfig:   c2::u32 input.delay.value = 0
12-19 15:52:30.303 17626 18726 D CCodecConfig:   string input.media-type.value = "audio/vorbis"
12-19 15:52:30.303 17626 18726 D CCodecConfig:   string output.media-type.value = "audio/raw"
12-19 15:52:30.303 17626 18726 D CCodecConfig:   c2::u32 raw.channel-count.value = 1
12-19 15:52:30.303 17626 18726 D CCodecConfig:   c2::u32 raw.sample-rate.value = 48000
12-19 15:52:30.303 17626 18726 D CCodecConfig: }
12-19 15:52:30.306 17626 18726 D CCodec  : [c2.android.vorbis.decoder] buffers are bound to CCodec for this session
12-19 15:52:30.306 17626 18726 D CCodecConfig: no c2 equivalents for durationUs
12-19 15:52:30.306 17626 18726 D CCodecConfig: no c2 equivalents for track-id
12-19 15:52:30.306 17626 18726 D CCodecConfig: no c2 equivalents for csd-1
12-19 15:52:30.306 17626 18726 D CCodecConfig: no c2 equivalents for channel-mask
12-19 15:52:30.306 17626 18726 D CCodecConfig: no c2 equivalents for flags
12-19 15:52:30.312 17626 18726 D CCodecConfig: c2 config diff is   c2::u32 raw.sample-rate.value = 44100
12-19 15:52:30.315 17626 18726 W Codec2Client: query -- param skipped: index = 1107298332.
12-19 15:52:30.315 17626 18726 D CCodec  : setup formats input: AMessage(what = 0x00000000) = {
12-19 15:52:30.315 17626 18726 D CCodec  :   int32_t channel-count = 1
12-19 15:52:30.315 17626 18726 D CCodec  :   int32_t max-input-size = 32768
12-19 15:52:30.315 17626 18726 D CCodec  :   string mime = "audio/vorbis"
12-19 15:52:30.315 17626 18726 D CCodec  :   int32_t sample-rate = 44100
12-19 15:52:30.315 17626 18726 D CCodec  : } and output: AMessage(what = 0x00000000) = {
12-19 15:52:30.315 17626 18726 D CCodec  :   int32_t channel-count = 1
12-19 15:52:30.315 17626 18726 D CCodec  :   string mime = "audio/raw"
12-19 15:52:30.315 17626 18726 D CCodec  :   int32_t sample-rate = 44100
12-19 15:52:30.315 17626 18726 D CCodec  :   int32_t channel-mask = 1
12-19 15:52:30.315 17626 18726 D CCodec  : }
12-19 15:52:30.319 17626 18726 W Codec2Client: query -- param skipped: index = 1342179345.
12-19 15:52:30.319 17626 18726 W Codec2Client: query -- param skipped: index = 2415921170.
12-19 15:52:30.323 17626 18726 E FMQ     : grantorIdx must be less than 3
12-19 15:52:30.323 17626 18726 E FMQ     : grantorIdx must be less than 3
12-19 15:52:30.324 17626 18726 D CCodecBufferChannel: [c2.android.vorbis.decoder#582] Created input block pool with allocatorID 16 => poolID 20 - OK (0)
12-19 15:52:30.329 17626 17659 D BufferPoolAccessor2.0: bufferpool2 0xb26c2118 : 0(0 size) total buffers - 0(0 size) used buffers - 2/9 (recycle/alloc) - 7/24 (fetch/transfer)
12-19 15:52:30.329 17626 17659 D BufferPoolAccessor2.0: Destruction - bufferpool2 0xb26c2118 cached: 0/0M, 0/0% in use; allocs: 9, 22% recycled; transfers: 24, 71% unfetched
12-19 15:52:30.331 17626 18726 I CCodecBufferChannel: [c2.android.vorbis.decoder#582] Created output block pool with allocatorID 16 => poolID 711 - OK
12-19 15:52:30.332 17626 18726 D CCodecBufferChannel: [c2.android.vorbis.decoder#582] Configured output block pool ids 711 => OK
12-19 15:52:30.337 17626 18726 E FMQ     : grantorIdx must be less than 3
12-19 15:52:30.384 17626 17659 E FMQ     : grantorIdx must be less than 3
12-19 15:52:30.424 18728 18728 W grep    : type=1400 audit(0.0:48437): avc: denied { search } for name="mm" dev="sysfs" ino=4023 scontext=u:r:untrusted_app_27:s0:c126,c257,c512,c768 tcontext=u:object_r:sysfs_mm:s0 tclass=dir permissive=0 app=com.termux
12-19 15:52:30.430 17626 18726 D CCodecBufferChannel: [c2.android.vorbis.decoder#582] MediaCodec discarded an unknown buffer
12-19 15:52:30.430 17626 18726 I chatty  : uid=10382(com.termux) identical 1 line
12-19 15:52:30.430 17626 18726 D CCodecBufferChannel: [c2.android.vorbis.decoder#582] MediaCodec discarded an unknown buffer
12-19 15:52:30.437 17626 18726 I hw-BpHwBinder: onLastStrongRef automatically unlinking death recipients
12-19 15:52:30.481 18732 18732 W sh      : type=1400 audit(0.0:48439): avc: denied { search } for name="mm" dev="sysfs" ino=4023 scontext=u:r:untrusted_app_27:s0:c126,c257,c512,c768 tcontext=u:object_r:sysfs_mm:s0 tclass=dir permissive=0 app=com.termux
12-19 15:52:30.524 18735 18735 W logcat  : type=1400 audit(0.0:48440): avc: denied { search } for name="mm" dev="sysfs" ino=4023 scontext=u:r:untrusted_app_27:s0:c126,c257,c512,c768 tcontext=u:object_r:sysfs_mm:s0 tclass=dir permissive=0 app=com.termux

Termux App Info

APP_NAME: Termux
PACKAGE_NAME: com.termux
VERSION_NAME: 0.118.0
VERSION_CODE: 118
TARGET_SDK: 28
IS_DEBUGGABLE_BUILD: false
IS_INSTALLED_ON_EXTERNAL_STORAGE: true
FILES_DIR: /mnt/expand/b3993ab4-052c-4b86-9437-d33476b66aea/user/0/com.termux/files
TERMUX_FILES_DIR: /data/data/com.termux/files
IS_TERMUX_FILES_DIR_ACCESSIBLE: false - (150) FileUtils Error: The termux files directory not found at path "/data/data/com.termux/files".
APK_RELEASE: F-Droid
SIGNING_CERTIFICATE_SHA256_DIGEST: 228FB2CFE90831C1499EC3CCAF61E96E8E1CE70766B9474672CE427334D41C42

Device Info

Software

OS_VERSION: 4.14.186
SDK_INT: 30
RELEASE: 11
ID: RP1A.200720.011
DISPLAY: A16s_Stratus_C5_Elite_v4.1_20220704_2004
INCREMENTAL: 2022695348
SECURITY_PATCH: 2022-07-05
IS_DEBUGGABLE: 0
IS_TREBLE_ENABLED: true
TYPE: user
TAGS: release-keys

Hardware

MANUFACTURER: along
BRAND: Cloud
MODEL: Stratus_C5_Elite
PRODUCT: Stratus_C5_Elite
BOARD: a16s_stratus_c5
HARDWARE: mt6739
DEVICE: Stratus_C5_Elite
SUPPORTED_ABIS: armeabi-v7a, armeabi

LordKnightSir187 commented 1 year ago

How do I fix this?

LordKnightSir187 commented 1 year ago

It has to install on internal memory not shared memory to work properly