shy-neon / favtool

An app that allows you to easily change icons of your favorite sites on Safari
353 stars 8 forks source link

App freezes on launch #12

Closed porcherie closed 1 year ago

porcherie commented 1 year ago

I'm on Ventura 13.2.1, MacBook Pro 16 M1 Pro After launching the app it freezes for few minutes Here the console log, maybe you can find something useful

default 15:26:25.631548+0100 com.apple.hiservices-xpcservice Requested application shy-neon.Favtool has policy OK, associated categories:DH1009 associated sites:(null) equivalent bundle identifiers:shy-neon.Favtool default 15:26:25.944933+0100 Favtool order window front conditionally: 75b related: 0 default 15:26:26.039808+0100 Favtool order window front conditionally: 75b related: 0 error 15:26:26.043545+0100 tccd TCCDProcess: identifier=shy-neon.Favtool, pid=7897, auid=501, euid=501, binary_path=/Applications/Favtool.app/Contents/MacOS/Favtool attempted to call TCCAccessRequest for kTCCServiceAccessibility without the recommended com.apple.private.tcc.manager.check-by-audit-token entitlement default 15:26:26.043668+0100 tccd AUTHREQ_ATTRIBUTION: msgID=7897.2, attribution={accessing={TCCDProcess: identifier=com.surteesstudios.Bartender, pid=849, auid=501, euid=501, binary_path=/Applications/Bartender 4.app/Contents/MacOS/Bartender 4}, requesting={TCCDProcess: identifier=shy-neon.Favtool, pid=7897, auid=501, euid=501, binary_path=/Applications/Favtool.app/Contents/MacOS/Favtool}, }, default 15:26:26.054107+0100 runningboardd Acquiring assertion targeting [app<application.shy-neon.Favtool.23232110.23232115(501)>:7897] from originator [osservice<com.apple.WindowServer(88)>:386] with description <RBSAssertionDescriptor| "AppVisible" ID:397-386-12476 target:7897 attributes:[ <RBSDomainAttribute| domain:"com.apple.appnap" name:"AppVisible" sourceEnvironment:"(null)">, <RBSAcquisitionCompletionAttribute| policy:AfterApplication> ]> default 15:26:26.054163+0100 runningboardd Assertion 397-386-12476 (target:[app<application.shy-neon.Favtool.23232110.23232115(501)>:7897]) will be created as active default 15:26:26.054579+0100 runningboardd [app<application.shy-neon.Favtool.23232110.23232115(501)>:7897] Ignoring jetsam update because this process is not memory-managed default 15:26:26.054593+0100 runningboardd [app<application.shy-neon.Favtool.23232110.23232115(501)>:7897] Ignoring suspend because this process is not lifecycle managed default 15:26:26.054604+0100 runningboardd [app<application.shy-neon.Favtool.23232110.23232115(501)>:7897] Ignoring GPU update because this process is not GPU managed default 15:26:26.054627+0100 runningboardd [app<application.shy-neon.Favtool.23232110.23232115(501)>:7897] Ignoring memory limit update because this process is not memory-managed default 15:26:26.054604+0100 runningboardd Calculated state for app<application.shy-neon.Favtool.23232110.23232115(501)>: running-active (role: UserInteractiveNonFocal) default 15:26:26.059092+0100 runningboardd Acquiring assertion targeting [app<application.shy-neon.Favtool.23232110.23232115(501)>:7897] from originator [osservice<com.apple.WindowServer(88)>:386] with description <RBSAssertionDescriptor| "AppDrawing" ID:397-386-12477 target:7897 attributes:[ <RBSDomainAttribute| domain:"com.apple.appnap" name:"AppDrawing" sourceEnvironment:"(null)">, <RBSAcquisitionCompletionAttribute| policy:AfterApplication> ]> default 15:26:26.059149+0100 runningboardd Assertion 397-386-12477 (target:[app<application.shy-neon.Favtool.23232110.23232115(501)>:7897]) will be created as active default 15:26:26.059469+0100 runningboardd Calculated state for app<application.shy-neon.Favtool.23232110.23232115(501)>: running-active (role: UserInteractiveNonFocal) default 15:26:26.059539+0100 runningboardd [app<application.shy-neon.Favtool.23232110.23232115(501)>:7897] Ignoring jetsam update because this process is not memory-managed default 15:26:26.059554+0100 runningboardd [app<application.shy-neon.Favtool.23232110.23232115(501)>:7897] Ignoring suspend because this process is not lifecycle managed default 15:26:26.059568+0100 runningboardd [app<application.shy-neon.Favtool.23232110.23232115(501)>:7897] Ignoring GPU update because this process is not GPU managed default 15:26:26.059591+0100 runningboardd [app<application.shy-neon.Favtool.23232110.23232115(501)>:7897] Ignoring memory limit update because this process is not memory-managed default 15:26:26.074227+0100 runningboardd Acquiring assertion targeting [app<application.shy-neon.Favtool.23232110.23232115(501)>:7897] from originator [osservice<com.apple.WindowServer(88)>:386] with description <RBSAssertionDescriptor| "FUSBProcessWindowState: visible" ID:397-386-12478 target:7897 attributes:[ <RBSDomainAttribute| domain:"com.apple.fuseboard" name:"Visible" sourceEnvironment:"(null)">, <RBSAcquisitionCompletionAttribute| policy:AfterApplication> ]> default 15:26:26.074291+0100 runningboardd Assertion 397-386-12478 (target:[app<application.shy-neon.Favtool.23232110.23232115(501)>:7897]) will be created as active default 15:26:26.074754+0100 runningboardd [app<application.shy-neon.Favtool.23232110.23232115(501)>:7897] Ignoring jetsam update because this process is not memory-managed default 15:26:26.074771+0100 runningboardd Calculated state for app<application.shy-neon.Favtool.23232110.23232115(501)>: running-active (role: UserInteractiveNonFocal) default 15:26:26.074825+0100 runningboardd [app<application.shy-neon.Favtool.23232110.23232115(501)>:7897] Ignoring suspend because this process is not lifecycle managed default 15:26:26.074986+0100 runningboardd [app<application.shy-neon.Favtool.23232110.23232115(501)>:7897] Ignoring GPU update because this process is not GPU managed default 15:26:26.075112+0100 runningboardd [app<application.shy-neon.Favtool.23232110.23232115(501)>:7897] Ignoring memory limit update because this process is not memory-managed default 15:26:26.524972+0100 loginwindow -[ProcessPanel initSortedProcesses] | foreground scan adding application: Favtool default 15:26:29.017472+0100 runningboardd Acquiring assertion targeting [app<application.shy-neon.Favtool.23232110.23232115(501)>:7897] from originator [osservice<com.apple.coreservices.launchservicesd>:357] with description <RBSAssertionDescriptor| "frontmost:7897" ID:397-357-12482 target:7897 attributes:[ <RBSDomainAttribute| domain:"com.apple.launchservicesd" name:"RoleUserInteractiveFocal" sourceEnvironment:"(null)"> ]> default 15:26:29.017654+0100 runningboardd Assertion 397-357-12482 (target:[app<application.shy-neon.Favtool.23232110.23232115(501)>:7897]) will be created as active default 15:26:29.019434+0100 runningboardd Acquiring assertion targeting [app<application.shy-neon.Favtool.23232110.23232115(501)>:7897] from originator [osservice<com.apple.WindowServer(88)>:386] with description <RBSAssertionDescriptor| "FUSBFrontmostProcess" ID:397-386-12483 target:7897 attributes:[ <RBSDomainAttribute| domain:"com.apple.fuseboard" name:"Frontmost" sourceEnvironment:"(null)">, <RBSAcquisitionCompletionAttribute| policy:AfterApplication> ]> default 15:26:29.019588+0100 runningboardd Assertion 397-386-12483 (target:[app<application.shy-neon.Favtool.23232110.23232115(501)>:7897]) will be created as active default 15:26:29.030213+0100 runningboardd Calculated state for app<application.shy-neon.Favtool.23232110.23232115(501)>: running-active (role: UserInteractiveFocal) default 15:26:29.030252+0100 runningboardd [app<application.shy-neon.Favtool.23232110.23232115(501)>:7897] Ignoring jetsam update because this process is not memory-managed error 15:26:29.030606+0100 tccd TCCDProcess: identifier=shy-neon.Favtool, pid=7897, auid=501, euid=501, binary_path=/Applications/Favtool.app/Contents/MacOS/Favtool attempted to call TCCAccessRequest for kTCCServiceAccessibility without the recommended com.apple.private.tcc.manager.check-by-audit-token entitlement default 15:26:29.030289+0100 runningboardd [app<application.shy-neon.Favtool.23232110.23232115(501)>:7897] Ignoring suspend because this process is not lifecycle managed default 15:26:29.030328+0100 runningboardd [app<application.shy-neon.Favtool.23232110.23232115(501)>:7897] Set darwin role to: UserInteractiveFocal default 15:26:29.031018+0100 tccd AUTHREQ_ATTRIBUTION: msgID=7897.3, attribution={accessing={TCCDProcess: identifier=com.crowdcafe.windowmagnet, pid=774, auid=501, euid=501, binary_path=/Applications/Magnet.app/Contents/MacOS/Magnet}, requesting={TCCDProcess: identifier=shy-neon.Favtool, pid=7897, auid=501, euid=501, binary_path=/Applications/Favtool.app/Contents/MacOS/Favtool}, }, default 15:26:29.030855+0100 runningboardd [app<application.shy-neon.Favtool.23232110.23232115(501)>:7897] Ignoring GPU update because this process is not GPU managed default 15:26:29.031048+0100 runningboardd Calculated state for app<application.shy-neon.Favtool.23232110.23232115(501)>: running-active (role: UserInteractiveFocal) default 15:26:29.031658+0100 runningboardd [app<application.shy-neon.Favtool.23232110.23232115(501)>:7897] Ignoring memory limit update because this process is not memory-managed default 15:26:29.033303+0100 runningboardd [app<application.shy-neon.Favtool.23232110.23232115(501)>:7897] Ignoring jetsam update because this process is not memory-managed default 15:26:29.033329+0100 runningboardd [app<application.shy-neon.Favtool.23232110.23232115(501)>:7897] Ignoring suspend because this process is not lifecycle managed default 15:26:29.033349+0100 runningboardd [app<application.shy-neon.Favtool.23232110.23232115(501)>:7897] Ignoring GPU update because this process is not GPU managed default 15:26:29.033382+0100 runningboardd [app<application.shy-neon.Favtool.23232110.23232115(501)>:7897] Ignoring memory limit update because this process is not memory-managed default 15:26:29.033675+0100 runningboardd Acquiring assertion targeting [app<application.shy-neon.Favtool.23232110.23232115(501)>:7897] from originator [osservice<com.apple.coreservices.launchservicesd>:357] with description <RBSAssertionDescriptor| "notification:7897" ID:397-357-12484 target:7897 attributes:[ <RBSDomainAttribute| domain:"com.apple.launchservicesd" name:"LSNotification" sourceEnvironment:"(null)"> ]> default 15:26:29.033931+0100 runningboardd Assertion 397-357-12484 (target:[app<application.shy-neon.Favtool.23232110.23232115(501)>:7897]) will be created as active default 15:26:29.036170+0100 runningboardd Calculated state for app<application.shy-neon.Favtool.23232110.23232115(501)>: running-active (role: UserInteractiveFocal) default 15:26:29.036115+0100 runningboardd [app<application.shy-neon.Favtool.23232110.23232115(501)>:7897] Ignoring jetsam update because this process is not memory-managed default 15:26:29.037645+0100 runningboardd [app<application.shy-neon.Favtool.23232110.23232115(501)>:7897] Ignoring suspend because this process is not lifecycle managed default 15:26:29.038336+0100 runningboardd [app<application.shy-neon.Favtool.23232110.23232115(501)>:7897] Ignoring GPU update because this process is not GPU managed default 15:26:29.038991+0100 runningboardd [app<application.shy-neon.Favtool.23232110.23232115(501)>:7897] Ignoring memory limit update because this process is not memory-managed default 15:26:34.794452+0100 runningboardd Invalidating assertion 397-386-12483 (target:[app<application.shy-neon.Favtool.23232110.23232115(501)>:7897]) from originator [osservice<com.apple.WindowServer(88)>:386] default 15:26:34.796868+0100 runningboardd Invalidating assertion 397-357-12482 (target:[app<application.shy-neon.Favtool.23232110.23232115(501)>:7897]) from originator [osservice<com.apple.coreservices.launchservicesd>:357] default 15:26:34.904416+0100 tccd AUTHREQ_ATTRIBUTION: msgID=386.498, attribution={accessing={TCCDProcess: identifier=shy-neon.Favtool, pid=7897, auid=501, euid=501, binary_path=/Applications/Favtool.app/Contents/MacOS/Favtool}, requesting={TCCDProcess: identifier=com.apple.WindowServer, pid=386, auid=88, euid=88, binary_path=/System/Library/PrivateFrameworks/SkyLight.framework/Versions/A/Resources/WindowServer}, }, default 15:26:34.904655+0100 tccd requestor: TCCDProcess: identifier=com.apple.WindowServer, pid=386, auid=88, euid=88, binary_path=/System/Library/PrivateFrameworks/SkyLight.framework/Versions/A/Resources/WindowServer is checking access for accessor TCCDProcess: identifier=shy-neon.Favtool, pid=7897, auid=501, euid=501, binary_path=/Applications/Favtool.app/Contents/MacOS/Favtool default 15:26:34.909184+0100 tccd AUTHREQ_SUBJECT: msgID=386.498, subject=shy-neon.Favtool, default 15:26:34.911366+0100 tccd -[TCCDAccessIdentity staticCode]: static code for: identifier shy-neon.Favtool, type: 0: 0x1238c65a0 at /Applications/Favtool.app default 15:26:34.923058+0100 runningboardd Calculated state for app<application.shy-neon.Favtool.23232110.23232115(501)>: running-active (role: UserInteractiveNonFocal) default 15:26:34.923079+0100 runningboardd [app<application.shy-neon.Favtool.23232110.23232115(501)>:7897] Ignoring jetsam update because this process is not memory-managed default 15:26:34.923197+0100 runningboardd [app<application.shy-neon.Favtool.23232110.23232115(501)>:7897] Ignoring suspend because this process is not lifecycle managed default 15:26:34.923345+0100 runningboardd [app<application.shy-neon.Favtool.23232110.23232115(501)>:7897] Set darwin role to: UserInteractiveNonFocal default 15:26:34.923444+0100 runningboardd [app<application.shy-neon.Favtool.23232110.23232115(501)>:7897] Ignoring GPU update because this process is not GPU managed default 15:26:34.923615+0100 runningboardd [app<application.shy-neon.Favtool.23232110.23232115(501)>:7897] Ignoring memory limit update because this process is not memory-managed default 15:26:34.927417+0100 runningboardd Assertion did invalidate due to timeout: 397-357-12484 (target:[app<application.shy-neon.Favtool.23232110.23232115(501)>:7897]) default 15:26:35.141345+0100 runningboardd [app<application.shy-neon.Favtool.23232110.23232115(501)>:7897] Ignoring jetsam update because this process is not memory-managed default 15:26:35.141375+0100 runningboardd [app<application.shy-neon.Favtool.23232110.23232115(501)>:7897] Ignoring suspend because this process is not lifecycle managed default 15:26:35.141402+0100 runningboardd [app<application.shy-neon.Favtool.23232110.23232115(501)>:7897] Ignoring GPU update because this process is not GPU managed default 15:26:35.141448+0100 runningboardd [app<application.shy-neon.Favtool.23232110.23232115(501)>:7897] Ignoring memory limit update because this process is not memory-managed default 15:26:35.141499+0100 runningboardd Calculated state for app<application.shy-neon.Favtool.23232110.23232115(501)>: running-active (role: UserInteractiveNonFocal) default 15:26:37.031517+0100 Favtool LSExceptions shared instance invalidated for timeout. default 15:27:15.916894+0100 runningboardd Acquiring assertion targeting [app<application.shy-neon.Favtool.23232110.23232115(501)>:7897] from originator [app<application.shy-neon.Favtool.23232110.23232115(501)>:7897] with description <RBSAssertionDescriptor| "AppNap adapter assertion" ID:397-7897-12512 target:7897 attributes:[ <RBSAcquisitionCompletionAttribute| policy:AfterApplication>, <RBSDomainAttribute| domain:"com.apple.appnap" name:"Enable" sourceEnvironment:"(null)">, <RBSDomainAttribute| domain:"com.apple.appnap" name:"PreventTimerThrottleTier4" sourceEnvironment:"(null)"> ]> default 15:27:15.916990+0100 runningboardd Assertion 397-7897-12512 (target:[app<application.shy-neon.Favtool.23232110.23232115(501)>:7897]) will be created as active default 15:27:15.920646+0100 runningboardd [app<application.shy-neon.Favtool.23232110.23232115(501)>:7897] Ignoring jetsam update because this process is not memory-managed default 15:27:15.920731+0100 runningboardd [app<application.shy-neon.Favtool.23232110.23232115(501)>:7897] Ignoring suspend because this process is not lifecycle managed default 15:27:15.920800+0100 runningboardd [app<application.shy-neon.Favtool.23232110.23232115(501)>:7897] Ignoring GPU update because this process is not GPU managed default 15:27:15.920944+0100 runningboardd [app<application.shy-neon.Favtool.23232110.23232115(501)>:7897] Ignoring memory limit update because this process is not memory-managed default 15:27:15.921291+0100 runningboardd Calculated state for app<application.shy-neon.Favtool.23232110.23232115(501)>: running-active (role: UserInteractiveNonFocal) default 15:27:15.924942+0100 runningboardd Invalidating assertion 397-7897-12406 (target:[app<application.shy-neon.Favtool.23232110.23232115(501)>:7897]) from originator [app<application.shy-neon.Favtool.23232110.23232115(501)>:7897] default 15:27:15.928416+0100 runningboardd Invalidating assertion 397-386-12477 (target:[app<application.shy-neon.Favtool.23232110.23232115(501)>:7897]) from originator [osservice<com.apple.WindowServer(88)>:386] default 15:27:16.079561+0100 runningboardd [app<application.shy-neon.Favtool.23232110.23232115(501)>:7897] Ignoring jetsam update because this process is not memory-managed default 15:27:16.079596+0100 runningboardd [app<application.shy-neon.Favtool.23232110.23232115(501)>:7897] Ignoring suspend because this process is not lifecycle managed default 15:27:16.079653+0100 runningboardd [app<application.shy-neon.Favtool.23232110.23232115(501)>:7897] Ignoring GPU update because this process is not GPU managed default 15:27:16.079812+0100 runningboardd [app<application.shy-neon.Favtool.23232110.23232115(501)>:7897] Ignoring memory limit update because this process is not memory-managed default 15:27:16.079926+0100 runningboardd [app<application.shy-neon.Favtool.23232110.23232115(501)>:7897] Set AppNap state: <RBMutableProcessAppNapState|0x1446a16e0 enabled:Y active:Y socket:Y disk:Y priority:Y cpu:Y timer:Tier4> default 15:27:16.080615+0100 runningboardd Calculated state for app<application.shy-neon.Favtool.23232110.23232115(501)>: running-active (role: UserInteractiveNonFocal)

maxbesser commented 1 year ago

Same issue. Launched successfully the first time and asked me to allow access. Upon relaunching app it now is frozen on launch.

shy-neon commented 1 year ago

Hi guys, I spent hours trying to make this freeze on launch, but no luck yet. However I noticed that it tends to be quite slower when a lot of sites are present on the list (if you have many fav or many items on the reading list). If you think this is the case, try to Empty safari's cache. Go in safari's preferences: in "advanced" the tick "Show Develop menu in menu bar" then, on the menu bar Develop>Empty cache (all your favs and reading list will be fine afterwards, don't worry) (full guide: https://www.macrumors.com/how-to/clear-safari-cache/) let's cross our fingers and restart Favtool.

PS: close and restart safari and wait a few seconds

shy-neon commented 1 year ago

@porcherie did it work? I saw a notification from github with your reply but it disappeard.

ElianIsac commented 1 year ago

I also have this issue. Just like maxbesser said, it starts up and asks for permissions. After restart it is frozen in dock and not responding.

shy-neon commented 1 year ago

Do you think you have a lot of favorite sites? also did you tried to clean safari's cache as I've explained in the third comment? Any feedback would be appreciated!

shy-neon commented 1 year ago

The problem was related with a library that manage the parsing of the domain. Updated and solved.