HomePhabricator

Bitcoin-Qt: fix crash on Windows caused by CDBEnv::EnvShutdown()
be8e1f8479ffUnpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

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()

Details

Provenance
Philip Kaufmann <phil.kaufmann@t-online.de>Authored on Nov 18 2012, 10:58
schancelPushed on Jan 5 2018, 21:58
schancelPushed on Jan 5 2018, 21:39
schancelPushed on Jan 5 2018, 21:17
Parents
rSTAGING4725e96a3aaa: Merge pull request #2022 from Diapolo/fix_#2018
Branches
Unknown
Tags
Unknown

Event Timeline

Philip Kaufmann <phil.kaufmann@t-online.de> committed rSTAGINGbe8e1f8479ff: Bitcoin-Qt: fix crash on Windows caused by CDBEnv::EnvShutdown() (authored by Philip Kaufmann <phil.kaufmann@t-online.de>).Nov 18 2012, 13:10