That isnt the issue, but I have found something else that maybe causing the problem, a debug log showing the problem occurring would be useful if you have a chance.[/quote]
That’s good news!
I don’t have a debug log yet. I’m running a session of 22 000+ files now, already going 20+ hours, I really didn’t want to slow that down or risk a hang with that many files :). The error only occured 25 times in 10 000 files so it really is a rare bug. I don’t actually have multiple CPU’s, but I do have Hyperthreading activated, which the OS (both Windows and Linux) will treat as if they were 2 CPU’s. I do have some more output (different error messages but I’m pretty sure they’re caused by the same problem):
24/06/2007 19.46.35:WARNING: Unable to create Puid for:2556:null
[Fatal Error] :1:20: XML document structures must start and end within the same entity.
24/06/2007 19.55.24:WARNING: Unable to create Puid for:2997:null
[Fatal Error] :-1:-1: Premature end of file.
24/06/2007 19.57.38:WARNING: Unable to create Puid for:3132:null
[Fatal Error] :-1:-1: Premature end of file.
24/06/2007 19.57.49:WARNING: Unable to create Puid for:3135:null
[Fatal Error] :1:20: XML document structures must start and end within the same entity.
24/06/2007 19.57.56:WARNING: Unable to create Puid for:3136:null
[Fatal Error] :-1:-1: Premature end of file.
24/06/2007 20.04.30:WARNING: Unable to create Puid for:3505:null
[Fatal Error] :1:20: XML document structures must start and end within the same entity.
24/06/2007 20.08.34:WARNING: Unable to create Puid for:3741:null
[Fatal Error] :-1:-1: Premature end of file.
This shows that it’s really a problem with recording of the output of genpuid. Since I doubt the problem is in the output itself, it might be caused by processing the output before it’s entirely finished (i.e. it still has to write “npuid>” or something)?
If you need me to beta-test a possible bugfix, let me know. 