Skip to content

Conversation

@UdjinM6
Copy link

@UdjinM6 UdjinM6 commented Mar 25, 2019

POTENTIAL DEADLOCK DETECTED
Previous lock order was:
 (1) cs_main  wallet/wallet.cpp:3881
 (2) cs_wallet  wallet/wallet.cpp:3881
Current lock order is:
 (2) pwallet->cs_wallet  wallet/walletdb.cpp:589
 (1) cs_main  wallet/wallet.cpp:1252

```
POTENTIAL DEADLOCK DETECTED
Previous lock order was:
 (1) cs_main  wallet/wallet.cpp:3881
 (2) cs_wallet  wallet/wallet.cpp:3881
Current lock order is:
 (2) pwallet->cs_wallet  wallet/walletdb.cpp:589
 (1) cs_main  wallet/wallet.cpp:1252
```
@UdjinM6 UdjinM6 added the bug label Mar 25, 2019
@UdjinM6 UdjinM6 added this to the 14.0 milestone Mar 25, 2019
@codablock
Copy link

@UdjinM6 This will later indirectly conflict with bitcoin#14437 (it removes the need to lock cs_main in wallet code). Can you add a comment to the LOCK line in CWallet::MarkConflicted so that it later merge-conflicts when we try to backport bitcoin#14437?

Copy link

@codablock codablock left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

utACK

@UdjinM6 UdjinM6 merged commit 162acc5 into dashpay:develop Mar 25, 2019
@UdjinM6 UdjinM6 deleted the fix_deadlock branch November 26, 2020 13:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants