<br><br><div><span class="gmail_quote">On 25/05/07, <b class="gmail_sendername">Nix</b> <<a href="mailto:nix@esperi.org.uk">nix@esperi.org.uk</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On 25 May 2007, Peter Childs stated:<br>> I have 3 Ubuntu 7.04 machines and a postscript file I wish to convert to pdf<br>> using ps2pdf.<br>><br>> 2 of them work fine the 3rd freezes and I'm not sure why.
<br><br>Identical GS versions?</blockquote><div><br><br>Yes both freshly updated versions of Ubuntu.<br> </div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
> ps2pdf on the 3rd machine actually complete eventually after about 50 secs,<br>> but the machine has to swap heavely. This machine has 1G of memory (the<br>> other two where it runs ok have 1/2G and 1/4G and takes just under 1secs
<br>> acording to time)<br><br>If the GS versions are identical, it's probably a bug somewhere. If they're<br>not, it might be an improvement.</blockquote><div><br><br>I'm thinking a bug but that does not make sense either, 
<br> </div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">> I'm wondering if the problem could be libraries or some ghost script option
<br>> but I'm at a loss to know where to look.<br><br>A GS bug looks likely.<br><br>> I can get simular problem when printing pdf files using cups on this<br>> computer (but not on the other two)<br>> so I think the problem is with ghostscript. As gs 
file.pdf freezes on this<br>> machine too.<br><br>Owwww. Any PDF file, or just that one?</blockquote><div><br><br>Well not any but quite a common subset. Files I've seen take a very long time (its not really a freeze) include files produced by hylafax not just our invoices.
<br> </div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">> oh ps2pdf just calls gs with the correct switches from what I can work out.
<br><br>Yes.<br><br>> all 3 machines are using gs-esd.<br><br>Do you mean ESP Ghostscript? That might explain it: espgs is based on a<br>really rather old GPL Ghostscript release, following which there have<br>been *substantial* bugfixes and improvement in PDF handling.
<br><br>You probably want to try the latest AFPL release, 8.57.<br><br>> Any ideas of even what to look at would be most useful<br><br>Well, none of us can debug it without an example of the failing PS :)<br><br></blockquote>
</div><br>Oh Ok I can swap that, I spose but quite a few debian packages are marked to depend on gs-esp but I could just change the link in /etc/alternatives to that.<br><br>Peter