Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

CodeChain died with weird syslog while syncing

Aperta
#1,754 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
25/100
Tipo di issue
Bug
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
rust

Direzione di ricerca

Inizia riproducendo il crash durante la sincronizzazione usando il binario compilato dal commit c819d743b38ddfc62625e83109ef9c8e0d3b3439 e confronta il log di CodeChain con il syslog del kernel. Traccia i processi Blocks Verifier e block-propagation in corrispondenza dell’invalid opcode segnalato; l’attività è completata quando la causa è stata identificata e si è confermato che la sincronizzazione non termina più questi processi.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

bug
codechain log
#910487400 2019-08-29 17:45:23.086394112  block-propagation.ext DEBUG sync  Body download completed for #469014(0xdcfa…3e3a)
#910487400 2019-08-29 17:45:23.086455639  Blocks Verifier #1 TRACE headerchain  Inserting block header #468079(0x4c3e…bc27) to the headerchain.
#910487400 2019-08-29 17:45:23.086484710  Blocks Verifier #1 TRACE headerchain  Block header #468079(0x4c3e…bc27) is already known.
#910487400 2019-08-29 17:45:23.086522552  block-propagation.ext DEBUG sync  Body download completed for #469015(0xcbf3…3513)
#910487400 2019-08-29 17:45:23.086582802  Blocks Verifier #1 TRACE blockchain  Committing.
#910487400 2019-08-29 17:45:23.086600406  Blocks Verifier #1 TRACE headerchain  Committing.
#910487400 2019-08-29 17:45:23.086611712  block-propagation.ext DEBUG sync  Body download completed for #469016(0xff03…60fb)
#910487400 2019-08-29 17:45:23.086714764  block-propagation.ext DEBUG sync  Body download completed for #469017(0xcb2a…f82c)
#910487400 2019-08-29 17:45:23.089349955  block-propagation.ext DEBUG sync  Body download completed for #469018(0x44ef…bd6d)
#910487400 2019-08-29 17:45:23.090128065  block-propagation.ext DEBUG sync  Body download completed for #469019(0xc99c…30a3)
#910487400 2019-08-29 17:45:23.091020280  block-propagation.ext DEBUG sync  Body download completed for #469020(0xbce3…cb3e)
#910487400 2019-08-29 17:45:23.091109780  block-propagation.ext DEBUG sync  Body download completed for #469021(0xde39…5fe2)
#910487400 2019-08-29 17:45:23.091181004  Blocks Verifier #0 TRACE blockchain  Inserting block #468080(0x8690…5e97) to the blockchain.
#910487400 2019-08-29 17:45:23.091203175  block-propagation.ext DEBUG sync  Body download completed for #469022(0x210c…58b9)
#910487400 2019-08-29 17:45:23.091263216  Blocks Verifier #0 INFO blockchain  Block #468080(0x8690…5e97) has higher total score, changing the best proposal/canonical chain.
#910487400 2019-08-29 17:45:23.091298463  block-propagation.ext DEBUG sync  Body download completed for #469023(0xb610…8331)
#910487400 2019-08-29 17:45:23.091331039  Blocks Verifier #0 TRACE headerchain  Inserting block header #468080(0x8690…5e97) to the headerchain.
#910487400 2019-08-29 17:45:23.091362492  block-propagation.ext DEBUG sync  Body download completed for #469024(0x69ed…89f9)
#910487400 2019-08-29 17:45:23.091363794  Blocks Verifier #0 TRACE headerchain  Block header #468080(0x8690…5e97) is already known.
#910487400 2019-08-29 17:45:23.091435515  block-propagation.ext DEBUG sync  Body download completed for #469025(0x520b…1152)
#910487400 2019-08-29 17:45:23.091496164  Blocks Verifier #0 TRACE blockchain  Committing.
#910487400 2019-08-29 17:45:23.091500155  block-propagation.ext DEBUG sync  Body download completed for #469026(0x6e9d…199e)
#910487400 2019-08-29 17:45:23.091516882  Blocks Verifier #0 TRACE headerchain  Committing.
#910487400 2019-08-29 17:45:23.091599161  block-propagation.ext DEBUG sync  Body download completed for #469027(0xb025…73d8)
#910487400 2019-08-29 17:45:23.091655630  block-propagation.ext DEBUG sync  Body download completed for #469028(0x6791…f358)
#910487400 2019-08-29 17:45:23.091725194  block-propagation.ext DEBUG sync  Body download completed for #469029(0x036d…4b4d)
syslog
Aug 29 17:45:23 tomandjerry-XPS-15-9560 kernel: [112876.566699] traps: Blocks Verifier[1842] trap invalid opcode ip:5641ac1cbc1a sp:7f7d189f0240 error:0 in codechain[5641ab34f000+1276000]
Aug 29 17:45:23 tomandjerry-XPS-15-9560 kernel: [112876.566711] traps: block-propagati[1852] trap invalid opcode ip:5641ac1cbc1a sp:7f7cf0bf61d0 error:0

The binary: https://drive.google.com/open?id=1FcZA0ydCemSfNCaS-VMLKkmLMMFPh-oJ
The commithash: c819d743b38ddfc62625e83109ef9c8e0d3b3439
The binary is built from https://github.com/majecty/codechain-1/tree/f/add-sync-log

Lingua principale
Rust
Stelle
256
Fork
50
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di CodeChain-io/codechain

Tutte le issue di CodeChain-io/codechain

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.