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

insert_into_cell inserts into wrong free space #1085

Open
pereman2 opened this issue Mar 3, 2025 · 3 comments · May be fixed by #1111
Open

insert_into_cell inserts into wrong free space #1085

pereman2 opened this issue Mar 3, 2025 · 3 comments · May be fixed by #1111
Labels
bug Something isn't working core

Comments

@pereman2
Copy link
Collaborator

pereman2 commented Mar 3, 2025

---- storage::btree::tests::test_fuzz_drop_defragment_insert stdout ----
thread 'storage::btree::tests::test_fuzz_drop_defragment_insert' panicked at core/storage/btree.rs:2454:8:
range end index 31488 out of range for slice of length 4096
@pereman2 pereman2 added bug Something isn't working core labels Mar 3, 2025
@krishvishal
Copy link
Contributor

@pereman2 is this failure on current main? I'm unable to reproduce this failure on my machine, I've ran cargo test for 10 times.

@pereman2
Copy link
Collaborator Author

pereman2 commented Mar 4, 2025

@krishvishal you should probably run it indefinitely until it fails, 10 times might not be significant number.

@krishvishal
Copy link
Contributor

SEED = 15579468246411287112
ERROR = thread 'storage::btree::tests::test_fuzz_drop_defragment_insert' panicked at core/storage/btree.rs:2454:8:
range end index 48128 out of range for slice of length 4096

----------------------------------------------------------

SEED = 8627205560001768239
ERROR = thread 'storage::btree::tests::test_fuzz_drop_defragment_insert' panicked at core/storage/btree.rs:3641:13:
assertion `left == right` failed
  left: 3892
 right: 3896

Found two seeds resulting in different types of error behavior.

@penberg penberg linked a pull request Mar 8, 2025 that will close this issue
krishvishal added a commit to krishvishal/limbo that referenced this issue Mar 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working core
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants