byte code interpreter segfault (9.6 branch) (text benchmarks with optimisation)
- I modified the interpreter to allow optimised code by commenting out the part of Session.hs which forces
-O0. - Then I built the benchmarks for
textlibrary and copied the command which builds the benchmark executable. - I replaced
--makewith--runso that the main function would be run immediately by bytecode interpreter.
The result is a segfault:
(gdb) bt
#0 0x00007fffef19e2d4 in stg_ap_pp_info () from /home/matt/ghc-9.6-backports/_clean/stage1/bin/../lib/x86_64-linux-ghc-9.6.0.20230201/libHSrts-1.0.2_thr_debug-ghc9.6.0.20230201.so
#1 0x0000000000000000 in ?? ()
This seems similar in flavour to #22956 but a bit easier to reproduce.