test-snapshot-* fail with "CheckGlobalAndEternalHandles failed"
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 4/5
- Temps estimé
- 1-2 jours
- Accessibilité débutants
- 50/100
- Type d'issue
- Bug
- Clarté
- Plutôt claire
- Activité
- Active
- Stack technique
- javascript, node.js
- Domaine
- build-system, testing
Piste de recherche
Start by reviewing the linked CI run and the snapshot creation path shown in the stack trace, especially node::SnapshotBuilder::CreateSnapshot. Reproduce with V8 15.9.23 by running the affected test-snapshot-* tests, then trace why the global handle is not serialized. Done means the snapshot tests and the named inspect and benchmark tests complete without the fatal error.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
With V8 15.9.23, test-snapshot-*, test-inspect-address-in-use and test-benchmark-v8 crash while building a snapshot.
parallel/test-snapshot-basic:
#
# Fatal error
# CheckGlobalAndEternalHandles failed
#
#
#
#FailureMessage Object: 0x7fff1154efe0
----- Native stack trace -----
1: 0x55b1041bee12 [/home/runner/work/node-v8/node-v8/node/out/Release/node]
2: 0x55b106cf338f V8_Fatal(char const*, ...) [/home/runner/work/node-v8/node-v8/node/out/Release/node]
3: 0x55b104be9390 [/home/runner/work/node-v8/node-v8/node/out/Release/node]
4: 0x55b10420f8b9 node::SnapshotBuilder::CreateSnapshot(node::SnapshotData*, node::CommonEnvironmentSetup*) [/home/runner/work/node-v8/node-v8/node/out/Release/node]
5: 0x55b10420f280 node::BuildSnapshotWithoutCodeCache(node::SnapshotData*, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&, std::optional<std::basic_string_view<char, std::char_traits<char> > >, node::SnapshotConfig const&) [/home/runner/work/node-v8/node-v8/node/out/Release/node]
6: 0x55b10420ffa7 node::SnapshotBuilder::Generate(node::SnapshotData*, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&, std::optional<std::basic_string_view<char, std::char_traits<char> > >, node::SnapshotConfig const&) [/home/runner/work/node-v8/node-v8/node/out/Release/node]
7: 0x55b1040a5d4e node::GenerateAndWriteSnapshotData(node::SnapshotData const**, node::InitializationResultImpl const*) [/home/runner/work/node-v8/node-v8/node/out/Release/node]
8: 0x55b1040a6875 node::Start(int, char**) [/home/runner/work/node-v8/node-v8/node/out/Release/node]
9: 0x7f20b242a1ca [/lib/x86_64-linux-gnu/libc.so.6]
10: 0x7f20b242a28b __libc_start_main [/lib/x86_64-linux-gnu/libc.so.6]
11: 0x55b103f84dc5 _start [/home/runner/work/node-v8/node-v8/node/out/Release/node]
[process 178895]: --- stdout ---
(Global handles) handle not serialized: 0xf4c5113dcd1: [EphemeronHashTable] in OldSpace
- FixedArray length: 67
- elements: 1
- deleted: 1
- capacity: 32
- elements: {
7: 0x2dd89cccdd29 <Script> -> 0x2dd89cccf031 <Other heap object (WEAK_ARRAY_LIST_TYPE)>
}
CI run: https://github.com/nodejs/node-v8/actions/runs/40665664178
- Langage dominant
- Shell
- Étoiles
- 468
- Forks
- 75
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Préparer son environnement
- Aucun Dockerfile ni fichier Docker Compose
- Aucun modèle de pull request
- Lire le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de nodejs/node-v8
-
Source maps test failureOuverte
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
-
Difficulté 4/5 3-5 jours Accessibilité débutants 45/100
-
Difficulté 4/5 3-5 jours Accessibilité débutants 45/100
-
Difficulté 3/5 1-2 jours Accessibilité débutants 45/100
-
Abseil deadlock detectionOuverte
Difficulté 4/5 3-5 jours Accessibilité débutants 30/100
Toutes les issues de nodejs/node-v8
Issues similaires
-
Difficulté 2/5 1-3 heures Accessibilité débutants 62/100
-
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
nexu-io/html-anything#164 ·
-
Difficulté 1/5 Moins d'une heure Accessibilité débutants 85/100
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 70/100
heroku/heroku-buildpack-php#1024 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 65/100
openSUSE/rpm-config-SUSE#98 ·