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

fatal allocator error: failed to allocate slab region arm64 rpi #206

Closed
TheWanderer1983 opened this issue Sep 9, 2022 · 2 comments
Closed

Comments

@TheWanderer1983
Copy link

Hello all,
I built the latest harden malloc as per these instruction on a raspberry pi 4b with latest raspberry pi OS lite 64bit and kernel 5.15.61-v8+ from raspberry pi github. This system has LKRG built and working.
It builds fine but when i load the library via /etc/ld.so-preload the system completely locks up. Every command to shell comes back with "fatal allocator error: failed to allocate slab region". I need to remove the ld.so-preload and library in order to get the system functional again.

@thestinger
Copy link
Member

You likely have your kernel configured with a 39-bit address space and the default configuration expects a larger address space. You need to reduce the class region size or change your kernel configuration.

@thestinger thestinger closed this as not planned Won't fix, can't repro, duplicate, stale Sep 9, 2022
@TheWanderer1983
Copy link
Author

You were right. I rebuilt the kernel with 48bit and it fixed the problem. Thank you.

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

No branches or pull requests

2 participants