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

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

[Octave-bug-tracker] [bug #53838] variable editor displays out of bounds


From: Marshall
Subject: [Octave-bug-tracker] [bug #53838] variable editor displays out of bounds error too frequently
Date: Mon, 7 May 2018 12:15:47 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:59.0) Gecko/20100101 Firefox/59.0

Follow-up Comment #2, bug #53838 (project octave):

For a while, I couldn't get it to repeat the behavior on purpose on either of
the two machines I have, but I finally got it. (Or at least similar errors). 
This one is without debugging something:


clear a
a.b(1).c = 'string';
a.b(1).e = [1 2 3];
a.b(2).c = 'string';
a.b(2).e = [1 2 3];

openvar a
keyboard
%openvar a.b(2).e %Manually
%dbcont

a.b(2) = [];
%Now an error shows up on every line typed into the command prompt


This one gets it to happen in a debugging scenario (where I originally found
the problem):


%testConflict.m
function a = testConflict(a)
    a.b(1).e .*= 2;
    a.b(1).e .+= 1;
endfunction



clear a
a.b(1).c = 'string';
a.b(1).e = [1 2 3];
a.b(2).c = 'string';
a.b(2).e = [1 2 3];

openvar a
keyboard
%openvar a.b(2).e %Manually
%dbcont

dbstop testConflict

q = a;
q.b(2) = [];

testConflict(q)

%Manually: 
%dbstep  
%dbstep



I also found a way to reliably crash octave:

clear a
a.b.c = 'string';
a.b.e = [1 2 3];

openvar a
keyboard
%openvar a.b.e %Manually
%dbcont


a.b(1).c = 'string';
a.b(1).e = [1 2 3];
a.b(2).c = 'string';
a.b(2).e = [1 2 3];


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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