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

[BUG] intermittent leveldb iterator crash #992

Open
markspanbroek opened this issue Nov 13, 2024 · 3 comments
Open

[BUG] intermittent leveldb iterator crash #992

markspanbroek opened this issue Nov 13, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@markspanbroek
Copy link
Member

Observed this crash several times while running the unit tests on windows in the CI:

Assertion failed: dummy_versions_.next_ == &dummy_versions_

A quick search seems to indicate that this is likely caused by a leveldb iterator not being properly closed.

Example CI run:
https://github.com/codex-storage/nim-codex/actions/runs/11731259014/job/32682716194?pr=988#step:4:946

@markspanbroek markspanbroek added the bug Something isn't working label Nov 13, 2024
@benbierens
Copy link
Contributor

I'm looking into this now.

@benbierens
Copy link
Contributor

While running the test a million times:
Image

@benbierens
Copy link
Contributor

Also Image

How sure are we there's not an async issue going on here, there's unrelated to leveldb?
I've seen the leveldb error a few times (now I can't reproduce of course) but each time it showed up right after test availability size is reduced by request slot size when fully downloaded passes successfully.
Investigation continues...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants