Deadlock avoided on Tahoe

Get help. Get answers. Let others lend you a hand.

Moderator: Mr_Noodle

Deadlock avoided on Tahoe Thu Sep 18, 2025 6:05 pm • by LeeBoris
Hello,

I am updated to Tahoe yesterday and Hazel 6.0.4 has stopped working on an iCloud to NAS rule. A rule that has been error free for months so I assume it is a Tahoe problem, but in case you need bug reports I figured I would post.

Rule runs on an iCloud folder and renames moves any files there to a NAS folder (Synology). The error is "The operation couldn't be completed. Resource Deadlock Avoided."

Log file below.

Thanks,
Lee

Log 2025-09-18 14:47:40.242 hazelworker[26327] 2025-09-18 New Scan-2.pdf: Rule Move to NAS matched.
2025-09-18 14:47:40.246 hazelworker[26327] [File Event] File renamed: /Users/lee/Library/Mobile Documents/com~apple~CloudDocs/Weekly receipts/2025-09-18 New Scan-2.pdf renamed to /Users/lee/Library/Mobile Documents/com~apple~CloudDocs/Weekly receipts/2025-09-18 New Scan-1.pdf.
2025-09-18 14:47:40.257 hazelworker[26327] Error moving file from /Users/lee/Library/Mobile Documents/com~apple~CloudDocs/Weekly receipts/2025-09-18 New Scan-1.pdf to /Users/lee/Library/CloudStorage/SynologyDrive-MyDrive/Receipts/2025-09-18 New Scan-1.pdf: Error Domain=NSPOSIXErrorDomain Code=11 "Resource deadlock avoided"
2025-09-18 14:47:40.257 hazelworker[26327] [Error] Move failed: Could not move file 2025-09-18 New Scan-1.pdf from folder /Users/lee/Library/Mobile Documents/com~apple~CloudDocs/Weekly receipts to folder /Users/lee/Library/CloudStorage/SynologyDrive-MyDrive/Receipts/2025-09-18 New Scan-1.pdf.
2025-09-18 14:47:48.345 hazelworker[26327] 2025-09-18 New Scan-1.pdf: Rule Move to NAS matched.
2025-09-18 14:47:48.353 hazelworker[26327] [File Event] File renamed: /Users/lee/Library/Mobile Documents/com~apple~CloudDocs/Weekly receipts/2025-09-18 New Scan-1.pdf renamed to /Users/lee/Library/Mobile Documents/com~apple~CloudDocs/Weekly receipts/2025-09-18 New Scan-2.pdf.
2025-09-18 14:47:48.365 hazelworker[26327] Error moving file from /Users/lee/Library/Mobile Documents/com~apple~CloudDocs/Weekly receipts/2025-09-18 New Scan-2.pdf to /Users/lee/Library/CloudStorage/SynologyDrive-MyDrive/Receipts/2025-09-18 New Scan-2.pdf: Error Domain=NSPOSIXErrorDomain Code=11 "Resource deadlock avoided"
2025-09-18 14:47:48.365 hazelworker[26327] [Error] Move failed: Could not move file 2025-09-18 New Scan-2.pdf from folder /Users/lee/Library/Mobile Documents/com~apple~CloudDocs/Weekly receipts to folder /Users/lee/Library/CloudStorage/SynologyDrive-MyDrive/Receipts/2025-09-18 New Scan-2.pdf.
LeeBoris
 
Posts: 3
Joined: Thu Sep 18, 2025 5:52 pm

Re: Deadlock avoided on Tahoe Fri Sep 19, 2025 9:06 am • by Mr_Noodle
Unfortunately, that is a generic error provided by cloud storage plugins. Are you able to do the same operation manually in Finder?
Mr_Noodle
Site Admin
 
Posts: 12027
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Re: Deadlock avoided on Tahoe Fri Sep 19, 2025 9:28 am • by LeeBoris
Yes, I can do it manually. NAS and iCloud are both working fine as far as I can tell, I have been able to move files, etc as normal.
LeeBoris
 
Posts: 3
Joined: Thu Sep 18, 2025 5:52 pm

Re: Deadlock avoided on Tahoe Mon Sep 22, 2025 8:53 am • by Mr_Noodle
Try experimenting with using a local drive at either the source or destination to help isolate where the problem lies. If you have access to other cloud services (e.g. Dropbox) see if you get similar results there.
Mr_Noodle
Site Admin
 
Posts: 12027
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Re: Deadlock avoided on Tahoe Thu Sep 25, 2025 10:33 am • by LeeBoris
Sorry for the delay. It is working with all other rules, except files located on iCloud Drive.

It will move files to iCloud Drive though, just not off of iCloud Drive. I will see what else it will not do.
LeeBoris
 
Posts: 3
Joined: Thu Sep 18, 2025 5:52 pm

Re: Deadlock avoided on Tahoe Sun Sep 28, 2025 12:03 pm • by carbonara
I have got the very same Probleme here. I cannot move or copy files from iCloud anymore. Worked fine before with Sequoia.

2025-09-28 17:54:54.314 hazelworker[19161] Error copying file from /Users/username/Library/Mobile Documents/iCloud~net~doo~scanbot/Documents/z2025-06-11 17-46-34-pdf.pdf to /Users/username/SwiftScan - lokal/z2025-06-11 17-46-34-pdf.pdf: Error Domain=NSPOSIXErrorDomain Code=11 "Resource deadlock avoided"

I have tried to spilt the Hazel rules into two rules. The first is doing a rename, which still works fine.

What makes me wonder is that it wants to use the documents folder, but my documents folder is not in iCloud, and the folder it shall move it is not within the local documents folder.
carbonara
 
Posts: 1
Joined: Sun Sep 28, 2025 11:51 am

Re: Deadlock avoided on Tahoe Mon Sep 29, 2025 9:52 am • by Mr_Noodle
Did you give Hazel full disk access?
Mr_Noodle
Site Admin
 
Posts: 12027
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City


Return to Support