Bug 1763534

Summary: [abrt] cone: std::__replacement_assert(): cone killed by SIGABRT
Product: [Fedora] Fedora Reporter: C. N. <vkngbrsrkr>
Component: coneAssignee: Mosaab Alzoubi <moceap>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 30CC: moceap, steve
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/415fca9b6a6bbcf782304782ddd66995f7cf5ddb
Whiteboard: abrt_hash:e8664f31523c01a00dcd0613db3b78b752172d4d;VARIANT_ID=workstation;
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-10-20 21:18:13 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: backtrace
none
File: cgroup
none
File: core_backtrace
none
File: cpuinfo
none
File: dso_list
none
File: environ
none
File: limits
none
File: maps
none
File: mountinfo
none
File: open_fds
none
File: proc_pid_status none

Description C. N. 2019-10-20 21:12:21 UTC
Description of problem:
# 1.  INSTALL CONE

$ sudo dnf install cone
Last metadata expiration check: 0:57:05 ago on Sun 20 Oct 2019 03:56:49 PM EDT.
Dependencies resolved.
================================================================================
 Package                Architecture  Version               Repository     Size
================================================================================
Installing:
 cone                   x86_64        0.96.2-6.fc30         fedora        2.0 M
Installing dependencies:
 courier-unicode        x86_64        2.0-6.fc30            fedora         67 k

Transaction Summary
================================================================================
Install  2 Packages

Total download size: 2.1 M
Installed size: 7.3 M
Is this ok [y/N]: y
Downloading Packages:
(1/2): courier-unicode-2.0-6.fc30.x86_64.rpm    272 kB/s |  67 kB     00:00    
(2/2): cone-0.96.2-6.fc30.x86_64.rpm            3.6 MB/s | 2.0 MB     00:00    
--------------------------------------------------------------------------------
Total                                           1.6 MB/s | 2.1 MB     00:01     
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                        1/1 
  Installing       : courier-unicode-2.0-6.fc30.x86_64                      1/2 
  Running scriptlet: cone-0.96.2-6.fc30.x86_64                              2/2 
  Installing       : cone-0.96.2-6.fc30.x86_64                              2/2 
  Running scriptlet: cone-0.96.2-6.fc30.x86_64                              2/2 
  Verifying        : cone-0.96.2-6.fc30.x86_64                              1/2 
  Verifying        : courier-unicode-2.0-6.fc30.x86_64                      2/2 

Installed:
  cone-0.96.2-6.fc30.x86_64          courier-unicode-2.0-6.fc30.x86_64         

Complete!

# 2. RUN CONE

$ cone

# 3. CORE DUMP

/usr/include/c++/9/bits/stl_vector.h:1042: std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::operator[](std::vector<_Tp, _Alloc>::size_type) [with _Tp = char; _Alloc = std::allocator<char>; std::vector<_Tp, _Alloc>::reference = char&; std::vector<_Tp, _Alloc>::size_type = long unsigned int]: Assertion '__builtin_expect(__n < this->size(), true)' failed.
                                                   Aborted (core dumped)



Version-Release number of selected component:
cone-0.96.2-6.fc30

Additional info:
reporter:       libreport-2.10.1
backtrace_rating: 4
cmdline:        /usr/libexec/cone
crash_function: std::__replacement_assert
executable:     /usr/libexec/cone
journald_cursor: s=d25dc67a53754fc2803b27499bc796e9;i=71b02;b=5d3c7382d40741eaaa15e34e8b01fb82;m=fe66e327;t=5955dd09cd3ea;x=ed7f4f4e60f4841
kernel:         5.2.18-200.fc30.x86_64
rootdir:        /
runlevel:       N 5
type:           CCpp
uid:            1000

Truncated backtrace:
Thread no. 1 (8 frames)
 #2 std::__replacement_assert at /usr/include/c++/9/x86_64-redhat-linux/bits/c++config.h:2493
 #3 std::vector<char, std::allocator<char> >::operator[] at /usr/include/c++/9/bits/stl_vector.h:1040
 #4 towidechar<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::back_insert_iterator<std::vector<wchar_t, std::allocator<wchar_t> > > > at ../curses/widechar.H:41
 #5 towidechar<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > at /usr/include/c++/9/bits/move.h:47
 #6 widecharbuf::init_unicode<CursesScreen::repltabs_spaces> at widechar.H:204
 #7 CursesScreen::writeText at cursesscreen.C:375
 #9 CursesTitleBar::draw at /usr/include/c++/9/bits/basic_string.h:936
 #10 resetScreenColors at cone.C:1108

Potential duplicate: bug 1574797

Comment 1 C. N. 2019-10-20 21:12:23 UTC
Created attachment 1627527 [details]
File: backtrace

Comment 2 C. N. 2019-10-20 21:12:24 UTC
Created attachment 1627528 [details]
File: cgroup

Comment 3 C. N. 2019-10-20 21:12:25 UTC
Created attachment 1627529 [details]
File: core_backtrace

Comment 4 C. N. 2019-10-20 21:12:26 UTC
Created attachment 1627530 [details]
File: cpuinfo

Comment 5 C. N. 2019-10-20 21:12:27 UTC
Created attachment 1627531 [details]
File: dso_list

Comment 6 C. N. 2019-10-20 21:12:28 UTC
Created attachment 1627532 [details]
File: environ

Comment 7 C. N. 2019-10-20 21:12:29 UTC
Created attachment 1627533 [details]
File: limits

Comment 8 C. N. 2019-10-20 21:12:30 UTC
Created attachment 1627534 [details]
File: maps

Comment 9 C. N. 2019-10-20 21:12:31 UTC
Created attachment 1627535 [details]
File: mountinfo

Comment 10 C. N. 2019-10-20 21:12:32 UTC
Created attachment 1627536 [details]
File: open_fds

Comment 11 C. N. 2019-10-20 21:12:33 UTC
Created attachment 1627537 [details]
File: proc_pid_status

Comment 12 C. N. 2019-10-20 21:18:13 UTC

*** This bug has been marked as a duplicate of bug 1574797 ***