Hacktoberfest 2026 : les issues que les mainteneurs ont marquées pour octobre, ouvertes et accessibles aux débutants. Parcourir les issues Hacktoberfest

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

Fermée
#16,475 3 commentaires 0 réactions 0 personnes assignées Voir sur GitHub

Les mainteneurs répondent en général sous 1 jour

Une pull request liée a déjà été fusionnée.

  • #16496 par @colinmoy — fusionnée

Évaluation

Difficulté
4/5
Temps estimé
3-5 jours
Accessibilité débutants
45/100
Type d'issue
Bug
Clarté
Plutôt claire
Activité
Active
Stack technique
cmake, cpp

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

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

Langage dominant
C++
Étoiles
658
Forks
469
Merge moyen
1 j 8 h
PR mergées (30 j)
96

Préparer son environnement

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de googleapis/google-cloud-cpp

Toutes les issues de googleapis/google-cloud-cpp

Issues similaires

Plus d'issues C++

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.