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

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

[Octave-bug-tracker] [bug #29960] seg-fault caused by feval(f, aa{:})


From: Alois Schlögl
Subject: [Octave-bug-tracker] [bug #29960] seg-fault caused by feval(f, aa{:})
Date: Tue, 25 May 2010 20:09:01 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100402 Ubuntu/9.10 (karmic) Firefox/3.5.9

URL:
  <http://savannah.gnu.org/bugs/?29960>

                 Summary: seg-fault caused by feval(f,aa{:})
                 Project: GNU Octave
            Submitted by: schloegl
            Submitted on: Tue 25 May 2010 08:09:01 PM GMT
                Category: None
                Severity: 3 - Normal
              Item Group: Crash
                  Status: None
             Assigned to: None
         Originator Name: Alois Schlögl
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: GNU/Linux

    _______________________________________________________

Details:

Some testing functions in on octave-forge/main/optim are failing with a
segmentation fault. I tried to identify the the problem and could reduce the
problem to the following test case. 

  clear 
  clear functions 

  function v = ff(x,y,t)
    v = x'*y;
  endfunction

  aa{1}=[1;2];
  aa{2}=[2;3];
  aa{3}=1;
  f = 'ff'; 

  feval (f, aa{1}, aa{2}, aa{3})        # is fine 

  feval (f, aa{:})        # segmentation fault, 


The last command "feval(f,aa{:})" causes a segmentation fault, while the
previous one works fine. 

  Alois 




    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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