KissThreading.jl
KissThreading.jl copied to clipboard
trandjump() occasionally segfaults
When I was running tests earlier, const TRNG = trandjump() would occasionally cause a segfault. Not sure what the reason is or why it stops happening when I try again but it is worth reporting. If I get it again, I will copy the message here.
Unfortunately I also witnessed this: https://github.com/JuliaLang/julia/issues/28218
If you happen to have the same issue on Linux or OS X can you add a dump to JuliaLang issue please?
If it is not solved in some reasonable time we will have to look for a workaround.
(or even if you have this problem not-on-windows please drop a comment there as currently it is flagged as Windows only problem)
I had it on Windows.
@bkamins @mohamed82008
I was very belatedly trying to test tmap! and its batch functionality and got a segfault when precompiling the package that likely stems from the same issue given that the offending line 33 is const TRNG = trandjump():
[ Info: Precompiling KissThreading [somesortofhash]
signal (11): Segmentation fault
in expression starting at /myhomedir/.julia/dev/KissThreading/src/KissThreading.jl:33
copy at ./array.jl:299
There is no conclusion on issue https://github.com/JuliaLang/julia/issues/28218 so I have just pushed a version that should not segfault, but is a bit slower on startup. We can revert it in the future if the original issue is resolved.
I will keep this issue open till testing confirms that this solution does not segfault.
I've reported over there as well so that they know it's not a Windows-specific issue.
Thank you!