Skip to content

The GC stress test can trigger a fatal error in malloc #532

Description

@shym

Spotted on OCaml 5.2.1 on 32 bit, a run of the Gc stress test triggered a fatal error in malloc:

Page size: 4096

random seed: 367524569
generated error fail pass / total     time test name

[ ]    0    0    0    0 / 1000     0.0s STM Gc stress test parallel
malloc(): invalid size (unsorted)
File "src/gc/dune", line 46, characters 7-27:
46 |  (name stm_tests_par_stress)
            ^^^^^^^^^^^^^^^^^^^^
(cd _build/default/src/gc && ./stm_tests_par_stress.exe --verbose)
Command got signal ABRT.
[ ]    0    0    0    0 / 1000     0.0s STM Gc stress test parallel (generating)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    ocaml5-issueA potential issue in the OCaml5 compiler/runtime

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions