Hacktoberfest 2026: die Issues, die Maintainer für den Oktober markiert haben – offen und einsteigerfreundlich. Hacktoberfest-Issues durchsuchen

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

Offen
#5,972 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 3 Tagen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
18/100
Issue-Typ
Bug
Klarheit
Muss geklärt werden
Aktivitätsstatus
Aktiv
Tech-Stack
cpp

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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.

Vorherrschende Sprache
C++
Sterne
2.1k
Forks
509
Ø Merge
2 T. 19 Std.
Gemergte PRs (30 T.)
25

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus DFHack/dfhack

Alle Issues in DFHack/dfhack

Ähnliche Issues

Weitere Issues zu C++

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.