Craches at start, GCC 8 used

Bug #1767051 reported by Vascom
22
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Grub Customizer
New
Undecided
Unassigned

Bug Description

I am build grub-customizer 5.0.6 with GCC 8 for Fedora 28.
It craches after enter password or immediately if used sudo:

 *** initializing (w/o specified bootloader type)…
   * reading partition info…
/usr/include/c++/8/bits/basic_string.h:1048: std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::reference std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::operator[](std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::reference = char&; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]: Assertion '__pos <= size()' failed.

Can you help me solve problem?

Revision history for this message
Steve Elliott (stevecgelliott) wrote :

My grub-customizer released (not custom built) for Fedora 28 fails with the same message.

[steve@colt ~]$ uname -a
Linux colt 4.16.6-302.fc28.x86_64 #1 SMP Wed May 2 00:07:06 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

[steve@colt ~]$ sudo grub-customizer
[sudo] password for steve:
 *** initializing (w/o specified bootloader type)…
   * reading partition info…
/usr/include/c++/8/bits/basic_string.h:1048: std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::reference std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::operator[](std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::reference = char&; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]: Assertion '__pos <= size()' failed.
Aborted

[steve@colt ~]$ sudo dnf info grub-customizer
Failed to synchronize cache for repo 'virtualbox', disabling.
Last metadata expiration check: 0:12:24 ago on Tue 08 May 2018 13:52:35 AEST.
Installed Packages
Name : grub-customizer
Version : 5.0.6
Release : 7.fc28
Arch : x86_64
Size : 2.7 M
Source : grub-customizer-5.0.6-7.fc28.src.rpm
Repo : @System
From repo : fedora
Summary : Graphical GRUB2 settings manager
URL : https://launchpad.net/grub-customizer
License : GPLv3
Description : Grub Customizer is a graphical interface to configure the grub2/burg settings
             : with focus on the individual list order - without losing the dynamical behavior
             : of grub.
             :
             : The goal of this project is to create a complete and intuitive graphical
             : grub2/burg configuration interface. The main feature is the boot entry list
             : configuration - but not simply by modified the grub.cfg: to keep the dynamical
             : configuration, this application will only edit the script order and generate
             : proxies (script output filter), if required.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.