Skip to content

Free, open-source 3D sculpting for Linux, macOS and Windows: dense meshes, remeshing, painting, built-in AI (image/text to 3D), Send to Unreal, game-ready LODs, Gaussian splats and OpenUSD.

AppImage page-size check: jemalloc counts when linked (libjemalloc) or built in (its message AND MALLOC_CONF); the guide compiled into the app quotes the message alone and failed the 0.11.12 Packages run

islandmedcee4bb2dd2dc
diff --git a/packaging/linux/check-page-size.sh b/packaging/linux/check-page-size.sh
index 4c5dd7e9..b367d9e3 100755
--- a/packaging/linux/check-page-size.sh
+++ b/packaging/linux/check-page-size.sh
@@ -16,7 +16,9 @@ ARCH=$2
bad=0
for f in $(find "$APPDIR" -type f \( -path '*/bin/*' -o -name '*.so' -o -name '*.so.*' \)); do
head -c 4 "$f" | grep -q 'ELF' || continue
- if grep -q -a '<jemalloc>' "$f"; then
+ # Linked (NEEDED libjemalloc) or built in (its messages AND its MALLOC_CONF setting: the guide compiled into the app
+ # quotes the message alone, docs/guide/troubleshooting.md).
+ if readelf -d "$f" 2>/dev/null | grep -q 'libjemalloc' || { grep -q -a '<jemalloc>' "$f" && grep -q -a 'MALLOC_CONF' "$f"; }; then
echo "$f: bundles jemalloc (aborts on other page sizes); use glibc malloc" >&2
bad=1
fi