Skip to content
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

get_key_value_changes can panic when processing a query #2052

Closed
bowenwang1996 opened this issue Feb 1, 2020 · 2 comments
Closed

get_key_value_changes can panic when processing a query #2052

bowenwang1996 opened this issue Feb 1, 2020 · 2 comments
Assignees
Labels
A-RPC Area: rpc C-bug Category: This is a bug P-critical Priority: critical

Comments

@bowenwang1996
Copy link
Collaborator

On staging network it panicked at https://github.com/nearprotocol/nearcore/blob/143b138ab153800de227726c5cd079b8ba39cd5e/chain/chain/src/store.rs#L968 with

thread 'main' panicked at 'slice index starts at 80 but ends at 48', src/libcore
/slice/mod.rs:2589:5
@bowenwang1996 bowenwang1996 changed the title get_key_value_changes can panic when processing a query get_key_value_changes can panic when processing a query Feb 1, 2020
@bowenwang1996 bowenwang1996 added C-bug Category: This is a bug A-RPC Area: rpc labels Feb 1, 2020
@MaksymZavershynskyi MaksymZavershynskyi added the P-critical Priority: critical label Feb 1, 2020
@MaksymZavershynskyi
Copy link
Contributor

@bowenwang1996 Were we able to reproduce it? How did we identify that it broke at that specific line of code? I saw the slice error but were not able to attribute to that specific line of code.

@frol
Copy link
Collaborator

frol commented Feb 18, 2020

Duplicate of #2048 (resolved in #2148).

@frol frol closed this as completed Feb 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-RPC Area: rpc C-bug Category: This is a bug P-critical Priority: critical
Projects
None yet
Development

No branches or pull requests

3 participants