-
-
Notifications
You must be signed in to change notification settings - Fork 32
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
HyperScan ScratchInUseError #179
Comments
While debugging a separate issue related to hyperscan, I stumbled upon a docstring that explains this error: /**
* The scratch region was already in use.
*
* This error is returned when Hyperscan is able to detect that the scratch
* region given is already in use by another Hyperscan API call.
*
* A separate scratch region, allocated with @ref hs_alloc_scratch() or @ref
* hs_clone_scratch(), is required for every concurrent caller of the Hyperscan
* API.
*
* For example, this error might be returned when @ref hs_scan() has been
* called inside a callback delivered by a currently-executing @ref hs_scan()
* call using the same scratch region.
*
* Note: Not all concurrent uses of scratch regions may be detected. This error
* is intended as a best-effort debugging tool, not a guarantee.
*/
#define HS_SCRATCH_IN_USE (-10) Here's the description of a scratch-space from the dev-reference page: |
Huh, weird. I guess this means we can do a retry as our best hope? I'm not sure how we're accessing the scratch region from multiple threads? |
Related: Sentry Issue: COURTLISTENER-774 Filed by: @albertisfu |
This issue seems to be affecting the front-end now too, since we're now using eyecite while parsing queries: Sentry Issue: COURTLISTENER-80Y |
This one has occurred once so far:
Sentry Issue: COURTLISTENER-75S
Filed by: @albertisfu
The text was updated successfully, but these errors were encountered: