Skip to content
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

[Bug]: Android 15 will directly print "killed" and return signal 9 #4219

Open
Mubanjun opened this issue Oct 20, 2024 · 10 comments
Open

[Bug]: Android 15 will directly print "killed" and return signal 9 #4219

Mubanjun opened this issue Oct 20, 2024 · 10 comments

Comments

@Mubanjun
Copy link

Problem description

When opening Termux,it will throw "signal 9"directly.
Screenshot_2024-10-20-10-57-35-62_84d3000e3f4017145260f7618db1d683

Steps to reproduce the behavior.

Open Termux

What is the expected behavior?

No response

System information

  • Termux application version: latest
  • Android OS version:15
  • Device model: OnePlus 12 with ColorOS 15
@agnostic-apollo
Copy link
Member

@leafmoes
Copy link

I have this problem too
termux-report_issue_from_transcript.log

@agnostic-apollo
Copy link
Member

agnostic-apollo commented Oct 28, 2024

TERMUX_APP_PACKAGE_VARIANT: APT_ANDROID_5

Read the installation docs again.

@leafmoes
Copy link

TERMUX_APP_PACKAGE_VARIANTAPT_ANDROID_5

再次阅读安装文档。

But it still says Killed.

termux-report_issue_from_transcript.log

@agnostic-apollo
Copy link
Member

Disable phantom process killer as mentioned above.

@agnostic-apollo
Copy link
Member

@leafmoes
Copy link

I executed this command, but it had no effect:

adb shell "settings put global settings_enable_monitor_phantom_procs false"

@leafmoes
Copy link

The result of this command returns false

adb shell "settings get global settings_enable_monitor_phantom_procs"

@agnostic-apollo
Copy link
Member

libc    : Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 6273 (init), pid 6273 (init)
libc    : crash_dump helper failed to exec, or was killed
linker  : error: unable to open file "/data/data/com.termux/files/usr/bin/bash
"

There is unexpected newline at end of bash path, might be related.

But your logs didn't contain execution history. Exit termux, then run adb shell "logcat -c", then restart termux again and wait for killing and then generate log again.

@leafmoes
Copy link

logcat.txt

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

3 participants