octave crashes with irregular argument to cat()

Thorsten Meyer thorsten.meyier at gmx.de
Fri Nov 7 09:32:17 CST 2008


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



More information about the Bug-octave mailing list