abseil / abseil/abseil-cpp

Stack unwinding seems limited to a single frame

Aperta
#1,315 7 commenti 0 reazioni 0 assegnatari Vedi su GitHub
question
Lingua principale
C++
Stelle
18.1k
Fork
3.2k
Merge medio
20h 36m
PR unite (30g)
1

Descrizione

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?

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.