[Pkg-octave-devel] Bug#411863: octave2.9 eats up all memory

Thomas Weber thomas.weber.mail at gmail.com
Wed Feb 21 14:54:21 CET 2007


Package: octave2.9
Version: 2.9.9-8
Severity: important
Tags: fixed-upstream

The following one-liner in Octave 2.9 uses up all memory until the OOM killer
kicks in:

  inline ("[x]")

The patch from 
  https://www.cae.wisc.edu/pipermail/bug-octave/2006-October/000903.html
fixes this. 

A more complicated example from octave2.9-forge's unit tests has the same
problem:

=======================================================================

clear all
A=[ 1, 4, 2, 5,54,55,61,62;
    3, 6, 3, 1,58,53,67,65;
    3, 6, 3, 1,58,53,67,65;
    3, 6, 3, 1,58,53,67,65;
   23,42,42,42,99,99,99,99;
   27,42,42,42,99,99,99,99;
   23,22,26,25,99,99,99,99;
   22,22,24,22,99,99,99,99];

first_eq=inline("(A(1,1,:)!=(54*ones(1,1,[size(A),1](3))))(:)","A");
=======================================================================

This means the unit tests can't be run on the buildds.

  Thomas

-- System Information:
Debian Release: 4.0
  APT prefers unstable
  APT policy: (700, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-4-686
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)

Versions of packages octave2.9 depends on:
ii  atlas3-base [liblapack.s 3.6.0-20.6      Automatically Tuned Linear Algebra
ii  atlas3-sse2 [liblapack.s 3.6.0-20.6      Automatically Tuned Linear Algebra
ii  fftw3                    3.1.2-1         library for computing Fast Fourier
ii  lapack3 [liblapack.so.3] 3.0.20000531a-6 library of linear algebra routines
ii  libc6                    2.3.6.ds1-12    GNU C Library: Shared libraries
ii  libgcc1                  1:4.1.1-21      GCC support library
ii  libgfortran1             4.1.1-21        Runtime library for GNU Fortran ap
ii  libglpk0                 4.11-2          linear programming kit (shared lib
ii  libhdf5-serial-1.6.5-0 [ 1.6.5-3         Hierarchical Data Format 5 (HDF5) 
ii  libncurses5              5.5-5           Shared libraries for terminal hand
ii  libpcre3                 6.7-1           Perl 5 Compatible Regular Expressi
ii  libreadline5             5.2-2           GNU readline and history libraries
ii  libstdc++6               4.1.1-21        The GNU Standard C++ Library v3
ii  libufsparse              1.2-7           collection of libraries for comput
ii  refblas3 [libblas.so.3]  1.2-8           Basic Linear Algebra Subroutines 3
ii  texinfo                  4.8.dfsg.1-4    Documentation system for on-line i
ii  zlib1g                   1:1.2.3-13      compression library - runtime

octave2.9 recommends no packages.

-- no debconf information




More information about the Pkg-octave-devel mailing list