Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

[Bug]: absl_hashtablez_sampler_test and absl_cordz_sample_token_test fail on riscv64-linux-gnu

未关闭
#2,002 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 2 天内回复

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
35/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
停滞
技术栈
cmake, cpp, linux

调研方向

失败的测试是 absl_hashtablez_sampler_test 和 absl_cordz_sample_token_test,它们在 riscv64-linux-gnu 上发生 segfault。首先检查 absl 目录中的测试源文件,可能位于 absl/container/internal 或 absl/strings/internal 下。在 riscv64 环境中运行测试以复现崩溃,然后使用调试器确定故障位置。查找 sampling 或 instrumentation 代码中依赖特定架构的假设。

由索引模型根据 Issue 内容生成。

描述

Describe the issue

seen with the Debian build of 20260107.0, but not with the Ubuntu build, where these tests succeed:

99% tests passed, 2 tests failed out of 232

Total Test time (real) = 306.65 sec

The following tests FAILED:
50 - absl_hashtablez_sampler_test (SEGFAULT)
207 - absl_cordz_sample_token_test (SEGFAULT)
Errors while running CTest
make[2]: *** [Makefile:74: test] Error 8

Steps to reproduce the problem

run the testsuite on Debian unstable

What version of Abseil are you using?

20260107.0

What operating system and version are you using?

Debian unstable

What compiler and version are you using?

GCC 15.2, updated from the gcc-15 branch

What build system are you using?

cmake 4.2.3

Additional context

No response

主要语言
C++
星标
18.2k
派生
3.2k
平均合并
1 天 13 小时
30 天内合并 PR
18

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

abseil/abseil-cpp 的其他 Issue

查看 abseil/abseil-cpp 的全部 Issue

相似的 Issue

更多 C++ Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。