AdGuardMiniForMac icon indicating copy to clipboard operation
AdGuardMiniForMac copied to clipboard

AdvancedBlocking (CoreFoundation) error

Open mrlife opened this issue 4 years ago • 18 comments

The following error occurs regularly and causes the page not to load after typing something in the Safari address/search bar and hitting enter.

Couldn't read values in CFPrefsPlistSource<0x1370a7af0> (Domain: TC3Q7MAJXF.com.adguard.safari.AdGuard, User: kCFPreferencesAnyUser, ByHost: Yes, Container: (null), Contents Need Refresh: Yes): Using kCFPreferencesAnyUser with a container is only allowed for System Containers, detaching from cfprefsd

To reproduce:

  1. Enable AdGuard for Safari extensions
  2. Open a new tab
  3. Enter text into address/search bar and press enter
  4. Repeat steps 2-3, if needed, until issue presents

Version 1.11.4

mrlife avatar May 26 '22 15:05 mrlife

@mrlife Hi! Please share the app logs. Here's what we need you to do:

  1. Make sure all Safari content blockers are enabled;
  2. Reproduce the issue and remember the exact time when it happened;
  3. Open the extension settings --> Export logs and system info;
  4. Send the archive to [email protected] and mention this issue number in the subject.

Birbber avatar Jun 10 '22 15:06 Birbber

@mrlife We've released a new version - 1.11.5. Please check if the issue still reproducible.

Birbber avatar Jun 28 '22 12:06 Birbber

Closing this issue due to no reply. Please re-open if needed.

Birbber avatar Jun 30 '22 14:06 Birbber

@Birbber Hey, I updated to 1.11.6 and still see the issue.

mrlife avatar Jul 02 '22 01:07 mrlife

Possible to reopen? I don’t think I have the permission to do it.

mrlife avatar Jul 05 '22 18:07 mrlife

@mrlife Let's try to find the root of the issue. It would be really helpful if you could collect the app logs and send it to our developers.

Please follow this steps:

  1. Make sure all Safari content blockers are enabled;
  2. Reproduce the issue and remember the exact time when it happened;
  3. Open the extension settings --> Export logs and system info;
  4. Send the archive to [email protected] and mention this issue number in the subject.

Versty avatar Jul 06 '22 13:07 Versty

Hi @Versty, I sent those in on 6/21/2022.

mrlife avatar Jul 06 '22 15:07 mrlife

@mrlife Yes, we found your logs. Thank you! We apologize for the inconvenience. We would like to take some time to examine it and I'll be back with a solution as soon as possible.

Versty avatar Jul 06 '22 16:07 Versty

@mrlife This issue in progress right now. Could you provide more info about:

  • The version of macOS you're using
  • Extension settings (attach screenshots if possible)
  • Where was this info located? (Console or something else) Couldn't read values in CFPrefsPlistSource<0x1370a7af0> (Domain: TC3Q7MAJXF.com.adguard.safari.AdGuard, User: kCFPreferencesAnyUser, ByHost: Yes, Container: (null), Contents Need Refresh: Yes): Using kCFPreferencesAnyUser with a container is only allowed for System Containers, detaching from cfprefsd
  • Have you experienced the app crashes?

Versty avatar Jul 06 '22 17:07 Versty

@Versty Sure, here is the info:

  • macOS 12.4
  • Are there specific pages I can screenshot for you?
  • I can't remember which log it was, but here is another user that reported the same error, if that helps at all in identifying the location the error came from: https://github.com/AdguardTeam/AdGuardForSafari/issues/525#issuecomment-796680976
  • No app crashes, just the error

mrlife avatar Jul 06 '22 20:07 mrlife

@mrlife Alright, please take a screenshots of an entire General and Filters tabs.

Versty avatar Jul 07 '22 13:07 Versty

@mrlife Alright, please take a screenshots of an entire General and Filters tabs.

@Versty Thanks, I sent them in as a followup to the first email.

mrlife avatar Jul 10 '22 18:07 mrlife

@mrlife Hi, screenshots received. I've tried to repeat all the steps from your description with the same settings, but everything works fine for me. Despite this fact we continue to look for the reason of the uncommon behaviour. May I ask you to send logs one more time from 1.11.6 version if the issue still reproducible?

Also specify the version of Safari you are using, please. You can find the version information by following the path: Safari -> About Safari

Versty avatar Jul 14 '22 14:07 Versty

@mrlife ping

Versty avatar Jul 20 '22 07:07 Versty

Hi @Versty, I'm not seeing anything different with the new logs. I'm trying to find out where exactly I found the Couldn't read values in CFPrefsPlistSource<0x1370a7af0> error. I asked the other user that referenced a similar error in the other GitHub issue but haven't heard back. Did you find out where that kind of error is logged?

I'm wondering if the issue could be interaction with another extension or if it's just AdGuard.

mrlife avatar Jul 22 '22 15:07 mrlife

@mrlife We examined your logs and have not found any errors. You can make a clean installation, probably it would help.

Follow the steps below to fully uninstall AdGuard for Safari:

  1. Uncheck all AdGuard for Safari extensions in Safari -> Preferences -> Extensions (if available)
  2. Open Finder and press Shift+Command+G
    • Remove AdGuardSafariApp folder from ~/Library/Application Support directory
    • Remove from ~/Library/Application Scripts - all directories started with com.adguard.safari
    • Remove from ~/Library/Containers - all directories started with AdGuard-
    • Remove TC3Q7MAJXF.com.adguard.safari.AdGuard folder from ~/Library/GroupContainers directory
    • Remove com.adguard.safari.AdGuard.plist from ~/Library/Preferences
  3. Open Activity Monitor and force quit all "cfprefsd" processes
  4. Remove AdGuard for Safari from Applications

Versty avatar Aug 11 '22 14:08 Versty

@mrlife Has a clean installation resolved this issue?

Versty avatar Dec 20 '22 14:12 Versty

@Versty Hey, thanks for following up about this. I haven't seen the issue an a while and think it may have been something with Safari Tab Groups interfering.

mrlife avatar Dec 20 '22 14:12 mrlife