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

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

[Octave-bug-tracker] [bug #35068] segfault when running %!test block wit


From: Josef Leydold
Subject: [Octave-bug-tracker] [bug #35068] segfault when running %!test block with embedded %!function
Date: Thu, 15 Dec 2011 09:00:20 +0000
User-agent: Opera/9.80 (X11; Linux i686; U; en) Presto/2.7.62 Version/11.00

Follow-up Comment #3, bug #35068 (project octave):

Sorry for reporting this known bug but I obviously have missed this entry in
the database.

I have found this problem when I wanted to test an oct file where
a function handler is passed to a C routine in a rather complex way. Since
octave crashed with a segfault I first assumed that it was my error and spent
some time to find the point where my program crashes. 

So if there is yet no fix on the development branch may I suggest to report
this bug in the Octave manual, e.g. in 
Section "F.1 Actual Bugs We Haven't Fixed Yet", and/or even better in Section
"B.1 Test Functions".

BTW, there is a typo in the manual in the latter section.
The example

%!function a = fn(b)
%!  a = 2*b;
%!assert (a(2),4);

does not work.

Anyway, thanks a lot for your help.

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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