[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Pkg-octave-devel] Bug#710423: octave crashes on print with no printer



Package: octave
Version: 3.6.2-5
Severity: normal

Dear Maintainer,

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.



-- System Information:
Debian Release: 7.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages octave depends on:
ii  libamd2.2.0                      1:3.4.0-3
ii  libarpack2                       3.1.1-2.1
ii  libatlas3-base [liblapack.so.3]  3.8.4-9
ii  libblas3 [libblas.so.3]          1.2.20110419-5
ii  libc6                            2.13-38
ii  libcamd2.2.0                     1:3.4.0-3
ii  libccolamd2.7.1                  1:3.4.0-3
ii  libcholmod1.7.1                  1:3.4.0-3
ii  libcolamd2.7.1                   1:3.4.0-3
ii  libcurl3-gnutls                  7.26.0-1+wheezy2
ii  libcxsparse2.2.3                 1:3.4.0-3
ii  libfftw3-3                       3.3.2-3.1
ii  libfltk1.1                       1.1.10-14
ii  libfreetype6                     2.4.9-1.1
ii  libgcc1                          1:4.7.2-5
ii  libgl1-mesa-glx [libgl1]         8.0.5-4
ii  libglpk0                         4.45-1
ii  libgomp1                         4.7.2-5
ii  libgraphicsmagick++3             1.3.16-1.1
ii  libgraphicsmagick3               1.3.16-1.1
ii  liblapack3 [liblapack.so.3]      3.4.1+dfsg-1
ii  liboctave1                       3.6.2-5
ii  libpcre3                         1:8.30-5
ii  libqhull5                        2009.1-3
ii  libqrupdate1                     1.1.1-1
ii  libstdc++6                       4.7.2-5
ii  libumfpack5.4.0                  1:3.4.0-3
ii  octave-common                    3.6.2-5
ii  texinfo                          4.13a.dfsg.1-10
ii  zlib1g                           1:1.2.7.dfsg-13

Versions of packages octave recommends:
ii  gnuplot-x11     4.6.0-8
ii  libatlas3-base  3.8.4-9

Versions of packages octave suggests:
pn  octave-doc      <none>
pn  octave-htmldoc  <none>
pn  octave-info     <none>

-- no debconf information



Reply to: