Closed piyush-kurur closed 5 years ago
Seems like the segfault occurs only with ghc-8.4.1.
Infact it looks like this occurs only when you interleave builds with two different compiler version. That is when I first build using say ghc-8.2 and then using 8.4 or some crazy combination. So it has probably got to do with the C part of the code not getting properly linked @hvr any comments ?
Closing this at it was a false alarm
This seems to be a ghc-8.4.3 issue. Other applications have also seen this problem.
This is a bug that seems to have a stink of a buffer overflow. On my desktop the following command
segfaults. However curiously it does not segfault when the redirection to
/dev/null
is not present. Also it does not segfault when given an argument (likeraaz entropy 1000000 > /dev/null
). The correspondingraaz rand > /dev/null
works okey.