Skip to content

[Bug]: termux-change-repo dies with -9 (oom?) #4511

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
dxcvvxd opened this issue Apr 24, 2025 · 3 comments
Open

[Bug]: termux-change-repo dies with -9 (oom?) #4511

dxcvvxd opened this issue Apr 24, 2025 · 3 comments

Comments

@dxcvvxd
Copy link

dxcvvxd commented Apr 24, 2025

Problem description

problem in the title

Steps to reproduce the behavior.

run termux-change-repo, select any mirror group, it dies

Image

What is the expected behavior?

it doesnt die

System information

Termux Variables:
TERMUX_APP_PACKAGE_MANAGER=apt
TERMUX_APP__AM_SOCKET_SERVER_ENABLED=true
TERMUX_APP__APK_PATH=/data/app/~~LioPjrr21b-0qxcib89wmQ==/com.termux-YMoHcZqT30AbiHTp2euVmw==/base.apk
TERMUX_APP__APK_RELEASE=GITHUB
TERMUX_APP__FILES_DIR=/data/user/0/com.termux/files
TERMUX_APP__IS_DEBUGGABLE_BUILD=true
TERMUX_APP__IS_INSTALLED_ON_EXTERNAL_STORAGE=false
TERMUX_APP__PACKAGE_MANAGER=apt
TERMUX_APP__PACKAGE_NAME=com.termux
TERMUX_APP__PACKAGE_VARIANT=apt-android-7
TERMUX_APP__PID=30766
TERMUX_APP__SE_FILE_CONTEXT=u:object_r:app_data_file:s0:c250,c257,c512,c768
TERMUX_APP__SE_INFO=default:targetSdkVersion=28:complete
TERMUX_APP__SE_PROCESS_CONTEXT=u:r:untrusted_app_27:s0:c250,c257,c512,c768
TERMUX_APP__TARGET_SDK=28
TERMUX_APP__UID=10506
TERMUX_APP__USER_ID=0
TERMUX_APP__VERSION_CODE=118
TERMUX_APP__VERSION_NAME=0.118.0+245158c
TERMUX_MAIN_PACKAGE_FORMAT=debian
TERMUX_VERSION=0.118.0+245158c
TERMUX__USER_ID=0
Packages CPU architecture:
aarch64
Subscribed repositories:
# sources.list
deb https://mirror.freedif.org/termux/termux-main stable main
Updatable packages:
All packages up to date
termux-tools version:
1.45.0
Android version:
15
Kernel build information:
Linux localhost 5.15.167-chickernel-stable-5-ksun-susfs #1 SMP PREEMPT Fri Apr 4 19:19:12 UTC 2025 aarch64 Android
Device manufacturer:
Xiaomi
Device model:
23021RAA2Y
Supported ABIs:
SUPPORTED_ABIS: arm64-v8a,armeabi-v7a,armeabi
SUPPORTED_32_BIT_ABIS: armeabi-v7a,armeabi
SUPPORTED_64_BIT_ABIS: arm64-v8a
LD Variables:
LD_LIBRARY_PATH=
LD_PRELOAD=/data/data/com.termux/files/usr/lib/libtermux-exec-ld-preload.so
Installed termux plugins:
com.termux.styling versionCode:1000
@Grimler91
Copy link
Member

Grimler91 commented Apr 24, 2025

I would guess it is the phantom process killer: #2366

See phantom-cached-and-empty-processes.md#commands-to-disable-phantom-process-killing-and-tldr for how to disable it over adb or with root on different android versions

@dxcvvxd
Copy link
Author

dxcvvxd commented Apr 24, 2025

already did that, and i didnt have any other processes other than system and youtube in the background

@Grimler91
Copy link
Member

And it is reproducible on every termux-change-repo run? Interesting! Could you please capture an adb logcat when error happens?

You can clear log first with adb logcat -c, then run termux-change-repo in termux (or some other command that triggers it), and then adb logcat > termux.log to get mostly relevant entries.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants