Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ocaml5-issue] Fatal error: Failed to create domain on s390x, MinGW, Cygwin, ... #428

Closed
jmid opened this issue Dec 20, 2023 · 1 comment
Labels
ocaml5-issue A potential issue in the OCaml5 compiler/runtime

Comments

@jmid
Copy link
Collaborator

jmid commented Dec 20, 2023

On multiple platforms (s390x, MinGW, Cygwin, ...) domain_spawntree triggers an abort with a Fatal error: Failed to create domain:

https://ocaml-multicoretests.ci.dev:8100/job/2023-12-20/111746-ci-ocluster-build-24859a

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

[ ]    0    0    0    0 /  100     0.0s domain_spawntree - with Atomic
[ ]    0    0    0    0 /  100     0.0s domain_spawntree - with Atomic (generating)Fatal error: Fatal error: Fatal error: Fatal error: Fatal error: Fatal error: Fatal error: Fatal error: Fatal error: Fatal error: Fatal error: Fatal error: Fatal error: Fatal error: Fatal error: Fatal error: Failed to create domainFailed to create domain
Fatal error: Failed to create domain
File "src/domain/dune", line 14, characters 7-23:
14 |  (name domain_spawntree)
            ^^^^^^^^^^^^^^^^
(cd _build/default/src/domain && ./domain_spawntree.exe --verbose)
Command got signal ABRT.

I think this originates from the memprof commit to trunk: ocaml/ocaml@3838bbf
which seems to trigger this error in caml_memprof_new_domain from init_memprof_failure.

I think the issue is worth separating from #354 which we have observed on Windows since June (long before memprof was merged).

@jmid
Copy link
Collaborator Author

jmid commented Jan 23, 2024

Fixed in ocaml/ocaml#12855

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ocaml5-issue A potential issue in the OCaml5 compiler/runtime
Projects
None yet
Development

No branches or pull requests

1 participant