proot icon indicating copy to clipboard operation
proot copied to clipboard

fatal allocator error: failed to allocate slab region

Open Liquid-Aristocracy opened this issue 4 years ago • 2 comments

Problem description

I installed proot using pkg than type termux-chroot outputs this:

fatal allocator error: failed to allocate slab region
proot info: vpid 1: terminated with signal 6

Steps to reproduce

Install proot and execute termux-chroot on my phone.

Expected behavior

termux-chroot works.

Additional information

Application version:
0.117
Packages CPU architecture:
aarch64
Subscribed repositories:
# sources.list
deb https://packages.termux.org/apt/termux-main/ stable main
# game-repo (sources.list.d/game.list)
deb https://packages.termux.org/apt/termux-games games stable
# science-repo (sources.list.d/science.list)
deb https://packages.termux.org/apt/termux-science science stable
# unstable-repo (sources.list.d/unstable.list)
deb https://packages.termux.org/apt/termux-unstable unstable main
Updatable packages:
ruby/stable 3.0.2-3 aarch64 [upgradable from: 2.7.2]
Android version:
11
Kernel build information:
Linux localhost 4.9.248-g6423442e55a0 #1 SMP PREEMPT Tue Aug 3 01:19:16 UTC 2021 aarch64 Android
Device manufacturer:
Google
Device model:
Pixel 3

Also I use GrapheneOS and I don't know if it's relevant.

Liquid-Aristocracy avatar Aug 19 '21 02:08 Liquid-Aristocracy

I'm having the same issue with proot-distro. I think it might be due to grapheneos use of hardened malloc https://github.com/GrapheneOS/hardened_malloc.

tanapthetimid avatar Jan 15 '22 07:01 tanapthetimid

I'm having the same issue with proot-distro. I think it might be due to grapheneos use of hardened malloc https://github.com/GrapheneOS/hardened_malloc.

I agree that it would be hardened malloc's issue. I also had native crash in firefox that I think is hardened malloc's problem, see: https://github.com/mozilla-mobile/fenix/issues/21878#issue-1024746655

Liquid-Aristocracy avatar Jan 15 '22 08:01 Liquid-Aristocracy