julia> N=2^10; a= rand(UInt64,N); sa=IntSet(a); #gives an error ... which is fine ERROR: InexactError() .... julia> a= rand(UInt32,N); sa=IntSet(a); #now the system crashes signal (11): Segmentation fault: 11 ...
Note that the segfault occurs (systematically) only after the the first error is produced. Indeed, the help on IntSet constructor says
[...] Only Ints greater than 0 can be stored. If the set will be sparse (for example holding a few very large integers), use Set instead.
and perhaps it is not a bug. However, let me know it you think it’s worth reporting upstream…
Version 0.6.1 (2017-10-24 22:15 UTC) x86_64-apple-darwin15.6.0