-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Rust panic in adblock engine #15782
Comments
@antonok-edm can you please take a look? Also cc @pes10k |
For that first callstack, it looks like something is panicking inside the regex crate. I haven't been able to find any known examples other than the ones in rust-lang/regex#738, which don't apply to how it's used in adblock-rust. According to the backtrace, the panic occurs within The other panics are comparatively much less common and in several different locations. Normally I'd be inclined to believe they are OOM-related, but it's concerning that they've only been happening recently. |
Is this issue still valid post #15796 ? |
We don't have regex-related panics after this fix, but there are some others in versions containing the fix, e.g.
|
@antonok-edm looks maybe related to brave/adblock-rust@94b377c ? |
There's nothing in |
Basically there are different callstacks, probably could be analyzed one-by-one
https://brave.sp.backtrace.io/p/brave/explore?time=month&filters=((callstack.functions%2Ccontains%2Crust_panic)%2C_deleted%3D0%2Cptype%3Dbrowser%2C(ver%2Cregex%2C%2290%7C91.*%22))&aggregations=((ver%2Cmax)%2C(ver%2Cdistribution)%2C(callstack%2Chead))&
Example:
https://brave.sp.backtrace.io/p/brave/debug?time=month&filters=((callstack.functions%2Ccontains%2Crust_panic)%2C_deleted%3D0%2Cptype%3Dbrowser%2C(ver%2Cregex%2C%2290%7C91.*%22))&fingerprint=d6eeac72eb80cf38664434c8fbb7ea057a46338b6de65fc69194bfee0cda58d7&debug=(%22109a91f%22,0,0)
The text was updated successfully, but these errors were encountered: