[Clam-devel] SMSBatch bug: too much opened files.

Xavier Amatriain xavier at create.ucsb.edu
Thu Mar 29 10:11:39 PDT 2007

Wow 1300 xml files! Are you guys working on the speech synthesizer?

Thanks for the patch!

On Thu, 2007-03-29 at 19:10 +0200, Giulio Paci wrote:
> Hi,
>     sometime ago we have found a bug in SMSBatch.
> The problem was that when runningSMSBatch in a directory with
> about 1300 xml files and performing analysis it crashed reporting
> "Too much opened files".
> We have found that the problem arises when storing SDIF files. Here is a
> patch
> that fixes the problem and maybe others.
> I don't like too much this patch, 'cause it hides bad programming, but
> it helps
> in avoiding two open on the same file. Maybe File should launch an exception
> when trying to open a file without closing a previouvs opened file?
> Anyway, here is the patch. :)
> Giulio.
> _______________________________________________
> Clam-devel mailing list
> Clam-devel at llistes.projectes.lafarga.org
> https://llistes.projectes.lafarga.org/cgi-bin/mailman/listinfo/clam-devel

More information about the clam-devel mailing list