Created attachment 1432190 [details] Crash log Description of problem: crawl crashes when loading game. Version-Release number of selected component (if applicable): crawl-0.21.1-3.fc28.x86_64 How reproducible: Always Steps to Reproduce: 1. Start 'crawl' on command line. 2. Create new character (e.g. '!' for random one) 3. Press 'S' 'y' to save and quit. 4. Start 'crawl' again and try to continue the saved game. Actual results: Game segfaults with message: We crashed! This is likely due to a bug in Crawl. Please submit a bug report at https://crawl.develz.org/mantis/ and include: - The crash report: /home/pauli/.crawl/morgue/crash-Cien-20180506-023353.txt - Your save file: /home/pauli/.crawl/saves/Cien.cs - A description of what you were doing when this crash occurred. /usr/include/c++/8/bits/basic_string.h:1029: std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::const_reference std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::operator[](std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type) const [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::const_reference = const char&; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]: Assertion '__pos <= size()' failed. Expected results: Should not crash (makes the whole RPM package unusable). Additional info: Debug log attached.
Please, report these infos to upstream too: https://crawl.develz.org/mantis/main_page.php Thanks!
Was already reported by someone else: https://crawl.develz.org/mantis/view.php?id=11467
The issue is not reproduced if I rebuild crawl from sources (git clone https://github.com/crawl/crawl.git; cd crawl/crawl-ref/source; make) So this may be specific to the Fedora package, not upstream bug.
Typoed the upstream build commands above, there's "git checkout 0.21.1" before "make" so the version should be the same as in the Fedora package.
Please, test this new build: https://koji.fedoraproject.org/koji/taskinfo?taskID=26835085
*** Bug 1575724 has been marked as a duplicate of this bug. ***
It looks like this crash is caused by '-Wp,-D_GLIBCXX_ASSERTIONS' compiler flag, recently (starting from fedora 28) added to the default C++ compiler flags on Fedora build system.
With this rebuild, crawl looks playable on fedora 28; please, test it if you can: https://koji.fedoraproject.org/koji/taskinfo?taskID=26854907
Tested, saved games can be played again on f28. Thanks Antonio!
A f28-rebuild with temporary bug fix is on testing: https://bodhi.fedoraproject.org/updates/FEDORA-2018-a7e83cad5a
This bug appears to have been reported against 'rawhide' during the Fedora 29 development cycle. Changing version to '29'.
crawl-0.23.0-1.fc29 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2019-103550670a
crawl-0.23.0-1.fc29 has been pushed to the Fedora 29 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-2019-103550670a
crawl-0.23.0-1.fc29 has been pushed to the Fedora 29 stable repository. If problems still persist, please make note of it in this bug report.