This repository has been archived by the owner on Nov 6, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Conversation
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
tomusdrw
added
A0-pleasereview 🤓
Pull request needs code review.
M4-core ⛓
Core client code / Rust.
labels
Jun 25, 2018
andresilva
approved these changes
Jun 25, 2018
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
folsen
approved these changes
Jun 25, 2018
Please indicate whether we need to backport this. |
@5chdn we do, label added. |
When was this bug introduced? It seems like parity should deadlock every time this function is called |
debris
approved these changes
Jun 26, 2018
debris
added
A7-looksgoodtestsfail 🤖
Pull request is reviewed well, but cannot be merged due to tests failing.
and removed
A0-pleasereview 🤓
Pull request needs code review.
labels
Jun 26, 2018
@debris it deadlocks randomly and only when it happens that there is a |
Please rebase on latest master to fix CI. |
10 tasks
5chdn
pushed a commit
that referenced
this pull request
Jun 26, 2018
5chdn
pushed a commit
that referenced
this pull request
Jun 26, 2018
ordian
added a commit
to ordian/parity
that referenced
this pull request
Jun 27, 2018
…rp_sync_on_light_client * 'master' of https://github.com/paritytech/parity: Fix deadlock in blockchain. (openethereum#8977) snap: downgrade rust to revision 1.26.2, ref snapcraft/+bug/1778530 (openethereum#8984) Use local parity-dapps-glue instead of crate published at crates.io (openethereum#8983)
dvdplm
added a commit
that referenced
this pull request
Jun 27, 2018
* master: Refactor evm Instruction to be a c-like enum (#8914) Fix deadlock in blockchain. (#8977) snap: downgrade rust to revision 1.26.2, ref snapcraft/+bug/1778530 (#8984) Use local parity-dapps-glue instead of crate published at crates.io (#8983) parity: omit redundant last imported block number in light sync informant (#8962) Disable hardware-wallets on platforms that don't support `libusb` (#8464) Bump error-chain and quick_error versions (#8972)
dvdplm
added a commit
that referenced
this pull request
Jun 27, 2018
* master: Refactor evm Instruction to be a c-like enum (#8914) Fix deadlock in blockchain. (#8977) snap: downgrade rust to revision 1.26.2, ref snapcraft/+bug/1778530 (#8984) Use local parity-dapps-glue instead of crate published at crates.io (#8983) parity: omit redundant last imported block number in light sync informant (#8962) Disable hardware-wallets on platforms that don't support `libusb` (#8464) Bump error-chain and quick_error versions (#8972)
5chdn
added a commit
that referenced
this pull request
Jun 28, 2018
* snap: downgrade rust to revision 1.26.2, ref snapcraft/+bug/1778530 (#8984) * snap: downgrade rust to revision 1.26.2, ref snapcraft/+bug/1778530 * snap: use plugin rust * Fix deadlock in blockchain. (#8977) * Remove js-glue from workspace This fixes test error on Rust 1.27 but also prevents js-glue from building itself. Builtin dapp users can still use js-glue from crates.io.
5chdn
added a commit
that referenced
this pull request
Jun 29, 2018
* parity-version: bump beta to 1.11.5 * Update ropsten.json (#8926) * Update hardcoded headers (#8925) * Update kovan.json Update Kovan to block 7693549 * Update foundation.json Updated to block #5812225 * Update ropsten.json Update to 3465217 * Update ropsten.json use tabs * Update foundation.json use tabs * Update kovan.json use tabs * scripts: minor improvements (#8930) * CI: enable 'latest' docker tag on master pipeline * CI: mark both beta and stable as stable snap. * CI: sign all windows binaries * scripts: fix docker build tag on latest using master (#8952) * rpc: cap gas limit of local calls (#8943) * snap: downgrade rust to revision 1.26.2, ref snapcraft/+bug/1778530 (#8984) * snap: downgrade rust to revision 1.26.2, ref snapcraft/+bug/1778530 * snap: use plugin rust * Fix deadlock in blockchain. (#8977) * Remove js-glue from workspace This fixes test error on Rust 1.27 but also prevents js-glue from building itself. Builtin dapp users can still use js-glue from crates.io. * Fix Android build on beta (#9003)
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
A7-looksgoodtestsfail 🤖
Pull request is reviewed well, but cannot be merged due to tests failing.
M4-core ⛓
Core client code / Rust.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
From https://docs.rs/parking_lot/0.6.2/parking_lot/type.RwLock.html
And it seems that
first_block_number()
actually goes throughblock_number(_)
where we check thebest_block
again