Skip to content

3.22.0 crash due to an internal error #13904

@Dreian

Description

@Dreian

Dune 3.22.0 crashes where 3.21.0 does not in OxCaml CI.
https://github.com/oxcaml/oxcaml/actions/runs/23483647746/job/68336421179?pr=5685

Stack trace:

  ("Map.find_exn: failed to find key", { key = "default"; keys = [ "main" ] })
Raised at Stdune__Code_error.raise in file "stdune__Code_error.ml", line 11,
  characters 30-62
Called from Dune_exe__Runtest_common.make_request.(fun) in file
  "dune_exe__Runtest_common.ml", line 188, characters 8-64
Called from Stdlib__List.rev_map.rmap_f in file "list.ml", line 107,
  characters 22-25
Called from Stdune__List.map in file "stdune__List.ml" (inlined), line 6,
  characters 19-33
Called from Dune_exe__Runtest_common.make_request in file
  "dune_exe__Runtest_common.ml", lines 177-203, characters 2-22
Called from Dune_engine__Action_builder.eval in file
  "dune_engine__Action_builder.ml", line 107, characters 25-30
Called from Fiber__Scheduler.exec in file "fiber__Scheduler.ml", line 77,
  characters 8-11
-> required by ("toplevel", ())

OCaml compiler: 5.4.0

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions