bugGNU Octave - Bugs: bug #55010, Assertion failure with...

 
 

bug #55010: Assertion failure with -D_GLIBCXX_ASSERTIONS

Submitter:  Orion Poplawski <opoplawski>
Submitted:  Mon 12 Nov 2018 12:37:33 AM UTC
   
 
Category:  Interpreter Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Segfault, Bus Error, etc.
Status:  Fixed Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * 4.4.1 Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 12 Nov 2018 04:35:44 PM UTC, comment #1: 

I applied your change on stable and merged with default.

http://hg.savannah.gnu.org/hgweb/octave/rev/cb3ead3cf859

Thanks!

John W. Eaton <jwe>
Group administrator
Mon 12 Nov 2018 12:37:33 AM UTC, original submission:  

Fedora now compiles with -D_GLIBCXX_ASSERTIONS by default.  This results in an assertion failure when exiting octave with a ctrl-D:

octave:1> /usr/include/c++/8/bits/basic_string.h:1136: std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::reference std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::back() [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::reference = char&]: Assertion '!empty()' failed.

The attached patch fixes.

Orion Poplawski <opoplawski>

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #45409:  octave-crash.patch added by opoplawski (481B - text/x-patch)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by rik5 (Updated the item)
  • -email is unavailable- added by jwe (Posted a comment)
  • -email is unavailable- added by opoplawski (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 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-11-13 rik5 StatusReady For Test Fixed
        Open/ClosedOpen Closed
    2018-11-12 jwe StatusNone Ready For Test
    2018-11-12 opoplawski Attached File- Added octave-crash.patch, #45409

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code