Description of problem: When starting prusa-slicer for the second or subsequent times, it crashes immediately with this error: /usr/include/c++/11/bits/basic_string.h:1058: 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. Removing the .config/PrusaSlicer/cache/PrusaResearch.ini file allows another successful run, after which I have to delete the .config/PrusaSlicer/cache directory again to use the slicer again. This happens even if I move .config/PrusaSlicer out of the way and start over from scratch with a fresh configuration, so it's not an aspect of my configuration, as far as I can tell. Version-Release number of selected component (if applicable): prusa-slicer-2.3.1-5.fc35.x86_64 How reproducible: Always. Steps to Reproduce: 1. Start prusa-slicer 2. Exit prusa-slicer 3. Start prusa-slicer Additional info: Someone else reported upstream on Fedora 34 as https://github.com/prusa3d/PrusaSlicer/issues/7231 but this issue does not reproduce with their AppImage packages, either of 2.3.1 or their latest beta release, so it's reasonable to consider that it might be related to the Fedora build configuration.
Sounds like this only happens when compiled with -Wp,-D_GLIBCXX_ASSERTIONS.
This should remove -Wp,-D_GLIBCXX_ASSERTIONS as a workaround: https://src.fedoraproject.org/rpms/prusa-slicer/pull-request/11 https://src.fedoraproject.org/rpms/prusa-slicer/pull-request/12 Could you give it a spin when it builds?
I confirm that https://kojipkgs.fedoraproject.org//work/tasks/6275/79436275/prusa-slicer-2.3.3-3.fc35.x86_64.rpm works around the problem; it no longer crashes. Thank you!
FEDORA-2021-1a6b827c46 has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2021-1a6b827c46
FEDORA-2021-1a6b827c46 has been pushed to the Fedora 36 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-2021-cbd7b11d7d has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2021-cbd7b11d7d
FEDORA-2021-cbd7b11d7d has been pushed to the Fedora 35 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-cbd7b11d7d` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-cbd7b11d7d See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2021-cbd7b11d7d has been pushed to the Fedora 35 stable repository. If problem still persists, please make note of it in this bug report.