Closed smthorn closed 6 months ago
Is there a solution to prevent the seg faulting? I've tried using exceptions, but that doesn't work.
I also get segfault when listening is interrupted. Probably an issue with ccall
.
Closing this because I cannot reproduce it on Julia 1.10 or 1.11 on latest master of ZMQ.jl. FWIW, there are some docs here regarding handling Ctrl + C's: https://docs.julialang.org/en/v1/manual/faq/#catch-ctrl-c
When running the ZMQ Guide Hello World example for Julia (
hwserver.jl
), it seg faults when exiting the program usingCtrl-C
while it's waiting to receive a new message. Below are the error messages.Also, the examples in the ZMQ Guide are outdated, so here is my slightly modified version.
Modified
hwserver.jl
:Error messages:
Julia Version:
ZMQ Version: 4.2.1
OS Version: