Bug#340320: octave2.1-headers: mkoctfile generated functions crash randomly

2005-11-29 Thread Teemu Ikonen
On 11/28/05, Rafael Laboissiere [EMAIL PROTECTED] wrote:
 * Rafael Laboissiere [EMAIL PROTECTED] [2005-11-28 22:28]:

  Indeed, this seems to be the case.  With the octave2.9_2.9.4-8 package
  [...]

 Sorry, I meant octave2.1_2.1.72-6.

Unfortunately, for me 2.1.72-6 is even worse than before. I get a
crash immediately after starting Octave:

$ octave --norc
GNU Octave, version 2.1.72 (i486-pc-linux-gnu).
Copyright (C) 2005 John W. Eaton.
This is free software; see the source code for copying conditions.
There is ABSOLUTELY NO WARRANTY; not even for MERCHANTIBILITY or
FITNESS FOR A PARTICULAR PURPOSE.  For details, type `warranty'.

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/help-wanted.html

Report bugs to [EMAIL PROTECTED] (but first, please read
http://www.octave.org/bugs.html to learn how to write a helpful report).

*** glibc detected *** free(): invalid pointer: 0x08ab3a10 ***
panic: Aborted -- stopping myself...
attempting to save variables to `octave-core'...
save to `octave-core' complete
Aborted

I guess this is what you get from mixing Debian releases during
library transitions :)

Teemu



Bug#340320: [Pkg-octave-devel] Bug#340320: octave2.1-headers: mkoctfile generated functions crash randomly

2005-11-29 Thread Rafael Laboissiere
* Teemu Ikonen [EMAIL PROTECTED] [2005-11-29 12:48]:

 Unfortunately, for me 2.1.72-6 is even worse than before. I get a
 crash immediately after starting Octave:
 
 [...]

 I guess this is what you get from mixing Debian releases during
 library transitions :)

As an interim solution you might apt-get source octave2.1 and buidl the
package in your mixed system.  That should work.

-- 
Rafael


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#340320: octave2.1-headers: mkoctfile generated functions crash randomly

2005-11-28 Thread Rafael Laboissiere
* Rafael Laboissiere [EMAIL PROTECTED] [2005-11-28 22:28]:

 Indeed, this seems to be the case.  With the octave2.9_2.9.4-8 package 
 [...]

Sorry, I meant octave2.1_2.1.72-6.
 
-- 
Rafael


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#340320: octave2.1-headers: mkoctfile generated functions crash randomly

2005-11-22 Thread Teemu Ikonen
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-1The GNU Fortran 95 compiler
ii  libhdf5-serial-dev1.6.4-4Hierarchical 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


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]