Debian Bug report logs -
#567975
FP error when filtering an empty vector
Reported by: Bas Zoetekouw <bas@debian.org>
Date: Mon, 1 Feb 2010 15:39:01 UTC
Severity: important
Found in version octave3.2/3.2.4-1
Fixed in version octave3.2/3.2.4-2
Done: Thomas Weber <thomas.weber.mail@gmail.com>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, Debian Octave Group <pkg-octave-devel@lists.alioth.debian.org>:
Bug#567975; Package octave3.2.
(Mon, 01 Feb 2010 15:39:04 GMT) (full text, mbox, link).
Acknowledgement sent
to Bas Zoetekouw <bas@debian.org>:
New Bug report received and forwarded. Copy sent to Debian Octave Group <pkg-octave-devel@lists.alioth.debian.org>.
(Mon, 01 Feb 2010 15:39:04 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Package: octave3.2
Version: 3.2.4-1
Severity: important
Octave crashes when trying to filter() an empty vector:
| octave:1> a=1; b=ones(10,1)/10; foo=filter(b,a,[]);
| panic: Floating point exception -- stopping myself...
| attempting to save variables to `octave-core'...
| save to `octave-core' complete
| zsh: floating point exception octave
and I'm dropped back into the shell...
Of course, filtering an empty vector doesnt make much sense, but it certainly
shouldn't cause a crash.
FWIT, Matlab simple returns an empty vector.
-- System Information:
Debian Release: 5.0.4
APT prefers stable
APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.26-2-amd64 (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian Octave Group <pkg-octave-devel@lists.alioth.debian.org>:
Bug#567975; Package octave3.2.
(Tue, 02 Feb 2010 06:33:03 GMT) (full text, mbox, link).
Acknowledgement sent
to "John W. Eaton" <jwe@octave.org>:
Extra info received and forwarded to list. Copy sent to Debian Octave Group <pkg-octave-devel@lists.alioth.debian.org>.
(Tue, 02 Feb 2010 06:33:03 GMT) (full text, mbox, link).
Message #10 received at 567975@bugs.debian.org (full text, mbox, reply):
On 1-Feb-2010, Bas Zoetekouw wrote:
| Octave crashes when trying to filter() an empty vector:
|
| | octave:1> a=1; b=ones(10,1)/10; foo=filter(b,a,[]);
| | panic: Floating point exception -- stopping myself...
| | attempting to save variables to `octave-core'...
| | save to `octave-core' complete
| | zsh: floating point exception octave
|
| and I'm dropped back into the shell...
|
| Of course, filtering an empty vector doesnt make much sense, but it certainly
| shouldn't cause a crash.
| FWIT, Matlab simple returns an empty vector.
|
| -- System Information:
| Debian Release: 5.0.4
| APT prefers stable
| APT policy: (500, 'stable')
| Architecture: amd64 (x86_64)
|
| Kernel: Linux 2.6.26-2-amd64 (SMP w/1 CPU core)
| Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
| Shell: /bin/sh linked to /bin/bash
I checked in the following change:
http://hg.savannah.gnu.org/hgweb/octave/rev/a277ba5da4dc
I'm not sure this fix places the return in exactly the right
location. Should it be later in the function, after other dimension
checks? It would be nice if someone who is more familiar with how
filter is expected to work would comment.
Also, in the future, please report bugs in Octave itself directly to
the bug@octave.org mailing list and use the Debian bug reporting
system for problems specific to the Debian package.
Thanks,
jwe
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian Octave Group <pkg-octave-devel@lists.alioth.debian.org>:
Bug#567975; Package octave3.2.
(Tue, 02 Feb 2010 09:12:07 GMT) (full text, mbox, link).
Acknowledgement sent
to Thomas Weber <thomas.weber.mail@gmail.com>:
Extra info received and forwarded to list. Copy sent to Debian Octave Group <pkg-octave-devel@lists.alioth.debian.org>.
(Tue, 02 Feb 2010 09:12:07 GMT) (full text, mbox, link).
Message #15 received at 567975@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
On Tue, Feb 02, 2010 at 01:26:41AM -0500, John W. Eaton wrote:
> On 1-Feb-2010, Bas Zoetekouw wrote:
>
> | Octave crashes when trying to filter() an empty vector:
> |
> | | octave:1> a=1; b=ones(10,1)/10; foo=filter(b,a,[]);
> | | panic: Floating point exception -- stopping myself...
> | | attempting to save variables to `octave-core'...
> | | save to `octave-core' complete
> | | zsh: floating point exception octave
> |
> | and I'm dropped back into the shell...
> |
> | Of course, filtering an empty vector doesnt make much sense, but it certainly
> | shouldn't cause a crash.
> | FWIT, Matlab simple returns an empty vector.
> |
> | -- System Information:
> | Debian Release: 5.0.4
> | APT prefers stable
> | APT policy: (500, 'stable')
> | Architecture: amd64 (x86_64)
> |
> | Kernel: Linux 2.6.26-2-amd64 (SMP w/1 CPU core)
> | Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
> | Shell: /bin/sh linked to /bin/bash
>
> I checked in the following change:
>
> http://hg.savannah.gnu.org/hgweb/octave/rev/a277ba5da4dc
>
> I'm not sure this fix places the return in exactly the right
> location. Should it be later in the function, after other dimension
> checks? It would be nice if someone who is more familiar with how
> filter is expected to work would comment.
>
> Also, in the future, please report bugs in Octave itself directly to
> the bug@octave.org mailing list and use the Debian bug reporting
> system for problems specific to the Debian package.
Attached is a test case for this. No changelog entry, I don't think this
warrants one.
Thomas
[filtertest.hg (text/plain, attachment)]
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian Octave Group <pkg-octave-devel@lists.alioth.debian.org>:
Bug#567975; Package octave3.2.
(Tue, 02 Feb 2010 09:45:09 GMT) (full text, mbox, link).
Acknowledgement sent
to "John W. Eaton" <jwe@octave.org>:
Extra info received and forwarded to list. Copy sent to Debian Octave Group <pkg-octave-devel@lists.alioth.debian.org>.
(Tue, 02 Feb 2010 09:45:09 GMT) (full text, mbox, link).
Message #20 received at 567975@bugs.debian.org (full text, mbox, reply):
On 2-Feb-2010, Thomas Weber wrote:
| Attached is a test case for this. No changelog entry, I don't think this
| warrants one.
I added one anyway.
I also added a second test with the empty matrix being 1x0x2.
Thanks,
jwe
Reply sent
to Thomas Weber <thomas.weber.mail@gmail.com>:
You have taken responsibility.
(Wed, 17 Feb 2010 22:03:25 GMT) (full text, mbox, link).
Notification sent
to Bas Zoetekouw <bas@debian.org>:
Bug acknowledged by developer.
(Wed, 17 Feb 2010 22:03:25 GMT) (full text, mbox, link).
Message #25 received at 567975-close@bugs.debian.org (full text, mbox, reply):
Source: octave3.2
Source-Version: 3.2.4-2
We believe that the bug you reported is fixed in the latest version of
octave3.2, which is due to be installed in the Debian FTP archive:
octave3.2-common_3.2.4-2_all.deb
to main/o/octave3.2/octave3.2-common_3.2.4-2_all.deb
octave3.2-dbg_3.2.4-2_amd64.deb
to main/o/octave3.2/octave3.2-dbg_3.2.4-2_amd64.deb
octave3.2-doc_3.2.4-2_all.deb
to main/o/octave3.2/octave3.2-doc_3.2.4-2_all.deb
octave3.2-emacsen_3.2.4-2_all.deb
to main/o/octave3.2/octave3.2-emacsen_3.2.4-2_all.deb
octave3.2-headers_3.2.4-2_amd64.deb
to main/o/octave3.2/octave3.2-headers_3.2.4-2_amd64.deb
octave3.2-htmldoc_3.2.4-2_all.deb
to main/o/octave3.2/octave3.2-htmldoc_3.2.4-2_all.deb
octave3.2-info_3.2.4-2_all.deb
to main/o/octave3.2/octave3.2-info_3.2.4-2_all.deb
octave3.2_3.2.4-2.diff.gz
to main/o/octave3.2/octave3.2_3.2.4-2.diff.gz
octave3.2_3.2.4-2.dsc
to main/o/octave3.2/octave3.2_3.2.4-2.dsc
octave3.2_3.2.4-2_amd64.deb
to main/o/octave3.2/octave3.2_3.2.4-2_amd64.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 567975@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Thomas Weber <thomas.weber.mail@gmail.com> (supplier of updated octave3.2 package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Wed, 17 Feb 2010 20:58:54 +0100
Source: octave3.2
Binary: octave3.2 octave3.2-doc octave3.2-htmldoc octave3.2-headers octave3.2-emacsen octave3.2-info octave3.2-dbg octave3.2-common
Architecture: source amd64 all
Version: 3.2.4-2
Distribution: unstable
Urgency: low
Maintainer: Debian Octave Group <pkg-octave-devel@lists.alioth.debian.org>
Changed-By: Thomas Weber <thomas.weber.mail@gmail.com>
Description:
octave3.2 - GNU Octave language for numerical computations (3.2 branch)
octave3.2-common - architecture-independent files for octave3.2
octave3.2-dbg - Debug symbols for octave3.2
octave3.2-doc - PDF documentation on the GNU Octave language (3.2 branch)
octave3.2-emacsen - Emacs support for the GNU Octave language (3.2 branch)
octave3.2-headers - header files for the GNU Octave language (3.2 branch)
octave3.2-htmldoc - HTML documentation on the GNU Octave language (3.2 branch)
octave3.2-info - GNU Info documentation on the GNU Octave language (3.2 branch)
Closes: 567975
Changes:
octave3.2 (3.2.4-2) unstable; urgency=low
.
* New patch: filter_empty_vector; let filter() handle empty vectors (closes:
#567975). Thanks to John Eaton for the patch
Checksums-Sha1:
3058fdc89dc90924bdb3dab2e56da660e1791006 2051 octave3.2_3.2.4-2.dsc
e90907e922441a883d430d5c127cff6e86efd80b 61969 octave3.2_3.2.4-2.diff.gz
48b51add269099b4692365f580ec44775c8c69b0 10094222 octave3.2_3.2.4-2_amd64.deb
cb37189a2cabf58cf61c503c6a2962a46051074a 536006 octave3.2-headers_3.2.4-2_amd64.deb
ed033ee8640caeee8984d701df88102a8d64d01b 64525754 octave3.2-dbg_3.2.4-2_amd64.deb
2a9f6ce03a2e6ef78e6b580d0375122cacff3d7b 3203184 octave3.2-doc_3.2.4-2_all.deb
1db62b45dfc6e358123a22121365ecb2e4eeb121 1036818 octave3.2-htmldoc_3.2.4-2_all.deb
f85a59e1e5413f6cac8c8e3456e959991694007f 109304 octave3.2-emacsen_3.2.4-2_all.deb
31f70ad2e2ae144d2354ecd0e88b6a26809b8a40 560722 octave3.2-info_3.2.4-2_all.deb
87ef5f4fbf278fa033d0c0731c0b8ba66dd5d64e 671394 octave3.2-common_3.2.4-2_all.deb
Checksums-Sha256:
5790b8ae8ab18530bbe26586c86de2346340f9fc33cb92e6f5884cb6c379f09a 2051 octave3.2_3.2.4-2.dsc
bd249e1790f377997e2d89e9f994d5fda1c8091f44898f5efdf154ef5e803519 61969 octave3.2_3.2.4-2.diff.gz
8524f53061166664c4d81a44dbfd841f583943d07f66ead335d02d93aba79e11 10094222 octave3.2_3.2.4-2_amd64.deb
f0f33b6fb57e2f93bf8c74db8ce7fbcbcb8678a1e38ca91d0f1dc268345915f4 536006 octave3.2-headers_3.2.4-2_amd64.deb
dc0fe2403276a95f212b51ba2fb2050abb3e19ad0163ef4707b455cd29af8a18 64525754 octave3.2-dbg_3.2.4-2_amd64.deb
44ada1fd96febe31726bae90dcdc54a5de8df1151b37ab14be4ff7d36f592822 3203184 octave3.2-doc_3.2.4-2_all.deb
13862b8b89cb4ba627c8218782fcd8f91ac7ed9af1b2e0babe53c30fe0e0457d 1036818 octave3.2-htmldoc_3.2.4-2_all.deb
15dfb3c991dda5aab5c919297600cea391430d5b3d1a62b2b5118d4a89420f91 109304 octave3.2-emacsen_3.2.4-2_all.deb
02bc095ef29d39e92dd1a57c7268d5590f5c2a84e4c0e40a9809040b358f8d96 560722 octave3.2-info_3.2.4-2_all.deb
ef85e039a84611ff3ffd79a6a266308107d941008fbfd1a6c799322c8deadbba 671394 octave3.2-common_3.2.4-2_all.deb
Files:
03e02915daf72ae6107b342e6d4cdb09 2051 math optional octave3.2_3.2.4-2.dsc
bfc5514f79790fb10b139f36c4d9db91 61969 math optional octave3.2_3.2.4-2.diff.gz
c37af12beabfea5dc733b46e9bc888dc 10094222 math optional octave3.2_3.2.4-2_amd64.deb
36133c9499ba955fe47bb3a765e94036 536006 math optional octave3.2-headers_3.2.4-2_amd64.deb
9dae72efe7d8abbf886e56541392f05d 64525754 debug extra octave3.2-dbg_3.2.4-2_amd64.deb
b37aea74603156a73214014f937fdefd 3203184 doc optional octave3.2-doc_3.2.4-2_all.deb
75e111464cc81eb9436c46dedc123ec1 1036818 doc optional octave3.2-htmldoc_3.2.4-2_all.deb
e4892ab2509a86d92c57513bca72c0d0 109304 math optional octave3.2-emacsen_3.2.4-2_all.deb
23b62a5d0e302a5fbc126c3987041e1f 560722 math optional octave3.2-info_3.2.4-2_all.deb
4749903990eccff9a7e1318cdd1dd626 671394 devel extra octave3.2-common_3.2.4-2_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEARECAAYFAkt8TwQACgkQPqD4a3lPnXwF0ACglplA/quUI+tc29GOl3g1ySd9
WbwAoJa7BLC1heLlKdy5DjNQ/WfEKKvv
=GsBd
-----END PGP SIGNATURE-----
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Sun, 21 Mar 2010 07:40:35 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Sat Jul 1 14:14:47 2023;
Machine Name:
buxtehude
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.