[Pkg-octave-devel] Bug#296375: octave2.1: strftime crashes with an invalid structure as an argument
Bill Denney
Bill Denney <bill@givebillmoney.com>, 296375@bugs.debian.org
Mon, 21 Feb 2005 21:54:02 -0500
This is a multi-part MIME message sent by reportbug.
--===============1223530863==
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
"octavebug"):
-- 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.
Bill
-- 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
--===============1223530863==
Content-Type: application/octet-stream
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="octave-core"
T2N0YXZlLTEtTAAKAAAAX19uYXJnaW5fXwAAAAAA/wYAAABzY2FsYXIHAAAAAAAAAAACAAAAdG0A
AAAAAP8GAAAAc3RydWN0AwAAAAMAAABkYXkAAAAAAP8GAAAAc2NhbGFyBwAAAAAAAPA/AwAAAG1v
bgAAAAAA/wYAAABzY2FsYXIHAAAAAAAA8D8EAAAAeWVhcgAAAAAA/wYAAABzY2FsYXIHAAAAAABA
n0A=
--===============1223530863==--