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

<jemalloc>: Unsupported system page size ../glib/gprintf.c:349: failed to allocate memory #26103

Closed
Lesik opened this issue Mar 28, 2023 · 0 comments
Labels

Comments

@Lesik
Copy link

Lesik commented Mar 28, 2023

This is a follow-up from #24564 and #24836 regarding Telegram Desktop not starting on certain ARM64 systems, most notably Asahi Linux, due to jemalloc being built for 4K page size instead of 16K. (I would comment this on the original thread, but unfortunately it was locked.)

The suggestion in #24836 by @treeshateorcs to rebuild jemalloc with 16K page size manually is no longer necessary, as the jemalloc in Arch Linux ARM is already built with 16K page size. Therefore, if you're running Asahi Linux (based on Arch Linux ARM), just installing telegram-desktop from the Arch Linux ARM repo, or if already, updating your system should land the fix.

Telegram Desktop from Flatpak doesn't use the system's jemalloc, so it won't work there. The same is most likely true for Telegram Desktop packages from distributions that are not Arch Linux ARM.

@Lesik Lesik added the bug label Mar 28, 2023
@Lesik Lesik closed this as completed Mar 28, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 13, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant