Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Multiple quickstarts crashing with memory corruption (double free) and networksecurity timeouts

クローズ
#16,475 コメント 3 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 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 の本文から書いたものです。

説明

cpp: flake

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 list
  • servicedirectory_quickstart: malloc_consolidate(): unaligned fastbin chunk detected
  • gkebackup_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

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

googleapis/google-cloud-cpp のほかの issue

googleapis/google-cloud-cpp の issue をすべて見る

似ている issue

C++ の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。