Skip to content

rio-0.1.22.0 to rio-0.1.23.0: problem at runtime for built stack executable #6819

Description

@mpilgrem

The master branch of Stack (8785d26) compiles and runs with lts-24.11 (GHC 9.10.2) and rio-0.1.22.0. However, allow that dependency to change to rio-0.1.23.0 (no other direct or indirect dependencies change), the stack package compiles but the built stack executable dies at runtime with GHC RTS message <<loop>>. For example:

> stack exec -- stack --verbose build --dry-run
...
2025-11-07 16:42:27.932799: [debug] Checking for project config at: D:\Users\mike\Code\GitHub\commercialhaskell\stack\stack.yaml
2025-11-07 16:42:27.932799: [debug] Loading project config file stack.yaml
2025-11-07 16:42:27.937842: [debug] Use of Casa server enabled: (CasaRepoPrefix "https://casa.stackage.org", 1280).
2025-11-07 16:42:27.953561: [debug] (SQL) SELECT COUNT(*) FROM "last_performed" WHERE ("action"=?) AND ("timestamp">=?); [PersistInt64 1,PersistUTCTime 2025-11-06 16:42:27.9535619 UTC]
2025-11-07 16:42:27.985345: [debug] Using package location completions from a lock file
2025-11-07 16:42:27.997118: [debug] Loaded snapshot from Pantry database.
2025-11-07 16:42:28.182185: [debug] Running Hpack on D:\Users\mike\Code\GitHub\commercialhaskell\stack\package.yaml
2025-11-07 16:42:28.257596: [debug] Hpack output unchanged in D:\Users\mike\Code\GitHub\commercialhaskell\stack\stack.cabal
2025-11-07 16:42:28.257596: [debug] Prefetching git repos: []
2025-11-07 16:42:28.257596: [debug] []
2025-11-07 16:42:28.273283: [debug] Asking for a supported GHC version
2025-11-07 16:42:28.782596: [error] <<loop>>

(Normally, that would have continued:

...
2025-11-07 17:47:16.198200: [debug] Prefetching git repos: []
2025-11-07 17:47:16.198200: [debug] []
2025-11-07 17:47:16.211883: [debug] Asking for a supported GHC version
2025-11-07 17:47:16.214743: [debug] Installed tools:
 - msys2-20240727
 ...
 - ghc-9.12.2
2025-11-07 17:47:16.214743: [debug] Potential GHC builds: standard
...

)

Could this issue be related?

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions