Very long animations cause the game to crash (1.13.14)

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
User avatar
inferno8
Art Contributor
Posts: 974
Joined: February 18th, 2008, 5:32 pm
Location: The Abyss

Very long animations cause the game to crash (1.13.14)

Post by inferno8 »

This is probably very UMC specific, but is related to the way the game handles animation so I decided to report it anyway.

Playing very long animations (400+ frames) leads to the following error:
Could not create a new surface in get_surface_portion()
The game crashes right after that or it is still running but cannot read the rest of images an animation is composed of, throwing Surface lost error to the console.

As far as I know, the error was observed on machines running Windows 10, BfW version: 1.13.14

I am fully aware almost no one would use huge animations like these, so this may not be relevant to the core Wesnoth. Nevertheless I created a small test add-on for those who are interested.
Attachments
Long_Animation_Test.zip
(3.54 MiB) Downloaded 291 times
Last edited by inferno8 on April 19th, 2018, 7:29 am, edited 1 time in total.
Creator of Era of Magic
Creator of To Lands Unknown

Support me on Ko-fi! https://ko-fi.com/inferno8
Tad_Carlucci
Inactive Developer
Posts: 503
Joined: April 24th, 2016, 4:18 pm

Re: Very long animations cause the game to crash

Post by Tad_Carlucci »

Please file an Issue on Github. Be sure to include the version of Wesnoth you're using. Also, be aware that if the issue is with Wesnoth 1.12 it will be marked Wont Fix and closed; to avoid that, be sure you can duplicate the issue with a recent build, such as 1.13.14 or 1.15+dev
I forked real life and now I'm getting merge conflicts.
User avatar
Pentarctagon
Project Manager
Posts: 5533
Joined: March 22nd, 2009, 10:50 pm
Location: Earth (occasionally)

Re: Very long animations cause the game to crash

Post by Pentarctagon »

Tad_Carlucci wrote: April 19th, 2018, 3:13 am or 1.15+dev
Nobody outside the dev team should be testing things on 1.15 at the moment :P
99 little bugs in the code, 99 little bugs
take one down, patch it around
-2,147,483,648 little bugs in the code
User avatar
inferno8
Art Contributor
Posts: 974
Joined: February 18th, 2008, 5:32 pm
Location: The Abyss

Re: Very long animations cause the game to crash (1.13.14)

Post by inferno8 »

The problem occurs on 1.13.14 and as far as I know it is also present on 1.12.

Edit: moved this to Github
Creator of Era of Magic
Creator of To Lands Unknown

Support me on Ko-fi! https://ko-fi.com/inferno8
Post Reply