FS#73481 - schroot assertion failure core dumped

Attached to Project: Community Packages
Opened by Alex (pumaking) - Sunday, 23 January 2022, 21:59 GMT
Last edited by Sergej Pupykin (sergej) - Tuesday, 25 January 2022, 14:41 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sergej Pupykin (sergej)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No



When attempting to enter a schroot using schroot 1.6.10-29, I get the following:

/usr/include/c++/11.1.0/bits/stl_vector.h:1045: 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 '__n < this->size()' failed.
Aborted (core dumped)

Additional info:
* There is a fedora patch for this at https://src.fedoraproject.org/rpms/schroot/blob/rawhide/f/schroot-gcc8-assert-fix.patch
* Forum thread: https://bbs.archlinux.org/post.php?action=post&tid=273416

Steps to reproduce:

Install latest schroot from the official repo. Attempt to enter a schroot.

Can you please add the Fedora patch to the patchlist for schroot?

This task depends upon

Closed by  Sergej Pupykin (sergej)
Tuesday, 25 January 2022, 14:41 GMT
Reason for closing:  Fixed
Comment by Alex (pumaking) - Sunday, 23 January 2022, 22:05 GMT
Sorry, the correct forum thread link is: https://bbs.archlinux.org/viewtopic.php?pid=2017739.
Comment by Sergej Pupykin (sergej) - Tuesday, 25 January 2022, 14:18 GMT
patch applied in schroot-1.6.10-30, please test it
Comment by Alex (pumaking) - Tuesday, 25 January 2022, 14:33 GMT
Works for me now, thanks!