Hacktoberfest 2026: as issues que os mantenedores marcaram para outubro, abertas e boas para iniciantes. Ver issues do Hacktoberfest

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

Aberta
#5,972 0 comentários 0 reações 0 responsáveis Ver no GitHub

Mantenedores costumam responder em até 2 dias

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
4/5
Tempo estimado
3-5 dias
Facilidade para iniciantes
18/100
Tipo de issue
Bug
Clareza
Precisa de esclarecimento
Status de atividade
Ativa
Stack de tecnologia
cpp

Direção de pesquisa

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.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

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.

Linguagem predominante
C++
Estrelas
2.1k
Forks
509
Merge médio
2d 13h
PRs com merge (30d)
28

Preparar o ambiente

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de DFHack/dfhack

Todas as issues de DFHack/dfhack

Issues semelhantes

Mais issues de C++

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.