internal error: evacuate: strange closure type -1193213952 in shortbytestring test suite on aarch64-darwin with GHC 8.10.7
Summary
Test suite of shortbytestring
0.2.0.0 triggers the following issue on aarch64-darwin
.
foldl1: prop-compiled: internal error: evacuate: strange closure type -1193213952
(GHC version 8.10.7 for aarch64_apple_darwin)
Please report this as a GHC bug: https://www.haskell.org/ghc/reportabug
full log
setupCompilerEnvironmentPhase
Build with /nix/store/fsnjsdqgdz2znslv0izw7d4mg6vl8rip-ghc-8.10.7.
unpacking sources
unpacking source archive /nix/store/h05chc9cswniwpy8wr7vfa4w7niibn86-shortbytestring-0.2.0.0.tar.gz
source root is shortbytestring-0.2.0.0
setting SOURCE_DATE_EPOCH to timestamp 1000000000 of file shortbytestring-0.2.0.0/tests/Properties/ByteString/Short/Word16.hs
patching sources
compileBuildDriverPhase
setupCompileFlags: -package-db=/private/tmp/nix-build-shortbytestring-0.2.0.0.drv-0/setup-package.conf.d -j1 -threaded -rtsopts
[1 of 1] Compiling Main ( /nix/store/4mdp8nhyfddh7bllbi7xszz7k9955n79-Setup.hs, /private/tmp/nix-build-shortbytestring-0.2.0.0.drv-0/Main.o )
Linking Setup ...
updateAutotoolsGnuConfigScriptsPhase
configuring
configureFlags: --verbose --prefix=/nix/store/8rpb4inrnn70nnd42vvqd0l0iagn0lsv-shortbytestring-0.2.0.0 --libdir=$prefix/lib/$compiler --libsubdir=$abi/$libname --docdir=/nix/store/jfp2r6i9y5xd9gr6k2gfv69pbw7x4b2q-shortbytestring-0.2.0.0-doc/share/doc/shortbytestring-0.2.0.0 --with-gcc=clang --package-db=/private/tmp/nix-build-shortbytestring-0.2.0.0.drv-0/package.conf.d --ghc-options=-j1 --disable-split-objs --disable-library-profiling --disable-profiling --enable-shared --disable-coverage --enable-static --disable-executable-dynamic --enable-tests --disable-benchmarks --enable-library-vanilla --disable-library-for-ghci --extra-lib-dirs=/nix/store/vfx838xb8y5iifbpcj03fljagms0xvkc-ncurses-6.2/lib --extra-lib-dirs=/nix/store/92yf002wz1a2lz83pgx59hb8ng376wig-libffi-3.4.2/lib --extra-lib-dirs=/nix/store/hrmakx4jpq7b3zaj5cmsyclnrxfji8hb-gmp-6.2.1/lib --extra-include-dirs=/nix/store/hhydbralhhhfclxqr51kjpbv2gvz4g31-libiconv-50/include --extra-lib-dirs=/nix/store/hhydbralhhhfclxqr51kjpbv2gvz4g31-libiconv-50/lib --extra-include-dirs=/nix/store/cir5w76g2q5n7vbv5xzpmzlyl2j27gm2-libcxx-11.1.0-dev/include --extra-lib-dirs=/nix/store/v9h8pygmf5ld2p5fnnmcdnp073pnc3yj-libcxx-11.1.0/lib --extra-include-dirs=/nix/store/ajba7f9g3ijwjwrnshksyj21y3a57j4d-libcxxabi-11.1.0-dev/include --extra-lib-dirs=/nix/store/3hy11n7jlvd01fsxy43iipahhv5qv691-libcxxabi-11.1.0/lib --extra-lib-dirs=/nix/store/8draafqraz9q64i7lhg0wrs924gcgdqs-compiler-rt-libc-11.1.0/lib --extra-framework-dirs=/nix/store/k244b16r780gbzb63qwikg0p99gv33jm-apple-framework-CoreFoundation-11.0.0/Library/Frameworks --extra-include-dirs=/nix/store/p4k9fz4ym4f4kchy75sk8gwcd8fkndx4-libobjc-11.0.0/include --extra-lib-dirs=/nix/store/p4k9fz4ym4f4kchy75sk8gwcd8fkndx4-libobjc-11.0.0/lib
Using Parsec parser
Configuring shortbytestring-0.2.0.0...
Dependency base >=4.9.1.0 && <5: using base-4.14.3.0
Dependency bytestring >=0.10.8.1 && <0.11: using bytestring-0.10.12.0
Dependency exceptions ==0.10.*: using exceptions-0.10.4
Dependency primitive ==0.7.*: using primitive-0.7.3.0
Dependency template-haskell >=2.10 && <2.20: using template-haskell-2.16.0.0
Dependency text >=1.2.3.0 && <1.2.6: using text-1.2.4.1
Dependency word16 -any: using word16-0.1.0.0
Dependency word8 ==0.1.*: using word8-0.1.3
Dependency QuickCheck -any: using QuickCheck-2.14.2
Dependency base >=4.9.1.0 && <5: using base-4.14.3.0
Dependency bytestring >=0.10.8.1 && <0.11: using bytestring-0.10.12.0
Dependency deepseq -any: using deepseq-1.4.4.0
Dependency ghc-prim -any: using ghc-prim-0.6.1
Dependency shortbytestring -any: using shortbytestring-0.2.0.0
Dependency tasty -any: using tasty-1.4.2
Dependency tasty-quickcheck -any: using tasty-quickcheck-0.10.1.2
Dependency word16 -any: using word16-0.1.0.0
Dependency word8 -any: using word8-0.1.3
Source component graph:
component lib
component test:prop-compiled dependency lib
Configured component graph:
component shortbytestring-0.2.0.0-HjOnEPJtzhYEio6pCkQgqg
include base-4.14.3.0
include bytestring-0.10.12.0
include exceptions-0.10.4
include primitive-0.7.3.0-HMedJdQUTCQ79SiIUfisnA
include template-haskell-2.16.0.0
include text-1.2.4.1
include word16-0.1.0.0-CExu9wJDHvECBYWFZZ3bUE
include word8-0.1.3-3suFTzfCtfW1njTS38c5W6
component shortbytestring-0.2.0.0-KjRlxMXoRd19CZqAbCVjYT-prop-compiled
include QuickCheck-2.14.2-LnAekkDY9lpEHhc1zrdrc6
include base-4.14.3.0
include bytestring-0.10.12.0
include deepseq-1.4.4.0
include ghc-prim-0.6.1
include shortbytestring-0.2.0.0-HjOnEPJtzhYEio6pCkQgqg
include tasty-1.4.2-8uNODzuO8iuERCqkmI6DdY
include tasty-quickcheck-0.10.1.2-1X1mgcPW5Q86feFgT0Kvk0
include word16-0.1.0.0-CExu9wJDHvECBYWFZZ3bUE
include word8-0.1.3-3suFTzfCtfW1njTS38c5W6
Linked component graph:
unit shortbytestring-0.2.0.0-HjOnEPJtzhYEio6pCkQgqg
include base-4.14.3.0
include bytestring-0.10.12.0
include exceptions-0.10.4
include primitive-0.7.3.0-HMedJdQUTCQ79SiIUfisnA
include template-haskell-2.16.0.0
include text-1.2.4.1
include word16-0.1.0.0-CExu9wJDHvECBYWFZZ3bUE
include word8-0.1.3-3suFTzfCtfW1njTS38c5W6
Data.ByteString.Short=shortbytestring-0.2.0.0-HjOnEPJtzhYEio6pCkQgqg:Data.ByteString.Short,Data.ByteString.Short.Decode=shortbytestring-0.2.0.0-HjOnEPJtzhYEio6pCkQgqg:Data.ByteString.Short.Decode,Data.ByteString.Short.Encode=shortbytestring-0.2.0.0-HjOnEPJtzhYEio6pCkQgqg:Data.ByteString.Short.Encode,Data.ByteString.Short.Internal=shortbytestring-0.2.0.0-HjOnEPJtzhYEio6pCkQgqg:Data.ByteString.Short.Internal,Data.ByteString.Short.Word16=shortbytestring-0.2.0.0-HjOnEPJtzhYEio6pCkQgqg:Data.ByteString.Short.Word16
unit shortbytestring-0.2.0.0-KjRlxMXoRd19CZqAbCVjYT-prop-compiled
include QuickCheck-2.14.2-LnAekkDY9lpEHhc1zrdrc6
include base-4.14.3.0
include bytestring-0.10.12.0
include deepseq-1.4.4.0
include ghc-prim-0.6.1
include shortbytestring-0.2.0.0-HjOnEPJtzhYEio6pCkQgqg
include tasty-1.4.2-8uNODzuO8iuERCqkmI6DdY
include tasty-quickcheck-0.10.1.2-1X1mgcPW5Q86feFgT0Kvk0
include word16-0.1.0.0-CExu9wJDHvECBYWFZZ3bUE
include word8-0.1.3-3suFTzfCtfW1njTS38c5W6
Ready component graph:
definite shortbytestring-0.2.0.0-HjOnEPJtzhYEio6pCkQgqg
depends base-4.14.3.0
depends bytestring-0.10.12.0
depends exceptions-0.10.4
depends primitive-0.7.3.0-HMedJdQUTCQ79SiIUfisnA
depends template-haskell-2.16.0.0
depends text-1.2.4.1
depends word16-0.1.0.0-CExu9wJDHvECBYWFZZ3bUE
depends word8-0.1.3-3suFTzfCtfW1njTS38c5W6
definite shortbytestring-0.2.0.0-KjRlxMXoRd19CZqAbCVjYT-prop-compiled
depends QuickCheck-2.14.2-LnAekkDY9lpEHhc1zrdrc6
depends base-4.14.3.0
depends bytestring-0.10.12.0
depends deepseq-1.4.4.0
depends ghc-prim-0.6.1
depends shortbytestring-0.2.0.0-HjOnEPJtzhYEio6pCkQgqg
depends tasty-1.4.2-8uNODzuO8iuERCqkmI6DdY
depends tasty-quickcheck-0.10.1.2-1X1mgcPW5Q86feFgT0Kvk0
depends word16-0.1.0.0-CExu9wJDHvECBYWFZZ3bUE
depends word8-0.1.3-3suFTzfCtfW1njTS38c5W6
Using Cabal-3.2.1.0 compiled by ghc-8.10
Using compiler: ghc-8.10.7
Using install prefix:
/nix/store/8rpb4inrnn70nnd42vvqd0l0iagn0lsv-shortbytestring-0.2.0.0
Executables installed in:
/nix/store/8rpb4inrnn70nnd42vvqd0l0iagn0lsv-shortbytestring-0.2.0.0/bin
Libraries installed in:
/nix/store/8rpb4inrnn70nnd42vvqd0l0iagn0lsv-shortbytestring-0.2.0.0/lib/ghc-8.10.7/aarch64-osx-ghc-8.10.7/shortbytestring-0.2.0.0-HjOnEPJtzhYEio6pCkQgqg
Dynamic Libraries installed in:
/nix/store/8rpb4inrnn70nnd42vvqd0l0iagn0lsv-shortbytestring-0.2.0.0/lib/ghc-8.10.7/aarch64-osx-ghc-8.10.7
Private executables installed in:
/nix/store/8rpb4inrnn70nnd42vvqd0l0iagn0lsv-shortbytestring-0.2.0.0/libexec/aarch64-osx-ghc-8.10.7/shortbytestring-0.2.0.0
Data files installed in:
/nix/store/8rpb4inrnn70nnd42vvqd0l0iagn0lsv-shortbytestring-0.2.0.0/share/aarch64-osx-ghc-8.10.7/shortbytestring-0.2.0.0
Documentation installed in:
/nix/store/jfp2r6i9y5xd9gr6k2gfv69pbw7x4b2q-shortbytestring-0.2.0.0-doc/share/doc/shortbytestring-0.2.0.0
Configuration files installed in:
/nix/store/8rpb4inrnn70nnd42vvqd0l0iagn0lsv-shortbytestring-0.2.0.0/etc
No alex found
Using ar found on system at:
/nix/store/nyl3gxdnjzidq7ky3nd65cblah1yfnyb-cctools-binutils-darwin-949.0.1/bin/ar
No c2hs found
No cpphs found
No doctest found
Using gcc version 11.1.0 given by user at:
/nix/store/39hmshy4x50snqsrhfrqv2klfdix1cj5-clang-wrapper-11.1.0/bin/clang
Using ghc version 8.10.7 found on system at:
/nix/store/fsnjsdqgdz2znslv0izw7d4mg6vl8rip-ghc-8.10.7/bin/ghc
Using ghc-pkg version 8.10.7 found on system at:
/nix/store/fsnjsdqgdz2znslv0izw7d4mg6vl8rip-ghc-8.10.7/bin/ghc-pkg
No ghcjs found
No ghcjs-pkg found
No greencard found
Using haddock version 2.24.2 found on system at:
/nix/store/fsnjsdqgdz2znslv0izw7d4mg6vl8rip-ghc-8.10.7/bin/haddock
No happy found
Using haskell-suite found on system at: haskell-suite-dummy-location
Using haskell-suite-pkg found on system at: haskell-suite-pkg-dummy-location
No hmake found
Using hpc version 0.68 found on system at:
/nix/store/fsnjsdqgdz2znslv0izw7d4mg6vl8rip-ghc-8.10.7/bin/hpc
Using hsc2hs version 0.68.7 found on system at:
/nix/store/fsnjsdqgdz2znslv0izw7d4mg6vl8rip-ghc-8.10.7/bin/hsc2hs
Using hscolour version 1.24 found on system at:
/nix/store/fisv258lhaabkbirbxwp8hig8fiwc46d-hscolour-1.24.4/bin/HsColour
No jhc found
Using ld found on system at:
/nix/store/4sjvijh2aw94ljxbi564kgafwmxda991-cctools-binutils-darwin-wrapper-949.0.1/bin/ld
No pkg-config found
Using runghc version 8.10.7 found on system at:
/nix/store/fsnjsdqgdz2znslv0izw7d4mg6vl8rip-ghc-8.10.7/bin/runghc
Using strip found on system at:
/nix/store/39hmshy4x50snqsrhfrqv2klfdix1cj5-clang-wrapper-11.1.0/bin/strip
Using tar found on system at:
/nix/store/fih00xwmdhwc8zg8inc8hdm9kxf75vi4-gnutar-1.34/bin/tar
No uhc found
building
Preprocessing library for shortbytestring-0.2.0.0..
Building library for shortbytestring-0.2.0.0..
[1 of 5] Compiling Data.ByteString.Short.Internal ( lib/Data/ByteString/Short/Internal.hs, dist/build/Data/ByteString/Short/Internal.o, dist/build/Data/ByteString/Short/Internal.dyn_o )
[2 of 5] Compiling Data.ByteString.Short ( lib/Data/ByteString/Short.hs, dist/build/Data/ByteString/Short.o, dist/build/Data/ByteString/Short.dyn_o )
[3 of 5] Compiling Data.ByteString.Short.Encode ( lib/Data/ByteString/Short/Encode.hs, dist/build/Data/ByteString/Short/Encode.o, dist/build/Data/ByteString/Short/Encode.dyn_o )
[4 of 5] Compiling Data.ByteString.Short.Decode ( lib/Data/ByteString/Short/Decode.hs, dist/build/Data/ByteString/Short/Decode.o, dist/build/Data/ByteString/Short/Decode.dyn_o )
[5 of 5] Compiling Data.ByteString.Short.Word16 ( lib/Data/ByteString/Short/Word16.hs, dist/build/Data/ByteString/Short/Word16.o, dist/build/Data/ByteString/Short/Word16.dyn_o )
Preprocessing test suite 'prop-compiled' for shortbytestring-0.2.0.0..
Building test suite 'prop-compiled' for shortbytestring-0.2.0.0..
[1 of 3] Compiling Properties.ByteString.Short ( tests/Properties/ByteString/Short.hs, dist/build/prop-compiled/prop-compiled-tmp/Properties/ByteString/Short.o )
[2 of 3] Compiling Properties.ByteString.Short.Word16 ( tests/Properties/ByteString/Short/Word16.hs, dist/build/prop-compiled/prop-compiled-tmp/Properties/ByteString/Short/Word16.o )
[3 of 3] Compiling Main ( tests/Properties.hs, dist/build/prop-compiled/prop-compiled-tmp/Main.o )
Linking dist/build/prop-compiled/prop-compiled ...
running tests
Running 1 test suites...
Test suite prop-compiled: RUNNING...
All
StrictWord8
pack . unpack: OK
+++ OK, passed 100 tests.
unpack . pack: OK
+++ OK, passed 100 tests.
read . show: OK
+++ OK, passed 100 tests.
==: OK
+++ OK, passed 100 tests.
== refl: OK
+++ OK, passed 100 tests.
== symm: OK
+++ OK, passed 100 tests.
== pack unpack: OK
+++ OK, passed 100 tests.
compare: OK
+++ OK, passed 100 tests.
compare EQ: OK
+++ OK, passed 100 tests.
compare GT: OK
+++ OK, passed 100 tests.
compare LT: OK
+++ OK, passed 100 tests.
compare GT empty: OK
+++ OK, passed 100 tests; 21 discarded.
compare LT empty: OK
+++ OK, passed 100 tests; 31 discarded.
compare GT concat: OK
+++ OK, passed 100 tests; 27 discarded.
compare char: OK
+++ OK, passed 100 tests.
compare unsigned: OK
+++ OK, passed 1 test.
null: OK
+++ OK, passed 100 tests.
empty 0: OK
+++ OK, passed 1 test.
empty []: OK
+++ OK, passed 1 test.
mempty 0: OK
+++ OK, passed 1 test.
mempty []: OK
+++ OK, passed 1 test.
concat: OK (0.01s)
+++ OK, passed 100 tests.
concat [x,x]: OK
+++ OK, passed 100 tests.
concat [x,[]]: OK
+++ OK, passed 100 tests.
mconcat: OK (0.01s)
+++ OK, passed 100 tests.
mconcat [x,x]: OK
+++ OK, passed 100 tests.
mconcat [x,[]]: OK
+++ OK, passed 100 tests.
null: OK
+++ OK, passed 100 tests.
reverse: OK
+++ OK, passed 100 tests.
all: OK
+++ OK, passed 100 tests.
all ==: OK
+++ OK, passed 100 tests.
any: OK
+++ OK, passed 100 tests.
any ==: OK
+++ OK, passed 100 tests.
append: OK
+++ OK, passed 100 tests.
mappend: OK
+++ OK, passed 100 tests.
<>: OK
+++ OK, passed 100 tests.
stimes: OK
+++ OK, passed 100 tests.
break: OK
+++ OK, passed 100 tests.
break ==: OK
+++ OK, passed 100 tests.
break /=: OK
+++ OK, passed 100 tests.
break span: OK
+++ OK, passed 100 tests.
breakEnd: OK
+++ OK, passed 100 tests.
breakEnd: OK
+++ OK, passed 100 tests.
break breakSubstring: OK
+++ OK, passed 100 tests.
breakSubstring: OK
+++ OK, passed 100 tests; 27 discarded.
breakSubstring empty: OK
+++ OK, passed 100 tests.
break isSpace: OK
+++ OK, passed 100 tests.
singleton: OK
+++ OK, passed 100 tests.
cons: OK
+++ OK, passed 100 tests.
cons []: OK
+++ OK, passed 100 tests.
snoc: OK
+++ OK, passed 100 tests.
snoc []: OK
+++ OK, passed 100 tests.
drop: OK
+++ OK, passed 100 tests.
drop 10: OK
+++ OK, passed 100 tests.
dropWhile: OK
+++ OK, passed 100 tests.
dropWhile ==: OK
+++ OK, passed 100 tests.
dropWhile /=: OK
+++ OK, passed 100 tests.
dropWhile isSpace: OK
+++ OK, passed 100 tests.
take: OK
+++ OK, passed 100 tests.
take 10: OK
+++ OK, passed 100 tests.
takeWhile: OK
+++ OK, passed 100 tests.
takeWhile ==: OK
+++ OK, passed 100 tests.
takeWhile /=: OK
+++ OK, passed 100 tests.
takeWhile isSpace: OK
+++ OK, passed 100 tests.
dropEnd: OK
+++ OK, passed 100 tests.
dropWhileEnd: OK
+++ OK, passed 100 tests.
takeEnd: OK
+++ OK, passed 100 tests.
takeWhileEnd: OK
+++ OK, passed 100 tests.
length: OK
+++ OK, passed 100 tests.
count: OK
+++ OK, passed 100 tests.
filter: OK
+++ OK, passed 100 tests.
filter compose: OK
+++ OK, passed 100 tests.
filter ==: OK
+++ OK, passed 100 tests.
filter /=: OK
+++ OK, passed 100 tests.
partition: OK
+++ OK, passed 100 tests.
find: OK
+++ OK, passed 100 tests.
findIndex: OK
+++ OK, passed 100 tests.
findIndices: OK
+++ OK, passed 100 tests.
findIndices ==: OK
+++ OK, passed 100 tests.
elem: OK
+++ OK, passed 100 tests.
not elem: OK
+++ OK, passed 100 tests.
elemIndex: OK
+++ OK, passed 100 tests.
elemIndices: OK
+++ OK, passed 100 tests.
isPrefixOf: OK
+++ OK, passed 100 tests.
stripPrefix: OK
+++ OK, passed 100 tests.
isSuffixOf: OK
+++ OK, passed 100 tests.
stripSuffix: OK
+++ OK, passed 100 tests.
isInfixOf: OK
+++ OK, passed 100 tests.
map: OK
+++ OK, passed 100 tests.
map compose: OK
+++ OK, passed 100 tests.
replicate: OK
+++ OK, passed 100 tests.
replicate 0: OK
+++ OK, passed 100 tests.
span: OK
+++ OK, passed 100 tests.
span ==: OK
+++ OK, passed 100 tests.
span /=: OK
+++ OK, passed 100 tests.
spanEnd: OK
+++ OK, passed 100 tests.
split: OK
+++ OK, passed 100 tests.
split empty: OK
+++ OK, passed 100 tests.
splitWith: OK
+++ OK, passed 100 tests.
splitWith split: OK
+++ OK, passed 100 tests.
splitWith empty: OK
+++ OK, passed 100 tests.
splitWith length: OK
+++ OK, passed 100 tests.
splitAt: OK
+++ OK, passed 100 tests.
head: OK
+++ OK, passed 100 tests; 24 discarded.
last: OK
+++ OK, passed 100 tests; 34 discarded.
tail: OK
+++ OK, passed 100 tests; 32 discarded.
tail length: OK
+++ OK, passed 100 tests; 20 discarded.
init: OK
+++ OK, passed 100 tests; 19 discarded.
init length: OK
+++ OK, passed 100 tests; 28 discarded.
foldl: OK
+++ OK, passed 100 tests.
foldl': OK
+++ OK, passed 100 tests.
foldr: OK
+++ OK, passed 100 tests.
foldr': OK
+++ OK, passed 100 tests.
foldl cons: OK
+++ OK, passed 100 tests.
foldr cons: OK
+++ OK, passed 100 tests.
foldl special: OK
+++ OK, passed 100 tests.
foldr special: OK
+++ OK, passed 100 tests.
foldl1: prop-compiled: internal error: evacuate: strange closure type -1193213952
(GHC version 8.10.7 for aarch64_apple_darwin)
Please report this as a GHC bug: https://www.haskell.org/ghc/reportabug
Test suite prop-compiled: FAIL
Test suite logged to: dist/test/shortbytestring-0.2.0.0-prop-compiled.log
0 of 1 test suites (0 of 1 test cases) passed.
builder for '/nix/store/s39a39yj4n39l7dsx1ynas8aqn8f0n6i-shortbytestring-0.2.0.0.drv' failed with exit code 1
Steps to reproduce
- Checkout
6daa4a5c045d40e6eae60a3b6e427e8700f1c07f
of nixpkgs - Build
nix-build -A haskellPackages.shortbytestring
onaarch64-darwin
Unclear if this can be reproduced 100% or is flaky.
Expected behavior
shortbytestring
's test suite either succeeds or fails without hitting RTS (?) bailing out.
Environment
- GHC version used: 8.10.7
Optional:
- Operating System: macOS
- System Architecture: aarch64-darwin