<p>This <a href="https://github.com/bitcoin/bitcoin/issues/11812" rel="nofollow noreferrer">issue</a> may be related. </p>

<p>The suggested fix is to start bitcoin-qt with the reindex option. To do that you'll need to start it from a command prompt and use:</p>

<pre><code>bitcoin-qt.exe -reindex
</code></pre>

<p>Of course make sure you take a copy of your wallet.dat file and put it somewhere safe.</p>

<p>You could also try updating to the latest version of Bitcoin Core and then copy your wallet.dat file into the data directory BUT the wallet format may have changed in the interim which could prevent it from opening.</p>

CC BY-SA 3.0
2018-02-03T00:59:26.460Z
Actually, if the wallet format is changed `bitcoin-qt` should upgrade it automatically.
Willtech
CC BY-SA 3.0
2017-12-03T09:11:33.533Z
2017-12-03T09:11:33.533Z
sipsorcery
<p>A few years ago my Bitcoin QT wallet stopped working and error messages started popping up</p>

<p>The error reads:</p>

<blockquote>
  <p>Assertion Failed!</p>
  
  <p>Program:... File: src/main.cpp Line: 1127 Expression: pindexFirst</p>
  
  <p>For information on how your program can cause an assertion failure,
  see the Visual C++ documentation on asserts (Press Retry to debug the
  application - JIT must be enabled)</p>
</blockquote>

<p>How can I fix this? Is this wallet now obsolete?</p>

<bitcoin-core><error>
How to fix Bitcoin QT loading issue
T.Erry
# How to fix Bitcoin QT loading issue

(Asked by: username_0 on 2017-12-03)

A few years ago my Bitcoin QT wallet stopped working and error messages started popping up

The error reads:

> Assertion Failed!
>
> Program:... File: src/main.cpp Line: 1127 Expression: pindexFirst
>
> For information on how your program can cause an assertion failure,
> see the Visual C++ documentation on asserts (Press Retry to debug the
> application - JIT must be enabled)

How can I fix this? Is this wallet now obsolete?

**Tags:** bitcoin-core, error


---

## 1 answers

### Answer by username_1 on 2017-12-03. Score: 1

This [issue](https://github.com/bitcoin/bitcoin/issues/11812) may be related.

The suggested fix is to start bitcoin-qt with the reindex option. To do that you'll need to start it from a command prompt and use:

```
bitcoin-qt.exe -reindex

```

Of course make sure you take a copy of your wallet.dat file and put it somewhere safe.

You could also try updating to the latest version of Bitcoin Core and then copy your wallet.dat file into the data directory BUT the wallet format may have changed in the interim which could prevent it from opening.

> **Comments:**
> **username_2**: Actually, if the wallet format is changed `bitcoin-qt` should upgrade it automatically.  

---

