[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #40443] MinGW: Octave crashes on exit
From: |
Philip Nienhuis |
Subject: |
[Octave-bug-tracker] [bug #40443] MinGW: Octave crashes on exit |
Date: |
Fri, 01 Nov 2013 12:37:17 +0000 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.11) Gecko/20100701 SeaMonkey/2.0.6 |
Update of bug #40443 (project octave):
Category: None => Libraries
_______________________________________________________
Follow-up Comment #1:
Indeed, a read-only .octave_hist was the culprit.
(I am sure I didn't manually set it to read-only. A wild guess is that it
happened when I had several Octave sessions running simultaneously.)
I also found an .octave_hist file in the root of my system drive (C:\). No
idea how it got there.
Anyway, I think Octave should not trust blindly that history & config files
are always writable.
If there is a mechanism to catch write attempts to read-only files (I assume
that's the case), it failed when writing the history file on both of my
systems.
As an aside:
Presently Octave writes config & history files to the "root" of the user
profile, as customary on *nix.
>From what I know, on Windows the root of the user profile is mainly used by
the system and not really intended for users or user programs.
On Windows systems, software settings etc. are supposed to go to
program-specific subdirs in the "Application Data" subfolder in the user
profile; it can be obtained by the environment string APPDATA. (e.g., getenv
("APPDATA") on my win7 box gives 'C:\Users\Philip\Application
Data\Roaming\Octave')
I think it would be better if Octave for Windows systems complies to this.
Shall I open a separate feature request for this?
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?40443>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #40443] MinGW: Octave crashes on exit, Philip Nienhuis, 2013/11/01
- [Octave-bug-tracker] [bug #40443] MinGW: Octave crashes on exit,
Philip Nienhuis <=
- [Octave-bug-tracker] [bug #40443] MinGW: Octave crashes on exit, Rik, 2013/11/01
- [Octave-bug-tracker] [bug #40443] MinGW: Octave crashes on exit, Mike Miller, 2013/11/01
- [Octave-bug-tracker] [bug #40443] MinGW: Octave crashes on exit, Philip Nienhuis, 2013/11/01
- [Octave-bug-tracker] [bug #40443] MinGW: Octave crashes on exit, Rik, 2013/11/03
- [Octave-bug-tracker] [bug #40443] MinGW: Octave crashes on exit, Philip Nienhuis, 2013/11/04
- [Octave-bug-tracker] [bug #40443] MinGW: Octave crashes on exit when octave history file is read-only, Rik, 2013/11/08
- [Octave-bug-tracker] [bug #40443] MinGW: Octave crashes on exit when octave history file is read-only, Philip Nienhuis, 2013/11/18
- [Octave-bug-tracker] [bug #40443] MinGW: Octave crashes on exit when octave history file is read-only, Rik, 2013/11/23
- [Octave-bug-tracker] [bug #40443] MinGW: Octave crashes on exit when octave history file is read-only, Philip Nienhuis, 2013/11/23
- [Octave-bug-tracker] [bug #40443] MinGW: Octave crashes on exit when octave history file is read-only, Torsten, 2013/11/23