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

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

[Octave-bug-tracker] [bug #55010] Assertion failure with -D_GLIBCXX_ASSE


From: Orion Poplawski
Subject: [Octave-bug-tracker] [bug #55010] Assertion failure with -D_GLIBCXX_ASSERTIONS
Date: Sun, 11 Nov 2018 19:37:34 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0

URL:
  <https://savannah.gnu.org/bugs/?55010>

                 Summary: Assertion failure with -D_GLIBCXX_ASSERTIONS
                 Project: GNU Octave
            Submitted by: opoplawski
            Submitted on: Mon 12 Nov 2018 12:37:33 AM UTC
                Category: Interpreter
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Segfault, Bus Error, etc.
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 4.4.1
        Operating System: GNU/Linux

    _______________________________________________________

Details:

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.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Mon 12 Nov 2018 12:37:33 AM UTC  Name: octave-crash.patch  Size: 481B  
By: opoplawski

<http://savannah.gnu.org/bugs/download.php?file_id=45409>

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?55010>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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