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
Errors inside the @threads macro are silently ignored. Tested with JULIA_NUM_THREADS=4.
|||_|||| (_||| Version 0.5.0-rc3+0 (2016-08-2223:43 UTC)
_/|\__'_|_|_|\__'_|||__/| x86_64-apple-darwin15.6.0
julia> Threads.@threadsfor i =1:10error()
end
julia>
Trying to include debug outputs yields a segfault:
julia> Threads.@threadsfor i =1:10println("before $i")
error()
println("after $i")
end
before 1before 1before 1before 7before 4
signal (11): Segmentation fault:11while loading no file, in expression starting on line 0
uv__write at /Users/rene/local/julia5/deps/srccache/libuv-8d5131b6c1595920dd30644cd1435b4f344b46c8/src/unix/stream.c:890
uv_write2 at /Users/rene/local/julia5/deps/srccache/libuv-8d5131b6c1595920dd30644cd1435b4f344b46c8/src/unix/stream.c:1450
uv_write at /Users/rene/local/julia5/deps/srccache/libuv-8d5131b6c1595920dd30644cd1435b4f344b46c8/src/unix/stream.c:1475
jl_uv_write at /Users/rene/local/julia5/src/jl_uv.c:424
uv_write at ./stream.jl:809
unsafe_write at ./stream.jl:830
write at ./io.jl:175
Note that before 1 gets printed several times.
The text was updated successfully, but these errors were encountered:
Errors inside the
@threads
macro are silently ignored. Tested withJULIA_NUM_THREADS=4
.Trying to include debug outputs yields a segfault:
Note that
before 1
gets printed several times.The text was updated successfully, but these errors were encountered: