Credits crash on Windows 10

Having trouble with the game? Report issues and get help here. Read this first!

Moderator: Forum Moderators

Forum rules
Before reporting issues in this section, you must read the following topic:
Post Reply
JetScootr
Posts: 11
Joined: December 5th, 2022, 11:11 pm

Credits crash on Windows 10

Post by JetScootr »

Looks very similar to description of #7395.

This crash has been seen since at least 1.17.12.

Any time I allow the credits to roll, after they are done Wesnoth crashes with this error message:
Caught general 'St12length_error' exception:
basic_string::_M_create


If I comment out the "end_credits" in my campaign, it crashes with "Ran out of memory. Aborted."
I've put together a dummy campaign that can quickly create
the error without having to play through a full mainline campaign.
Haven't uploaded the dummy because it crashes Wesnoth, and I thought that might get me banned if I didn't have specific permission. How else can I post an entire (1 scenario) campaign for demo purposes?

I'm pretty sure it's not my code because clicking the credits button on the main Wesnoth opening display crashes with this very similar error message:
warning draw/manager: exception std::length_error
thrown during expose 0xdf28dfdba0
Caught general 'St12length_error' exception:
Text is too long to render
User avatar
Pentarctagon
Project Manager
Posts: 5527
Joined: March 22nd, 2009, 10:50 pm
Location: Earth (occasionally)

Re: Credits crash on Windows 10

Post by Pentarctagon »

Yeah, it's a known issue unfortunately.
99 little bugs in the code, 99 little bugs
take one down, patch it around
-2,147,483,648 little bugs in the code
Post Reply