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

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

[Octave-bug-tracker] [bug #56097] Freezing of command window after help


From: Dieter Kadelka
Subject: [Octave-bug-tracker] [bug #56097] Freezing of command window after help sin or doc win
Date: Tue, 9 Apr 2019 06:05:18 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:66.0) Gecko/20100101 Firefox/66.0

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

Hello Torsten,
with an existing file 'xxx' I started octave-5.1.0 --gui

Here is the result of debugging:

>> dbstop delete
ans =  39
>> delete 'xxx'
stopped in /usr/local/share/octave/5.1.0/m/miscellaneous/delete.m at line 39
39:   if (nargin == 0)
debug> dbnext
stopped in /usr/local/share/octave/5.1.0/m/miscellaneous/delete.m at line 43
43:   if (iscellstr (varargin))
debug>
stopped in /usr/local/share/octave/5.1.0/m/miscellaneous/delete.m at line 44
44:     for arg = varargin
debug>
stopped in /usr/local/share/octave/5.1.0/m/miscellaneous/delete.m at line 45
45:       files = glob (arg{1});
debug> files
error: 'files' undefined near line 1 column 1
error: called from
    delete at line 45 column 13
debug>
error: 'files' undefined near line 1 column 1
error: called from
    delete at line 45 column 13
debug> dbnext
stopped in /usr/local/share/octave/5.1.0/m/miscellaneous/delete.m at line 46
46:       if (isempty (files))
debug> files
files =
{
  [1,1] = xxx
}

debug> dbnext
stopped in /usr/local/share/octave/5.1.0/m/miscellaneous/delete.m at line 49
49:       for i = 1:length (files)
debug>
stopped in /usr/local/share/octave/5.1.0/m/miscellaneous/delete.m at line 50
50:         file = files{i};
debug>
stopped in /usr/local/share/octave/5.1.0/m/miscellaneous/delete.m at line 51
51:         [err, msg] = unlink (file);
debug> file
file = xxx
debug> dbnext

and octave freezes. There is no problem with octave-5.1.0 --nogui and
octave-4.4.1 --gui

octave-5.1.0 is compiled with gcc version 8.3.0 (GCC), octave-4.4.1 with gcc
version 8.2.0 (GCC). Preprocessor m4 is unchanged.

There are some differences in config.log for 5.1.0 and 4.4.1, but I have no
idea which are relevant.

Is it possible to debug core function unlink. dbstop unlink is not possible.

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?56097>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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