octave crashes with irregular argument to cat()
Sergei Steshenko
sergstesh at yahoo.com
Fri Nov 7 10:36:38 CST 2008
--- On Fri, 11/7/08, Thorsten Meyer <thorsten.meyier at gmx.de> wrote:
> From: Thorsten Meyer <thorsten.meyier at gmx.de>
> Subject: octave crashes with irregular argument to cat()
> To: bug at octave.org
> Date: Friday, November 7, 2008, 7:32 AM
> Hi,
>
> while playing with the concatenation functions I came
> across another bug in octave built from the
> mercurial tip:
>
> octave:1> cat(2, "test", 100,
> {"bli", "bla"})
> terminate called after throwing an instance of
> 'std::bad_cast'
> what(): std::bad_cast
> panic: Aborted -- stopping myself...
> attempting to save variables to `octave-core'...
> save to `octave-core' complete
> Aborted
>
> In octave 3.0.1 (debian) it says:
> octave:1> cat(2, "test", 100,
> {"bli", "bla"})
> error: concatenation operator not implemented for
> `string' by `cell' operations
> octave:1>
>
> regards
>
> Thorsten
>
> _______________________________________________
> Bug-octave mailing list
> Bug-octave at cae.wisc.edu
> https://www-old.cae.wisc.edu/mailman/listinfo/bug-octave
Also fails for me on 3.0.3:
"
GNU Octave, version 3.0.3
Copyright (C) 2008 John W. Eaton and others.
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'.
Octave was configured for "i686-pc-linux-gnu".
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 <bug at octave.org> (but first, please read
http://www.octave.org/bugs.html to learn how to write a helpful report).
For information about changes from previous versions, type `news'.
octave:1> cat(2, "test", 100, {"bli", "bla"})
terminate called after throwing an instance of 'std::bad_cast'
what(): std::bad_cast
panic: Aborted -- stopping myself...
attempting to save variables to `octave-core'...
save to `octave-core' complete
".
Regards,
Sergei.
More information about the Bug-octave
mailing list