Hello everybody,
I have found an odd problem during long testing of our device, that suddenly starts misbehaving after several hours of use.
What happened is: A client opens a device based on the jack plugin for reading, and keeps reading from it. After 10 hours 55 minutes, the snd_pcm_readi() functions starts to report data to be always available for read, and makes the reader use all the cpu it can.
My patch will follow shortly, please tell me what you think of it.
Best regards, Luciano
-- Luciano Montanaro EntryNAV - Audio Software Integrator Magneti Marelli Electronic Systems Viale Carlo Emanuele II 150, Venaria Reale (To) Tel. (+39) 011 6879765
VISITA IL NOSTRO NUOVO SITO WEB! - VISIT OUR NEW WEB SITE! www.magnetimarelli.com
Confidential Notice: This message - including its attachments - may contain proprietary, confidential and/or legally protected information and is intended solely for the use of the designated addressee(s) above. If you are not the intended recipient be aware that any downloading, copying, disclosure, distribution or use of the contents of the above information is strictly prohibited. If you have received this communication by mistake, please forward the message back to the sender at the email address above, delete the message from all mailboxes and any other electronic storage medium and destroy all copies. Disclaimer Notice: Internet communications cannot be guaranteed to be safe or error-free. Therefore we do not assure that this message is complete or accurate and we do not accept liability for any errors or omissions in the contents of this message.