[Bug]: StackTrace.NestedSignal in absl_stacktrace_test fails on ppc64le since 20250184.0
メンテナーはふだん 2 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 45/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 静か
- 技術スタック
- cmake, cpp, linux
調査の方向性
失敗しているテストは absl_stacktrace_test、具体的には StackTrace.NestedSignal です。エラーは absl/debugging/internal/stacktrace_powerpc-inl.inc の 117 行目で発生しています。まずそのファイルと absl/debugging/stacktrace_test.cc のテストを調べてください。ppc64le での VDSO アサーション失敗を理解してください。実際の ppc64le ハードウェア上、または Fedora のビルドインフラストラクチャ経由で問題を再現してください。ほかのアーキテクチャを壊すことなくアサーションを解決するパッチができれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Describe the issue
Since the 20250814.0 release, the abseil-cpp package in Fedora fails to build on ppc64le due to a failure in StackTrace.NestedSignal in absl_stacktrace_test on the ppc64le architecture. This does not happen on the x86_64, i686, aarch64, or s390x architectures.
Start 62: absl_stacktrace_test
61/218 Test #62: absl_stacktrace_test ...............................Subprocess aborted***Exception: 1.16 sec
Running main() from gmock_main.cc
[==========] Running 5 tests from 1 test suite.
[----------] Global test environment set-up.
[----------] 5 tests from StackTrace
[ RUN ] StackTrace.FixupNoFixupEquivalence
/builddir/build/BUILD/abseil-cpp-20250814.0-build/abseil-cpp-20250814.0/absl/debugging/stacktrace_test.cc:107: Skipped
Frame pointers are required, but not guaranteed in OSS
[ SKIPPED ] StackTrace.FixupNoFixupEquivalence (0 ms)
[ RUN ] StackTrace.FixupLowStackUsage
[ OK ] StackTrace.FixupLowStackUsage (2 ms)
[ RUN ] StackTrace.CustomUnwinderPerformsFixup
[ OK ] StackTrace.CustomUnwinderPerformsFixup (0 ms)
[ RUN ] StackTrace.CanonicalFrameAddresses
[ OK ] StackTrace.CanonicalFrameAddresses (0 ms)
[ RUN ] StackTrace.NestedSignal
absl_stacktrace_test: /builddir/build/BUILD/abseil-cpp-20250814.0-build/abseil-cpp-20250814.0/absl/debugging/internal/stacktrace_powerpc-inl.inc:117: void** NextStackFrame(void**, const void*) [with bool STRICT_UNWINDING = true; bool IS_WITH_CONTEXT = true]: Assertion `false && "VDSO is present, but doesn't have expected symbol"' failed.
Steps to reproduce the problem
I tried the following on emulated ppc64le hardware – anyone can do this by running a ppc64le version of Fedora 41 via qemu-user-system; I used a mock chroot with emulation via qemu-user-static.
$ git clone https://github.com/abseil/abseil-cpp.git
$ cd abseil-cpp
$ git checkout 20250814.0
$ cmake -S. -Bbuild -DABSL_BUILD_TESTING:BOOL=ON -DABSL_USE_EXTERNAL_GOOGLETEST:BOOL=ON -DABSL_FIND_GOOGLETEST:BOOL=ON
$ cmake --build build -j16 --verbose
$ ctest --test-dir build --output-on-failure --force-new-ctest-process -j16 --exclude-regex 'absl_(symbolize|mutex|btree)_test'
I excluded absl_symbolize_test because it failed in emulation only, which I didn’t consider significant; I excluded absl_mutex_test and absl_btree_test because they were painfully slow while working in emulation on an aarch64 laptop.
I was not able to reproduce this issue in emulation.
I repeated the above with Fedora’s C++ compiler flags,
export CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection'
and got the same result.
What version of Abseil are you using?
20250184.0
What operating system and version are you using?
Fedora Rawhide (44)
What compiler and version are you using?
Using built-in specs.
COLLECT_GCC=/usr/bin/gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/ppc64le-redhat-linux/15/lto-wrapper
OFFLOAD_TARGET_NAMES=nvptx-none
OFFLOAD_TARGET_DEFAULT=1
Target: ppc64le-redhat-linux
Configured with: ../configure --enable-bootstrap --enable-languages=c,c++,fortran,objc,obj-c++,ada,go,m2,lto --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-shared --enable-threads=posix --enable-checking=release --enable-targets=powerpcle-linux --disable-multilib --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-gcc-major-version-only --enable-libstdcxx-backtrace --with-libstdcxx-zoneinfo=/usr/share/zoneinfo --with-linker-hash-style=gnu --enable-plugin --enable-initfini-array --with-isl=/builddir/build/BUILD/gcc-15.2.1-build/gcc-15.2.1-20250808/obj-ppc64le-redhat-linux/isl-install --enable-offload-targets=nvptx-none --enable-offload-defaulted --without-cuda-driver --enable-gnu-indirect-function --enable-secureplt --with-long-double-128 --with-long-double-format=ieee --with-cpu-32=power8 --with-tune-32=power8 --with-cpu-64=power8 --with-tune-64=power8 --build=ppc64le-redhat-linux --with-build-config=bootstrap-lto --enable-link-serialization=1
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 15.2.1 20250808 (Red Hat 15.2.1-1) (GCC)
What build system are you using?
cmake version 3.31.6
CMake suite maintained and supported by Kitware (kitware.com/cmake).
Additional context
While I don’t have interactive access to real pp64le hardware, I’m happy to test candidate patches or do experiments to get additional information by performing non-interactive abseil-cpp package “scratch” builds on Fedora infrastructure.
This reminds me of https://github.com/abseil/abseil-cpp/issues/1804, which also appears only on ppc64le and is also difficult to reproduce in emulation.
- 主要言語
- C++
- スター
- 18.2k
- フォーク
- 3.2k
- 平均マージ
- 1日 13時間
- マージ済み PR(30日)
- 18
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
abseil/abseil-cpp のほかの issue
-
[Bug]: hash.cc doesn't build for 32-bit x86 (uses _mm_cvtsi128_si64 / _mm_extract_epi64)対応中かも @jaipaulcheernam が 25 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
abseil/abseil-cpp#2176 ·
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
abseil/abseil-cpp#2140 ·
メンテナーはふだん 2 日以内に返信
-
[Bug]: Can't build on macOS with GCC 15再び着手できるかも このイシューのプルリクエストはマージされずにクローズされました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
abseil/abseil-cpp#2027 · リアクション 2 件 ·
メンテナーはふだん 2 日以内に返信
-
[Bug]: Effect of ABSL_FLAGS_STRIP_NAMES on mobile platforms is poorly documented再び着手できるかも このイシューのプルリクエストはマージされずにクローズされました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
abseil/abseil-cpp#1875 · リアクション 2 件 ·
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
abseil/abseil-cpp#1824 · コメント 1 件 ·
メンテナーはふだん 2 日以内に返信
abseil/abseil-cpp の issue をすべて見る
似ている issue
-
needs-format
難易度 2/5 1〜3時間 初心者へのやさしさ 69/100
Niko1221/Strata#3368 · コメント 1 件 ·
メンテナーはふだん 3 日以内に返信
-
bug
難易度 1/5 1〜3時間 初心者へのやさしさ 76/100
dragonflydb/dragonfly#8617 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
bug needs triage
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
project-chip/connectedhomeip#74842 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 67/100
smartmontools/smartmontools#670 ·
メンテナーはふだん 1 日以内に返信