[Top][All Lists]

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

[Octave-bug-tracker] [bug #56878] Gui segfaults on close, after calling

From: Markus Ebner
Subject: [Octave-bug-tracker] [bug #56878] Gui segfaults on close, after calling classdef constructor from static method
Date: Mon, 9 Sep 2019 19:57:16 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; rv:68.0) Gecko/20100101 Firefox/68.0


                 Summary: Gui segfaults on close, after calling classdef
constructor from static method
                 Project: GNU Octave
            Submitted by: seijikun
            Submitted on: Mon 09 Sep 2019 11:57:14 PM UTC
                Category: GUI
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Segfault, Bus Error, etc.
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 5.1.0
        Operating System: GNU/Linux



I found a reproducible SIGSEV of Octave's GUI.

Steps to reproduce:
1) Creating class TestClass in file TestClass.m with the following code:

classdef TestClass < handle
                function self = create()
                        self = TestClass();

2) Call the classes' static method to create an instance:

testInstance = TestClass.create();

3) Close the GUI

I attached a backtrace I acquired with gdb from when the SIGSEV happened.
For now, I was only able to reproduce it when closing the GUI, but I had
occassional crashes in complexer scripts. But those could also have been
caused by my MEX-file.

System information:
2 different systems running openSUSE Tumbleweed
How octave is built:
Resulting octave binary can be downloaded from:

Maybe interesting:
Octave is built with -pie, and afaik also with -flto.


File Attachments:

Date: Mon 09 Sep 2019 11:57:14 PM UTC  Name: backtrace.txt  Size: 6KiB   By:



Reply to this item at:


  Message sent via Savannah

reply via email to

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