[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #57224] Segfault on exit after using make_int
From: |
Vladimir |
Subject: |
[Octave-bug-tracker] [bug #57224] Segfault on exit after using make_int from examples/code/make_int.cc |
Date: |
Wed, 13 Nov 2019 14:53:02 -0500 (EST) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/77.0.3865.90 Chrome/77.0.3865.90 Safari/537.36 |
URL:
<https://savannah.gnu.org/bugs/?57224>
Summary: Segfault on exit after using make_int from
examples/code/make_int.cc
Project: GNU Octave
Submitted by: rty567
Submitted on: 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: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: 5.1.0
Operating System: GNU/Linux
_______________________________________________________
Details:
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.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Wed 13 Nov 2019 07:53:01 PM UTC Name: stacktrace Size: 6KiB By:
rty567
<http://savannah.gnu.org/bugs/download.php?file_id=47860>
-------------------------------------------------------
Date: Wed 13 Nov 2019 07:53:01 PM UTC Name: make_int2.cc Size: 1KiB By:
rty567
<http://savannah.gnu.org/bugs/download.php?file_id=47861>
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?57224>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #57224] Segfault on exit after using make_int from examples/code/make_int.cc,
Vladimir <=