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

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

[Octave-bug-tracker] [bug #32843] crash when repeatedly running a test w


From: Carlo de Falco
Subject: [Octave-bug-tracker] [bug #32843] crash when repeatedly running a test where a function is defined in the test code
Date: Fri, 18 Mar 2011 21:35:09 +0000
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.15) Gecko/20110303 Firefox/3.6.15

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

                 Summary: crash when repeatedly running a test where a
function is defined in the test code
                 Project: GNU Octave
            Submitted by: cdf
            Submitted on: Fri 18 Mar 2011 10:35:08 PM CET
                Category: Interpreter
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Crash
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: Mac OS

    _______________________________________________________

Details:

I noticed this bug while testing the patch
http://savannah.gnu.org/patch/?7482

I get this consistently reproducible crash with the developers branch on OSX.

Let the file 'pippo.m' contain the following:


%!test
%! function p = prova (a)
%!  p = a;
%! endfunction
%! assert (prova (1), 1);


if I run 'test pippo' once everything works fine, but after repeating the
command a few times:


>> for ii=1:10
test pippo
endfor
PASSES 1 out of 1 tests
PASSES 1 out of 1 tests
panic: Bus error -- stopping myself...


c.









    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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