minidlnad hangs on one specific file
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
minidlna (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
I have two server serving as upnp and samba storages in my network. After update to 14.04 I got both minidlnad's on both servers hanging on the same specific file.
root@server:~# ps ax | grep minidlna
4536 ? Ss 0:00 /usr/bin/minidlnad -f /etc/minidlna.conf -P /run/minidlna/
4541 ? RN 92:20 /usr/bin/minidlnad -f /etc/minidlna.conf -P /run/minidlna/
8814 pts/0 S+ 0:00 grep --color=auto minidlna
root@server:~# ls -l /proc/4541/fd
total 0
lrwx------ 1 minidlna minidlna 64 Jun 4 10:32 0 -> /dev/null
lrwx------ 1 minidlna minidlna 64 Jun 4 10:32 1 -> /dev/null
lrwx------ 1 minidlna minidlna 64 Jun 4 10:32 2 -> /dev/null
l-wx------ 1 minidlna minidlna 64 Jun 4 10:32 3 -> /var/log/
lrwx------ 1 minidlna minidlna 64 Jun 4 10:32 4 -> /var/cache/
lrwx------ 1 minidlna minidlna 64 Jun 4 10:32 5 -> /var/cache/
lr-x------ 1 minidlna minidlna 64 Jun 4 10:32 6 -> /***/share/
Same behavior on both servers and one the same file. In this state minidlnad consumes 100% of one CPU core.
If required I can upload the mkv-file somewhere.
PS: The very important disadvantage of this bug is that scan is never complete.
Same problem here with minidlna 1.1.2 (Ubuntu 14.04 LTS) and minidlna 1.1.4 (last one compiled from source)
Applying Andriy's procedure (thanks to him !), I found the file which hanged. Removing the file and restarting minidlna, it gets fine.