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

[Pkg-octave-devel] Bug#743679: octave: plot(1:4) triggers segfault crash



Package: octave
Version: 3.8.1-1+b1
Severity: important

This bug was introduced after upgrading to Octave 3.8.1-1+b1,
and the bug was not there in 3.8.0 (I am not sure about this
version number. I can only remember that it was already 3.8,
introducing the experimental gui).

Just fresh install octave:

$ sudo apt-get update
$ sudo apt-get upgrade
$ sudo apt-get install octave

Then open octave [using --norc/--no-gui/--jit-compiler does
not affect the segfault]:


neo@testing ~> which octave
/usr/bin/octave
neo@testing ~> octave
GNU Octave, version 3.8.1
Copyright (C) 2014 John W. Eaton and others.
This is free software; see the source code for copying conditions.
There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE.  For details, type 'warranty'.

Octave was configured for "x86_64-pc-linux-gnu".

Additional information about Octave is available at http://www.octave.org.

Please contribute if you find this software useful.
For more information, visit http://www.octave.org/get-involved.html

Read http://www.octave.org/bugs.html to learn how to submit bug reports.
For information about changes from previous versions, type 'news'.

octave:1> plot(1:4)
panic: Segmentation fault -- stopping myself...
attempting to save variables to 'octave-workspace'...
save to 'octave-workspace' complete

neo@testing ~> octave -q
> load octave-workspace
> whos
> # there is no variables here



So the octave-workspace does not provide any information.
A figure window opens, and then closed again after the segfault.

If we try opening figure by itself calling `figure', there was
no segfault, until one of the following operations was performed:

1. Pushing `A' button at the down-left corner, or Edit->Autoscale
2. Pushing `G' button at the down-left cornet, or Edit->Grid

Any other interaction with this figure does not crash octave.


P.S. I am not sure if this is the same problem, but I think it is
better to include it here. After installing octave-psychtoolbox-3,
calling DrawSomeTextDemo or DotRotDemo provided by psychtoolbox,
also crashes with segfault, though this does not use figure. That
package extensively uses OpenGL.




-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

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

Versions of packages octave depends on:
ii  default-jre-headless          
   2:1.7-51
ii  libamd2.3.1                      1:4.2.1-3
ii  libarpack2                       3.1.5-2
ii  libatlas3-base [liblapack.so.3]  3.10.1-4
ii  libblas3 [libblas.so.3]          1.2.20110419-7
ii  libc6                            2.18-4
ii  libcamd2.3.1                     1:4.2.1-3
ii  libccolamd2.8.0                  1:4.2.1-3
ii  libcholmod2.1.2                  1:4.2.1-3
ii  libcolamd2.8.0                   1:4.2.1-3
ii  libcxsparse3.1.2                 1:4.2.1-3
ii  libfftw3-double3                 3.3.3-7
ii  libfftw3-single3                 3.3.3-7
ii  libfltk-gl1.3                    1.3.2-4
ii  libfltk1.3                       1.3.2-4
ii  libfontconfig1                   2.11.0-2
ii  libfreetype6                     2.5.2-1
ii  libgcc1                          1:4.8.2-16
ii  libgl1-mesa-glx [libgl1]         10.1.0-4
ii  libglpk36                        4.53-2
ii  libglu1-mesa [libglu1]           9.0.0-2
ii  libgomp1                         4.8.2-16
ii  libgraphicsmagick++3             1.3.18-1
ii  libgraphicsmagick3               1.3.18-1
ii  liblapack3 [liblapack.so.3]      3.5.0-2
ii  liboctave2                       3.8.1-1+b1
ii  libqhull6                        2012.1-4
ii  libqrupdate1                     1.1.2-1
ii  libqscintilla2-11                2.8.1-1
ii  libqt4-network                   4:4.8.5+git242-g0315971+dfsg-2
ii  libqtcore4                       4:4.8.5+git242-g0315971+dfsg-2
ii  libqtgui4                        4:4.8.5+git242-g0315971+dfsg-2
ii  libstdc++6                       4.8.2-16
ii  libumfpack5.6.2                  1:4.2.1-3
ii  libx11-6                         2:1.6.2-1
ii  octave-common                    3.8.1-1
ii  texinfo                          5.2.0.dfsg.1-2

Versions of packages octave recommends:
ii  gnuplot-x11     4.6.5-1
ii  libatlas3-base  3.10.1-4
ii  pstoedit        3.62-1

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

-- no debconf information

Reply to: