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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #37998] octave crash when using gesdd driver o


From: anonymous
Subject: [Octave-bug-tracker] [bug #37998] octave crash when using gesdd driver on complex matrices
Date: Sun, 30 Dec 2012 02:58:37 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20100101 Firefox/17.0

URL:
  <http://savannah.gnu.org/bugs/?37998>

                 Summary: octave crash when using gesdd driver on complex
matrices
                 Project: GNU Octave
            Submitted by: None
            Submitted on: Sun 30 Dec 2012 02:58:35 AM UTC
                Category: Libraries
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Crash
                  Status: None
             Assigned to: None
         Originator Name: Alick Zhao
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 3.4.3
        Operating System: GNU/Linux

    _______________________________________________________

Details:

I find that Octave crashes when I use the gesdd driver to do svd on complex
matrices whose order is larger than 2.

The crash occurred at both stock Octave 3.4.3 on Fedora 16, and my personal
build of Octave hg head one month ago (3.7.0+).

Note it goes fine when using gesvd driver.

Below is the code script I use. I'll attach the backtrace output as a file.


% Possible bug when doing SVD.

clear all; close all; clc;

M = 3;
N = M;

% Generate channel matrix H.
randn('state', 1); % Set initial state for constant generation.
H = complex(randn(M, N), randn(M, N)) ./ sqrt(2)
%H = [1+1i, 1-1i, 0; 0, 2, 0; 1i, 1i, 1+2i]
norm(H)

old_driver = svd_driver();

% XXX: octave core dumped when use gesdd driver on complex matrices.
svd_driver('gesdd');

[U, S, V] = svd(H);
diag(S)

% Restore svd_driver defaults.
svd_driver(old_driver);




    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Sun 30 Dec 2012 02:58:35 AM UTC  Name: bug.output  Size: 14kB   By: None
backtrace output
<http://savannah.gnu.org/bugs/download.php?file_id=27165>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?37998>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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