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

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

[Octave-bug-tracker] [bug #59735] classdef sub-classing another class wi


From: anonymous
Subject: [Octave-bug-tracker] [bug #59735] classdef sub-classing another class with the same name
Date: Sat, 19 Dec 2020 20:57:11 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 6.3; Win64; x64; rv:72.0) Gecko/20100101 Firefox/72.0

URL:
  <https://savannah.gnu.org/bugs/?59735>

                 Summary: classdef sub-classing another class with the same
name
                 Project: GNU Octave
            Submitted by: None
            Submitted on: Sun 20 Dec 2020 01:57:09 AM UTC
                Category: Octave Function
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Segfault, Bus Error, etc.
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
                 Release: 6.1.0
         Discussion Lock: Any
        Operating System: Microsoft Windows

    _______________________________________________________

Details:

Problem description

A class which sub-classes another class with the same name crashes Octave.

To recreate the issue save the following into crashoctaveclass.m


classdef crashoctaveclass<crashoctaveclass
  methods
    function crashoctaveclass()
    endfunction
  endmethods
endclassdef


Octave will crash when the constructor is called:

crashoctaveclass()

What I expect should happen

If crashoctaveclass does not exist in the path I would expect an error message
telling me that the class I'm trying to subclass does not exist. If it does
exist I would expect my new class to be a subclass of the other class in the
path.


Details from windows about the crash

Problem signature:
  Problem Event Name:   APPCRASH
  Application Name:     octave-gui.exe
  Application Version:  0.0.0.0
  Application Timestamp:        00000000
  Fault Module Name:    liboctave-8.dll
  Fault Module Version: 0.0.0.0
  Fault Module Timestamp:       00000000
  Exception Code:       c00000fd
  Exception Offset:     00000000007db026
  OS Version:   6.3.9600.2.0.0.768.101
  Locale ID:    3081
  Additional Information 1:     5bc3
  Additional Information 2:     5bc3f6900573deaf55f323776830a52e
  Additional Information 3:     92cc
  Additional Information 4:     92ccb3b39ea9198c5b9dd74ba93cf93d







    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?59735>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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