heap overflow / PAP object on ghc 8.10.4
Summary
I'm running the esqueleto:test;sqlite
test suite, which loads a SQLite database in memory. I'm getting test failures with SomeAsyncException heap overflow
as well as the following output:
Registering library for esqueleto-3.4.2.0..
esqueleto> test (suite: sqlite)
SQLite specific tests
random_
sqlite: internal error: PAP object (0x42000684a0) entered!
(GHC version 8.10.4 for x86_64_unknown_linux)
Please report this as a GHC bug: https://www.haskell.org/ghc/reportabug
esqueleto> Test suite sqlite failed
Steps to reproduce
$ git clone git@github.com:bitemyapp/esqueleto
$ git checkout 9026dbea3f0cedf796adb138f579b0b971f97e03
$ stack build --test --stack-yaml stack-8.10.yaml --file-watch esqueleto:test:sqlite
Expected behavior
I'd expect the tests to pass, since no behavior changes are present.
Using stackage-lts-17.2
with GHC 8.10.3 succeeds, which makes me think this is a regression.
Environment
- GHC version used: 8.10.4
Optional:
- Operating System: UBuntu 20.04
- System Architecture: x86_64