Ctrl-C crashes the application

Giuliano Casale giuliano.casale at ieee.org
Sat Feb 21 03:53:59 CST 2009


I am not sure if rand() is an octave forge or octave command, in any
case if I write something like:

rand(1e4)

and press ctrl-c I get all kind of behaviors... sometimes it stops
correctly, sometimes it says "Press Ctrl-C again to abort" and if I
press everything crashes, and sometimes it directly crashes without
any message. I also noticed that the effect seem to change according
to the time interval between ctrl-Cs, if you do them fast the program
is more likely to crash. Hope this is reproducible for further test.

Giuliano

On Fri, Feb 20, 2009 at 8:56 PM, John W. Eaton <jwe at octave.org> wrote:
> On 20-Feb-2009, Giuliano Casale wrote:
>
> | Bug report for Octave 3.0.3 configured for i686-pc-msdosmsvc
> |
> | Description:
> | -----------
> |
> | When Octave does time consuming tasks there is sometimes the need of
> | breaking with Ctrl-C. It is very painful that it then often crashes as
> | well loosing previous data&work in memory.
> |
> | Repeat-By:
> | ---------
> |
> | 1) Launch str = textread("longfile.txt","%s");
> | 2) During execiton type CTRL-C to stop and everything crashes and closes.
>
> Textread is part of the Octave Forge IO package, not Octave itself, so
> the bug could be in the textread function.
>
> Can you provide an example that does not rely on add-on packages?
>
> jwe
>


More information about the Bug-octave mailing list