Connecting to the root of another Mac via SMB3 protocol results in client hanging indefinitely at shutdown or restart
I am experiencing a bug that causes an endless spinning / spinner hang at restart or shut down if I have EVER connected to another Mac via SMB (cmd+K, smb://foo/bar) during that session
▪︎ The critical difference seems to be SMB3.0 -- SMB2 or CIFS mounts do not trigger the bug
▪︎ If you simply CONNECT but do not actually attach to any shares, the bug will not manifest
▪︎ Disconnecting the share before restarting does NOT fix the problem
▪︎ Starting up in SAFE MODE (holding shift) does NOT avoid the problem
Steps to Reproduce:
1. Connect from Mac1 (running ElCap 10.11.x) to Mac2 (also running ElCap 10.11.x) via smb://mac2/share
2. Authenticate as a user on Mac2 that has permissions to the "root" of the hard drive
3. Mount the root hard drive
4. Browse to the /Applications folder of Mac2 (from the Mac1 client). The Finder will "spin" for a while while all of these files are enumerated. Wait for the list of app icons to appear.
5. Try to restart Mac1
Mac should restart cleanly
Screen turns black with a white "spinner" in the middle, which will stay there until the end of time. I have left it there for 8+ hours (overnight) and it never stops. The only way out at this point it to hold down the power button until the Mac shuts off. This can potentially corrupt the filesystem. NEW in 10.12.x: Sometimes the "spinner" does not appear and you are simply left on a black screen forever (hang).
Tested & reproduced with OS X 10.11.1, 10.11.2, 10.11.3, 10.11.4, 10.11.5, 10.11.6, 10.12, and 10.12.1
I have attached some packet captures that were taken during this hang event as requested by Apple Support on the previous ticket #23684301
I have other SMB3.0 servers (Synology NAS, Windows 2012 server) and connecting to those does NOT cause the bug to trigger. It only seems to happen when connecting to another MAC. I even reproduced this in a Parallels Virtual Machine -- 100% CLEAN INSTALL of 10.11.6 not a single thing done to it.
Reports posted here will not necessarily be seen by Apple.
All problems should be submitted at bugreport.apple.com before they are posted here.
Please only post information for Radars that you have filed yourself, and please do
not include Apple confidential information in your posts. Thank you!