hs-zstd icon indicating copy to clipboard operation
hs-zstd copied to clipboard

Segfault in ghci 8.0.1 for compress level 1

Open jberryman opened this issue 8 years ago • 1 comments
trafficstars

jberryman /tmp/flook » cabal repl
GHCi, version 8.0.1: http://www.haskell.org/ghc/  :? for help
Prelude> :set -XOverloadedStrings
Prelude> import Codec.Compression.Zstd
Prelude Codec.Compression.Zstd> compress 2 "Here is a nice payload!"
"(\181/\253 \ETB\185\NUL\NULHere is a nice payload!"
Prelude Codec.Compression.Zstd> compress 1 "Here is a nice payload!"
"[1]    2156 segmentation fault  cabal repl

syslog: May 2 17:30:56 jberryman kernel: [23643994.380276] ghc_worker[2174]: segfault at 612200100 ip 00007feded5fd590 sp 00007feded00fde0 error 6 in libHSrts_thr-ghc8.0.1.so[7feded5c3000+62000]

jberryman avatar May 02 '17 21:05 jberryman

I'm able to reproduce this in ghci 8.0.2

shapr avatar Aug 02 '17 22:08 shapr