abseil / abseil/abseil-cpp

Stack unwinding seems limited to a single frame

Open
#1,315 7 comments 0 reactions 0 assignees View on GitHub
question
Dominant language
C++
Stars
18.1k
Forks
3.2k
Avg merge
20h 36m
Merged PRs (30d)
1

Description

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?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.