UFO: Alien Invasion Issue Tracker
UFO: Alien Invasion
Go to the previous open issue
Go to the previous issue (open or closed)
star_faded.png
Please log in to bookmark issues
icon_project.png UFO: Alien Invasion / Closed Bug report #2204 Assertion `chr->fieldSize > 0' failed
Go to the next issue (open or closed)
Go to the next open issue
This issue has been closed with status "Closed" and resolution "Not determined".
Issue basics
  • Type of issue
    Bug report
  • Category
    Battlescape
  • Targetted for
    Not determined
  • Status
    Closed
  • Priority
    3. Normal
User pain
  • Type of bug
    Not triaged
  • Likelihood
    Not triaged
  • Effect
    Not triaged
Affected by this issue (0)
There are no items
People involved
Times and dates
  • Posted at
  • Last updated
  • Estimated time
    Not estimated
Issue details
  • Resolution
    Not determined
  • Reproducability
    Not determined
  • Severity
    Not determined
  • Complexity
    Not determined
  • Platform
    Not determined
  • Architecture
    Not determined
Attachments (0)
There is nothing attached to this issue
Duplicate issues (0)
This issue does not have any duplicates
Description
[http://sourceforge.net/p/ufoai/bugs/2204 Item 2204] imported from sourceforge.net tracker on 2013-01-28 19:26:38

rev 26891
crashes when a map is loaded :

ufo: src/client/cl_game.c:333: GAME_SendCurrentTeamSpawningInfo: Assertion `chr->fieldSize > 0' failed.

Program received signal SIGABRT, Aborted.
[Switching to Thread 0xb6ea76e0 (LWP 5627)]
0xb79e6456 in raise () from /lib/libc.so.6
(gdb) bt full
#0 0xb79e6456 in raise () from /lib/libc.so.6
No symbol table info available.
#1 0xb79e7e08 in abort () from /lib/libc.so.6
No symbol table info available.
#2 0xb79df3f0 in __assert_fail () from /lib/libc.so.6
No symbol table info available.
#3 0x08067838 in GAME_SendCurrentTeamSpawningInfo (buf=0x183b213c, team=0xa76643c) at src/client/cl_game.c:333
chr = (character_t *) 0x81e36a0
i = 0
j = 456573324
__PRETTY_FUNCTION__ = "GAME_SendCurrentTeamSpawningInfo"
#4 0x08067b3d in GAME_SpawnSoldiers () at src/client/cl_game.c:393
msg = (struct dbuffer *) 0x183b213c
spawnStatus = qtrue
list = (const gameTypeList_t *) 0x81867f0
#5 0x08072009 in CL_RequestNextDownload () at src/client/cl_main.c:527
mapChecksum = 0
scriptChecksum = 0
buf = 0x0
#6 0x0807202d in CL_Precache_f () at src/client/cl_main.c:543
No locals.
#7 0x0812bdd1 in Cmd_ExecuteString (text=0xbfa6e06c "precache 802117439") at src/common/cmd.c:912
cmd = (const cmd_function_t *) 0x182959a4
a = (const cmd_alias_t *) 0xd
str = 0x1acfdde4 "precache"
hash = 15
#8 0x0812ad5b in Cbuf_Execute () at src/common/cmd.c:229
text = 0x9313f60 "precache 802117439\n02117439 0\n200 564352\netmaps;\nrday 1;mn_getmaps;\n;mn_getmaps;\n\nillar +park_fence_upper_plain +park_fence_upper_plain +park_fence_upper_plain +park_fence_upper_pillar_tunnel +park_fe"...
quotes = 0
i = 19
line = "precache 802117439\000\000ų/\025\030ōā¦æ8<\025\030ĢT\025\030\001\000\000\0004s\025\030\004\000\000\0008s\025\030¤S\025\030\000\000\000\000xS\025\0304s\025\030\001\000\000\0008<\025\030ų/\025\030\021Tb·Dŗ\222¶\000\000\000\000Š\000\000\000\020/\025\030\020/\025\030\001\000\000\0008<\025\030ų/\025\030\020/\025\030H\223a·8<\025\030ų/\025\0308<\025\030\000\000\000\0008<\025\030ōā¦æŠ8\025\030Č8\025\030ŠT\025\030ĖØb·8<\025\030\027±b·8<\025\030ų/\025\030°åēµ\000\000\000\000ų/\025\030ōā¦æ", &#039;\0&#039; <repeats 25 times>...
#9 0x08073263 in CL_SendCommand () at src/client/cl_main.c:992
No locals.
#10 0x0807371a in CL_Frame (now=578385, data=0x0) at src/client/cl_main.c:1141
delta = 23
lastFrame = 578385
#11 0x08138162 in tick_timer (now=578385, data=0x18527a84) at src/common/common.c:979
timer = (struct timer *) 0x18527a84
old_interval = 20
lateness = 6
#12 0x08138580 in Qcommon_Frame () at src/common/common.c:1130
time_to_next = 0
event = (struct event *) 0x1ad6f0fc
#13 0x08184dc3 in main (argc=1, argv=0xbfa6e5e4) at src/ports/linux/linux_main.c:53
No locals.

===== Comments Ported from Sourceforge =====

====== tlh2000 (2009-11-03 05:57:10) ======

singleplayer? multiplayer? if mp, please attach the team.
====== richlv (2009-11-03 11:41:13) ======

singleplayer.
now what i find to be interesting in the backtrace, i did specify single map (it could have been either a custom test map, or, most likely, village map), but backtrace refers to :
illar +park_fence_upper_plain +park_fence_upper_plain +park_fence_upper_plain
+park_fence_upper_pillar_tunnel +park_fe"

that&#039;s a stripped part of rma definition from a map that resides in data_source and should not have been referenced in any way...
====== tlh2000 (2009-11-29 06:42:12) ======

please check whether this is fixed in current trunk - the reworked spawn code should fix this issue.
====== sf-robot (2009-12-14 02:20:14) ======

This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).
Steps to reproduce this issue
Nothing entered.
Todos (0 / 0)
Issue created
footer_logo.png The Bug Genie 4.3.1 | Support | Feedback spinning_16.gif