-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
ConcurrentModificationException on receiving NewAccountingBlockBroadcastMessage #6545
Comments
Thanks for opening your first issue here! |
See attached file bisq_log.txt in OP. Summary:
|
Good news, I found the bug. |
alvasw
added a commit
to alvasw/bisq
that referenced
this issue
Feb 1, 2023
Multiple threads read and write to the accounting blocks list causing data races. Luckily, the LinkedList threw a ConcurrentModificationException to limit damage. Now, a ReadWriteLock protects the LinkedList against data races. Multiple threads can read the list at the same time but only one thread can write to it. Other writing threads wait until it's their turn. Fixes bisq-network#6545
alvasw
added a commit
to alvasw/bisq
that referenced
this issue
Feb 2, 2023
Multiple threads read and write to the accounting blocks list causing data races. Luckily, the LinkedList threw a ConcurrentModificationException to limit damage. Now, a ReadWriteLock protects the LinkedList against data races. Multiple threads can read the list at the same time but only one thread can write to it. Other writing threads wait until it's their turn. Fixes bisq-network#6545
alvasw
added a commit
to alvasw/bisq
that referenced
this issue
Feb 3, 2023
Multiple threads read and write to the accounting blocks list causing data races. Luckily, the LinkedList threw a ConcurrentModificationException to limit damage. Now, a ReadWriteLock protects the LinkedList against data races. Multiple threads can read the list at the same time but only one thread can write to it. Other writing threads wait until it's their turn. Fixes bisq-network#6545
alvasw
added a commit
to alvasw/bisq
that referenced
this issue
Feb 3, 2023
Multiple threads read and write to the accounting blocks list causing data races. Luckily, the LinkedList threw a ConcurrentModificationException to limit damage. Now, a ReadWriteLock protects the LinkedList against data races. Multiple threads can read the list at the same time but only one thread can write to it. Other writing threads wait until it's their turn. Fixes bisq-network#6545
alvasw
added a commit
to alvasw/bisq
that referenced
this issue
Feb 3, 2023
Multiple threads read and write to the accounting blocks list causing data races. Luckily, the LinkedList threw a ConcurrentModificationException to limit damage. Now, a ReadWriteLock protects the LinkedList against data races. Multiple threads can read the list at the same time but only one thread can write to it. Other writing threads wait until it's their turn. Fixes bisq-network#6545
alejandrogarcia83
changed the title
Unexpected java error
ConcurrentModificationException on receiving NewAccountingBlockBroadcastMessage
Feb 4, 2023
This was referenced Mar 7, 2023
Closed
ghost
mentioned this issue
Mar 23, 2023
Closed
ghost
mentioned this issue
May 1, 2023
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
Version
Steps to reproduce
Expected b
bisq_log.txt
ehaviour
Actual behaviour
Screenshots
Device or machine
Additional info
bisq_log.txt
The text was updated successfully, but these errors were encountered: