Skip to content

ocaml 4.02.3: internal error raised from Exn.Code_error #1736

@avsm

Description

@avsm

In the ctypes build of the dune port, 4.02.3 is specifically raising some internal errors in dune that aren't happening on later versions of the compiler. Sadly, 4.02.3 is still one of the support compiler versions so we need to worry about it :-)

See https://travis-ci.com/avsm/ocaml-ctypes/jobs/168302505 for a full run. The tree that is exhibiting the problem is in https://github.com/avsm/ocaml-ctypes/tree/dune-port and tracked as a PR in yallop/ocaml-ctypes#588

- /-----------------------------------------------------------------------
- | Internal error: Fiber.Execution_context.forward_error: error handler raised.
- | Stdune__Exn.Code_error(_)
- | Called from file "camlinternalLazy.ml", line 25, characters 17-27
- | Re-raised at file "camlinternalLazy.ml", line 32, characters 10-11
- | Called from file "src/errors.ml", line 77, characters 17-47
- | Called from file "format.ml", line 1175, characters 28-44
- | Called from file "src/stdune/option.ml", line 23, characters 14-17
- | Called from file "src/fiber/fiber.ml", line 243, characters 6-18
- | Called from file "src/fiber/fiber.ml", line 56, characters 6-20
- | 
- | Original exception was: Stdune__Exn.Code_error(_)
- | Called from file "camlinternalLazy.ml", line 25, characters 17-27
- | Re-raised at file "camlinternalLazy.ml", line 32, characters 10-11
- | Called from file "src/errors.ml", line 77, characters 17-47
- | Called from file "format.ml", line 1175, characters 28-44
- | Called from file "src/stdune/option.ml", line 23, characters 14-17
- | Called from file "src/fiber/fiber.ml", line 243, characters 6-18
- \-----------------------------------------------------------------------

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions