octave crashes with irregular argument to cat()
David Bateman
David.Bateman at motorola.com
Wed Nov 12 10:31:50 CST 2008
Thorsten Meyer wrote:
> 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>
>
Try the attached patch...
D.
--
David Bateman David.Bateman at motorola.com
Motorola Labs - Paris +33 1 69 35 48 04 (Ph)
Parc Les Algorithmes, Commune de St Aubin +33 6 72 01 06 33 (Mob)
91193 Gif-Sur-Yvette FRANCE +33 1 69 35 77 01 (Fax)
The information contained in this communication has been classified as:
[x] General Business Information
[ ] Motorola Internal Use Only
[ ] Motorola Confidential Proprietary
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch8821
Url: https://www-old.cae.wisc.edu/pipermail/bug-octave/attachments/20081112/e95a6ec6/attachment.ksh
More information about the Bug-octave
mailing list