Description of problem: Since a recent dnf update, schroot does not work at all any more: $ schroot -c artful /usr/include/c++/8/bits/stl_vector.h:932: 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. This happens with any chroot, as user and root. `schroot -l` and `schroot --help` still work, though. Version-Release number of selected component (if applicable): schroot-1.6.5-23.fc28.x86_64 How reproducible: Always
Hi Martin, Sorry there is a problem with the package. I'm no longer maintaining it, so I won't be able to work on this problem. I'm beginning the process to orphan the package now so maybe someone will take over maintenance.
schroot-1.6.10-1.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-dce4e36c31
As noted on the bodhi update page, schroot-1.6.10-1.fc28 has the exact same problem.
OK Thanks for the feedback , I will check it soon as possible.
schroot-1.6.10-1.fc28 has been pushed to the Fedora 28 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-dce4e36c31
Created attachment 1432113 [details] Patch to fix STL assets with gcc 8 The attached patch fixes the issue for me when I rebuild the SRPM with it included. From googling, it seems there are some issues _GLIBCXX_ASSERTIONS versus overly aggressive gcc 8 optimizations, using the C++11 data() method sidesteps that.
Scott: I confirm this patch works fine, I built/installed that locally. Thanks!
schroot-1.6.10-1.fc28 crashes the same way but when built with the patch added it works fine. Thanks.
*** Bug 1575543 has been marked as a duplicate of this bug. ***
FWIW, I can confirm that I still get the same failure with schroot-1.6.10-1.fc28 from updates-testing, and that schroot 1.6.5-23.fc28 works fine after applying the patch from https://bugzilla.redhat.com/show_bug.cgi?id=1573253#c6 and rebuilding.
schroot-1.6.10-2.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-2b19a62674
schroot-1.6.10-2.fc28 has been pushed to the Fedora 28 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-2b19a62674
schroot-1.6.10-3.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-e79bb30016
schroot-1.6.10-3.el7 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2018-70339c68b5
schroot-1.6.10-3.fc28 has been pushed to the Fedora 28 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-e79bb30016
schroot-1.6.10-3.el7 has been pushed to the Fedora EPEL 7 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2018-70339c68b5
I verified the bodhi update for -3, works fine. Thank you!
schroot-1.6.10-3.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report.
schroot-1.6.10-3.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report.
(In reply to Fedora Update System from comment #19) > schroot-1.6.10-3.el7 has been pushed to the Fedora EPEL 7 stable repository. > If problems still persist, please make note of it in this bug report. I installed this package from the updates-testing repo and I can confirm the issue is fixed in schroot-1.6.10-3.fc28. Thanks!