Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

Sync fails on Block #1590283 (Parent not found) #9766

Closed
elasticroentgen opened this issue Oct 17, 2018 · 3 comments
Closed

Sync fails on Block #1590283 (Parent not found) #9766

elasticroentgen opened this issue Oct 17, 2018 · 3 comments
Labels
F1-panic 🔨 The client panics and exits without proper error handling. M4-core ⛓ Core client code / Rust. P5-sometimesoon 🌲 Issue is worth doing soon.
Milestone

Comments

@elasticroentgen
Copy link

elasticroentgen commented Oct 17, 2018

  • Parity Ethereum version: 2.0.5
  • Operating system: Linux
  • Installation: official docker
  • Fully synchronized: no
  • Network: ethereum
  • Restarted: yes

actual
Parity crashes reproducably at sync of block #1590283 w/o warp sync (due to traces+archived)

expected
Parity syncs the chain beyond #1590283

reproduce

  1. Start parity with docker run -d --name=parity-mainnet -v /tank/parity-mainnet/v2.0.8:/home/parity/.local/share/ -p 30303:30303 -p 30303:30303/udp -p 8545:8545 parity/parity:v2.0.8 --ws-origins=all --ws-interface=all --pruning=archive --jsonrpc-cors all --tracing on --fat-db on --db-compaction ssd --jsonrpc-apis all --jsonrpc-threads=50 --no-color --jsonrpc-interface=all --no-periodic-snapshot --force-direct
  2. Wait until block #1590283 comes around.
  3. Partiy will crash with the output:
2018-10-17 08:25:29 UTC Syncing #1589491 0x47dd…8a60   188.66 blk/s 1210.9 tx/s   42 Mgas/s    392+ 6487 Qed  #1596398   25/25 peers      6 MiB chain   17 MiB db   45 MiB queue   10 MiB sync  RPC:  0 conn,    0 req/s,    0 µs

====================

stack backtrace:
   0:     0x55cc0b10360c - <no info>
   1:     0x55cc0b1033c2 - <no info>
   2:     0x55cc0b103438 - <no info>
   3:     0x55cc0b10223a - <no info>
   4:     0x55cc09baa085 - <no info>
   5:     0x55cc0b163233 - <no info>
   6:     0x55cc0b12b076 - <no info>
   7:     0x55cc0b12a474 - <no info>
   8:     0x55cc0a80f0a5 - <no info>
   9:     0x55cc0a7cbe65 - <no info>
  10:     0x55cc0a4f2e19 - <no info>
  11:     0x55cc0a510bb1 - <no info>
  12:     0x55cc0a4f3a90 - <no info>
  13:     0x55cc0a4fa236 - <no info>
  14:     0x55cc0b18d4a9 - <no info>
  15:     0x55cc0a50b752 - <no info>
  16:     0x55cc0b165cba - <no info>
  17:     0x55cc0b163805 - <no info>
  18:     0x7f19206e86b9 - <no info>
  19:     0x7f192020841c - <no info>
  20:                0x0 - <no info>

Thread 'IO Worker #3' panicked at 'assertion failed: rc == -1', util/journaldb/src/archivedb.rs:141

This is a bug. Please report it at:

    https://github.com/paritytech/parity/issues/new

2018-10-17 08:25:36 UTC Finishing work, please wait...
2018-10-17 08:25:36 UTC Block import failed for #1590283 (0x9505…ee7c): Parent not found (0xcb85…b1d0)

Filesystem is verified ok. a ZFS scrub doesn't reveal any errors.

@elasticroentgen elasticroentgen changed the title Sync fails on Block #1590283 (PArent not found) Sync fails on Block #1590283 (Parent not found) Oct 17, 2018
@Tbaut
Copy link
Contributor

Tbaut commented Oct 17, 2018

This PR should have fixed it #9525
@debris any idea?

@Tbaut Tbaut added M4-core ⛓ Core client code / Rust. F1-panic 🔨 The client panics and exits without proper error handling. labels Oct 17, 2018
@Tbaut Tbaut added this to the 2.2 milestone Oct 17, 2018
@Tbaut Tbaut added the P5-sometimesoon 🌲 Issue is worth doing soon. label Oct 17, 2018
@debris
Copy link
Collaborator

debris commented Oct 17, 2018

Parity Ethereum version: 2.0.5

from: #9630 (comment)

I think it is a duplicate of #9180 . The fix has been backported to beta, but not stable.

@Tbaut
Copy link
Contributor

Tbaut commented Oct 17, 2018

Thanks, I didn't realize it didn't get backported to stable. (from the logs,v2.0.8 is used)
@thereapman please use beta if you can.

@Tbaut Tbaut closed this as completed Oct 17, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
F1-panic 🔨 The client panics and exits without proper error handling. M4-core ⛓ Core client code / Rust. P5-sometimesoon 🌲 Issue is worth doing soon.
Projects
None yet
Development

No branches or pull requests

3 participants