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 #2365 segfault in Cvar_Delete
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
    Map Compiler (ufo2map)
  • Targetted for
    Not determined
  • Status
    Closed
  • Priority
    7. Critical
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/2365 Item 2365] imported from sourceforge.net tracker on 2013-01-28 19:30:37

I recently recompiled all maps (using compile_maps.bat /clean command). After that most of maps does not start (no matter if in Skirmish or Campagin mode), with following error in console output:
ERROR: CL_AddBrushModel: Could not find inline model 256
Here is the gdb stack output:
Program received signal SIGSEGV, Segmentation fault.
0x004f2239 in Cvar_Delete (var_name=0x5ff757 "cl_equip")
at E:\SRC\UFO-AI\src\common\cvar.c:320
320 cvarChangeListener_t *changeListener2 =
changeListener->next;
(gdb) bt full
#0 0x004f2239 in Cvar_Delete (var_name=0x5ff757 "cl_equip")
at E:\SRC\UFO-AI\src\common\cvar.c:320
changeListener2 = 0x101f2f46
changeListener = 0xfeeefeee
hash = 22
var = 0x18d1dcc4
previousVar = 0x0
#1 0x0047dc26 in GAME_SK_Shutdown ()
at E:\SRC\UFO-AI\src\client\cl_game_skirmish.c:265
No locals.
#2 0x0047aa0f in GAME_SetMode (gametype=0)
at E:\SRC\UFO-AI\src\client\cl_game.c:155
list = 0x5fe7b0
#3 0x0047b7ba in GAME_Drop () at E:\SRC\UFO-AI\src\client\cl_game.c:561
list = 0x5fe7b0
#4 0x004857ec in CL_Drop () at E:\SRC\UFO-AI\src\client\cl_main.c:181
No locals.
#5 0x004ef656 in Com_Error (code=1,
fmt=0x5e2ed0 "CL_AddBrushModel: Could not find inline model %i")
at E:\SRC\UFO-AI\src\common\common.c:262
argptr = 0x28fd88 ""
msg = "CL_AddBrushModel: Could not find inline model 256", &#039;\000&#039; <repea
ts 4046 times>
recursive = qtrue
#6 0x004176ec in CL_AddBrushModel (self=0x5e1670, msg=0x2537416c)
at E:\SRC\UFO-AI\src\client\battlescape\events\event\world\e_event_addbrushm
odel.c:74
le = 0x2c85a58
entnum = 8192
modelnum1 = 256
levelflags = 0
speed = 0
type = ET_BREAKABLE
model = 0x0
angle = 0
origin = {7.9375, 0, 0}
angles = {0, 0, 0}
#7 0x00413cf8 in CL_ExecuteBattlescapeEvent (now=38380, data=0x25374114)
at E:\SRC\UFO-AI\src\client\battlescape\events\e_parse.c:147
event = 0x25374114
eventData = 0x5e1670
#8 0x004f12f4 in Qcommon_Frame () at E:\SRC\UFO-AI\src\common\common.c:1154
time_to_next = 0
event = 0x253751dc
#9 0x00515430 in WinMain@16 (hInstance=0x400000, hPrevInstance=0x0,
lpCmdLine=0x101f2f46 "+set", nCmdShow=10)
at E:\SRC\UFO-AI\src\ports\windows\win_main.c:358
No locals.
#10 0x005ad4a6 in main ()
No symbol table info available.
Maps which are affected:
+africa harvester
+bomber_city
+bridge
bunker
+city_disco
city_train
+community_centre
+country stret
england
estate
+farm medium
+farm large
ferry
+frozen alienladingindustrial
+frozen industrial
fueldump
harbour
+industrial small
+industrial large
+japan small
+japan big
+laboratory
lake_ice_big
+mart
mine
office
+oriental big
rivertown
tower
+transport
+village commercial
village
+village ufo_small

A console output for "+africa harvester".

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

====== markhop56 (2010-02-21 21:12:04) ======

A console output for "+africa harvester" map.
====== tlh2000 (2010-02-22 08:00:33) ======

duke i hope you can help me here, too?
====== tlh2000 (2010-02-22 08:09:37) ======

http://ufoai.ninex.info/forum/index.php?topic=4470.msg34307#msg34307

patch is attached to this forum post
====== tlh2000 (2010-02-22 16:21:40) ======

fixed in r28678
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