https://bugs.winehq.org/show_bug.cgi?id=47169
--- Comment #15 from Erich E. Hoover erich.e.hoover@gmail.com --- (In reply to TOM from comment #14)
... yes, change back to lstat, issue occur again.
Great, try replacing it with this: { int ret = lstat( fd->unix_name, &st ); if (ret == -1) fprintf(stderr, "'%s' '%s' %m\n", name, fd->unix_name); } and then run it and see what gets printed out. I am very curious as to what is happening here, since the exact cause will dictate the appropriate fix.