Opened 10 years ago

Closed 9 years ago

#2613 closed defect (needsinfo)

[NEEDS INFO] Multiplayer game failed to start: ERROR: CMapReader::ParseTerrain() failed to get 'size' property

Reported by: Milchjieper Owned by:
Priority: Should Have Milestone:
Component: UI & Simulation Keywords:
Cc: leper Patch:

Description

ERROR: CMapReader::ParseTerrain() failed to get 'size' property

After the error I'm back in the main menue.

Playing alpha 16 on Windows 8.1 I was joining a game somebody else opened. Port udp 20595 correcly forwarded.

Here is the last part of the mainlog:

Net client: Received message CGameStartMessage { } of size 3 from server

Net message: ({type:"gamesetup", data:{settings:{PlayerData:[{Name:"Player 1", Civ:"ptol", Colour:{r:46, g:46, b:200}, AI:"", AIDiff:2, Team:0}, {Name:"Player 2", Civ:"spart", Colour:{r:150, g:20, b:20}, AI:"", AIDiff:2, Team:1}, {Name:"Player 3", Civ:"cart", Colour:{r:50, g:165, b:5}, AI:"", AIDiff:2, Team:0}, {Name:"Player 4", Civ:"ptol", Colour:{r:230, g:230, b:75}, AI:"", AIDiff:2, Team:1}], Seed:61627, PopulationCap:300, StartingResources:300, Size:320, GameType:"conquest", Description:"A land with waterways decorated in a manner similar to spider web.", Name:"Gear", Script:"gear.js", BaseTerrain:medit_sea_depths, BaseHeight:4, CircularMap:true, Preview:"gear.png", XXXXXX:"Optionally define other things here, like we would for a scenario", mapType:"random"}, mapFilter:"default", map:"maps/random/gear", mapType:"random", mapPath:"maps/random/", matchID:"D0AAADF8ED3C3508", gameSpeed:1, script:"gear.js"}})

Net message: ({type:"players", hosts:{'7F6225484CE824F1':{name:"TeeWorlds (1255)", player:1, status:1}, '988299F89C3E285B':{name:"gilaso95 (1083)", player:3, status:1}, D9BD946345BE93B3:{name:"Akunek (1135)", player:2, status:1}, DBA268FEF2C13684:{name:"Milchjieper", player:4, status:1}}})

Net message: ({type:"start"})

CTerrainTextureManager::RecurseDirectory(art/terrains/): no terrains.xml (or errors while loading) - using parent properties

Loading RMS 'maps/random/gear.js'

Loading map generator script 'maps/random/rmgen/area.js'

Loading map generator script 'maps/random/rmgen/constraint.js'

Loading map generator script 'maps/random/rmgen/entity.js'

Loading map generator script 'maps/random/rmgen/environment.js'

Loading map generator script 'maps/random/rmgen/library.js'

Loading map generator script 'maps/random/rmgen/map.js'

Loading map generator script 'maps/random/rmgen/mapgen.js'

Loading map generator script 'maps/random/rmgen/misc.js'

Loading map generator script 'maps/random/rmgen/noise.js'

Loading map generator script 'maps/random/rmgen/painter.js'

Loading map generator script 'maps/random/rmgen/pathplacer.js'

Loading map generator script 'maps/random/rmgen/placer.js'

Loading map generator script 'maps/random/rmgen/point.js'

Loading map generator script 'maps/random/rmgen/random.js'

Loading map generator script 'maps/random/rmgen/randombiome.js'

Loading map generator script 'maps/random/rmgen/terrain.js'

Loading map generator script 'maps/random/rmgen/tileclass.js'

Loading map generator script 'maps/random/rmgen/utilityfunctions.js'

Loading map generator script 'maps/random/rmgen/wall_builder.js'

Initializing map...

Creating new map...

320

Creating base for player 1...

Creating base for player 3...

Creating base for player 2...

Creating base for player 4...

Creating rivers...

Creating mountains...

Creating forests...

Creating forests...

Creating dirt patches...

Creating grass patches...

Creating stone mines...

Creating metal mines...

Creating decoration...

Creating food...

Creating food...

Creating straggler trees...

Saving map...

Number of entities: 4116

ERROR: CMapReader::ParseTerrain() failed to get 'size' property

Net: Sending message CEndCommandBatchMessage { m_Turn: 2, m_TurnLength: 500 } of size 9 to server

Attachments (1)

hellas.zip (2.3 KB ) - added by elexis 6 years ago.
nani got the error CMapReader::ParseTerrain() failed to get 'size' property when trying to join a game here but can't reproduce it when replaying.

Download all attachments as: .zip

Change History (7)

comment:1 by Josh, 10 years ago

Cc: leper added
Component: Multiplayer lobbyUI & Simulation
Owner: Josh removed

comment:2 by Milchjieper, 10 years ago

When I just wanted to see the Multiplayer lobby again I get:

Assertion failed: "0 && (L"FYI: WARN_IF_FALSE reports that a function failed. Feel free to ignore or suppress this warning.")"
Location: wdbg_sym.cpp:91 (InitDbghelp)

Call stack:

While generating an error report, we encountered a second problem. Please be sure to report both this and the subsequent error messages.
errno = 12 (Not enough memory)
OS error = 8 (Für diesen Befehl ist nicht genügend Speicher verfügbar.)

When i press continue:

Function call failed: return value was -100033 (Not enough memory)
Location: shared_ptr.h:70 (AllocateAligned)

Call stack:

0026C6EF

002738EF

00273B24

0016DFEE

0016D560

0016BCE0

0016C2B1

0014E8D1

0014F18C

002D6122

6593CBAC

65937E72

104C4C40

FFFFFF87

185DDC28


errno = 13 (Not enough memory)
OS error = 8 (Für diesen Befehl ist nicht genügend Speicher verfügbar.)

and so on...

comment:3 by Josh, 10 years ago

It seems your system doesn't have enough free RAM to start 0 A.D. What operating system do you use and how much RAM do you have?

comment:4 by Milchjieper, 10 years ago

There are 9 GB free.

wdbg_sym_WriteMinidump: unable to generate minidump.

Location: wdbg_sym.cpp:1782 (wdbg_sym_WriteMinidump)



Call stack:



0026BF73



0026C14A



75C9919F



77B3A8CB



77B3A8A1





errno = 13 (Insufficient access rights to open file)

OS error = -2147024865 (Ein an das System angeschlossenes Gerät funktioniert nicht.)




====================================

SVN Revision: 15145

System info:

(generated 2014-06-04 18:13:40 UTC)



OS             : Windows  (6.3.9200)

CPU            : x86, AMD Phenom II X4 955 Processor (1x4x1), 3.21 GHz

Memory         : 12288 MiB; 9783 MiB free

Graphics Card  : ATI AMD Radeon HD 5700 Series

OpenGL Drivers : 4.3.12618 Compatibility Profile Context 13.251.0.0; atioglxx.dll (6.14.10.12618)

Video Mode     : 1920x1080:32

Sound Card     : AMD High Definition Audio Device; Realtek High Definition Audio; 

Sound Drivers  :

I can post the whole chrashlog, if you need it

comment:5 by Josh, 10 years ago

The whole crashlog might be helpful. Right now this looks to be an issue with your system as the first 2 errors complain about insufficient memory and the last one is "Insufficient access rights to open file" but the OS error is (after translation) "A device attached to the system is not functioning."

comment:6 by historic_bruno, 9 years ago

Milestone: Backlog
Resolution: needsinfo
Status: newclosed
Summary: Multiplayer game failed to start: ERROR: CMapReader::ParseTerrain() failed to get 'size' property[NEEDS INFO] Multiplayer game failed to start: ERROR: CMapReader::ParseTerrain() failed to get 'size' property

Maybe this has improved for A17 or the upcoming A18? It's likely a memory leak, it would help to know how long the game had been open before it crashed (I remember seeing some high mem usage in the lobby in the past), and the crashlog.dmp files might help too. If you can provide an update, please reopen the ticket :)

by elexis, 6 years ago

Attachment: hellas.zip added

nani got the error CMapReader::ParseTerrain() failed to get 'size' property when trying to join a game here but can't reproduce it when replaying.

Note: See TracTickets for help on using tickets.