bugGNU Octave - Bugs: bug #54221, [octave forge] (control) lqr and...

 
 

bug #54221: [octave forge] (control) lqr and lqe core dump

Submitter:  Dmitri A. Sergatskov <dasergatskov>
Submitted:  Sun 01 Jul 2018 10:19:25 PM UTC
   
 
Category:  Octave Package Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Segfault, Bus Error, etc.
Status:  Duplicate Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * 4.4.0 Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 02 Jul 2018 05:57:07 AM UTC, comment #4: 

THanks, I think this is a duplicate of bug #53330. It has been fixed in the control package hg repository, not in a release of the package yet.


Mike Miller <mtmiller>
Group Member
Mon 02 Jul 2018 03:22:12 AM UTC, comment #3: 

I run it under debugger. Here is the top ofthe backtrace:



(gdb) bt
#0  0x00007fffeaf14f2b in raise () at /lib64/libc.so.6
#1  0x00007fffeaeff561 in abort () at /lib64/libc.so.6
#2  0x00007fffeaf57917 in __libc_message () at /lib64/libc.so.6
#3  0x00007fffeaf5ddec in  () at /lib64/libc.so.6
#4  0x00007fffeaf5f626 in _int_free () at /lib64/libc.so.6
#5  0x00007fffa9c76121 in std::default_delete<bool []>::operator()<bool>(bool*) const (this=0x7fffc15e5cf8, __ptr=0x7fffb04f1270)
    at /usr/include/c++/8/bits/unique_ptr.h:115
#6  0x00007fffa9c75559 in std::unique_ptr<bool [], std::default_delete<bool []> >::~unique_ptr() (this=0x7fffc15e5cf8, __in_chrg=<optimized out>) at /usr/include/c++/8/bits/unique_ptr.h:533
#7  0x00007fffa9c5576e in F__sl_sb02od__(octave_value_list const&, int) (args=..., nargout=2) at sl_sb02od.cc:143
#8  0x00007ffff6b17606 in octave_builtin::call(octave::tree_evaluator&, int, octave_value_list const&) (this=0x7fffb01c4540,
    tw=..., nargout=2, args=...) at ../libinterp/octave-value/ov-builtin.cc:65
#9  0x00007ffff6ceaca5 in octave::tree_evaluator::visit_index_expression(octave::tree_index_expression&) (this=0x7fffb0003790,
    idx_expr=...) at ../libinterp/parse-tree/pt-eval.cc:1381
#10 0x00007ffff6d099ac in octave::tree_index_expression::accept(octave::tree_walker&) (this=0x7fffb042e530, tw=...)
    at ../libinterp/parse-tree/pt-idx.h:102

<...>


The sl_sb02od.cc:143 line is
 OCTAVE_LOCAL_BUFFER (bool, bwork, 2*n);

Dmitri.
--

Dmitri A. Sergatskov <dasergatskov>
Sun 01 Jul 2018 10:23:36 PM UTC, comment #2: 

These functions are all in the control package, not the signal package. Latest version of control?

I confirm I also get the same error with Octave 4.4.0 and control 3.1.0.

Mike Miller <mtmiller>
Group Member
Sun 01 Jul 2018 10:22:12 PM UTC, comment #1: 

The problem is with "control-3.1.0", not signal -- could someone change the title?

Sorry about that.

Dmitri.
--

Dmitri A. Sergatskov <dasergatskov>
Sun 01 Jul 2018 10:19:25 PM UTC, original submission:  

Essentially running "Anderson.m" demo will core dump octave 4.4.0x
(hg id 194417044d1a). I narrowed it down to both lqr and lqe causing core dump:



octave:19> L = lqe (G, W, V)
free(): invalid next size (fast)
fatal: caught signal Aborted -- stopping myself...
Aborted (core dumped)


Dmitri.
--

Dmitri A. Sergatskov <dasergatskov>

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Digest:
   bug dependencies.

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 dasergatskov (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-07-02 mtmiller Dependencies- Depends on bugs #53330
    2018-07-02 mtmiller StatusConfirmed Duplicate
        Open/ClosedOpen Closed
    2018-07-01 mtmiller StatusNone Confirmed
        Summarylqr and lqe from signal-1.4.0 core dumps [octave forge] (control) lqr and lqe core dump

    Back to the top

    Powered by Savane 3.13-3230.
    Corresponding source code