Last active
August 30, 2018 00:05
-
-
Save PierreRochard/47ae74e5c0bc618a3b1a3f5ae5443196 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Process 94602 stopped | |
* thread #24, name = 'bitcoin-httpworker', stop reason = breakpoint 1.1 | |
frame #0: 0x0000000100367524 bitcoin-qt`GetWalletEnv(wallet_path=0x00007000059890a8, database_filename="regtest3.dat") at db.cpp:79 [opt] | |
76 // emplace function if the key already exists. This is a little inefficient, | |
77 // but not a big concern since the map will be changed in the future to hold | |
78 // pointers instead of objects, anyway. | |
-> 79 return &g_dbenvs.emplace(std::piecewise_construct, std::forward_as_tuple(env_directory.string()), std::forward_as_tuple(env_directory)).first->second; | |
80 } | |
81 | |
82 // | |
(lldb) ta v g_dbenvs | |
(std::__1::map<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, BerkeleyEnvironment, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::pair<const std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, BerkeleyEnvironment> > >) g_dbenvs = size=2 { | |
[0] = { | |
first = "/Volumes/Mac Storage/bitcoin-mainnet/regtest/wallets" | |
second = { | |
fDbEnvInit = true | |
fMockDb = false | |
strPath = "/Volumes/Mac Storage/bitcoin-mainnet/regtest/wallets" | |
dbenv = { | |
__ptr_ = { | |
std::__1::__libcpp_compressed_pair_imp<DbEnv *, std::__1::default_delete<DbEnv>, 2> = { | |
__first_ = 0x0000000102a72a00 | |
} | |
} | |
} | |
mapFileUseCount = size=0 {} | |
mapDb = size=2 { | |
[0] = { | |
first = "regtest1.dat" | |
second = 0x0000000000000000 | |
} | |
[1] = { | |
first = "regtest2.dat" | |
second = 0x0000000000000000 | |
} | |
} | |
m_db_in_use = { | |
__cv_ = { | |
__cv_ = (__sig = 1129270852, __opaque = char [40] @ 0x00007fe0c7797898) | |
} | |
__mut_ = std::__1::shared_ptr<std::__1::mutex>::element_type @ 0x0000000102a4fe98 strong=1 weak=1 { | |
__ptr_ = 0x0000000102a4fe98 | |
} | |
} | |
} | |
} | |
[1] = { | |
first = "/Volumes/Mac Storage/bitcoin-mainnet/regtest/wallets/" | |
second = { | |
fDbEnvInit = true | |
fMockDb = false | |
strPath = "/Volumes/Mac Storage/bitcoin-mainnet/regtest/wallets/" | |
dbenv = { | |
__ptr_ = { | |
std::__1::__libcpp_compressed_pair_imp<DbEnv *, std::__1::default_delete<DbEnv>, 2> = { | |
__first_ = 0x0000000102a966d0 | |
} | |
} | |
} | |
mapFileUseCount = size=1 { | |
[0] = (first = "wallet.dat", second = 0) | |
} | |
mapDb = size=1 { | |
[0] = { | |
first = "wallet.dat" | |
second = 0x000000011e91f6d0 | |
} | |
} | |
m_db_in_use = { | |
__cv_ = { | |
__cv_ = (__sig = 1129270852, __opaque = char [40] @ 0x00007fe0c77e5298) | |
} | |
__mut_ = std::__1::shared_ptr<std::__1::mutex>::element_type @ 0x0000000102a96b48 strong=1 weak=1 { | |
__ptr_ = 0x0000000102a96b48 | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment