bugGNU Octave - Bugs: bug #39273, lu SIGSEGV when used with 2...

 
 

bug #39273: lu SIGSEGV when used with 2 output variables with --enable-64

Submitted by:  None
Submitted on:  Tue 18 Jun 2013 05:35:26 AM UTC  
 
Category:  Octave Function Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Segfault, Bus Error, etc.
Status:  Works For Me Assigned to:  None
Originator Name:  Erich Originator Email:  -email is unavailable-
Open/Closed:  Closed Release:  dev
Operating System:  GNU/Linux

Add a New Comment (Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Mon 20 Jan 2014 03:12:10 AM UTC, comment #2: 

No response from bug reporter in over 6 months, closing as "works for me".

Mike Miller <mtmiller>
Project Administrator
Tue 03 Dec 2013 08:06:57 PM UTC, comment #1: 

--enable-64 works for me.

Are you sure you've compiled blas, arpack, lapack, qrupdate, and suitesparse libraries properly and that your copy of Octave was built to use them as explained in the following section of the Octave manual?

http://www.gnu.org/software/octave/doc/interpreter/Compiling-Octave-with-64_002dbit-Indexing.html#Compiling-Octave-with-64_002dbit-Indexing

John W. Eaton <jwe>
Project Administrator
Tue 18 Jun 2013 05:35:26 AM UTC, original submission:  

Hello  !
At first, thank you for your work!

I am compiling octave with --enable-64
this is the first bug which prevents that
 make check
finishes

Ciau Erich


[l u]=lu(rand(3))

Program received signal SIGSEGV, Segmentation fault.
base_lu<Matrix>::getp (this=0x7fffffffcbb0) at numeric/base-lu.cc:138
138                   octave_idx_type tmp = pvt.xelem (k);

(gdb) backtrace
#0  base_lu<Matrix>::getp (this=0x7fffffffcbb0) at numeric/base-lu.cc:138
#1  0x00007ffff5e9f5f1 in base_lu<Matrix>::P (this=<optimized out>)
    at numeric/base-lu.cc:154
#2  0x00007ffff7a89508 in Flu (args=..., nargout=2) at corefcn/lu.cc:423
#3  0x00007ffff75944c9 in octave_builtin::do_multi_index_op (this=0x709ae0,
    nargout=2, args=..., lvalue_list=0x7fffffffd4b0)
    at octave-value/ov-builtin.cc:131
#4  0x00007ffff7594186 in octave_builtin::subsref (this=0x709ae0, type="(",
Python Exception <type 'exceptions.IndexError'> list index out of range:
    idx=std::list, nargout=2, lvalue_list=0x7fffffffd4b0)
    at octave-value/ov-builtin.cc:64
#5  0x00007ffff7644826 in octave_value::subsref (this=<optimized out>,
    type=..., idx=..., nargout=<optimized out>, lvalue_list=<optimized out>)
    at octave-value/ov.cc:1278
#6  0x00007ffff76afe8e in tree_index_expression::rvalue (this=<optimized out>,
    nargout=2, lvalue_list=0x7fffffffd4b0) at parse-tree/pt-idx.cc:414
#7  0x00007ffff769f8d8 in tree_multi_assignment::rvalue (this=0x786530)
    at parse-tree/pt-assign.cc:371
#8  0x00007ffff769ef59 in tree_multi_assignment::rvalue1 (this=0x786530,
    nargout=0) at parse-tree/pt-assign.cc:326
#9  0x00007ffff76a7f1d in tree_evaluator::visit_statement (
    this=0x7ffff7ff5a88 <std_evaluator>, stmt=...) at parse-tree/pt-eval.cc:747
#10 0x00007ffff76a79b1 in visit_statement_list (lst=...,
    this=0x7ffff7ff5a88 <std_evaluator>) at parse-tree/pt-eval.cc:797
---Type <return> to continue, or q <return> to quit---
#11 tree_evaluator::visit_statement_list (this=0x7ffff7ff5a88 <std_evaluator>,
    lst=...) at parse-tree/pt-eval.cc:778
#12 0x00007ffff79ba224 in main_loop () at interpfcn/toplev.cc:573
#13 0x00007ffff7284543 in octave_execute_interpreter () at octave.cc:1015
#14 0x0000003655221a05 in __libc_start_main () from /lib64/libc.so.6
#15 0x0000000000400b01 in _start ()

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by mtmiller (Posted a comment)
  • -email is unavailable- added by jwe (Posted a comment)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

     

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-01-20 mtmiller Open/ClosedOpen => Closed
    2013-12-03 jwe StatusNone => Works For Me

    Back to the top


    Powered by Savane 3.5