[Windows] ExceptionWithStackTrace can perform synchronous network requests to symbol servers

Aberta
#8,623 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
45/100
Tipo de issue
Bug
Clareza
Precisa de esclarecimento
Status de atividade
Ativa
Stack de tecnologia
cpp

Direção de pesquisa

Start by locating ExceptionWithStackTrace and its use of GetCurrentStackTraceString in the C++ code, then examine how stack traces contact symbol servers on Windows. Use the reported minidump behavior and BN_DEBUG_EXCEPTION_TRACES=0 as references while investigating. Done means exception handling no longer causes a synchronous network request that hangs the UI thread.

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

Descrição

Impact: Medium

Version and Platform (required):

  • Binary Ninja Version: 6.0.10601 Ultimate, 87066bd6
  • OS: Windows (unknown)
  • CPU Architecture: x64

Bug Description:
A user on Slack reported the app hanging at random for an extended period of time. They were able to capture a minidump which revealed that ExceptionWithStackTrace's use of GetCurrentStackTraceString results in a synchronous network request to a symbol server. Since this happens on the UI thread, the app hangs for the duration of the request.

BN_DEBUG_EXCEPTION_TRACES=0 in the environment should avoid collecting stack traces and bypass the hang.

Steps To Reproduce:
Unknown.

Linguagem predominante
C++
Estrelas
1.3k
Forks
304
Merge médio
2d 20h
PRs com merge (30d)
10

Preparar o ambiente

Este projeto não oferece contêiner de desenvolvimento, Dockerfile nem guia de contribuição, então a configuração fica por sua conta: comece pelo README e veja nosso guia da primeira contribuição para os passos gerais.

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 Vector35/binaryninja-api

Todas as issues de Vector35/binaryninja-api

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.