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

Abierto
#8,623 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 2 días

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
45/100
Tipo de issue
Error
Claridad
Necesita aclaración
Estado de actividad
Activo
Stack tecnológico
cpp

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.

Lenguaje dominante
C++
Estrellas
1.3k
Forks
304
Merge medio
2 d 20 h
PR fusionados (30 d)
10

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de Vector35/binaryninja-api

Todos los issues de Vector35/binaryninja-api

Issues similares

Más issues de C++

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.