Hacktoberfest 2026: die Issues, die Maintainer für den Oktober markiert haben – offen und einsteigerfreundlich. Hacktoberfest-Issues durchsuchen

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

Geschlossen
#16,475 3 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Ein zugehöriger Pull Request wurde bereits gemerged.

  • #16496 von @colinmoy — gemerged

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
45/100
Issue-Typ
Bug
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
cmake, cpp

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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

Vorherrschende Sprache
C++
Sterne
659
Forks
471
Ø Merge
1 T. 10 Std.
Gemergte PRs (30 T.)
100

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus googleapis/google-cloud-cpp

Alle Issues in googleapis/google-cloud-cpp

Ähnliche Issues

Weitere Issues zu C++

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.