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

[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

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

                 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

    _______________________________________________________

Details:

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
        
        methods(Static)
                function self = create()
                        self = TestClass();
                end
        end
        
end


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:
https://build.opensuse.org/package/show/openSUSE:Factory/octave
Resulting octave binary can be downloaded from:
https://build.opensuse.org/package/binaries/openSUSE:Factory/octave/standard

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:
seijikun

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

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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