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

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

[Octave-bug-tracker] [bug #52080] Segmentation fault when calling clear


From: Piotr Held
Subject: [Octave-bug-tracker] [bug #52080] Segmentation fault when calling clear all on classdef with local functions that cause parse error
Date: Wed, 20 Sep 2017 16:56:58 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.78 Safari/537.36

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

                 Summary: Segmentation fault when calling clear all on
classdef with local functions that cause parse error
                 Project: GNU Octave
            Submitted by: jsoh425
            Submitted on: Wed 20 Sep 2017 08:56:56 PM UTC
                Category: Interpreter
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Segfault, Bus Error, etc.
                  Status: None
             Assigned to: None
         Originator Name: Piotr Held
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: Any

    _______________________________________________________

Details:

The error occurs when calling 'clear all' after trying to create following
classdef object:


classdef seg_fault < handle
end

function foo1
  1;
end

function foo2
  1+
end


The segmentation fault happens when clearing foo1 in
symbol_table::clear_functions (symtab.h:1430
<http://hg.savannah.gnu.org/hgweb/octave/file/6570fdb7d3a0/libinterp/corefcn/symtab.h#l1430>).

I attached the classdef file.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Wed 20 Sep 2017 08:56:56 PM UTC  Name: seg_fault.m  Size: 80B   By:
jsoh425

<http://savannah.gnu.org/bugs/download.php?file_id=41849>

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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