bugGNU Octave - Bugs: bug #59735, classdef sub-classing another...

 
 

bug #59735: classdef sub-classing another class with the same name

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:  -email is unavailable-
Open/Closed:  Open Release:  6.1.0
Operating System:  Microsoft Windows

Add a New Comment (Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sun 20 Dec 2020 01:57:09 AM UTC, original submission:  

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

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can add your encouragement to it.
This task has 0 encouragements so far.

Only project members can vote.

 

 

 

No changes have been made to this item

Back to the top


Powered by Savane 3.5