[Pkg-octave-devel] Bug#340320: octave2.1-headers: mkoctfile
generated functions crash randomly
Teemu Ikonen
tpikonen at pcu.helsinki.fi
Tue Nov 22 17:34:54 UTC 2005
Package: octave2.1-headers
Version: 2.1.72-4
Severity: normal
Oct-functions generated by mkoctfile segfault randomly, but very often. For
example, the following innocent-looking function:
-*-*-*-
#include <octave/oct.h>
DEFUN_DLD(uitest, args, , " ")
{
int x = 20;
int y = 20;
return octave_value(Matrix(y,x));
}
-*-*-*-
produces this when ran repeatedly:
octave:1> uitest();
octave:2> uitest();
octave:3> uitest();
octave:4> uitest();
panic: Segmentation fault -- stopping myself...
attempting to save variables to octave-core'...
save to octave-core' complete
Segmentation fault
I can usually make Octave crash by running uitest less than 10 times.
Since I run a mixed system of testing and unstable, I'm rather certain that
the crashes are caused by some kind of library version mismatch which the
dependencies do not take into account. Octave 2.1.69 from sarge does not
crash with the test above.
I would appreciate any ideas on how to get oct-files working again.
Teemu
-- System Information:
Debian Release: testing/unstable
APT prefers testing
APT policy: (650, 'testing'), (600, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.14-1-686
Locale: LANG=en_US.UTF-8, LC_CTYPE=fi_FI.UTF-8 (charmap=UTF-8)
Versions of packages octave2.1-headers depends on:
ii atlas3-base-dev 3.6.0-20 Automatically Tuned Linear Algebra
ii fftw3-dev 3.0.1-14 library for computing Fast Fourier
ii g++ 4:4.0.2-1 The GNU C++ compiler
ii gfortran 4.0.2-1 The GNU Fortran 95 compiler
ii libhdf5-serial-dev 1.6.4-4 Hierarchical Data Format 5 (HDF5)
ii libncurses5-dev 5.5-1 Developer's libraries and docs for
ii libreadline5-dev 5.0-11 GNU readline and history libraries
ii octave2.1 2.1.72-4 GNU Octave language for numerical
octave2.1-headers recommends no packages.
-- no debconf information
More information about the Pkg-octave-devel
mailing list