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

Aperta
#8,623 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
45/100
Tipo di issue
Bug
Chiarezza
Da chiarire
Stato di attività
Attiva
Stack tecnologico
cpp

Direzione di ricerca

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.

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

Descrizione

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.

Lingua principale
C++
Stelle
1.3k
Fork
304
Merge medio
2g 20h
PR unite (30g)
10

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

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

Tutte le issue di Vector35/binaryninja-api

Issue simili

Altre issue su C++

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.