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

Thread 'IO Worker #0' panicked at 'DB flush failed.: "Error converting string"' #6959

Closed
dannyhellman opened this issue Nov 1, 2017 · 4 comments · Fixed by #7630
Closed
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

@dannyhellman
Copy link

dannyhellman commented Nov 1, 2017

Before filing a new issue, please provide the following information.

I'm running:

  • Parity version: 1.8.2-beta
  • Operating system: Windows 10 64 bit
  • And installed: via installer

I'm running parity server (parity.exe) through the command line. amd after several minutes of syncing, parity crashes and I'm getting the following error:

Start of crash log

stack backtrace:
0: 0x7ff6ed4bae04 - hid_error
1: 0x7ff6ed4bb30b - hid_error
2: 0x7ff6eccdb434 -
3: 0x7ff6ed633d94 - hid_error
4: 0x7ff6ed633c09 - hid_error
5: 0x7ff6ed633ae2 - hid_error
6: 0x7ff6ed633a50 - hid_error
7: 0x7ff6ed63d2cf - hid_error
8: 0x7ff6ec89f5ac -
9: 0x7ff6ecf3f5f2 - hid_error
10: 0x7ff6ece12eeb - hid_error
11: 0x7ff6ece1925a - hid_error
12: 0x7ff6ed635342 - hid_error
13: 0x7ff6ece6c5f6 - hid_error
14: 0x7ff6ed631e8c - hid_error
15: 0x7ff94b5c2774 - BaseThreadInitThunk

Thread 'IO Worker #0' panicked at 'DB flush failed.: "Error converting string"', src\libcore\result.rs:860

End of crash log

After restarting ~10 times and letting the node reach full sync the problem seemed to have stopped.

Here are the logs from the start right until the crash:

