KissThreading.jl icon indicating copy to clipboard operation
KissThreading.jl copied to clipboard

trandjump() occasionally segfaults

Open mohamed82008 opened this issue 7 years ago • 7 comments

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.

mohamed82008 avatar Jul 24 '18 20:07 mohamed82008

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.

bkamins avatar Jul 24 '18 20:07 bkamins

(or even if you have this problem not-on-windows please drop a comment there as currently it is flagged as Windows only problem)

bkamins avatar Jul 24 '18 20:07 bkamins

I had it on Windows.

mohamed82008 avatar Jul 24 '18 21:07 mohamed82008

@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

UserQuestions avatar Aug 29 '18 21:08 UserQuestions

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.

bkamins avatar Aug 29 '18 21:08 bkamins

I've reported over there as well so that they know it's not a Windows-specific issue.

UserQuestions avatar Aug 29 '18 22:08 UserQuestions

Thank you!

bkamins avatar Aug 30 '18 07:08 bkamins