[Pkg-octave-devel] Bug#695434: octave: Seg fault in __contourc__

Pierre St-Laurent Pierre.St-Laurent at uqar.qc.ca
Sat Dec 8 03:14:11 UTC 2012


Package: octave
Version: 3.6.2-5
Severity: normal

Dear Maintainer,

I'm testing wheezy on a new machine.
I get a segmentation fault from __contourc__ when using the function contour() on a certain array.
More precisely, the seg fault occur inside contourc.m at the line:
## Now call __contourc__ for the real work...
c = __contourc__ (ii, jj, z, vv);

The seg fault will occur or not occur depending on the contour levels (vv) that are requested.
The same command applied to the same array works fine in squeeze, no matter what the contour levels are.

This array is of size 469x760, it does not contain any NaNs, and its min/max values are 30/4336.
The array is relatively complex (it is the topography of the ocean floor in a certain part of Antarctica).
I'd be happy to send a copy of the array to anybody who wants to give it a try.

Unfortunately I could not reproduce the bug with a simpler array (say, peaks()).
I am aware that such bugreport is of limited use, but please let me know if you have any suggestion on how to circumvent this seg fault.

Thanks,

Pierre

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing')
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-37
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
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
ii  libgcc1                          1:4.7.2-4
ii  libgl1-mesa-glx [libgl1]         8.0.4-2
ii  libglpk0                         4.45-1
ii  libgomp1                         4.7.2-4
ii  libgraphicsmagick++3             1.3.16-1.1
ii  libgraphicsmagick3               1.3.16-1.1
ii  liblapack3 [liblapack.so.3]      3.4.1-6
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-4
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



More information about the Pkg-octave-devel mailing list