We are getting coredumps in getpeerbyname early in smb_process. I don't believe this is even really that unusual a condition, because of the fact that Wibdows XP will try to establish connections on both port 139 and 445, and close the one that comes back slower.
I'd expect this code to be hit occasionally, and I'd in fact support backing off the level of the DEBUG messages in this area because I believe they'll alarm users unnecessarily.
Proposed patch enclosed, without changing the DEBUG levels.
Created attachment 5813 [details]
Pushed to master - will be in 3.6.0.