Skip to content

"DaemonMode::end" emitted when built into a sysimage  #60

@tecosaur

Description

@tecosaur

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions