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

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

[Octave-bug-tracker] [bug #35772] Nested Function Support


From: Alon Levy
Subject: [Octave-bug-tracker] [bug #35772] Nested Function Support
Date: Sat, 17 Mar 2012 01:46:28 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.1) Gecko/20100101 Firefox/10.0.1

Follow-up Comment #5, bug #35772 (project octave):

Great.

I just found another bug but not really related, although it could be at the
same code area, just thought you might be interested but really I'm writing it
so as to not forget :)

If you run the following line multiple times:
 - with mercurial head plus your old patch it fails after about 5 times with
memory corruption (glibc double linked list corrupted, stack trace not
interesting so I won't post, also this is the wrong bug to post it on..)
 - with 3.6.1 (fedora latest on fedora 17) it doesn't fail immediately even
after 40 invocations, but fails when I quit the interpreter, also with double
linked list corruption
 - on both occasions the failure is inside get_cwd, which is why I keep
repeating it probably has nothing to do with nested functions.

The magic line to repeat to get a crash immediately or on quiting the
interpreter:

function f(); function t(x); x=5; disp(x); endfunction; x=7; t(7);
endfunction; f()

(no EOLs in there, just a single line)

Happy Hacking,
Alon

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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