So it should be either renamed as unsafeFill and/or bound checks added. It's possible this is not only one function with unsafe access.
moduleFillwhereimportqualifiedData.Vector.Unboxed.MutableasMUimportqualifiedData.Vector.Generic.MutableasMGimportqualifiedData.Vector.Fusion.Stream.MonadicasSSmain::IO()
main =do
mv <-MU.replicate10 (1::Int)
MG.fill mv (SS.replicate100000042)
return()
[1 of 1] Compiling Fill ( /home/alexey/qqq/fill-sigsegv.hs, interpreted )
Ok, modules loaded: Fill.
*Fill> :main
Segmentation fault
So it should be either renamed as unsafeFill and/or bound checks added. It's possible this is not only one function with unsafe access.