octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #40443] MinGW: Octave crashes on exit when oct


From: Philip Nienhuis
Subject: [Octave-bug-tracker] [bug #40443] MinGW: Octave crashes on exit when octave history file is read-only
Date: Sun, 24 Nov 2013 22:33:15 +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

Follow-up Comment #13, bug #40443 (project octave):

Lots of questions :-)

(I wrote "-again!-" because I felt the discussion was tending towards a
"crash/no crash" direction, rather than to how to provide more info to the
user.)

I don't know if I can try the fix before Wednesday (busy week ahead). I'll
pull in a minute + start build procedure in the hope I have a new build
tomorrow morning.

On WinXP:

>> history_file
ans = C:\Home\Philip\.octave_hist
>> system ('attrib C:\Home\Philip\.octave_hist')
A          C:\Home\Philip\.octave_hist
ans = 0
>>
and a MinGW shell says:
-rw-r--r--  1 Philip Administrators   31784 Nov 24 21:33 .octave_hist

On Win7:

>> history_file
ans = C:\Users\Philip\.octave_hist
>> system ('attrib C:\Users\Philip\.octave_hist')
A          C:\Users\Philip\.octave_hist
ans = 0
>>
and a MinGW shell says:
-rw-r--r--  1 Philip Administrators   32638 Nov 24 22:46 .octave_hist

On both systems the file was preexisting (as I've been using Octave a long
time there).

I suspect the actual problem for octave_hist to become read-only lies in the
fact that $USERPROFILE (or %USERPROFILE%) isn't the best place for program
settings. On Windows that had better be in %APPDATA%\Octave.
I filed a bug report about that (next up, bug #40444). 

The crash happens in both GUI and CLI, but most "reliably" on Windows 8. That
said, Win8 is the most picky towards ALL programs I try to run on it, not just
Octave.

Rik suggested to first run __run_test_suite __ before exiting.

Tonight I have no more time to try in cmd32 & GUI.
MSYS is here: (after setting octave_hist read-only):

octave-cli.exe:2>__run_test_suite__
:
 <Ctrl-D>
octave-cli.exe:3> error: Permission denied
error: ignoring octave_execution_exception while preparing to exit
0x66A2CE40 (0x06D65C08 0x06C0156C 0x00000011 0x66CB31E8), _ZN5ArrayIdED2Ev() +
0x10 bytes(s)
0x06D55180 (0x66AB8620 0x00000000 0x00000000 0x66C932E8) <unknown module>
0x66A1DBC0 (0x08798B1C 0x355801C7 0x6F8366CB 0x31750108),
_ZN5ArrayI12octave_valueED0Ev
0xEC835356 (0x00000000 0x00000000 0x00000000 0x00000000) <unknown module>
panic: Segmentation violation -- stopping myself...
attempting to save variables to 'octave-workspace'...
save to 'octave-workspace' complete

address@hidden /x/octave/octave-377+_MXE/bin



    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?40443>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]