-
Notifications
You must be signed in to change notification settings - Fork 689
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
runtime error: nil pointer dereference in roaring.go", line 667, in (*Bitmap).GetCardinality #1662
Comments
Hi, any progress on this? We still receive sentry crashes for this. |
This happens to me too sometimes, I will look into this as I thought it was just me. |
I stopped using the min property of the disjunction query, and then this error stopped. however, it's started happening again. So again I am looking into it. |
We are seeing several crash reports, either equal to the one reported here, or very similar, using Bleve 2.3.8. Some end up crashing in zapx, others in RoaringBitmap:
These come from Sentry, so I don't have much more data, hope it's somewhat useful. |
I still get the same issue in Couchbase. I have talked to the team about this and gave them an application to reproduce it, and they did reproduce it. But not sure what's come of it since then (almost a year ago). |
We received another crash, bleve -> zapx -> RoaringBitmap, this time in
|
We've received a couple more of these. The first:
The second:
Hope that helps? |
v15: * a2c264a Abhi Dangeti | [v15] Add nil pointer checks for postings before dereference * 96e55e7 Mohd Shaad Khan | Handle zero chunk size v16: * 7bab2f9 Abhi Dangeti | MB-57871: One more nil check before dereferencing postings * bf971e6 Abhi Dangeti | Add nil pointer checks for postings before dereference * 9a80f5f Abhi Dangeti | One more case for zero chunk size / mode * 0c6f397 Mohd Shaad Khan | Handle zero chunk size For #1662
Sorry to bother you with more issues. We have another Sentry crash, this time in the roaring bitmap library, but it gets called from the zap library.
Looking at the exact line of error, it's here: https://github.com/RoaringBitmap/roaring/blob/e6471ed95f1d549fe1b284310217906a9d62035e/roaring.go#L667. This seems a race condition, or somehow a nil container was passed.
The text was updated successfully, but these errors were encountered: