[Pkg-octave-devel] Bug#296375: marked as done (octave2.1: strftime crashes with an invalid structure as an argument)

Debian Bug Tracking System owner@bugs.debian.org
Fri, 04 Mar 2005 00:33:08 -0800

Your message dated Fri, 4 Mar 2005 09:20:39 +0100
with message-id <20050304082039.GK3451@laboiss2>
and subject line [bill@givebillmoney.com: Bug#296375: octave2.1: strftime crashes with an invalid structure as an argument]
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 Feb 2005 02:54:33 +0000
>From bill@denney.homeip.net Mon Feb 21 18:54:33 2005
Return-path: <bill@denney.homeip.net>
Received: from rwcrmhc14.comcast.net (rwcrmhc11.comcast.net) [] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1D3QC1-0001aO-00; Mon, 21 Feb 2005 18:54:33 -0800
Received: from denney.homeip.net ([])
          by comcast.net (rwcrmhc14) with ESMTP
          id <200502220254020140032snue>; Tue, 22 Feb 2005 02:54:02 +0000
Received: from bill by denney.homeip.net with local (Exim 3.36 #1 (Debian))
	id 1D3QBW-000672-00
	for <submit@bugs.debian.org>; Mon, 21 Feb 2005 21:54:02 -0500
Content-Type: multipart/mixed; boundary="===============1223530863=="
MIME-Version: 1.0
From: Bill Denney <bill@givebillmoney.com>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: octave2.1: strftime crashes with an invalid structure as an argument
X-Mailer: reportbug 3.8
Date: Mon, 21 Feb 2005 21:54:02 -0500
Message-Id: <E1D3QBW-000672-00@denney.homeip.net>
Sender: Bill Denney <bill@denney.homeip.net>
Delivered-To: submit@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-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02

This is a multi-part MIME message sent by reportbug.

Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Package: octave2.1
Version: 2.1.64-1
Severity: normal

strftime crashes when given an incomplete structure as input.  The 
following will crash octave 2.1:

-- Begin Script
tm.year = 2000;
tm.mon = 1;
tm.day = 1;

strftime("%Y%m%d", tm)
-- End Script

The crash looks like this on my system (I named this script 
-- Begin Error
octave:1> octavebug
panic: Segmentation fault -- stopping myself...
attempting to save variables to `octave-core'...
save to `octave-core' complete
Segmentation fault
-- End Error

I'll attach the octave-core file that it created.


-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.8-2-686
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages octave2.1 depends on:
ii  atlas3-base [liblapack.so.3 3.6.0-19     Automatically Tuned Linear Algebra
ii  fftw3                       3.0.1-11     Library for computing Fast Fourier
ii  libc6                       2.3.2.ds1-20 GNU C Library: Shared libraries an
ii  libg2c0                     1:3.3.5-8    Runtime library for GNU Fortran 77
ii  libgcc1                     1:3.4.3-6    GCC support library
ii  libhdf5-serial-1.6.2-0 [lib 1.6.2-3      Hierarchical Data Format 5 (HDF5) 
ii  libncurses5                 5.4-4        Shared libraries for terminal hand
ii  libreadline4                4.3-11       GNU readline and history libraries
ii  libstdc++5                  1:3.3.5-8    The GNU Standard C++ Library v3
ii  texinfo                     4.7-2.2      Documentation system for on-line i
ii  zlib1g                      1:1.2.2-3    compression library - runtime

-- no debconf information

Content-Type: application/octet-stream
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="octave-core"


Received: (at 296375-done) by bugs.debian.org; 4 Mar 2005 08:20:43 +0000
>From laboissiere@cbs.mpg.de Fri Mar 04 00:20:43 2005
Return-path: <laboissiere@cbs.mpg.de>
Received: from csm.psy.mpg.de (csm.mpipf-muenchen.mpg.de) [] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1D7839-000879-00; Fri, 04 Mar 2005 00:20:43 -0800
Received: from [] (helo=amalie.intra.mpipf-muenchen.mpg.de)
	by csm.mpipf-muenchen.mpg.de with esmtp (Exim 4.34)
	id 1D786h-0007rT-JG
	for 296375-done@bugs.debian.org; Fri, 04 Mar 2005 09:24:23 +0100
Received: from [] (helo=laboiss2)
	by amalie.intra.mpipf-muenchen.mpg.de with esmtp (Exim 4.05)
	id 1D784X-0003nz-00; Fri, 04 Mar 2005 09:22:09 +0100
Received: from rafael by laboiss2 with local (Exim 3.36 #1 (Debian))
	id 1D7835-0005Dy-00; Fri, 04 Mar 2005 09:20:39 +0100
Date: Fri, 4 Mar 2005 09:20:39 +0100
From: Rafael Laboissiere <rafael@debian.org>
To: 296375-done@bugs.debian.org
Subject: Re: [bill@givebillmoney.com: Bug#296375: octave2.1: strftime crashes with an invalid structure as an argument]
Message-ID: <20050304082039.GK3451@laboiss2>
Reply-To: Rafael Laboissiere <rafael@debian.org>
References: <20050222130127.GH11448@laboiss2> <20050222151406.11f8e1d7@dupond.crm.mot.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20050222151406.11f8e1d7@dupond.crm.mot.com>
Organization: Debian GNU/Linux
User-Agent: Mutt/1.5.6+20040907i
Sender: Rafael Laboissiere <laboissiere@cbs.mpg.de>
Delivered-To: 296375-done@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-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02

* Laurent Mazet <laurent.mazet@motorola.com> [2005-02-22 15:14]:

> This patch fixs the uncomplet tm structure

Laurent's patch was applied to version 2.1.66 of Octave, which is now in
unstable.  I am therefore closing this bug report.