diff options
author | Philip Kaufmann <phil.kaufmann@t-online.de> | 2012-11-18 11:58:32 +0100 |
---|---|---|
committer | Philip Kaufmann <phil.kaufmann@t-online.de> | 2012-11-18 14:10:26 +0100 |
commit | be8e1f8479ff46c99f97ac3e396736d36e5458c6 (patch) | |
tree | a300ef46ace1eeab970fe56b3976ced4e39f1a82 /src/db.h | |
parent | 4725e96a3aaa4dd602bd356390d190c6777c3a60 (diff) |
Bitcoin-Qt: fix crash on Windows caused by CDBEnv::EnvShutdown()
- can be triggerd by just adding -proxy=crashme with 0.7.1
- crash occured, when AppInit2() was left with return false; after the
first call to bitdb.open() (Step 6 in init)
- this is caused by GetDataDir() or .string() in CDBEnv::EnvShutdown()
called via the bitdb global destructor
- init fDbEnvInit and fMockDb to false in CDBEnv::CDBEnv()
Diffstat (limited to 'src/db.h')
-rw-r--r-- | src/db.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -33,6 +33,7 @@ class CDBEnv private: bool fDbEnvInit; bool fMockDb; + std::string strPath; void EnvShutdown(); |