crash when deleting working directory

John W. Eaton jwe at octave.org
Mon Feb 9 12:23:48 CST 2009


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

| Hi All
| 
| This is with a check out from this weekend.
| 
| If I create a directory from the shell and start Octave in it:
| 
|   sh at sh-t400:~$ mkdir delme
|   sh at sh-t400:~$ cd delme
|   sh at sh-t400:~/delme$ octave
| 
| and then from another shell delete this directory:
| 
|   rm -rf delme
| 
| and then run a command from the Octave session
| 
|   octave:1>  sin (2)
| 
| I get the following error
| 
|   error: unable to find current directory
|   terminate called after throwing an instance of
| 'octave_execution_exception'
|   panic: Aborted -- stopping myself...
|   attempting to save variables to `octave-core'...
|   warning: unable to open `octave-core' for writing...
|   Aborted
| 
| If I recreate the 'delme' directory right after having deleted it, I
| still see the same crash.

I checked in the following change.

  http://hg.savannah.gnu.org/hgweb/octave/rev/236ff50db90f

jwe



More information about the Bug-octave mailing list