You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
julia --project=MandelbrotZoom MandelbrotZoom/src/MandelbrotZoom.jl
That works just fine. It works because it calls wait(display(fig))
but!
If you compile it like this:
julia -e '''using PackageCompilercreate_app("MandelbrotZoom", "output", incremental = true)'''
then you get an executable that almost works... it prints out messages up to where it calls display(fig) and then it does this:
...
...
Precompiling project...
21 dependencies successfully precompiled in 135 seconds. 264 already precompiled.
✔ [02m:36s] PackageCompiler: compiling incremental system image
ld: warning: reexported library with install name '@rpath/libunwind.1.dylib' found at '/Applications/Julia-1.11.app/Contents/Resources/julia/lib/julia/libunwind.1.0.dylib' couldn't be matched with any parent library and will be linked directlyld: warning: reexported library with install name '@rpath/libunwind.1.dylib' found at '/Applications/Julia-1.11.app/Contents/Resources/julia/lib/julia/libunwind.1.0.dylib' couldn't be matched with any parent library and will be linked directly
$
$
$ ./output/bin/MandelbrotZoom
Draw the famous picture.
Wait for the display to be done...
[57813] signal 11 (2): Segmentation fault: 11
in expression starting at none:1
_platform_memmove at /usr/lib/system/libsystem_platform.dylib (unknown line)
Allocations: 741726 (Pool: 741663; Big: 63); GC: 3
Segmentation fault: 11
$
I wrote a toy app that let's you zoom on the Mandelbrot set. It is at https://github.com/johnrfrank/MandelbrotZoom/
and you can run the app like this:
That works just fine. It works because it calls
wait(display(fig))
but!
If you compile it like this:
then you get an executable that almost works... it prints out messages up to where it calls
display(fig)
and then it does this:version of Makie and GLMakie
[ee78f7c6] Makie v0.21.15
[e9467ef8] GLMakie v0.10.15
can you reproduce the bug with a fresh environment ? (
]activate --temp; add Makie
)Yes, the segfault happens after compiling with PackageCompiler
MacBook 2021 Apple M1 Max
macos Sonoma 14.6.1
GLFW.GetVersionString()
"3.4.0 Cocoa NSGL Null EGL OSMesa monotonic dynamic"
The text was updated successfully, but these errors were encountered: