Running through gdb, crashing, and then printing the backtrace:
_
Starting program: /usr/bin/octave-cli
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffe7bd5700 (LWP 7971)]
GNU Octave, version 4.4.1
Copyright (C) 2018 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-pc-linux-gnu".
Additional information about Octave is available at
https://www.octave.org.
Please contribute if you find this software useful.
For more information, visit https://www.octave.org/get-involved.html
Read https://www.octave.org/bugs.html to learn how to submit bug reports.
For information about changes from previous versions, type 'news'.
octave:1> v = [3+4i 6+8i]
v =
3 + 4i 6 + 8i
octave:2> dot(v,v')
Thread 1 "octave-cli" received signal SIGSEGV, Segmentation fault.
0x7725897f in octave_value::operator=(octave_value const&) () from
/lib/x86_64-linux-gnu/liboctinterp.so.6
(gdb) bt
#0 0x7725897f in octave_value::operator=(octave_value const&) () from
/lib/x86_64-linux-gnu/liboctinterp.so.6
#1 0x778ea45d in Fdot(octave_value_list const&, int) () from
/lib/x86_64-linux-gnu/liboctinterp.so.6
#2 0x77622828 in octave_builtin::call(octave::tree_evaluator&, int,
octave_value_list const&) () from /lib/x86_64-linux-gnu/liboctinterp.so.6
#3 0x777c12dc in
octave::tree_evaluator::visit_index_expression(octave::tree_index_expression&)
() from /lib/x86_64-linux-gnu/liboctinterp.so.6
#4 0x77664e9e in
octave::tree_evaluator::evaluate(octave::tree_expression*, int) () from
/lib/x86_64-linux-gnu/liboctinterp.so.6
#5 0x777bd2cf in
octave::tree_evaluator::visit_statement(octave::tree_statement&) () from
/lib/x86_64-linux-gnu/liboctinterp.so.6
#6 0x777b5b80 in
octave::tree_evaluator::visit_statement_list(octave::tree_statement_list&) ()
from /lib/x86_64-linux-gnu/liboctinterp.so.6
#7 0x77aa47d6 in octave::interpreter::main_loop() () from
/lib/x86_64-linux-gnu/liboctinterp.so.6
#8 0x77aaa5ad in octave::interpreter::execute() () from
/lib/x86_64-linux-gnu/liboctinterp.so.6
#9 0x7722db57 in octave::cli_application::execute() () from
/lib/x86_64-linux-gnu/liboctinterp.so.6
#10 0x534c in ?? ()
#11 0x75a30b6b in __libc_start_main (main=0x5200, argc=1,
argv=0x7fffde18, init=, fini=,
rtld_fini=, stack_end=0x7fffde08) at ../csu/libc-start.c:308
#12 0x556a in ?? ()
(gdb)
_
Just to sanity check, this lib is where it's supposed to be:
geokon@ux305-ubuntu:~$ ll /lib/x86_64-linux-gnu/liboctinterp.so*
lrwxrwxrwx 1 root root 21 3月 1 2019
/lib/x86_64-linux-gnu/liboctinterp.so -> liboctinterp.so.6.0.0
lrwxrwxrwx 1 root root 21 3月 1 2019
/lib/x86_64-linux-gnu/liboctinterp.so.6 -> liboctinterp.so.6.0.0
-rw-r--r-- 1 root root 18465288 3月 1 2019
/lib/x86_64-linux-gnu/liboctinterp.so.6.0.0
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1849460
Title:
Segfault on dot(v,v')
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/octave/+bug/1849460/+subscriptions
--
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs