Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

DF may crash on Windows if launched from a shell with stdin redirected to null

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

Maintainer thường phản hồi trong vòng 3 ngày

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
18/100
Loại issue
Lỗi
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Sôi nổi
Công nghệ
cpp
Lĩnh vực
operating-systems

Hướng nghiên cứu

The payload names no files or functions, so begin by reproducing the crash: launch DF on Windows from a shell with stdin redirected to null (for example < nul) and capture where it fails. Then find the console and stdin handling code in the C++ sources and check how it behaves when the standard input handle is invalid. Done means the crash no longer happens in that setup, with a note on the root cause. The issue asks for investigation, so confirm the scope with maintainers before writing a fix.

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

Mô tả

This happened to me a couple times while experimenting with testing methodologies, and likely reflects a defect in console handling. Should be investigated and if possible fixed.

Ngôn ngữ chính
C++
Star
2.1k
Fork
509
Merge trung bình
2 ngày 19 giờ
Pull request đã merge (30 ngày)
25

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

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 DFHack/dfhack

Tất cả issue của DFHack/dfhack

Issue tương tự

Thêm issue về C++

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.