mxe-octave: ghostscript 9.07, why not 9.10

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

mxe-octave: ghostscript 9.07, why not 9.10

nul0m
Hi all,

I've cross-built recent development version of Octave for Windows using MXE-Octave (also, one of the recent csets) and after some testing get into a trouble which I'm not sure caused by Octave itself. Sometimes when trying to print a figure to pdf (print('-dpdf',..)) Octave may hang on waiting before gs.exe completed writing into a pdf-file. But as a matter of fact gs.exe doesn't want to finish and continues writing into pdf inflating its size gradually approaching infinity (last time I forgot to kill gs.exe process my one-page pdf reached 600Gb).

This bug looks quite similar to GS bug #693591 [http://bugs.ghostscript.com/show_bug.cgi?id=693591] which was fixed in gs9.10. And according to my recent testing, use of separately installed gs9.10 instead of default Octave gs.exe helps.

So my questions is rather easy, do you by any chance plan to switch GS version in MXE-Octave from 9.07 to 9.10? If not, it might worth to apply a patch fixing this bug in GS source [http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=dfd7fc9fe152245256e437141dd7780c8313c971].

Sorry, if I overlooked existing discussion on this topic.

Sergey
Reply | Threaded
Open this post in threaded view
|

Re: mxe-octave: ghostscript 9.07, why not 9.10

John W. Eaton
Administrator
On 07/29/2014 04:09 AM, sergey plotnikov wrote:

> Hi all,
>
> I've cross-built recent development version of Octave for Windows using
> MXE-Octave (also, one of the recent csets) and after some testing get
> into a trouble which I'm not sure caused by Octave itself. Sometimes
> when trying to print a figure to pdf (print('-dpdf',..)) Octave may hang
> on waiting before gs.exe completed writing into a pdf-file. But as a
> matter of fact gs.exe doesn't want to finish and continues writing into
> pdf inflating its size gradually approaching infinity (last time I
> forgot to kill gs.exe process my one-page pdf reached 600Gb).
>
> This bug looks quite similar to GS bug #693591
> [http://bugs.ghostscript.com/show_bug.cgi?id=693591] which was fixed in
> gs9.10. And according to my recent testing, use of separately installed
> gs9.10 instead of default Octave gs.exe helps.
>
> So my questions is rather easy, do you by any chance plan to switch GS
> version in MXE-Octave from 9.07 to 9.10? If not, it might worth to apply
> a patch fixing this bug in GS source
> [http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=dfd7fc9fe152245256e437141dd7780c8313c971].
>
> Sorry, if I overlooked existing discussion on this topic.

I think you missed this bug report:

https://savannah.gnu.org/bugs/?func=detailitem&item_id=41141

jwe


Reply | Threaded
Open this post in threaded view
|

Re: mxe-octave: ghostscript 9.07, why not 9.10

nul0m
On 29/07/14 18:07, John W. Eaton wrote:
On 07/29/2014 04:09 AM, sergey plotnikov wrote:
Hi all,

I've cross-built recent development version of Octave for Windows using
MXE-Octave (also, one of the recent csets) and after some testing get
into a trouble which I'm not sure caused by Octave itself. Sometimes
when trying to print a figure to pdf (print('-dpdf',..)) Octave may hang
on waiting before gs.exe completed writing into a pdf-file. But as a
matter of fact gs.exe doesn't want to finish and continues writing into
pdf inflating its size gradually approaching infinity (last time I
forgot to kill gs.exe process my one-page pdf reached 600Gb).

This bug looks quite similar to GS bug #693591
[http://bugs.ghostscript.com/show_bug.cgi?id=693591] which was fixed in
gs9.10. And according to my recent testing, use of separately installed
gs9.10 instead of default Octave gs.exe helps.

So my questions is rather easy, do you by any chance plan to switch GS
version in MXE-Octave from 9.07 to 9.10? If not, it might worth to apply
a patch fixing this bug in GS source
[http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=dfd7fc9fe152245256e437141dd7780c8313c971].

Sorry, if I overlooked existing discussion on this topic.

I think you missed this bug report:

https://savannah.gnu.org/bugs/?func=detailitem&item_id=41141

jwe


I see... Thank you John. So, if I got it right, the answer is yes, GS is going to be updated in MXE-Octave, but not earlier than Octave has got rid of all the 'pswrite' usages. Is that correct?


Sergey