Sundtek Support Forum

English => Sundtek MediaTV Pro (Europe) => Thema gestartet von: Absilion am Oktober 25, 2012, 12:07:07 Nachmittag

Titel: [Bug report] 100% CPU when the device is unplugged
Beitrag von: Absilion am Oktober 25, 2012, 12:07:07 Nachmittag
When the USB DVB device is unplugged while a process is reading from the device file, the read() syscall blocks and the process consumes 100% CPU.

This can be reproduced by reading with the cat or mediaclient --cat comamnds as described in the sundtek wiki: http://wiki.sundtek.de/index.php/Mediaclient#Receiving_Full_Transponder

Linux kernel: 3.0.1
Sundtek driver: 121008.171453
Titel: Re:[Bug report] 100% CPU when the device is unplugged
Beitrag von: Sundtek am Oktober 25, 2012, 12:56:24 Nachmittag
Thanks for reporting this, I think there was some purpose on doing that in the past however the driver is updated and read() will exit when the device got unplugged.