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

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

[Octave-bug-tracker] [bug #36146] Segfault in interpreter with anonymous


From: Rik
Subject: [Octave-bug-tracker] [bug #36146] Segfault in interpreter with anonymous functions
Date: Tue, 10 Apr 2012 23:00:08 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:11.0) Gecko/20100101 Firefox/11.0

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

                 Summary: Segfault in interpreter with anonymous functions
                 Project: GNU Octave
            Submitted by: rik5
            Submitted on: Tue 10 Apr 2012 04:00:07 PM PDT
                Category: Interpreter
                Severity: 4 - Important
                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: GNU/Linux

    _______________________________________________________

Details:

Sample code to reproduce the problem:


f = @(x) x*(1)
f =

@(x) x * (1)

octave:2> f = @(x) x*(
> 1)
/m: symtab.h:1923: static void
symbol_table::set_curr_fcn(octave_user_function*, int): Assertion `scope !=
xtop_scope && scope != xglobal_scope' failed.
panic: Aborted -- stopping myself...
attempting to save variables to `octave-core'...
save to `octave-core' complete
Abort


The first example works.  The second which extends across a newline does not. 
It is not necessary to run them in this order.  Running just the newline
version causes a segfault in all versions I have available for testing from
3.2.4 to the current tip.





    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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