Multiple quickstarts crashing with memory corruption (double free) and networksecurity timeouts
メンテナーはふだん 1 日以内に返信
関連するプルリクエストがすでにマージされています。
- #16496 @colinmoy による — マージ済み
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 45/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- cmake, cpp
調査の方向性
The issue points to failures in the CMake quickstart tests, specifically in the fedora-latest-cmake-quickstart-production build. Start by examining the build logs linked in the issue to see the exact error messages and the quickstart runner script at /workspace/cmake/quickstart-runner.cmake. Look at the failing quickstarts like networksecurity_quickstart and those with memory corruption errors to understand the common dependencies or library interactions. Determine if the issue is in a core library, a dependency ABI mismatch, or the test configuration itself by reproducing the build environment and running the quickstarts locally.
索引モデルが issue の本文から書いたものです。
説明
While triaging GCB failures, I found a recurring failure in fedora-latest-cmake-quickstart-production.
The build officially fails because networksecurity_quickstart repeatedly times out after 300 seconds:
CMake Error at /workspace/cmake/quickstart-runner.cmake:90 (message):
Non-zero exit status (Process terminated due to timeout) running
/workspace/cmake-out/google/cloud/networksecurity/networksecurity_quickstart
However, the raw logs show a much deeper systemic memory corruption issue. Several other quickstarts are crashing violently but showing as "Passed" because of the --repeat until-pass:3 CTest flag.
Examples from the logs:
backupdr_quickstart&alloydb_quickstart:double free or corruption (fasttop)video_quickstart:corrupted double-linked listservicedirectory_quickstart:malloc_consolidate(): unaligned fastbin chunk detectedgkebackup_quickstart&vpcaccess_quickstart:Segmentation fault
This looks like a regression in a core library or a dependency ABI mismatch causing heap corruption.
Failed Build Link: https://pantheon.corp.google.com/cloud-build/builds;region=us-east1/30f1aa53-9157-4939-ba8e-a2790abc278b?project=cloud-cpp-testing-resources
- 主要言語
- C++
- スター
- 658
- フォーク
- 469
- 平均マージ
- 1日 8時間
- マージ済み PR(30日)
- 96
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
googleapis/google-cloud-cpp のほかの issue
-
api: storage priority: p2 type: bug
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
googleapis/google-cloud-cpp#16529 ·
メンテナーはふだん 1 日以内に返信
-
storage: RetryClientTest.HedgedReadRecordsMetricsOnGlobalMeterProvider leaking mock objects対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープンapi: storage type: cleanup
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
googleapis/google-cloud-cpp#16522 ·
メンテナーはふだん 1 日以内に返信
-
type: feature request
難易度 2/5 1〜3時間 初心者へのやさしさ 73/100
googleapis/google-cloud-cpp#16193 ·
メンテナーはふだん 1 日以内に返信
-
api: storage type: cleanup
難易度 3/5 1〜2日 初心者へのやさしさ 68/100
googleapis/google-cloud-cpp#16404 ·
メンテナーはふだん 1 日以内に返信
-
cpp: generator type: cleanup
難易度 3/5 1〜2日 初心者へのやさしさ 68/100
googleapis/google-cloud-cpp#16394 ·
メンテナーはふだん 1 日以内に返信
googleapis/google-cloud-cpp の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
godotengine/godot#124252 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1時間未満 初心者へのやさしさ 66/100
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
メンテナーはふだん 1 日以内に返信
-
lldb
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
llvm/llvm-project#229592 · コメント 11 件 ·
メンテナーはふだん 1 日以内に返信