JuliaLang / JuliaLang/Distributed.jl
interrupt() on a freshly opened julia crashes workers
Nobody has claimed this yet.
- Dominant language
- Julia
- Stars
- 55
- Forks
- 19
- PR merge metrics
- No merged PRs in 30d
Description
when I issue interrupt() directly after opening Julia with
~/julia/julia -p2
I always get an error and some of the workers get terminated:
julia> interrupt()
fatal: error thrown and no exception handler available.
InterruptException()
rec_backtrace at /root/Julia/usr/bin/../lib/libjulia.so (unknown line)
jl_throw at /root/Julia/usr/bin/../lib/libjulia.so (unknown line)
unknown function (ip: 0x7f168ca7b30f)
unknown function (ip: 0x7f168ca7b379)
unknown function (ip: 0x7f168c313690)
syscall at /lib64/libc.so.6 (unknown line)
uv__epoll_wait at /root/Julia/usr/bin/../lib/libjulia.so (unknown line)
uv__io_poll at /root/Julia/usr/bin/../lib/libjulia.so (unknown line)
uv_run at /root/Julia/usr/bin/../lib/libjulia.so (unknown line)
process_events at ./stream.jl:713
wait at ./task.jl:360
task_done_hook at task.jl:174
jl_apply_generic at /root/Julia/usr/bin/../lib/libjulia.so (unknown line)
unknown function (ip: 0x7f168ca68eca)
unknown function (ip: (nil))
fatal: error thrown and no exception handler available.
InterruptException()
rec_backtrace at /root/Julia/usr/bin/../lib/libjulia.so (unknown line)
jl_throw at /root/Julia/usr/bin/../lib/libjulia.so (unknown line)
unknown function (ip: 0x7f8ae739b30f)
unknown function (ip: 0x7f8ae733f3f9)
jl_trampoline at /root/Julia/usr/bin/../lib/libjulia.so (unknown line)
jl_apply_generic at /root/Julia/usr/bin/../lib/libjulia.so (unknown line)
jl_uv_closeHandle at /root/Julia/usr/bin/../lib/libjulia.so (unknown line)
uv_run at /root/Julia/usr/bin/../lib/libjulia.so (unknown line)
process_events at ./stream.jl:713
wait at ./task.jl:360
task_done_hook at task.jl:174
jl_apply_generic at /root/Julia/usr/bin/../lib/libjulia.so (unknown line)
unknown function (ip: 0x7f8ae7388eca)
unknown function (ip: (nil))
Worker 2 terminated.
julia> Worker 3 terminated.ERROR (unhandled task failure): EOFError: read end of file
julia>
ERROR (unhandled task failure): EOFError: read end of file
versioninfo:
Julia Version 0.4.4-pre+35
Commit 1a9429e (2016-02-12 13:21 UTC)
Platform Info:
System: Linux (x86_64-pc-linux-gnu)
CPU: AMD Phenom(tm) II X4 955 Processor
WORD_SIZE: 64
BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Barcelona)
LAPACK: libopenblas64_
LIBM: libopenlibm
LLVM: libLLVM-3.3
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the failure with Julia 0.4.4-pre+35 using ~/julia/julia -p2, then call interrupt() immediately after startup. Start by tracing the stack entries in stream.jl:713 and task.jl:360, and verify that interrupting does not produce fatal unhandled exceptions or terminate workers.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- julia
- Domain
- distributed-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100