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

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

[Octave-bug-tracker] [bug #52365] Octave crashes when solving a sparse s


From: anonymous
Subject: [Octave-bug-tracker] [bug #52365] Octave crashes when solving a sparse system of linear equations (U = K \ R)
Date: Wed, 8 Nov 2017 05:10:19 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:56.0) Gecko/20100101 Firefox/56.0

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

                 Summary: Octave crashes when solving a sparse system of
linear equations (U = K \ R)
                 Project: GNU Octave
            Submitted by: None
            Submitted on: Wed 08 Nov 2017 10:10:17 AM UTC
                Category: Interpreter
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Segfault, Bus Error, etc.
                  Status: None
             Assigned to: None
         Originator Name: Lagrange
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 4.2.1
        Operating System: Microsoft Windows

    _______________________________________________________

Details:

Dear Octave users and developers,

If you run the octave script in the attached file, you get the following
output:

$ octave octave_cholmod_sparse.m
warning: warning -4, at line 88 in file
/cygdrive/e/cyg_pub/devel/suitesparse/build_4.5.1/cholmod-3.0.9-1.x86_64/src/cholmod-3.0.9/Cholesky/cholmod_spsolve.c:
invalid xtype
warning: called from
    octave_cholmod_sparse at line 6 column 3

After that octave crashes:

Program received signal SIGSEGV, Segmentation fault.
0x00000003de0f36cb in
cygoctave-4!_ZNK12SparseMatrix6fsolveER10MatrixTypeRKS_RiR                    
                                                                              
                                                                              
                       dPFvdEb () from /usr/bin/cygoctave-4.dll

(gdb) bt full
No symbol table info available.#0  0x00000003de0f36cb in
cygoctave-4!SparseMatrix::fsolve(MatrixType&, SparseMatrix const&, int&,
double&, void (*)(double), bool) const () from /usr/bin/cygoctave-4.dll
No symbol table info available.
#1  0x00000003de0f90b8 in cygoctave-4!SparseMatrix::solve(MatrixType&,
SparseMatrix const&, int&, double&, void (*)(double), bool) const () from
/usr/bin/cygoctave-4.dll
No symbol table info available.
#2  0x00000003dd7692e5 in cygoctinterp-4!xleftdiv(SparseMatrix const&,
SparseMatrix const&, MatrixType&) () from /usr/bin/cygoctinterp-4.dll
No symbol table info available.
#3  0x00000003dd1714de in cygoctinterp-4!install_sm_sm_ops() () from
/usr/bin/cygoctinterp-4.dll
No symbol table info available.
#4  0x00000003dd35bbb0 in cygoctinterp-4!do_binary_op(octave_value::binary_op,
octave_value const&, octave_value const&) () from /usr/bin/cygoctinterp-4.dll
No symbol table info available.
#5  0x00000003dd3a9166 in cygoctinterp-4!tree_binary_expression::rvalue1(int)
() from /usr/bin/cygoctinterp-4.dll
No symbol table info available.
#6  0x00000003dd3a4f36 in cygoctinterp-4!tree_simple_assignment::rvalue1(int)
() from /usr/bin/cygoctinterp-4.dll
No symbol table info available.
#7  0x00000003dd3b4122 in
cygoctinterp-4!octave::tree_evaluator::visit_statement(tree_statement&) ()
from /usr/bin/cygoctinterp-4.dll
No symbol table info available.
#8  0x00000003dd3b38a9 in
cygoctinterp-4!octave::tree_evaluator::visit_statement_list(tree_statement_list&)
() from /usr/bin/cygoctinterp-4.dll
No symbol table info available.
#9  0x00000003dd352567 in
cygoctinterp-4!octave_user_script::do_multi_index_op(int, octave_value_list
const&) () from /usr/bin/cygoctinterp-4.dll
No symbol table info available.
#10 0x00000003dd39cc77 in cygoctinterp-4!source_file(std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&, bool, bool,
std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)
() from /usr/bin/cygoctinterp-4.dll
No symbol table info available.
#11 0x00000003dd6551a3 in cygoctinterp-4!recover_from_exception() () from
/usr/bin/cygoctinterp-4.dll
No symbol table info available.
#12 0x00000003dd6562c6 in
cygoctinterp-4!octave::interpreter::execute_command_line_file(std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&) () from
/usr/bin/cygoctinterp-4.dll
No symbol table info available.
#13 0x00000003dd65b2eb in cygoctinterp-4!octave::interpreter::execute() ()
from /usr/bin/cygoctinterp-4.dll
No symbol table info available.
#14 0x0000000100401913 in ?? ()
No symbol table info available.
#15 0x0000000180047812 in _cygwin_exit_return () from /usr/bin/cygwin1.dll
No symbol table info available.
#16 0x00000001800455e3 in _cygtls::call2(unsigned int (*)(void*, void*),
void*, void*) () from /usr/bin/cygwin1.dll
No symbol table info available.
#17 0x0000000180045694 in _cygtls::call(unsigned int (*)(void*, void*), void*)
() from /usr/bin/cygwin1.dll
No symbol table info available.
#18 0x0000000000000000 in ?? ()
No symbol table info
available.

This bug also occurs in the native Windows build version 4.0.0 and 4.2.1.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Wed 08 Nov 2017 10:10:17 AM UTC  Name: octave_cholmod_sparse.m  Size:
134B   By: None

<http://savannah.gnu.org/bugs/download.php?file_id=42347>
-------------------------------------------------------
Date: Wed 08 Nov 2017 10:10:17 AM UTC  Name: octave_cholmod_sparse.mat  Size:
1009KiB   By: None

<http://savannah.gnu.org/bugs/download.php?file_id=42348>

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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