abseil / abseil/abseil-cpp

Stack unwinding seems limited to a single frame

Abierto
#1,315 7 comentarios 0 reacciones 0 asignados Ver en GitHub
question
Lenguaje dominante
C++
Estrellas
18.1k
Forks
3.2k
Merge medio
20 h 36 min
PR fusionados (30 d)
1

Descripción

I'm trying to switch from https://github.com/google/glog to abseil for `InstallFailureSignalHandler`. With the former I was getting a full stack. With `absl::InstallFailureSignalHandler({});` I'm getting a terse:
```
*** SIGSEGV received at time=1667849759 on cpu 5 ***
PC: @ 0xfb3fa9 (unknown) (anonymous namespace)::inducedFailure()
[1] 33171 segmentation fault (core dumped)
```

This is with abseil 20220623.1, when I used 20210324.1 I was getting more honest diagnostics containing
```
@ ... and at least 1 more frames
```

I looked at the options in `FailureSignalHandlerOptions`, none of them seem applicable. Is full stack trace on failure possible with Abseil?

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.