Skip to content

Stack overflow while updating repositories #6513

Description

@kit-ty-kate

Using 2.4.0~alpha2:

$ opam init --reinit -ni --debug-level=3
[...]
01:48.863  REPO_BACKEND           diff: /home/kit_ty_kate/.opam/repo/{default,default.new}
03:59.309  REPO_BACKEND           Internal diff (non-empty) done in 130.45s.
03:59.767  SYSTEM                 rmdir /home/kit_ty_kate/.opam/repo/default.new
05:32.007  SYSTEM                 rmdir /home/kit_ty_kate/.opam/repo/default.new
[ERROR] Could not update repository "default": Stack overflow
05:32.010  PARALLEL               Job 0 finished

This happened on an OpenBSD machine whose ulimits look like this:

$ ulimit -a
time(cpu-seconds)    unlimited
file(blocks)         unlimited
coredump(blocks)     unlimited
data(kbytes)         1572864
stack(kbytes)        4096
lockedmem(kbytes)    87381
memory(kbytes)       976504
nofiles(descriptors) 512
processes            256

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

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions