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 #2222 ERROR: CM_InlineModel: Error cannot find model ' (svn 27424)
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
    General
  • Targetted for
    Not determined
  • Status
    Closed
  • Priority
    5. Important
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/2222 Item 2222] imported from sourceforge.net tracker on 2013-01-28 19:26:38

After destroying ufos with debug_destroyufos, I tried to investigate a crash site. However the mission failed to load and the following output was generated:

Calling subsystems
...subsystem 'base' - saved
...subsystem 'campaign' - saved
...subsystem 'hospital' - saved
...subsystem 'market' - saved
...subsystem 'research' - saved
...subsystem 'employee' - saved
...subsystem 'aliencont' - saved
...subsystem 'aircraft' - saved
...subsystem 'installation' - saved
...subsystem 'ufostores' - saved
...subsystem 'production' - saved
...subsystem 'messagesystem' - saved
...subsystem 'stats' - saved
...subsystem 'nations' - saved
...subsystem 'transfer' - saved
...subsystem 'alien base' - saved
...subsystem 'xvirate' - saved
...subsystem 'messageoptions' - saved
XML Written to buffer (700100 Bytes)
------- Loading game.so -------
LoadLibrary (./base/game.so)
==== InitGame ====
SV_AssembleMap: Sequential map assembly in 1 ms
CM_LoadMap: "-ufocrash/uc_ +craft_drop_firebird +craft_crash_fighter +h04 +h06 +h05 +h01 +h01 +h02" "-24 0 0 -8 -16 0 0 0 0 -24 -16 0 24 8 0 16 -16 0 -24 16 0 -8 16 0"
Rerouted for RMA in 1.0s
checksum for the map '+ufocrash': 2982865724
ufo script checksum 4188909577
Created AI player (team 0)
Created AI player (team 7)
-------------------------------------
Connecting to localhost...
connection attempt from loopback connection
load material file: 'materials/ufocrash.mat'
Starting the game...
Zed has joined team 1
music change to PsymongR1 (from ufo2)
music change to PsymongR5 (from PsymongR1)
********************
ERROR: CM_InlineModel: Error cannot find model '*1'

********************
Shutdown server: Server crashed.
==== ShutdownGame ====
./ufo(Sys_Backtrace+0x1f)[0x819281b]
./ufo(Com_Error+0xdf)[0x814003a]
./ufo(CM_SetInlineModelOrientation+0x0)[0x813bd67]
./ufo(CM_EntTestLineDM+0x95)[0x8139d49]
./ufo(CM_TestLineDMWithEnt+0x2e)[0x8139ca2]
./ufo(CL_ActorMouseTrace+0x431)[0x808b73e]
./ufo[0x8080f6f]
./ufo(IN_Frame+0xb)[0x8081441]
./ufo(CL_Frame+0xb7)[0x8078d8d]
./ufo[0x814187e]
./ufo(Qcommon_Frame+0x7b)[0x8141cee]
./ufo(main+0x66)[0x81916d1]
/lib/libc.so.6(__libc_start_main+0xfa)[0xb7aca74a]
Server crashed.
===== Comments Ported from Sourceforge =====

====== tlh2000 (2009-12-08 21:20:28) ======

i've used this alias to start the map:

alias uc "map day \"-ufocrash/uc_ +craft_drop_firebird +craft_crash_fighter +h04 +h06 +h05 +h01 +h01 +h02\" \"-24 0 0 -8 -16 0 0 0 0 -24 -16 0 24 8 0 16 -16 0 -24 16 0 -8 16 0\""

and it works here.
====== geever (2009-12-11 21:30:31) ======

How could you land a mission after debug_destroyufos? That command should remove missions they're assigned to either AFAIK. Could you explain it better? Without a detailed reproduction report we can't do anything as we haven't experience any problems like that.

Btw. my suspicion is that there's something wrong in your ufi:ai-package (model not found...).

-geever
====== khpe (2009-12-12 00:42:11) ======

AFAIK debug_delmissions removes missions.

I wanted to test the game, so I downloaded it from the svn repository and compiled it with the debug flag. I started a new campaign with the easiest difficulty level and set debug_fullcredits and debug_researchall. I built 6 bases and radar stations to cover most of the globe. As some the UFOs continued to destroy my interceptors, I used debug_destroyufos to crash any flying UFOs. For every UFO crashed on land, a crash site/mission appeared for which I sent my troop transporter just to set "debug_stunteam 7" to win the missions. I repeatedly ran into this problem. I will try to update and recompile ufo-ai to see if it is really persistent or even reproducable.
====== khpe (2009-12-12 12:55:03) ======

The problem is reproducable on my machine using the earlier posted scheme on a recompiled ufo-ai (SVN 27447). I noticed, that the mission which fails is always located in the north of Canada or Greenland (this may have something to do with the climate, that is the theme of the mission).


------- Loading game.so -------
LoadLibrary (./base/game.so)
==== InitGame ====
SV_AssembleMap: Sequential map assembly in 1 ms
CM_LoadMap: "-ufocrash/uc_ +craft_drop_firebird +craft_crash_fighter +h04 +h06 +h05 +h01 +h01 +h02" "-24 0 0 -8 -16 0 0 0 0 -24 -16 0 24 8 0 16 -16 0 -24 16 0 -8 16 0"
Rerouted for RMA in 1.0s
checksum for the map '+ufocrash': 2982865724
ufo script checksum 4188909577
Created AI player (team 0)
Created AI player (team 7)
-------------------------------------
Connecting to localhost...
connection attempt from loopback connection
load material file: 'materials/ufocrash.mat'
Starting the game...
Zed has joined team 1
music change to PsymongR1 (from ufo2)
music change to PsymongR5 (from PsymongR1)
********************
ERROR: CM_InlineModel: Error cannot find model '*1'

********************
Shutdown server: Server crashed.
==== ShutdownGame ====
./ufo(Sys_Backtrace+0x1f)[0x819281b]
./ufo(Com_Error+0xdf)[0x814003a]
./ufo(CM_SetInlineModelOrientation+0x0)[0x813bd67]
./ufo(CM_EntTestLineDM+0x95)[0x8139d49]
./ufo(CM_TestLineDMWithEnt+0x2e)[0x8139ca2]
./ufo(CL_ActorMouseTrace+0x431)[0x808b73e]
./ufo[0x8080f6f]
./ufo(IN_Frame+0xb)[0x8081441]
./ufo(CL_Frame+0xb7)[0x8078d8d]
./ufo[0x814187e]
./ufo(Qcommon_Frame+0x7b)[0x8141cee]
./ufo(main+0x66)[0x81916d1]
/lib/libc.so.6(__libc_start_main+0xfa)[0xb7aca74a]
Server crashed.
====== geever (2009-12-13 01:46:25) ======

Could you attach a savegame right before landing that mission?
Thanx.

-geever
====== khpe (2009-12-13 14:12:02) ======

khpe pre crash save game
====== khpe (2009-12-13 14:23:45) ======

I've uploaded a pre crash save game. There is a crash site in Siberia and the interceptor is already underway. The problem is, not every time you load the game the next mission will crash as there is still some randomness changing the mission every time you load the game. However, from my experience, the game will show the described error eventually (usually within the first 10 tries), if you just load the game, win the mission (via debug_stunteam 7) and reload the save game thereafter.

Concerning the alias to load the map as posted by tlh2000: I don't think it is sufficient to recapture the state of the game. For instance, neither aliens nor soldiers are placed on the map. I also could not reproduce the error by just loading the map with the given parameters.

If you have a way to reduce/eliminate the randomness within the game so that the game behaves always exactly the same after loading a game, I would be happy to give it another try and to come up with a save game that reliably reproduces the described error.
====== tlh2000 (2009-12-13 15:47:17) ======

it's not reproducible here with the savegame
====== markhawrylak (2009-12-28 12:29:28) ======

I get the error after playing the game for a while, the error prevents you from entering battle mode after I shot down the alien.

if I exit and re-load the save game prior to the battle, I can enter the battle.

the log was
2009/12/28 23:15:08 ==== InitGame ====
2009/12/28 23:15:10 SV_AssembleMap: Sequential map assembly in 1187 ms
2009/12/28 23:15:10 CM_LoadMap: "-tropic/tr_ +r01 +r04 +r05 +h03 +craft_drop_firebird +craft_crash_fighter +p01 +h04 +h01 +f02 +f02 +f06 +f06 +f02 +f02 +r02 +r02 +f02 +p01 +f06" "-32 -16 0 0 -16 0 16 -8 0 8 -24 0 0 16 0 -32 0 0 0 8 0 16 -8 0 -32 24 0 24 -16 0 -8 16 0 -16 24 0 -32 -24 0 24 16 0 24 24 0 -16 -16 0 -8 -16 0 24 -24 0 -16 -24 0 -8 -24 0"
2009/12/28 23:15:11 Rerouted for RMA in 0.0s
2009/12/28 23:15:11 checksum for the map '+tropic': 3780729149
2009/12/28 23:15:11 ufo script checksum 97768861
2009/12/28 23:15:11 Created AI player (team 0)
2009/12/28 23:15:11 Created AI player (team 7)
2009/12/28 23:15:11 -------------------------------------
2009/12/28 23:15:11 Connecting to localhost...
2009/12/28 23:15:11 connection attempt from loopback connection
2009/12/28 23:15:11 load material file: 'materials/tropic.mat'
2009/12/28 23:15:12 Starting the game...
2009/12/28 23:15:12 mark has joined team 1
2009/12/28 23:15:12 music change to Marine01 (from van_geoscape)
2009/12/28 23:15:12 music change to greecei (from Marine01)
2009/12/28 23:15:12 ********************
2009/12/28 23:15:12 ERROR: CM_InlineModel: Error cannot find model '*1'

2009/12/28 23:15:12 ********************
2009/12/28 23:15:12 Shutdown server: Server crashed.
2009/12/28 23:15:12 ==== ShutdownGame ====

====== markhawrylak (2009-12-30 13:28:08) ======

I have got this error from performing map testing occasionally.
These are the steps to reproduce the error:
1. load the campaign save from http://fileupl.com/list.php?i=laxrjq
2. in the geoscape, load the cairo mission on the map, is will load Oriental large
3. wait for the map is loaded (sometimes it take take a minute or 15 to load it),
4. press Esc
5. click exit, to exit the campaign mode
6. start a skirmish game - pick the map +tropic drug
7. you should receive the error in the console and be taken to the main menu

====== tlh2000 (2009-12-30 15:15:00) ======


====== tlh2000 (2009-12-30 15:19:17) ======

thank you very much - that is reproducible here, too

now we are able to fix it - looks like just a missing global var reset
====== tlh2000 (2009-12-30 15:29:32) ======

looks like leInlineModelList isn't reset
====== tlh2000 (2009-12-30 15:30:32) ======

and that can be the case if a CL_CompleteRecalcRouting call is missing
====== tlh2000 (2009-12-30 15:37:16) ======

should be fixed in r27685 - feedback is welcome.
====== aduke1 (2009-12-31 13:12:57) ======

I don't think so :( See
http://ufoai.ninex.info/forum/index.php?topic=4300.0

====== markhawrylak (2010-01-01 10:24:49) ======

tested using the steps I provided on 2009-12-31 00:28
issue is not resolve in r27699
====== voovoos (2010-01-01 11:09:58) ======

r27685 is not fixing the problem
This was OK:
2010/01/01 11:56:53 SV_AssembleMap: Sequential map assembly in 0 ms
2010/01/01 11:56:53 CM_LoadMap: "-ufocrash/uc_ +craft_drop_firebird +craft_crash_scout +h07 +d01 +h03 +h03 +h01 +h01 +h02" "-8 0 0 16 -16 0 -24 -16 0 -24 0 0 0 -16 0 16 8 0 -24 16 0 -8 16 0 8 16 0"
2010/01/01 11:56:53 Rerouted for RMA in 0.0s
Then I wanted "Retry", and got crash with this:
2010/01/01 11:57:13 SV_AssembleMap: Sequential map assembly in 1 ms
2010/01/01 11:57:13 CM_LoadMap: "-ufocrash/uc_ +craft_drop_firebird +craft_crash_scout +h07 +h06 +h07 +h01 +h05 +h01 +h02" "-24 0 0 0 0 0 -24 -16 0 16 8 0 0 -16 0 16 0 0 24 -16 0 -24 16 0 -8 16 0"
2010/01/01 11:57:13 Rerouted for RMA in 0.0s
2010/01/01 11:57:13 checksum for the map '+ufocrash': 3708768990
2010/01/01 11:57:13 ufo script checksum 3779606343
2010/01/01 11:57:13 Not enough spawn points for team 0
2010/01/01 11:57:13 Created AI player (team 0)
2010/01/01 11:57:13 Created AI player (team 7)
2010/01/01 11:57:13 -------------------------------------
2010/01/01 11:57:13 Connecting to localhost...
2010/01/01 11:57:13 connection attempt from loopback connection
2010/01/01 11:57:13 load material file: 'materials/ufocrash.mat'
2010/01/01 11:57:15 ********************
2010/01/01 11:57:15 ERROR: CM_InlineModel: Error cannot find model '*1'

May I point you to the fact, that for every report of CM_InlineModel() about that I saw always particular maptiles, never such error with other tiles? Anyone checked these maps?
====== markhawrylak (2010-01-01 11:24:29) ======

the issue is definately related to the +ufocrash map
I started skirmish with this map, and there is a chance the error will happen.
there is also a chance that the following will occur, which may or may not be related. if its not related, tell me and Ill raise another defect.

2010/01/01 22:15:54 ====== UFO Initialized ======
2010/01/01 22:15:54 =============================
2010/01/01 22:15:54 Priority changed to NORMAL
2010/01/01 22:15:54 Found 1 processors
2010/01/01 22:15:54 ...only use one processor
2010/01/01 22:15:54 Switch grab input off
2010/01/01 22:16:56 Change gametype to 'Skirmish mode'
2010/01/01 22:17:00 ==== InitGame ====
2010/01/01 22:17:11 ********************
2010/01/01 22:17:11 ERROR: SV_AddMapTiles: Impossible to assemble map 'ufocrash' with assembly 'craft_crash_harvester'

2010/01/01 22:17:11 ********************
2010/01/01 22:17:11 Shutdown server: Server crashed.
2010/01/01 22:17:11 ==== ShutdownGame ====

There is also a chance that the map will load correctly.

====== khpe (2010-01-02 13:45:49) ======

Still there in r27685 using the save game load, win and reload method described on 2009-12-13 15:23.

==== InitGame ====
SV_AssembleMap: Sequential map assembly in 1 ms
CM_LoadMap: "-ufocrash/uc_ +craft_drop_firebird +craft_crash_fighter +h07 +h05 +h05 +h01 +h01 +h02 +h02 +h02 +h02" "8 -8 0 -16 0 0 -24 -16 0 0 -16 0 24 8 0 8 -16 0 -24 16 0 24 -16 0 -8 16 0 -24 0 0 -24 8 0"
Rerouted for RMA in 0.0s
checksum for the map '+ufocrash': 2139171596
ufo script checksum 2357606153
Created AI player (team 0)
Created AI player (team 7)
-------------------------------------
Connecting to localhost...
connection attempt from loopback connection
load material file: 'materials/ufocrash.mat'
Starting the game...
Zed has joined team 1
music change to PsymongR4 (from van_geoscape)
music change to David01 (from PsymongR4)
********************
ERROR: CM_InlineModel: Error cannot find model '*1'

********************
Shutdown server: Server crashed.
==== ShutdownGame ====
./ufo(Sys_Backtrace+0x1f)[0x81944bb]
./ufo(Com_Error+0xfb)[0x8141211]
./ufo(CM_SetInlineModelOrientation+0x0)[0x813ce6f]
./ufo(CM_EntTestLineDM+0x95)[0x813ae4f]
./ufo(CM_TestLineDMWithEnt+0x31)[0x813ada6]
./ufo(CL_ActorMouseTrace+0x431)[0x808ab72]
./ufo[0x808052f]
./ufo(IN_Frame+0xb)[0x8080a01]
./ufo(CL_Frame+0xb7)[0x80795b3]
./ufo[0x8142a9b]
./ufo(Qcommon_Frame+0x7b)[0x8142f0b]
./ufo(main+0x66)[0x8193371]
/lib/libc.so.6(__libc_start_main+0xfa)[0xb79f274a]

====== tlh2000 (2010-01-24 14:24:51) ======

see https://sourceforge.net/tracker/index.php?func=detail&aid=2926418&group_id=157793&atid=805242

it's inline model related - this bug should be fixed already - but we need feedback for it (see the posted link for more information)
====== markhawrylak (2010-02-06 11:55:20) ======

I have been trying to make this bug occur in r28450 and cannot reproduce it. I think this defect can be closed.
====== sf-robot (2010-02-08 02:20:13) ======

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