BitShares Forum

Main => Technical Support => Topic started by: Akado on October 11, 2014, 12:52:31 pm

Title: BitShares-PTS - Error loading block database
Post by: Akado on October 11, 2014, 12:52:31 pm
So when i start BitShares-PTS client, i get this error saying "Error loading block database. Do you want to rebuild the database now?". I hit OK but then I get
"Assertion failed!
Program: C:\Program Files\BitShares-PTS\BitShares-PTS.exe
File: db/version_set.cc
Line: 175

Expression: dummy_versions_.next_ == &dummy_versions_

For information on how your program can cause assertion failure. see the visual C++ documentation on asserts

(Please retry or debug the application - JIT must be enabled.)"


Could someone help me out with this?
Title: Re: BitShares-PTS - Error loading block database
Post by: testz on October 11, 2014, 12:59:48 pm
So when i start BitShares-PTS client, i get this error saying "Error loading block database. Do you want to rebuild the database now?". I hit OK but then I get
"Assertion failed!
Program: C:\Program Files\BitShares-PTS\BitShares-PTS.exe
File: db/version_set.cc
Line: 175

Expression: dummy_versions_.next_ == &dummy_versions_

For information on how your program can cause assertion failure. see the visual C++ documentation on asserts

(Please retry or debug the application - JIT must be enabled.)"


Could someone help me out with this?

Try to re sync blockchain.

1. Make a backup of your wallet
2. Go to "C:\Users\User name\AppData\Roaming\BitShares-PTS" delete everything except wallet.dat
3. Run the client and wait until it's sync
Title: Re: BitShares-PTS - Error loading block database
Post by: xeroc on October 11, 2014, 01:01:59 pm
seems like a database error ... delete the blockchain
or try the parameters "-reindex" and "-rescan" ..
Title: Re: BitShares-PTS - Error loading block database
Post by: Akado on October 11, 2014, 01:10:33 pm
So when i start BitShares-PTS client, i get this error saying "Error loading block database. Do you want to rebuild the database now?". I hit OK but then I get
"Assertion failed!
Program: C:\Program Files\BitShares-PTS\BitShares-PTS.exe
File: db/version_set.cc
Line: 175

Expression: dummy_versions_.next_ == &dummy_versions_

For information on how your program can cause assertion failure. see the visual C++ documentation on asserts

(Please retry or debug the application - JIT must be enabled.)"


Could someone help me out with this?

Try to re sync blockchain.

1. Make a backup of your wallet
2. Go to "C:\Users\User name\AppData\Roaming\BitShares-PTS" delete everything except wallet.dat
3. Run the client and wait until it's sync

I already have a few backups of all my wallets fortunately :)
I did the second step, thing is it has 0 active connections and so it's not syncing

@xeroc
Should I do that in the debug console? sorry im not familiar with the commands. What is the rest of the commands, -reindex ?? -rescan ??


Edit: It took a while but its syncing now. Thanks for your help :) btw, just out of curiosity, do you know what possible causes did this?
Title: Re: BitShares-PTS - Error loading block database
Post by: testz on October 11, 2014, 01:13:07 pm
I already have a few backups of all my wallets fortunately :)
I did the second step, thing is it has 0 active connections and so it's not syncing

Don't worry, wait 15-20 min.
Title: Re: BitShares-PTS - Error loading block database
Post by: Akado on October 11, 2014, 01:18:38 pm
I already have a few backups of all my wallets fortunately :)
I did the second step, thing is it has 0 active connections and so it's not syncing

Don't worry, wait 15-20 min.

It's already syncing! Really appreciate your help guys! And could you explain me what could have caused this?
Title: Re: BitShares-PTS - Error loading block database
Post by: testz on October 11, 2014, 01:20:26 pm
I already have a few backups of all my wallets fortunately :)
I did the second step, thing is it has 0 active connections and so it's not syncing

Don't worry, wait 15-20 min.

It's already syncing! Really appreciate your help guys! And could you explain me what could have caused this?

Usually it's happens when client incorrectly closed and database get corrupted.