Abort on Custom Maps
Moderator: Forum Moderators
Forum rules
Before reporting issues in this section, you must read the following topic:
Before reporting issues in this section, you must read the following topic:
Abort on Custom Maps
Hi,
The attached map will cause wesnoth 1.14.11 to abort if it's left in the editor/maps folder.
This map uses some terrain codes specific to the SP campaign "Wild Frontiers".
To reproduce, place file in editor/maps, then select Multiplayer -> Local Game -> Custom Maps.
The game exits right away with the following:
Is this a known error?
The attached map will cause wesnoth 1.14.11 to abort if it's left in the editor/maps folder.
This map uses some terrain codes specific to the SP campaign "Wild Frontiers".
To reproduce, place file in editor/maps, then select Multiplayer -> Local Game -> Custom Maps.
The game exits right away with the following:
Code: Select all
Battle for Wesnoth v1.14.11
Started on Sat May 9 12:23:54 2020
MESA-LOADER: failed to retrieve device information
Data directory: /home/USER/local/games/wesnoth/1.14/share/wesnoth
User configuration directory: /home/USER/.config/wesnoth/1.14
User data directory: /home/USER/.local/share/wesnoth/1.14
Cache directory: /home/USER/.cache/wesnoth
Setting mode to 1024x768
Checking lua scripts... ok
20200509 12:24:00 error config: map could not be loaded: Unknown tile in map: (Yw) 'Yw'
20200509 12:24:00 error config: map could not be loaded: Unknown tile in map: (Yw) 'Yw'
wesnoth-1.14: /usr/include/boost/dynamic_bitset/dynamic_bitset.hpp:644: boost::dynamic_bitset<Block, Allocator>::~dynamic_bitset() [with Block = long unsigned int; Allocator = std::allocator<long unsigned int>]: Assertion `m_check_invariants()' failed.
Aborted
- Attachments
-
- replay.map
- (31.6 KiB) Downloaded 255 times
Re: Abort on Custom Maps
What would you expect to happen?
Re: Abort on Custom Maps
I don't know, maybe to handle it gracefully and not abort, or to not list the map. You tell me.
Re: Abort on Custom Maps
I tried it out with 1.15.2, custom maps looked ok - empty, but when opening random maps got crash with
1.14 does fail asserts, but that does not seem to break anything.
Code: Select all
Exception code=0xc0000005 flags=0x0 at 0x00000000008703A9. Access violation - attempting to read data at address 0x0000000000000000
Re: Abort on Custom Maps
For clarification, I didn't get a listing of the maps. It just quit suddenly as soon as I selected the Custom Maps drop down menu. (I did have another map in the folder which was the recently uploaded map by nop)
At most it should have shown a dialog similar to the 'Failed to load scenario' dialog and drop you back to the main screen of the game and not the desktop.
Should I open an issue about this on github or do you want to open it concerning the 1.15 version error?
At most it should have shown a dialog similar to the 'Failed to load scenario' dialog and drop you back to the main screen of the game and not the desktop.
Should I open an issue about this on github or do you want to open it concerning the 1.15 version error?
Re: Abort on Custom Maps
@Pentarctagon
I'll compile and test on the 1.14.11+dev version tomorrow. Thank you.
I'll leave it to compile overnight. I have a slow computer.
I'll compile and test on the 1.14.11+dev version tomorrow. Thank you.
I'll leave it to compile overnight. I have a slow computer.