Game crashes when I try to create a new team

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
suddennonsense
Posts: 2
Joined: January 5th, 2019, 4:17 am

Game crashes when I try to create a new team

Post by suddennonsense »

This crash occurs when I attempt to convert a team battle into a FFA. To replicate this bug:
1. Select a map that is preset to a team battle, such as Hexcake, Moritori, or Merkwuerdigliebe.
2. Attempt to assign the players to their own individual teams
3. When you attempt to create a new team, the game will instead crash and force close.

Unfortunately, the logs do not appear to record this event. This is only event I've managed to record from this crash, and I do not know if it is relevant:

Code: Select all

Battle for Wesnoth v1.14.5 (48bd45d-Modified)
Started on Fri Jan 04 21:58:56 2019

Automatically found a possible data directory at C:\Games\Steam\steamapps\common\wesnoth

Data directory:               C:\Games\Steam\steamapps\common\wesnoth
User configuration directory: C:\Users\USER\Documents\My Games\Wesnoth1.14
User data directory:          C:\Users\USER\Documents\My Games\Wesnoth1.14
Cache directory:              C:\Users\USER\Documents\My Games\Wesnoth1.14\cache

Setting mode to 1920x1080
Checking lua scripts... ok
20190104 21:59:03 warning gui/event: distributor mouse button left [mp_method_selection]: SDL left button up. The mouse button is already up, we missed an event.
If it matters, I am using the Steam version of Wesnoth.
Other Relevant Technical Information
The Battle for Wesnoth version 1.14.5 (48bd45d-Modified)
Running on Microsoft Windows 10 (10.0.17134)

Game paths
==========

Data dir: C:\Games\Steam\steamapps\common\wesnoth
User config dir: C:\Users\USER\Documents\My Games\Wesnoth1.14
User data dir: C:\Users\USER\Documents\My Games\Wesnoth1.14
Saves dir: C:\Users\USER\Documents\My Games\Wesnoth1.14\saves
Add-ons dir: C:\Users\USER\Documents\My Games\Wesnoth1.14\data\add-ons
Cache dir: C:\Users\USER\Documents\My Games\Wesnoth1.14\cache

Libraries
=========

Boost: 1.66
OpenSSL/libcrypto: 1.1.0f (runtime 1.1.0f)
Cairo: 1.10.2 (runtime 1.10.2)
Pango: 1.30.1 (runtime 1.30.1)
SDL: 2.0.8 (runtime 2.0.8)
SDL_image: 2.0.3 (runtime 2.0.3)
SDL_mixer: 2.0.2 (runtime 2.0.2)
SDL_ttf: 2.0.14 (runtime 2.0.14)

Features
========

Experimental OpenMP support: yes
JPG screenshots: yes
Lua console completion: yes
Legacy bidirectional rendering: no
Win32 notifications back end: yes
User avatar
josteph
Inactive Developer
Posts: 741
Joined: August 19th, 2017, 6:58 pm

Re: Game crashes when I try to create a new team

Post by josteph »

How do you "attempt to create a new team"? I don't see any UI widget for that.

Do you have any addons installed?
suddennonsense
Posts: 2
Joined: January 5th, 2019, 4:17 am

Re: Game crashes when I try to create a new team

Post by suddennonsense »

Let's look at Merkwuerdigliebe for example. It has three teams set up, and only three teams. If you try to move a player to teams 4-9, the game crashes, because it cannot create a new fourth team. Every map that is preset to a team battle has this problem.

The widget used to assign players to the teams can be found next to the widgets that set up their gold and income.

Edit: Also, I uninstalled all my addons because they clogged up the logs with their own problems. This problem can actually persist on addon maps.
User avatar
Pentarctagon
Project Manager
Posts: 5564
Joined: March 22nd, 2009, 10:50 pm
Location: Earth (occasionally)

Re: Game crashes when I try to create a new team

Post by Pentarctagon »

How are you assigning a side to a 4th team? There are only 3 teams available in the drop down.

edit-
It seems to be controlled by disabling Use Map Settings. I can reproduce this now.

edit2-
https://github.com/wesnoth/wesnoth/issues/3849
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