[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #31734] SEGFAULT when using sparse matrices wi
From: |
Rik |
Subject: |
[Octave-bug-tracker] [bug #31734] SEGFAULT when using sparse matrices with certain index combinations |
Date: |
Mon, 22 Nov 2010 21:58:33 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.12) Gecko/20101027 Ubuntu/9.10 (karmic) Firefox/3.6.12 |
URL:
<http://savannah.gnu.org/bugs/?31734>
Summary: SEGFAULT when using sparse matrices with certain
index combinations
Project: GNU Octave
Submitted by: rik5
Submitted on: Mon 22 Nov 2010 01:58:32 PM PST
Category: Interpreter
Severity: 4 - Important
Priority: 5 - Normal
Item Group: Crash
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: dev
Operating System: GNU/Linux
_______________________________________________________
Details:
The indexing for sparse matrices is occasionally broken. A sample test
program is attached. This bug is not present in 3.2.4, but is present with
tip 11285:107e7476a5da. This is for an x86_64 machine.
spvar = spalloc (30^3, 1, 100);
#for i = [4 1154 3 4] # to cause segfault
for i = [4 1154 3] # to see bad variable indices
spvar(i) += i
endfor
Output is
spvar =
Compressed Column Sparse (rows = 27000, cols = 1, nnz = 1 [0.0037%])
(4, 1) -> 4
spvar =
Compressed Column Sparse (rows = 27000, cols = 1, nnz = 2 [0.0074%])
(4, 1) -> 4
(1154, 1) -> 1154
spvar =
Compressed Column Sparse (rows = 27000, cols = 1, nnz = 3 [0.011%])
(3, 1) -> 3
(1154, 1) -> 1154
(-2076787047, 1) -> 1.5526e-316
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Mon 22 Nov 2010 01:58:32 PM PST Name: segtest.m Size: 182B By: rik5
<http://savannah.gnu.org/bugs/download.php?file_id=22082>
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?31734>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #31734] SEGFAULT when using sparse matrices with certain index combinations,
Rik <=