[Pkg-octave-devel] Bug#340320: marked as done (octave2.1-headers: mkoctfile generated functions crash randomly)

Debian Bug Tracking System owner at bugs.debian.org
Mon Nov 28 21:33:28 UTC 2005


Your message dated Mon, 28 Nov 2005 22:28:41 +0100
with message-id <20051128212841.GB25163 at laboiss2>
and subject line octave2.1-headers: mkoctfile generated functions crash randomly
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 22 Nov 2005 17:34:57 +0000
>From tpikonen at pcu.helsinki.fi Tue Nov 22 09:34:57 2005
Return-path: <tpikonen at pcu.helsinki.fi>
Received: from sender-01.it.helsinki.fi ([128.214.205.139])
	by spohr.debian.org with esmtp (Exim 4.50)
	id 1Eec2j-00048N-5z
	for submit at bugs.debian.org; Tue, 22 Nov 2005 09:34:57 -0800
Received: from xray47.physics.helsinki.fi (xray47.physics.helsinki.fi [128.214.57.56])
	by sender-01.it.helsinki.fi (8.13.3/8.13.3) with ESMTP id jAMHYsSO024104;
	Tue, 22 Nov 2005 19:34:54 +0200
Message-Id: <200511221734.jAMHYsSO024104 at sender-01.it.helsinki.fi>
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Teemu Ikonen <tpikonen at pcu.helsinki.fi>
To: Debian Bug Tracking System <submit at bugs.debian.org>
Subject: octave2.1-headers: mkoctfile generated functions crash randomly
X-Mailer: reportbug 3.17
Date: Tue, 22 Nov 2005 19:34:54 +0200
Delivered-To: submit at bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02

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

---------------------------------------
Received: (at 340320-done) by bugs.debian.org; 28 Nov 2005 21:28:46 +0000
>From laboissiere at cbs.mpg.de Mon Nov 28 13:28:46 2005
Return-path: <laboissiere at cbs.mpg.de>
Received: from kom.mpisoc.mpg.de ([192.129.1.23] helo=kom.mpipf-muenchen.mpg.de)
	by spohr.debian.org with esmtp (Exim 4.50)
	id 1EgqYH-0008DK-Pp
	for 340320-done at bugs.debian.org; Mon, 28 Nov 2005 13:28:46 -0800
Received: from amalie.intra.mpipf-muenchen.mpg.de ([10.1.1.2])
	by kom.mpipf-muenchen.mpg.de with esmtp (Exim 4.34)
	id 1EgqYE-0006ED-7d; Mon, 28 Nov 2005 22:28:42 +0100
Received: from [10.80.1.253] (helo=laboiss2)
	by amalie.intra.mpipf-muenchen.mpg.de with esmtp (Exim 4.05)
	id 1EgqYE-0007Ai-00; Mon, 28 Nov 2005 22:28:42 +0100
Received: from rafael by laboiss2 with local (Exim 3.36 #1 (Debian))
	id 1EgqYD-00075d-00; Mon, 28 Nov 2005 22:28:41 +0100
Date: Mon, 28 Nov 2005 22:28:41 +0100
From: Rafael Laboissiere <rafael at debian.org>
To: 340320-done at bugs.debian.org
Cc: "Jon H. Davis" <jon at mast.queensu.ca>, help at octave.org,
	Teemu Ikonen <tpikonen at pcu.helsinki.fi>
Subject: Re: octave2.1-headers: mkoctfile generated functions crash randomly
Message-ID: <20051128212841.GB25163 at laboiss2>
References: <200511221734.jAMHYsSO024104 at sender-01.it.helsinki.fi> <20051122203704.GA17750 at laboiss2> <1132699301.2816.2.camel at badcat.home.network>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <1132699301.2816.2.camel at badcat.home.network>
Organization: Debian GNU/Linux
User-Agent: Mutt/1.5.9i
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-3.0 required=4.0 tests=BAYES_00 autolearn=no 
	version=2.60-bugs.debian.org_2005_01_02

* Jon H. Davis <jon at mast.queensu.ca> [2005-11-22 17:41]:

> On Tue, 2005-11-22 at 21:37 +0100, Rafael Laboissiere wrote:
> > I confirm the problem here in my sid chroot.  Your program crashes in a
> > systematic way producing the following:
> > 
> > $ echo 'for i=1:100;printf("%i.",i);fflush(stdout);uitest();end' | octave -qf
> > 1.2.3.4.5.6.7.8.9.panic: Segmentation fault -- stopping myself...
> > attempting to save variables to `octave-core'...
> > save to `octave-core' complete
> > Segmentation fault
>
> 	Isn't sid in the throes of c++ library changes? Until everything gets
> changed over there might be a chance of a library mismatch creeping in.

Indeed, this seems to be the case.  With the octave2.9_2.9.4-8 package in
my up-to-date unstable chroot, the command above works perfectly, no
crashes.

I am therefore closing this bug report.  Please, feel free to open it
again if library inconsistencies creep up in unstable.

-- 
Rafael



More information about the Pkg-octave-devel mailing list