"DaemonMode::end" emitted when built into a sysimage
Opened this issue · 2 comments
tecosaur commented
I just tried using DaemonMode with a sysimage, however I find that DaemonMode::end
is emitted and the client process doesn't exit.
Sysimage construction
~$ julia --startup-file=no -e 'using PackageCompiler; PackageCompiler.create_sysimage([:DaemonMode]; sysimage_path="/home/tec/.local/lib/julia_daemon.so", project="/home/tec/.julia/config/sysimages/daemon_project", incremental=false, filter_stdlibs=true)'
daemon_project
is just a project directory with just DaemonMode
added.
Trying the client
~$ /home/tec/.julia/juliaup/bin/julia --sysimage=/home/tec/.local/lib/julia_daemon.so --startup-file=no -e "using DaemonMode; runargs()" /tmp/test.jl
Hello world
DaemonMode::end
At this point the process just sits there, if I ^C
I then see: Error, cannot connect with server. Is it running?
dmolina commented
One question, the problem only happen when you are using the sysimage?
tecosaur commented
Indeed.