crash in eval

John W. Eaton jwe at octave.org
Sat Feb 7 11:40:59 CST 2009


On  7-Feb-2009, Søren Hauberg wrote:

| I have the following piece of code (also attached)
| 
|   code = "\
|    I = tril(ones(100)) + abs(rand(100)); I(I>1) = 1;\n\
|    imshow(I);\n\
|    ";
|   eval (code)
| 
| When I run this I get the following error, and Octave crashes
| 
|   pure virtual method called
|   terminate called without an active exception
|   panic: Aborted -- stopping myself...
|   attempting to save variables to `octave-core'...
|   save to `octave-core' complete
|   Aborted
| 
| If I just run the code in the 'code' string things work, but when I pass
| it through 'eval' the crash happens.

I checked in this change:

  http://hg.savannah.gnu.org/hgweb/octave/rev/b227213a70c3

Thanks,

jwe



More information about the Bug-octave mailing list