Abseil deadlock detection

Abierto
#301 2 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

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

Línea de trabajo

Start with deps/v8/src/base/platform/mutex.h around lines 121-125 and the crash site in deps/v8/src/common/code-memory-access.cc around line 149. Reproduce the intermittent failure on Linux x64 and inspect the linked ARM debug CI console and cctest stack histories; done means determining whether this is a false positive and documenting or implementing the appropriate suppression behavior.

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

Descripción

          > @targos: I wonder if it may be caused by https://github.com/nodejs/node/commit/96fde580b2227d49a2c935195ecf351f3e8bf099. I only rebased and added that commit.

I can reproduce the issue on a linux x64 machine in 3 out of 10 runs. I don't think it is related to https://github.com/nodejs/node/commit/96fde580b2227d49a2c935195ecf351f3e8bf099. The failure is an abseil deadlock detection based on the order of locked mutexes. This is only enabled on non-darwin platforms: https://github.com/targos/node/blob/1ed6e9890fd5dcf79489b54264f6dcf125b917fe/deps/v8/src/base/platform/mutex.h#L121-L125.

I doubt that if crash sites like https://github.com/targos/node/blob/1ed6e9890fd5dcf79489b54264f6dcf125b917fe/deps/v8/src/common/code-memory-access.cc#L149 are actual deadlocks. This could be a false-positive as the logs in https://ci.nodejs.org/job/node-test-commit-arm-debug/17748/nodes=ubuntu2204_debug-arm64/console suggest that the stack histories are from two distinct cctests.

Can we suppress abseil deadlock detection?

Originally posted by @legendecas in https://github.com/nodejs/node/issues/57114#issuecomment-2743925721

Lenguaje dominante
Shell
Estrellas
466
Forks
75
Métricas de merge de PR
Sin PR fusionados en 30 d

Guía de contribución

Abrir la guía de contribución

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 nodejs/node-v8

Todos los issues de nodejs/node-v8

Issues similares

Más issues de Shell/Bash

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.