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

Đang mở
#6,819 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
25/100
Loại issue
Lỗi
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Đình trệ
Công nghệ
haskell
Lĩnh vực
cli

Hướng nghiên cứu

Tái hiện lỗi khi chạy với bản revision master, lts-24.11, GHC 9.10.2 và rio-0.1.23.0, sau đó so sánh với rio-0.1.22.0. Bắt đầu từ stack.yaml, package.yaml và stack.cabal được tạo, rồi xem xét issue rio liên quan; công việc được hoàn tất khi executable stack đã build không còn kết thúc với lỗi <> của GHC RTS.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

The master branch of Stack (8785d26084a6672f4696196085eaef9679b45d23) 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?

Ngôn ngữ chính
Haskell
Star
4.1k
Fork
857
Merge trung bình
17 giờ 32 phút
Pull request đã merge (30 ngày)
5

Chuẩn bị môi trường

Mở trong Codespaces

Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của commercialhaskell/stack

Tất cả issue của commercialhaskell/stack

Issue tương tự

Thêm issue về Haskell

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.