Adguard for Mac 1.4.1 in an endless crash loop

scrutinizer789

New Member
All of sudden started crashing on 10.7.5. When Wi-Fi is off I hit "Report" without writing anything it stops crashing followed by the notification "Protection is disabled" (all buttons turn red) but resumes doing so as soon as Wifi is switched on. Several times I saw the message "Adguard database is corrupted" or smth to the effect of that. All my actions I can remember before the crashes occurred were installing "DNS Checker" (the developer is DNS Checker) browser extension (Firefox Legacy 67) and cleaning 2 system database files troubleshooting location detection issue in /private/var/folders/zz/zyxvpxvq6csfxvn_n00000sm00006d/C folder.
The crash logs attached (redacted, personal info removed, the extensions changed to TXT). One of the files appears not to bear any connection to Adguard but the time stamp it was generated coincided with the latest crash.
What's going on?

Update. Crashes on Mavericks too.
 

Attachments

Last edited:

Chinaski

Quality Assurance
Staff member
Administrator
Moderator
Hello there!

Could you clarify why you're using version 1.4.1?
It was released back in 2017.
The current version is 2.3.2.
Try to install it and see if the problem repeats itself?
 

Pat M

New Member
Same problem here, running Mavericks.
Adguard 1.4.1 is crashing at every launch since yesterday and my system cannot install the newer Adguard 2.3.2.
Also, I cannot update the system as I need Mavericks (OSX 10.9.5) to run my video editing software.
 

scrutinizer789

New Member
I cannot run 2.3.2 on Lion and Mavericks unless you release a version compatible with either of them. All I know I had used it but now it falls down. Something's changed on whatever end (not mine, definitely) upon which the functionality of Adguard depends. What is that?
 
Last edited:

Chinaski

Quality Assurance
Staff member
Administrator
Moderator
The thing is that there were no changes in the old versions of the MAC application.
Perhaps you have installed some software that could break the correct filtering of the application?
For example, Antivirus or VPN services, maybe LittleSnitch?


You can try to find it and remove AdGuard from console.app
Also, you should reset your AdGuard settings to Default.
 

scrutinizer789

New Member
I never ever used any "security protection" software, nor do I use VPN, never needed firewall because an ISP already has it.

I can't reset my settings to default because I can't launch it. Crashes on launch.

You can try to find it and remove AdGuard colours from console.app
How do you mean it?
 
Last edited:

scrutinizer789

New Member
Have you read the logs I attached? It runs only when Wi-Fi is off. I remember resetting my network settings a couple of days before.
I wipped Adguard off using CLI
Code:
sudo find -Ex / -iregex '.*(com\.adguard.*(adguard)?.*|adguard(.*|\.app))' ! -iregex '.*(contents|resources|frameworks|tor\ browser|firefox|downloads|\.trash|safari|mail).*' -prune -exec sudo cp -R {} .Trash/ ";" -exec sudo rm -R {} ";"
I deleted every Adguard component installed on my system including those in the volume's library (kexts). I installed from scratch - no dice. Crashes when WiFi is on but not otherwise. What gives?
 
Last edited:

Chinaski

Quality Assurance
Staff member
Administrator
Moderator
At your request, we have made some corrections to AdGuard 1.4.1.
The application shouldn't break anymore.
If the protection is still not working you shold try to reinstall the AdGuard app.
 

scrutinizer789

New Member
Ok, now it doesn't crash but it has problems loading filters. First, when I launched it I selected 13 filters and got an endless spin. I quitted and completely uninstalled it. Reinstalled but now the scrolling view in the filters subscription pull-down window won't let me scroll. it only finds filters names of which I happen to remember either fully or partially by typing in the search field.

Lots of these messages in Console:

Code:
25/02/2020 01:09:32.073 Adguard: Unable to simultaneously satisfy constraints:
(
    "<NSLayoutConstraint:0x7fc6fe242d20 H:[NSTextField:0x7fc6fe246fb0(359)]>",
    "<NSLayoutConstraint:0x7fc6fe22ff40 H:|-(28)-[NSTextField:0x7fc6fe246fb0]   (Names: filterView:0x7fc6fe260230, '|':AAPrefAdBlockFilterView:0x7fc6fe260230 )>",
    "<NSLayoutConstraint:0x7fc6fe26bd20 H:[NSTextField:0x7fc6fe246fb0]-(10)-|   (Names: filterView:0x7fc6fe260230, '|':AAPrefAdBlockFilterView:0x7fc6fe260230 )>",
    "<NSAutoresizingMaskLayoutConstraint:0x7fc7168ecd80 h=--& v=-&- H:[filterView(389)]   (Names: filterView:0x7fc6fe260230 )>"
)

Will attempt to recover by breaking constraint 
<NSLayoutConstraint:0x7fc6fe242d20 H:[NSTextField:0x7fc6fe246fb0(359)]>

Set the NSUserDefault NSConstraintBasedLayoutVisualizeMutuallyExclusiveConstraints to YES to have -[NSWindow visualizeConstraints:] automatically called when this happens.  And/or, break on objc_exception_throw to catch this in the debugger.
And just now I got the alert "Failed to install filters" (some were installed by selecting one at a time).
 
Last edited:

Chinaski

Quality Assurance
Staff member
Administrator
Moderator
If your reset settings to the default value, the issue will not be reproduced any more?
Does it appear only when you enable a lot of filter rules at once?
 

scrutinizer789

New Member
If your reset settings to the default value, the issue will not be reproduced any more?
Does it appear only when you enable a lot of filter rules at once?
Yes, the latter caused Adguard to hang indefinitely updating filters, I quitted it and after re-launching it still was loading. I re-installed anew and only adding them one by one rectified the hangs. It now lets me scroll the filters list up and down. It caused the update informational dialog to get lost somewhere after hitting Check filters updates. Now everything's back on track, but adding new filters feels longer than before.
 
Top