Skip to content

Fails to compile rules (rule list parsing error) #1163

@Shnub

Description

@Shnub

Please answer the following questions for yourself before submitting an issue.

  • I am running the latest version
  • I made sure all content blockers are enabled in Safari settings
  • I checked the documentation and found no answer
  • I checked to make sure that this issue has not already been filed

AdGuard version

2.0.4.942

Environment

- OS: Sequoia 15.7.3
- Safari version: 26.2

Issue Details

After updating from AdGuard for Safari to AdGuard Mini in the App Store, the app seems to completely fail to compile any rules. It states under Settings > Safari Extensions (for all extensions):

Image

The state.txt file (attached) reports:

Last error: E: (SafariExtensionManagerImpl: reloadContentBlocker(_:)) Error when reloading the content blocker general: unknown(Error Domain=WKErrorDomain Code=6 "(null)" UserInfo={NSHelpAnchor=Rule list parsing failed: Domains must be lower case ASCII. Use punycode to encode non-ASCII characters.})

Indeed I can observe in Activity Monitor that the com.apple.Safari.ContentBlockerLoader process doesn't become active (i.e. jumps to ~ 100 % CPU utilization) after enabling/disabling or changing blocking or element hiding rules. This used to work fine before the update, which I know because I routinely monitor com.apple.Safari.ContentBlockerLoader after changing user rules so I know when my changes have actually been applied in Safari.

Reinstalling the app, disabling and re-enabling all extensions in Safari and restarting Safari didn't help (unsurprisingly if there is a rule list parsing issue). Removing AdGuard Mini and reinstalling the latest version of AdGuard for Safari (1.11.24) restores normal operation.

In this condition, AdGuard Mini is basically useless, as no ad blocking occurs at all.

(Other logs not attached for privacy reasons.)

state.txt

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions