-
Notifications
You must be signed in to change notification settings - Fork 575
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
wtxmgr: panic on interrupt #283
Comments
This is due to bolt transactions still being active while the database is closed. I will look into adding a mutex in walletdb to prevent this from happening. |
jrick
added a commit
to jrick/btcwallet
that referenced
this issue
Mar 11, 2016
This corrects and simplifies the shutdown logic for interrupts, the walletrpc.WalletLoaderService/CloseWallet RPC, and the legacy stop RPC by both stopping all wallet processes and closing the wallet database. It appears that this behavior broke as part of the wallet package refactor, causing occasional nil pointer panics and memory faults when closing the wallet database with active transactions. Fixes btcsuite#282. Fixes btcsuite#283.
jrick
added a commit
to jrick/btcwallet
that referenced
this issue
Mar 11, 2016
This corrects and simplifies the shutdown logic for interrupts, the walletrpc.WalletLoaderService/CloseWallet RPC, and the legacy stop RPC by both stopping all wallet processes and closing the wallet database. It appears that this behavior broke as part of the wallet package refactor, causing occasional nil pointer panics and memory faults when closing the wallet database with active transactions. Fixes btcsuite#282. Fixes btcsuite#283.
alexlyp
added a commit
to alexlyp/btcwallet
that referenced
this issue
Jun 28, 2016
buck54321
added a commit
to buck54321/btcwallet
that referenced
this issue
May 8, 2024
Remove duplicate NeutrinoClient interface Merge btcsuite#265 cache+neutrino: add new cache module by @Roasbeef Merge btcsuite#261 cache+neutrino: update existing Cache interface to use type parameters by @Roasbeef Merge btcsuite#268 cache: add deletion and iteration methods by @yyforyongyu Merge btcsuite#279 lru: add methods to range with orders by @yyforyongyu Merge btcsuite#278 pushtx: map different backend err to internal err by @ziggie1984 Merge btcsuite#273 query+neutrino: use query dispatcher for GetBlock and GetCFilte by @ellemouton Merge btcsuite#274 multi: introduce a batch filter writer by @ellemouton Merge btcsuite#275 rescan: use batch filter fetching by @ellemouton Merge btcsuite#283 blockmanager.go: use btcd libs to validate headers by @guggero Merge btcsuite#288 neutrino: Added ResetRanking method to PeerRanking by @Chinwendu20 Merge btcsuite#293 & btcsuite#294 Fix typos by @vuittont60 Merge btcsuite#297 query: fix retry query case by @ziggie1984
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This happens sometimes when btcsim is interrupted. Will try to list the exact steps to repro, maybe consider it low priority until then.
The text was updated successfully, but these errors were encountered: