termux / proot

An chroot-like implementation using ptrace.
https://wiki.termux.com/wiki/PRoot
Other
742 stars 162 forks source link

How to fix problem proot info: vpid 1 terminated with signal 11 #270

Open afl45 opened 1 year ago

afl45 commented 1 year ago

Hi, I try toi install unbutu for termux on mi Xiaomi Android TV with execute with termux. But for install this I need proot-distro. Problem for install proot-distro, a error: proot info: vpid1: terminated with signal 11. Please help me, how I can fix this problem for install proot-distro.

polaris64 commented 8 months ago

This happens for me too on an armv7l tablet running kernel 3.4.113 (Android 11). It seems to be related to the --link2symlink option: -

~ $ PROOT_NO_SECCOMP=1 proot --link2symlink -v 2
proot info: binding = /
proot info: vpid 1: translate("/" + "/bin/sh")
proot info: vpid 1:          -> "/system/bin/sh"
proot info: vpid 1: translate("/" + "/bin/sh")
proot info: vpid 1:          -> "/system/bin/sh"
proot info: exe = /system/bin/sh
proot info: argv =
proot info: initial cwd = /data/data/com.termux/files/home
proot info: verbose level = 2
proot info: pid 21342: access to "/dev/pts/0" (fd 0) won't be translated until closed
proot info: pid 21342: access to "/dev/pts/0" (fd 1) won't be translated until closed
proot info: pid 21342: access to "/dev/pts/0" (fd 2) won't be translated until closed
proot info: pid 21342: access to "/proc/21342/fd" (fd 3) won't be translated until closed
proot info: vpid 1: translate("/" + "/system/bin/sh")
proot info: vpid 1:          -> "/system/bin/sh"
proot info: vpid 1: translate("/" + "/system/bin/sh")
proot info: vpid 1:          -> "/system/bin/sh"
proot info: vpid 1: translate("/" + "/system/bin/sh")
proot info: vpid 1:          -> "/system/bin/sh"
proot info: vpid 1: translate("/" + "/system/bin/linker")
proot info: vpid 1:          -> "/apex/com.android.runtime/bin/linker"
proot info: vpid 1: translate("/" + "/system/bin/sh")
proot info: vpid 1:          -> "/system/bin/sh"
proot info: vpid 1: translate("/" + "/system/bin/sh")
proot info: vpid 1:          -> "/system/bin/sh"
proot info: vpid 1: terminated with signal 11