Bug: smith-normal-form
test failure due to bytesRequested
larger than one block at limit check
#126
Labels
smith-normal-form
test failure due to bytesRequested
larger than one block at limit check
#126
The
smith-normal-form
regression test is causing a segfault.For example, on commit dfddbd5:
I looked into it a little bit, and found that the mutator is requesting too many bytes at a limit check:
In gdb, the specific
bytesRequested
is 4831. The default block size is 4096.If I instead run with
@mpl block-size 8K --
, then the test makes more progress, but eventually still exits with a segfault, this time requesting 11983 bytes.In principle this should be impossible because
mlton/backend/limit-check.fun
is supposed to ensure that less than 4K bytes are requested at limit checks:mpl/mlton/backend/limit-check.fun
Lines 1115 to 1129 in dfddbd5
Should be fun to debug 😎
The text was updated successfully, but these errors were encountered: