[Pkg-octave-devel] Bug#710423: Bug#710423: octave crashes on print with no printer
Mike Miller
mtmiller at ieee.org
Fri May 31 22:43:02 UTC 2013
Control: retitle -1 octave crashes on print -deps with no file
Control: tags -1 + confirmed upstream
Control: forwarded -1 https://savannah.gnu.org/bugs/?38166
Dmitry Borisyuk wrote:
> The following commands cause octave to crash:
>
> octave:1> x=0:10; plot(x,x);
> octave:2> print(1,'-deps')
> warning: print.m: epstool binary is not available.
> Some output formats are not available.
> warning: print.m: fig2dev binary is not available.
> Some output formats are not available.
> warning: print.m: pstoedit binary is not available.
> Some output formats are not available.
> terminate called after throwing an instance of 'std::out_of_range'
> what(): basic_string::substr
> panic: Aborted -- stopping myself...
> attempting to save variables to `octave-core'...
> save to `octave-core' complete
> Aborted
>
> Of course, it was my mistake, because I have no printer;
> I just left out the name of file to print to.
> But still I expect an error message, not crash here.
Confirmed; in fact it doesn't matter whether you have a printer or
not. The combination of the "-d" option with not specifying an output
file is what causes the crash. Some other interesting behaviors result
from various combinations of graphics_toolkit and different "-d"
options.
Has been reported upstream at the link provided.
--
mike
More information about the Pkg-octave-devel
mailing list