verge: -reindex crash

Issue Template

Context

Trying to run v5.1.1 and v5.1.2 with -reindex causes a crash

Prerequisites

  • Are you running the latest version?

User Story:

  • "I’m submitting a … "
    • bug report
    • feature request
    • support request
    • translation request

Running Ubuntu 18.04 GCC 7.3 Boost 1.65.1

Expected Behavior

Should wipe chainstate and block index and rebuild both.

Current Behavior

Steps to Reproduce (for bugs)

Error

2019-05-28T19:02:22Z Reindexing block file blk00000.dat...

============================================================ T= 1559070142
Tor 0.3.5.8 (git-5030edfb534245ed) died: Caught signal 11
./verged(+0x5a65d9)[0x56261556f5d9]
./verged(+0x140f58)[0x562615109f58]
./verged(+0x140f58)[0x562615109f58]
./verged(+0x1dd156)[0x5626151a6156]
./verged(+0x1e7bd8)[0x5626151b0bd8]
./verged(+0x1fdfec)[0x5626151c6fec]
./verged(+0x5fe2a)[0x562615028e2a]
./verged(+0x803f4)[0x5626150493f4]
/usr/lib/x86_64-linux-gnu/libboost_thread.so.1.65.1(+0x11bcd)[0x7f6da7a0cbcd]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x76db)[0x7f6da5f4b6db]
/lib/x86_64-linux-gnu/libc.so.6(clone+0x3f)[0x7f6da5c7488f]

*Steps :

  1. Try Ubuntu 18.04 ( have not tested on any other distro)
  2. Run verged -reindex

Your Environment

  • Verge Release:
  • CPU: 8 Core
  • GPU: GTX 980ti
  • RAM: 16GB DDR3
  • OS:
    • I’m using Mac
    • I’m using Linux
    • I’m using Mac

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 22 (10 by maintainers)

Most upvoted comments

ok i think i may have solved the iostream issue, and now i am able to recreate the original issue you posted. ill continue to leave this open while i explore it.

And its a success! 🥇 👍

ok nice. i’m working on a branch with address indexing and needed to test reindex thanks

i know tor probably has issues with some variants of openssl 1.1.1, but i was not able to recreate the issue with boost you first opened this ticket for. however, i was able to reproduce the iostream error from loadexternalblockfile, so i am working on that right now

Yeah trying to replicate the tor and boost errors again but I’m not able to… i think that was a separate issue though