-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Adding a particular filter list causes an indefinite crash #43170
Comments
The reason for the list to crash, is the generic procedural cosmetic The problem is you are making it generic, and that's something not even uBlock allows, you can read it here in the first point: https://github.com/gorhill/ublock/wiki/Procedural-cosmetic-filters#important It doesn't crash in uBlock, and doesn't give an error, but if you test a So make it specific or remove it. @antonok-edm in Brave the crash happens in Android and Desktop, because it is trying to parse it, and don't just ignore it as any invalid rule. The crash happens if you add it even as a custom rule, so no need for a list. Of course nobody should make generic procedural cosmetic rules, but of course if they do, it shouldn't cause a crash and just get discarded. |
Well, this is confusing, report an issue, I did the 'job' of reporting the exact issue, which means regardless of Brave's bug and crashing for trying to parse the rule, it can and should be easily fixed by removing a useless rule that does nothing anyway. But then OP doesn't even say a word, doesn't fix the list, but I guess it is more important to comment how Edge Canary can load uBlock on reddit. Awkward. I hope not many Brave users intend to use |
@TEMP-ad, as mentioned in the other issue, thank you for heads up and for figuring out what caused this issue in the first place. I do have a life, it's Christmas (Orthodox) time in my place, and I am not 24/7 by my computer since AdVoid filters need to be compiled, it's not just a simple text edit. The given rule was a part of the experimental filters but was promoted to the Core list by mistake. What also needs to be addressed is that Brave's adblocker as all other adblockers should ignore non-valid rules and not crash immediately (and indefinitely) when it stumbles upon one. And what's wrong with finding a browser trick and sharing it with the world? |
Description
Adding a particular ad-blocking filter list crashes the browser indefinitely.
Only tested on Android!
Steps to reproduce
Actual result
The browser will crash indefinitely and cannot be used unless the data is cleared and the browser is reset to its initial state.
Expected result
The browser should not crash and be able to use the given filter list.
Reproduces how often
Easily reproduced
Brave version
Reproducible on:
Device
Channel information
Reproducibility
Miscellaneous information
No response
The text was updated successfully, but these errors were encountered: