[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #55469] JIT crash related to complex numbers
From: |
Julien Bect |
Subject: |
[Octave-bug-tracker] [bug #55469] JIT crash related to complex numbers |
Date: |
Mon, 14 Jan 2019 04:46:20 -0500 (EST) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0 |
URL:
<https://savannah.gnu.org/bugs/?55469>
Summary: JIT crash related to complex numbers
Project: GNU Octave
Submitted by: jbect
Submitted on: Mon 14 Jan 2019 09:46:18 AM UTC
Category: Interpreter
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.0.1
Operating System: Any
_______________________________________________________
Details:
The JIT currently crashes Octave on some very simple loops involving complex
numbers.
This is not a new issue, there are already a few commented tests in jit.tst in
relation with this. I am just reporting this for later reference.
As far as I can tell, this issue is present on both stable and default, and
with any version of LLVM that we can build with.
Here is a minimal snippet that reproduces the problem:
jit_enable (true);
x = 1 + 1i;
while (1),
x = x + 1;
break;
endwhile
-verbatim.
Or, if you prefer for loops:
jit_enable (true);
jit_startcnt (100)
x = 1 + 1i;
for j = 1:200
x = x + 1;
endfor
In both cases, Octave crashes:
fatal: caught signal Segmentation fault -- stopping myself...
Segmentation fault
-verbatim+
In both cases also, the problem disappears if the initial value is not
complex.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?55469>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #55469] JIT crash related to complex numbers,
Julien Bect <=