internal error: ASSERTION FAILED: file rts/RetainerProfile.c, line 1717
Summary
> stack exec zeno --profile -- notarise seed +RTS -p -hr
zeno 0.2.4.0 flood@b0962e2e Jun 20 (commit 193) (dirty)
[04:13:00][Info] Listening on 0.0.0.0:40440
zeno: internal error: ASSERTION FAILED: file rts/RetainerProfile.c, line 1717
(GHC version 8.8.2 for x86_64_unknown_linux)
Please report this as a GHC bug: https://www.haskell.org/ghc/reportabug
Aborted (core dumped)
Steps to reproduce
git clone https://github.com/ssadler/zeno
cd zeno
git checkout flood
./manage.sh build-profile
stack exec zeno --profile -- notarise seed +RTS -p -hr
In another terminal, install python3-gevent and run python3 flood.py
.
The server dies with the above error as soon as the script is called, and it does so reliably. Using -hc
instead of -hr
works as expected.
Expected behavior
The script floods the server with noops on a single connection, the server is leaking memory.
Environment
- GHC version used: 8.8.2
- Operating System: Ubuntu 18.04
- System Architecture: x86-64