Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug in Threads.@threads #19385

Closed
yebai opened this issue Nov 22, 2016 · 1 comment
Closed

Bug in Threads.@threads #19385

yebai opened this issue Nov 22, 2016 · 1 comment

Comments

@yebai
Copy link

yebai commented Nov 22, 2016

Running the following code with 4 threads on Julia 0.5 (OS X) produces a repeatable segmentation fault.

Threads.@threads for i = 1:10
           println(Threads.threadid())
end

Error message

3
3
signal (11): Segmentation fault: 11
while loading no file, in expression starting on line 0
sig_match_fast at /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/gf.c:1809 [inlined]
jl_apply_generic at /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/gf.c:1892
jl_apply at /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/./julia.h:1392 [inlined]
start_task at /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/task.c:253
Allocations: 1396745 (Pool: 1395878; Big: 867); GC: 0
Segmentation fault: 11
@yuyichao
Copy link
Contributor

Dup of #14494

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants