segfault running tasty
A small program using the tasty library segfaults.
Steps to reproduce
Run attached test program. main.hs
It generally segfaults at least 1 time in 10 runs when using ghc 8.8.4. With 9.0.2, it may take some more runs.
Here is how I got it to segfault with 9.0.2:
joey@darkstar:~>stack --resolver nightly-2022-03-16 runghc --package tasty --package tasty-hunit --package tasty-rerun main.hs Segmentation fault
- GHC version used: 8.8.4 and 9.0.2 both have the bug.
- Operating System: Linux
- System Architecture: x86-64
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information