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

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

[Octave-bug-tracker] [bug #31869] Segfault on real with complex matrix m


From: Judd Storrs
Subject: [Octave-bug-tracker] [bug #31869] Segfault on real with complex matrix multiplication
Date: Mon, 13 Dec 2010 22:41:18 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US) AppleWebKit/534.10 (KHTML, like Gecko) Ubuntu/10.04 Chromium/8.0.552.215 Chrome/8.0.552.215 Safari/534.10

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

                 Summary: Segfault on real with complex matrix multiplication
                 Project: GNU Octave
            Submitted by: judd
            Submitted on: Mon 13 Dec 2010 10:41:17 PM GMT
                Category: Interpreter
                Severity: 3 - Normal
                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:

On a recent tip [Mon Dec 13 11350:f6d15ae003b8] the following matrix
multiplication segfaults:

zeros(10,1) * complex(0, 1:10)

Octave 2.2.3, 3.0.1 do not have this problem.


--judd




address@hidden:/data/projects/development/octave/octave$ gdb octave
GNU gdb (GDB) 7.1-ubuntu
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/local/bin/octave...done.
(gdb) run
Starting program: /usr/local/bin/octave 
[Thread debugging using libthread_db enabled]
GNU Octave, version 3.3.54+
Copyright (C) 2010 John W. Eaton and others.
This is free software; see the source code for copying conditions.
There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE.  For details, type `warranty'.

Octave was configured for "x86_64-unknown-linux-gnu".

Additional information about Octave is available at http://www.octave.org.

Please contribute if you find this software useful.
For more information, visit http://www.octave.org/help-wanted.html

Read http://www.octave.org/bugs.html to learn how to submit bug reports.

For information about changes from previous versions, type `news'.

octave:1> zeros(10,1) * complex(0, 1:10)

Program received signal SIGSEGV, Segmentation fault.
operator* (m=..., a=...) at ../../octave/liboctave/CMatrix.cc:3671
3671        return m * ComplexMatrix (a);
(gdb) bt
#0  operator* (m=..., a=...) at ../../octave/liboctave/CMatrix.cc:3671
#1  0x00007ffff6602d1f in operator* (m=..., a=...) at
../../octave/liboctave/CMatrix.cc:3671
#2  0x00007ffff6602d1f in operator* (m=..., a=...) at
../../octave/liboctave/CMatrix.cc:3671
#3  0x00007ffff6602d1f in operator* (m=..., a=...) at
../../octave/liboctave/CMatrix.cc:3671
#4  0x00007ffff6602d1f in operator* (m=..., a=...) at
../../octave/liboctave/CMatrix.cc:3671
#5  0x00007ffff6602d1f in operator* (m=..., a=...) at
../../octave/liboctave/CMatrix.cc:3671
#6  0x00007ffff6602d1f in operator* (m=..., a=...) at
../../octave/liboctave/CMatrix.cc:3671
#7  0x00007ffff6602d1f in operator* (m=..., a=...) at
../../octave/liboctave/CMatrix.cc:3671
#8  0x00007ffff6602d1f in operator* (m=..., a=...) at
../../octave/liboctave/CMatrix.cc:3671
#9  0x00007ffff6602d1f in operator* (m=..., a=...) at
../../octave/liboctave/CMatrix.cc:3671
....
....
#46781 0x00007ffff6602d1f in operator* (m=..., a=...) at
../../octave/liboctave/CMatrix.cc:3671
#46782 0x00007ffff6602d1f in operator* (m=..., a=...) at
../../octave/liboctave/CMatrix.cc:3671
#46783 0x00007ffff6602d1f in operator* (m=..., a=...) at
../../octave/liboctave/CMatrix.cc:3671
#46784 0x00007ffff6602d1f in operator* (m=..., a=...) at
../../octave/liboctave/CMatrix.cc:3671
#46785 0x00007ffff77f1844 in oct_binop_mul (a1=<value optimized out>,
a2=<value optimized out>) at ../../octave/src/OPERATORS/op-m-cm.cc:50
#46786 0x00007ffff7569693 in do_binary_op (op=octave_value::op_mul, v1=...,
v2=...) at ../../octave/src/ov.cc:1894
#46787 0x00007ffff75f87b2 in tree_binary_expression::rvalue1 (this=0xb09ac0)
at ../../octave/src/pt-binop.cc:124
#46788 0x00007ffff76058da in tree_evaluator::visit_statement (this=<value
optimized out>, stmt=<value optimized out>) at
../../octave/src/pt-eval.cc:737
#46789 0x00007ffff7604b28 in tree_evaluator::visit_statement_list
(this=0x7ffff7ddb418, lst=...) at ../../octave/src/pt-eval.cc:773
#46790 0x00007ffff743394f in main_loop () at ../../octave/src/toplev.cc:574
#46791 0x00007ffff73e0fb8 in octave_main (argc=1, argv=0x7fffffffe2a8,
embedded=<value optimized out>) at ../../octave/src/octave.cc:896
#46792 0x00007ffff0342c4d in __libc_start_main () from /lib/libc.so.6
#46793 0x00000000004007a9 in _start ()







    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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