2moe / tmoe

TMOE, More Optional Environments.
https://doc.tmoe.me
Other
849 stars 80 forks source link

qemu: uncaught target signal 11 #273

Open BlockHaity opened 1 year ago

BlockHaity commented 1 year ago

Are you rooted?

No

Desktop environment

🐭 xfce

Container type

proot

Configuration

container value
os all
arch arm64 to amd64

host value
os android 12
arch arm64
terminal ZeroTermux
tmoe latest

特殊信息 鸿蒙系统版本:3.0.0.108公测版 机型 HUAWEI P30

Describe the bug

在发行版安装好之后退出容器重新进入时发生报错 removed directory '/data/data/com.termux/files/home/.local/share/tmoe-linux/containers/proot/ubuntu-jammy_amd64/tmp/.tmoe_container_temporary' Ubuntu 22.04.2 LTS qemu: uncaught target signal 11 (Segmentation fault) - core dumped proot info: vpid 1: terminated with signal 11

Screenshots

No response

How to reproduce

No response

Expected behavior

No response

Error Logs

removed directory '/data/data/com.termux/files/home/.local/share/tmoe-linux/containers/proot/ubuntu-jammy_amd64/tmp/.tmoe_container_temporary' Ubuntu 22.04.2 LTS qemu: uncaught target signal 11 (Segmentation fault) - core dumped proot info: vpid 1: terminated with signal 11

Additional context

No response

2moe commented 1 year ago

在没有完美的 binfmt 支持的情况下,qemu-user 出现 Segmentation fault 还蛮常见的。 说实话,我无法妥善解决此问题,只能想办法绕过它。

点击“环境变量与登录项管理”,先切换成普通用户(非 root 用户),然后再把默认 login shell 切换成 sh 或 bash 。 如果 xfce 启动不了或启动速度很慢的话,那可以试一下 lxde 桌面或者是单独的窗口管理器。

fish4terrisa-MSDSM commented 1 year ago

你试下在tmoe里更新一下qemu-user。不过鸿蒙本身可能出任何问题,所以具体问题实在很难说欸。。。

BlockHaity commented 1 year ago

我现在在尝试将系统退回鸿蒙2,因为在鸿蒙2中是没问题的

fish4terrisa-MSDSM commented 1 year ago

好的,这个的确可能是有关系,毕竟鸿蒙似乎魔改过lib和内核,所以的确可能有问题(现在感觉可能是内核的bug¿)