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

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

[Octave-bug-tracker] [bug #31286] octave crash after paste


From: John W. Eaton
Subject: [Octave-bug-tracker] [bug #31286] octave crash after paste
Date: Sat, 09 Oct 2010 14:32:07 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.11) Gecko/20100819 Iceweasel/3.5.11 (like Firefox/3.5.11)

Update of bug #31286 (project octave):

                  Status:                    None => Patch Submitted        

    _______________________________________________________

Follow-up Comment #1:

I assume you found this problem with the fltk backend?  I think it will also
happen if there are any input_event_hook functions defined.  The problem is
that input_event_hook in input.cc calls feval, and if that happens when we are
in the middle of parsing a function, the current symbol table scope is
pushed/popped, but the parser had it temporarily set to the scope of the
partially parsed function.  I'm not sure whether it is appropriate to push the
scope of the new partially parsed function onto the call stack, but that
appears to avoid the crash.  See the attached patch.  But since I'm not sure
about this solution and it might cause some other trouble, I'd like some
feedback before committing it.

(file #21646)
    _______________________________________________________

Additional Item Attachment:

File name: diffs.txt                      Size:2 KB


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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