-
-
Notifications
You must be signed in to change notification settings - Fork 37
Closed
Description
on:
Julia Version 1.6.0
Commit f9720dc2eb (2021-03-24 12:55 UTC)
julia> imgs = [
"https://images.unsplash.com/photo-1554266183-2696fdafe3ff?ixlib=rb-1.2.1&auto=format&fit=crop&w=564&q=80"
"https://images.unsplash.com/photo-1527026950045-9e066846bae4?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1419&q=80"
"https://images.unsplash.com/photo-1549287748-f095932c9f81?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=606&q=80"
"https://images.unsplash.com/photo-1437448317784-3a480be9571e?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=634&q=80"
]
julia> imgs = repeat(imgs, 4)
julia> Threads.nthreads()
4
julia> Threads.@threads for url in imgs
download(url)
end
results in
ERROR: TaskFailedException
Stacktrace:
[1] wait
@ ./task.jl:317 [inlined]
[2] threading_run(func::Function)
@ Base.Threads ./threadingconstructs.jl:34
[3] top-level scope
@ ./threadingconstructs.jl:93
nested task error: TaskFailedException
Stacktrace:
[1] try_yieldto(undo::typeof(Base.ensure_rescheduled))
also seen in another occation:
Error: curl_multi_socket_action: 8
Metadata
Metadata
Assignees
Labels
No labels