bugGNU Octave - Bugs: bug #57224, Segfault on exit after using...

 
 

bug #57224: Segfault on exit after using make_int from examples/code/make_int.cc

Submitter:  Vladimir <rty567>
Submitted:  Wed 13 Nov 2019 07:53:01 PM UTC
   
 
Category:  Octave Function Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Segfault, Bus Error, etc.
Status:  Duplicate Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * 5.1.0 Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 14 Nov 2019 06:37:32 PM UTC, comment #2: 

I verified that this has been fixed on the current development branch.  Closing as a duplicate of bug #56878.

Rik <rik5>
Group administrator
Wed 13 Nov 2019 08:01:41 PM UTC, comment #1: 

Thank you for the detailed bug report. This looks like the same error and stack trace shown in bug #56878. Are you able to test with the Octave 6 development version to see if it no longer crashes? If not, I or someone else will take the time to see if it works.

Mike Miller <mtmiller>
Group Member
Wed 13 Nov 2019 07:53:01 PM UTC, original submission:  

After compiling provided examples/code/make_int.cc file and using in the octave gui interface, the octave segfaults on exit:


shell> mkoctfile make_int.cc
shell> octave --gui
GNU Octave, version 5.1.0
Copyright (C) 2019 John W. Eaton and others.
This is free software; see the source code for copying conditions.
There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE.  For details, type 'warranty'.

Octave was configured for "x86_64-pc-linux-gnu".

Additional information about Octave is available at https://www.octave.org.

Please contribute if you find this software useful.
For more information, visit https://www.octave.org/get-involved.html

Read https://www.octave.org/bugs.html to learn how to submit bug reports.
For information about changes from previous versions, type 'news'.

>>a=make_int(5)
installing integer type at type-id = 56
a =

5

>>exit
fatal: caught signal Segmentation fault -- stopping myself...
octave exited with signal 11


Their is no segfault when using command-line interface. The octave is compiled from sources. The same behavior is observed on Ubuntu 18.04 with Qt5 gui and CentOS 7 with Qt4 gui. Ubuntu crash report is 20MB long. The stack trace from it is attached. The problem is reproduced also with much shortened make_int2.cc file, which is also attached.

Vladimir <rty567>

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #47860:  stacktrace added by rty567 (6KiB - application/octet-stream)
file #47861:  make_int2.cc added by rty567 (1KiB - text/x-c++src)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by rty567 (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-11-14 rik5 StatusNone Duplicate
        Open/ClosedOpen Closed
    2019-11-13 rty567 Attached File- Added stacktrace, #47860
        Attached File- Added make_int2.cc, #47861

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code