I am running Julia 1.10.10 on Win11, RPI 4, and RPI 5, and only on the RPI 5 have I started getting a jemalloc error recently when calling WGLMakie. Any thoughts on why it wants a page file size of 5 bytes and why it is only filing on the RPI 5?
julia> using WGLMakie
Info Given WGLMakie was explicitly requested, output will be shown live
ERROR: LoadError: Failed to bundle https://cdn.jsdelivr.net/npm/katex@0.16.9/dist/katex.mjs: <jemalloc>: Unsupported system page size
<jemalloc>: Unsupported system page size
memory allocation of 5 bytes failed
Stacktrace:
[1] error(s::String)
@ Base ./error.jl:35
[2] generate_bundle_file(file::String, bundle_file::String)
@ Bonito ~/.julia/packages/Bonito/j7uJq/src/asset-serving/asset.jl:155
[3] Bonito.Asset(path_or_url::String; name::String, es6module::Bool, check_isfile::Bool, bundle_dir::Nothing, mediatype::Symbol)
@ Bonito ~/.julia/packages/Bonito/j7uJq/src/asset-serving/asset.jl:177
[4] ES6Module(path::String)
@ Bonito ~/.julia/packages/Bonito/j7uJq/src/asset-serving/asset.jl:195
[5] top-level scope
@ ~/.julia/packages/Bonito/j7uJq/src/components.jl:608
[6] include(mod::Module, _path::String)
@ Base ./Base.jl:495
[7] include(x::String)
@ Bonito ~/.julia/packages/Bonito/j7uJq/src/Bonito.jl:1
[8] top-level scope
@ ~/.julia/packages/Bonito/j7uJq/src/Bonito.jl:65
[9] include
@ ./Base.jl:495 [inlined]
[10] include_package_for_output(pkg::Base.PkgId, input::String, depot_path::Vector{String}, dl_load_path::Vector{String}, load_path::Vector{String}, concrete_deps::Vector{Pair{Base.PkgId, UInt128}}, source::String)
@ Base ./loading.jl:2292
[11] top-level scope
@ stdin:4
in expression starting at /home/jakez/.julia/packages/Bonito/j7uJq/src/components.jl:608
in expression starting at /home/jakez/.julia/packages/Bonito/j7uJq/src/Bonito.jl:1
in expression starting at stdin:4
ERROR: LoadError: Failed to precompile Bonito [824d6782-a2ef-11e9-3a09-e5662e0c26f8] to "/home/jakez/.julia/compiled/v1.10/Bonito/jl_W8imfK".
Stacktrace:
[1] error(s::String)
@ Base ./error.jl:35
[2] compilecache(pkg::Base.PkgId, path::String, internal_stderr::IO, internal_stdout::IO, keep_loaded_modules::Bool)
@ Base ./loading.jl:2539
[3] compilecache
@ ./loading.jl:2411 [inlined]
[4] (::Base.var"#971#972"{Base.PkgId})()
@ Base ./loading.jl:2044
[5] mkpidlock(f::Base.var"#971#972"{Base.PkgId}, at::String, pid::Int32; kwopts::@Kwargs{stale_age::Int64, wait::Bool})
@ FileWatching.Pidfile ~/.julia/juliaup/julia-1.10.10+0.aarch64.linux.gnu/share/julia/stdlib/v1.10/FileWatching/src/pidfile.jl:93
[6] #mkpidlock#6
@ ~/.julia/juliaup/julia-1.10.10+0.aarch64.linux.gnu/share/julia/stdlib/v1.10/FileWatching/src/pidfile.jl:88 [inlined]
[7] trymkpidlock(::Function, ::Vararg{Any}; kwargs::@Kwargs{stale_age::Int64})
@ FileWatching.Pidfile ~/.julia/juliaup/julia-1.10.10+0.aarch64.linux.gnu/share/julia/stdlib/v1.10/FileWatching/src/pidfile.jl:111
[8] #invokelatest#2
@ ./essentials.jl:894 [inlined]
[9] invokelatest
@ ./essentials.jl:889 [inlined]
[10] maybe_cachefile_lock(f::Base.var"#971#972"{Base.PkgId}, pkg::Base.PkgId, srcpath::String; stale_age::Int64)
@ Base ./loading.jl:3054
[11] maybe_cachefile_lock
@ ./loading.jl:3051 [inlined]
[12] _require(pkg::Base.PkgId, env::String)
@ Base ./loading.jl:2040
[13] __require_prelocked(uuidkey::Base.PkgId, env::String)
@ Base ./loading.jl:1882
[14] #invoke_in_world#3
@ ./essentials.jl:926 [inlined]
[15] invoke_in_world
@ ./essentials.jl:923 [inlined]
[16] _require_prelocked(uuidkey::Base.PkgId, env::String)
@ Base ./loading.jl:1873
[17] macro expansion
@ ./loading.jl:1860 [inlined]
[18] macro expansion
@ ./lock.jl:267 [inlined]
[19] __require(into::Module, mod::Symbol)
@ Base ./loading.jl:1823
[20] #invoke_in_world#3
@ ./essentials.jl:926 [inlined]
[21] invoke_in_world
@ ./essentials.jl:923 [inlined]
[22] require(into::Module, mod::Symbol)
@ Base ./loading.jl:1816
[23] include
@ ./Base.jl:495 [inlined]
[24] include_package_for_output(pkg::Base.PkgId, input::String, depot_path::Vector{String}, dl_load_path::Vector{String}, load_path::Vector{String}, concrete_deps::Vector{Pair{Base.PkgId, UInt128}}, source::Nothing)
@ Base ./loading.jl:2292
[25] top-level scope
@ stdin:4
in expression starting at /home/jakez/.julia/packages/WGLMakie/FbMOf/src/WGLMakie.jl:1
in expression starting at stdin:4
âś— Bonito
âś— WGLMakie
Precompiling WGLMakie finished.
0 dependencies successfully precompiled in 13 seconds. 254 already precompiled.
ERROR: The following 1 direct dependency failed to precompile:
WGLMakie
Failed to precompile WGLMakie [276b4fcb-3e11-5398-bf8b-a0c2d153d008] to "/home/jakez/.julia/compiled/v1.10/WGLMakie/jl_dObvtt".
ERROR: LoadError: Failed to bundle https://cdn.jsdelivr.net/npm/katex@0.16.9/dist/katex.mjs: <jemalloc>: Unsupported system page size
<jemalloc>: Unsupported system page size
memory allocation of 5 bytes failed
Stacktrace:
[1] error(s::String)
@ Base ./error.jl:35
[2] generate_bundle_file(file::String, bundle_file::String)
@ Bonito ~/.julia/packages/Bonito/j7uJq/src/asset-serving/asset.jl:155
[3] Bonito.Asset(path_or_url::String; name::String, es6module::Bool, check_isfile::Bool, bundle_dir::Nothing, mediatype::Symbol)
@ Bonito ~/.julia/packages/Bonito/j7uJq/src/asset-serving/asset.jl:177
[4] ES6Module(path::String)
@ Bonito ~/.julia/packages/Bonito/j7uJq/src/asset-serving/asset.jl:195
[5] top-level scope
@ ~/.julia/packages/Bonito/j7uJq/src/components.jl:608
[6] include(mod::Module, _path::String)
@ Base ./Base.jl:495
[7] include(x::String)
@ Bonito ~/.julia/packages/Bonito/j7uJq/src/Bonito.jl:1
[8] top-level scope
@ ~/.julia/packages/Bonito/j7uJq/src/Bonito.jl:65
[9] include
@ ./Base.jl:495 [inlined]
[10] include_package_for_output(pkg::Base.PkgId, input::String, depot_path::Vector{String}, dl_load_path::Vector{String}, load_path::Vector{String}, concrete_deps::Vector{Pair{Base.PkgId, UInt128}}, source::String)
@ Base ./loading.jl:2292
[11] top-level scope
@ stdin:4
in expression starting at /home/jakez/.julia/packages/Bonito/j7uJq/src/components.jl:608
in expression starting at /home/jakez/.julia/packages/Bonito/j7uJq/src/Bonito.jl:1
in expression starting at stdin:4
ERROR: LoadError: Failed to precompile Bonito [824d6782-a2ef-11e9-3a09-e5662e0c26f8] to "/home/jakez/.julia/compiled/v1.10/Bonito/jl_W8imfK".
Stacktrace:
[1] error(s::String)
@ Base ./error.jl:35
[2] compilecache(pkg::Base.PkgId, path::String, internal_stderr::IO, internal_stdout::IO, keep_loaded_modules::Bool)
@ Base ./loading.jl:2539
[3] compilecache
@ ./loading.jl:2411 [inlined]
[4] (::Base.var"#971#972"{Base.PkgId})()
@ Base ./loading.jl:2044
[5] mkpidlock(f::Base.var"#971#972"{Base.PkgId}, at::String, pid::Int32; kwopts::@Kwargs{stale_age::Int64, wait::Bool})
@ FileWatching.Pidfile ~/.julia/juliaup/julia-1.10.10+0.aarch64.linux.gnu/share/julia/stdlib/v1.10/FileWatching/src/pidfile.jl:93
[6] #mkpidlock#6
@ ~/.julia/juliaup/julia-1.10.10+0.aarch64.linux.gnu/share/julia/stdlib/v1.10/FileWatching/src/pidfile.jl:88 [inlined]
[7] trymkpidlock(::Function, ::Vararg{Any}; kwargs::@Kwargs{stale_age::Int64})
@ FileWatching.Pidfile ~/.julia/juliaup/julia-1.10.10+0.aarch64.linux.gnu/share/julia/stdlib/v1.10/FileWatching/src/pidfile.jl:111
[8] #invokelatest#2
@ ./essentials.jl:894 [inlined]
[9] invokelatest
@ ./essentials.jl:889 [inlined]
[10] maybe_cachefile_lock(f::Base.var"#971#972"{Base.PkgId}, pkg::Base.PkgId, srcpath::String; stale_age::Int64)
@ Base ./loading.jl:3054
[11] maybe_cachefile_lock
@ ./loading.jl:3051 [inlined]
[12] _require(pkg::Base.PkgId, env::String)
@ Base ./loading.jl:2040
[13] __require_prelocked(uuidkey::Base.PkgId, env::String)
@ Base ./loading.jl:1882
[14] #invoke_in_world#3
@ ./essentials.jl:926 [inlined]
[15] invoke_in_world
@ ./essentials.jl:923 [inlined]
[16] _require_prelocked(uuidkey::Base.PkgId, env::String)
@ Base ./loading.jl:1873
[17] macro expansion
@ ./loading.jl:1860 [inlined]
[18] macro expansion
@ ./lock.jl:267 [inlined]
[19] __require(into::Module, mod::Symbol)
@ Base ./loading.jl:1823
[20] #invoke_in_world#3
@ ./essentials.jl:926 [inlined]
[21] invoke_in_world
@ ./essentials.jl:923 [inlined]
[22] require(into::Module, mod::Symbol)
@ Base ./loading.jl:1816
[23] include
@ ./Base.jl:495 [inlined]
[24] include_package_for_output(pkg::Base.PkgId, input::String, depot_path::Vector{String}, dl_load_path::Vector{String}, load_path::Vector{String}, concrete_deps::Vector{Pair{Base.PkgId, UInt128}}, source::Nothing)
@ Base ./loading.jl:2292
[25] top-level scope
@ stdin:4
in expression starting at /home/jakez/.julia/packages/WGLMakie/FbMOf/src/WGLMakie.jl:1
in expression starting at stdin: