abseil / abseil/abseil-cpp

Stack unwinding seems limited to a single frame

Đang mở
#1,315 7 bình luận 0 reaction 0 người được giao Xem trên GitHub
question
Ngôn ngữ chính
C++
Star
18.1k
Fork
3.2k
Merge trung bình
20 giờ 36 phút
Pull request đã merge (30 ngày)
1

Mô tả

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?

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.