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

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

[Octave-bug-tracker] [bug #47620] segfault when using eval and anoymous


From: Michael Godfrey
Subject: [Octave-bug-tracker] [bug #47620] segfault when using eval and anoymous function
Date: Mon, 04 Apr 2016 15:19:52 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.110 Safari/537.36

Follow-up Comment #1, bug #47620 (project octave):

On current dev system (fedora 23):
++
address@hidden P150914]$ oct
>> Y2_ = eval("@(h)feval(@(x)x(x),@(g)h(@(varargin)@()g(g)(varargin{:})))")
Y2_ =

@(h) feval (@(x) x (x), @(g) h (@() @() g (g) (varargin {:})))

>>   Y2_(Y2_)(Y2_)

Segmentation fault (core dumped)
address@hidden P150914]$ 
--

It took a few seconds of waiting before seg fault.

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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