bug in LibraryHelper
hello
I have my media directory mounted via cifs on Linux, only about 900 out of 10000 of my files were registering.
I turned on all the logging, reinstalled and got nowhere
eventually I attached the debugger and I can see LibraryHelper.waitForFileToBeCompleteUsingLock is stuck looping on one file which returns access denied when opened:
$ strace cat "/srv/videos/abc.mkv"
openat(AT_FDCWD, "/srv/videos/abc.mkv", O_RDONLY) = -1 EACCES (Permission denied)
serviio is looping forever trying to re-open that file, java seems to return FileNotFoundException for EACCESS
easy enough for me to fix but I thought you'd like to know
I have my media directory mounted via cifs on Linux, only about 900 out of 10000 of my files were registering.
I turned on all the logging, reinstalled and got nowhere
eventually I attached the debugger and I can see LibraryHelper.waitForFileToBeCompleteUsingLock is stuck looping on one file which returns access denied when opened:
$ strace cat "/srv/videos/abc.mkv"
openat(AT_FDCWD, "/srv/videos/abc.mkv", O_RDONLY) = -1 EACCES (Permission denied)
serviio is looping forever trying to re-open that file, java seems to return FileNotFoundException for EACCESS
easy enough for me to fix but I thought you'd like to know