package libcupt-perl tags 554620 + pending thanks James Vega wrote: > I just saw this again, and did not see any errors from Cupt. > Unfortunately, when I re-ran the update with debug::downloader=1 there > were no read failures. > Hi James, thanks for heads up. I had few similar failures since you filed that bug, but also with no change to reproduce it - very rare. By symptoms it looks like race condition, but since I use no threads in application (only forks and Unix sockets)...
Nevertheless today I decided to have another look and with high probability I found the reason finally - signal handler. Since the handler is being invoked asynchronously, it can cause pseudo-race-condition situation. So I wrote and committed a short patch, which, I believe, fixes this bug. If you, me or someone else will encounter this bug with version having this commit (af3577b) I will re-open the bug and look even more harder. -- Eugene V. Lyubimkin aka JackYF, JID: jackyf.devel(maildog)gmail.com C++/Perl developer, Debian Developer
signature.asc
Description: OpenPGP digital signature