Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

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

Aperta
#5,972 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 2 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
18/100
Tipo di issue
Bug
Chiarezza
Da chiarire
Stato di attività
Attiva
Stack tecnologico
cpp

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
C++
Stelle
2.1k
Fork
509
Merge medio
2g 13h
PR unite (30g)
28

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di DFHack/dfhack

Tutte le issue di DFHack/dfhack

Issue simili

Altre issue su C++

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.