C:\Program Files\Parity\Parity>parity
2017-11-01 23:22:42  Starting Parity/v1.8.2-beta-1b6588c-20171025/x86_64-windows-msvc/rustc1.20.0
2017-11-01 23:22:42  Keys path C:\Users\Danny\AppData\Roaming\Parity\Ethereum\keys\Foundation
2017-11-01 23:22:42  DB path C:\Users\Danny\AppData\Local\Parity\Ethereum\chains\ethereum\db\906a34e69aec8c0d
2017-11-01 23:22:42  Path to dapps C:\Users\Danny\AppData\Roaming\Parity\Ethereum\dapps
2017-11-01 23:22:42  State DB configuration: fast
2017-11-01 23:22:42  Operating mode: active
2017-11-01 23:22:42  Configured for Foundation using Ethash engine
2017-11-01 23:22:43  Updated conversion rate to Ξ1 = US$295.54 (402813900 wei/gas)
2017-11-01 23:22:46  Multi-threaded server is not available on Windows. Falling back to single thread.
2017-11-01 23:22:46  Multi-threaded server is not available on Windows. Falling back to single thread.
2017-11-01 23:22:51  Public node URL: enode://b64fc9da02727da1a7c032bcdfbd56e935ea09d33c4a9260633e112317579a78d3207a273a923a625edc24c92ce66bb285b61b903699dc213b9ba8a80ed0718d@127.0.0.1:30303
2017-11-01 23:22:56  Syncing #4470160 c8ec…fbfe     0 blk/s    0 tx/s   0 Mgas/s      0+    0 Qed  #4470160    5/25 peers      2 MiB chain   61 MiB db  0 bytes queue  294 KiB sync  RPC:  1 conn, 15 req/s, 725 µs
2017-11-01 23:23:06  Syncing #4470226 9bae…cf72     6 blk/s  642 tx/s  35 Mgas/s      0+   27 Qed  #4470255    6/25 peers      3 MiB chain   63 MiB db    2 MiB queue    4 MiB sync  RPC:  1 conn, 17 req/s, 172 µs
2017-11-01 23:23:16  Syncing #4470307 e1e0…71c5     8 blk/s  748 tx/s  42 Mgas/s      0+  305 Qed  #4470613    8/25 peers      3 MiB chain   65 MiB db   22 MiB queue    4 MiB sync  RPC:  1 conn, 21 req/s, 111 µs
2017-11-01 23:23:26  Syncing #4470415 bb35…925e    10 blk/s  904 tx/s  54 Mgas/s      0+  633 Qed  #4471049    8/25 peers      5 MiB chain   65 MiB db   51 MiB queue    1 MiB sync  RPC:  1 conn,  4 req/s,  83 µs
2017-11-01 23:23:36  Syncing #4470570 b579…2f4a    15 blk/s 1197 tx/s  67 Mgas/s      0+  477 Qed  #4471049    8/25 peers      4 MiB chain   68 MiB db   39 MiB queue    1 MiB sync  RPC:  1 conn,  6 req/s,  51 µs
2017-11-01 23:23:46  Syncing #4470724 767d…f850    15 blk/s 1234 tx/s  71 Mgas/s      0+  514 Qed  #4471242    8/25 peers      7 MiB chain   69 MiB db   43 MiB queue    1 MiB sync  RPC:  1 conn,  6 req/s,  50 µs
2017-11-01 23:23:56  Syncing #4470836 720c…0686    11 blk/s 1097 tx/s  60 Mgas/s      0+  402 Qed  #4471242    8/25 peers      7 MiB chain   71 MiB db   32 MiB queue    4 MiB sync  RPC:  1 conn,  0 req/s,  41 µs
2017-11-01 23:24:06  Syncing #4470928 024a…3320     9 blk/s  723 tx/s  42 Mgas/s      0+  625 Qed  #4471557   11/25 peers      7 MiB chain   71 MiB db   52 MiB queue    3 MiB sync  RPC:  1 conn,  0 req/s,  41 µs
2017-11-01 23:24:16  Syncing #4470992 84ff…f143     6 blk/s  468 tx/s  27 Mgas/s      0+  561 Qed  #4471557   12/25 peers      5 MiB chain   72 MiB db   47 MiB queue    3 MiB sync  RPC:  1 conn,  0 req/s,  41 µs
2017-11-01 23:24:27  Syncing #4471076 4615…9a17     8 blk/s  782 tx/s  41 Mgas/s      0+  477 Qed  #4471557   10/25 peers      5 MiB chain   73 MiB db   40 MiB queue    3 MiB sync  RPC:  1 conn,  1 req/s,  41 µs
2017-11-01 23:24:36  Syncing #4471171 a2d9…cc76    10 blk/s  762 tx/s  44 Mgas/s      0+  580 Qed  #4471752   13/25 peers      5 MiB chain   74 MiB db   47 MiB queue    4 MiB sync  RPC:  1 conn,  0 req/s,  40 µs
2017-11-01 23:24:46  Syncing #4471247 b804…a728     7 blk/s  739 tx/s  38 Mgas/s      0+  504 Qed  #4471752   13/25 peers      5 MiB chain   75 MiB db   40 MiB queue    4 MiB sync  RPC:  1 conn,  0 req/s,  42 µs
2017-11-01 23:24:56  Syncing #4471305 f128…78d7     5 blk/s  563 tx/s  28 Mgas/s      0+  508 Qed  #4471816   14/25 peers      5 MiB chain   76 MiB db   40 MiB queue    4 MiB sync  RPC:  1 conn,  0 req/s,  43 µs
2017-11-01 23:25:06  Syncing #4471398 579f…1979     9 blk/s  714 tx/s  42 Mgas/s      0+  570 Qed  #4471970   15/25 peers      5 MiB chain   76 MiB db   46 MiB queue    3 MiB sync  RPC:  1 conn,  0 req/s,  42 µs
2017-11-01 23:25:16  Syncing #4471488 c5f2…80d5     9 blk/s  818 tx/s  47 Mgas/s      0+  478 Qed  #4471970   14/25 peers      5 MiB chain   78 MiB db   37 MiB queue    3 MiB sync  RPC:  1 conn,  0 req/s,  42 µs
2017-11-01 23:25:26  Syncing #4471566 73a7…fe27     7 blk/s  675 tx/s  37 Mgas/s      0+  534 Qed  #4472102   16/25 peers      6 MiB chain   78 MiB db   41 MiB queue    3 MiB sync  RPC:  1 conn,  1 req/s,  42 µs
2017-11-01 23:25:36  Syncing #4471664 da5a…51fc     9 blk/s  744 tx/s  45 Mgas/s      0+  434 Qed  #4472102   16/25 peers      6 MiB chain   78 MiB db   33 MiB queue    5 MiB sync  RPC:  1 conn,  1 req/s,  42 µs
2017-11-01 23:25:46  Syncing #4471762 23fc…c27e     9 blk/s  704 tx/s  39 Mgas/s      0+  700 Qed  #4472464   16/25 peers      7 MiB chain   78 MiB db   57 MiB queue  518 KiB sync  RPC:  1 conn,  0 req/s,  43 µs
2017-11-01 23:25:56  Syncing #4471856 e7c8…df64     9 blk/s  774 tx/s  44 Mgas/s      0+  604 Qed  #4472464   17/25 peers      6 MiB chain   78 MiB db   49 MiB queue  518 KiB sync  RPC:  1 conn,  1 req/s,  42 µs
@5chdn 5chdn added M4-core ⛓ Core client code / Rust. P5-sometimesoon 🌲 Issue is worth doing soon. Z0-unconfirmed 🤔 Issue might be valid, but it’s not yet known. labels Nov 1, 2017
@5chdn 5chdn added this to the 1.9 milestone Nov 1, 2017
@5chdn
Copy link
Contributor

5chdn commented Nov 1, 2017

The log does not indicate any issues, can you provide the full output?

Is this reproducible?

@dannyhellman
Copy link
Author

I've reproduced it over several days whenever I have a chunk of unsynced data.
Regarding the logs, this is all I have in the command prompt.
Do you know where I can find more verbose logs?

@5chdn 5chdn added F1-panic 🔨 The client panics and exits without proper error handling. and removed Z0-unconfirmed 🤔 Issue might be valid, but it’s not yet known. labels Nov 1, 2017
@5chdn 5chdn mentioned this issue Nov 16, 2017
64 tasks
@5chdn 5chdn mentioned this issue Dec 12, 2017
@andresilva
Copy link
Contributor

I'm not sure RocksDB error messages are working on Windows (https://github.com/paritytech/rust-rocksdb/blob/master/rocksdb-sys/src/ffi.rs#L100) so this could be throwing the same error as #7334.

@andresilva
Copy link
Contributor

I think we should close this after we update our rust-rocksdb dependency. Going forward the actual error message should be displayed on Windows and @dannyhellman can create a new issue with an error message that provides more information if it happens again.

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

Successfully merging a pull request may close this issue.

3 participants