View Issue Details

IDProjectCategoryView StatusLast Update
0000224FSSCPtablespublic2005-03-14 13:46
ReporterLazarusLong42 Assigned Toadministrator  
PrioritynormalSeveritycrashReproducibilityalways
Status resolvedResolutionfixed 
PlatformAMD AthlonOSWin 2000OS Version5.00.2195 (SP4)
Product Version3.6 
Summary0000224: Hang on mission start
DescriptionFSSCP hangs when attempting to start single-player mission SM1-05.
Steps To ReproducePlay single-player mission through first Knossos mission; Accept mission stats, and the program hangs. Program hangs after restarting and trying to enter the Ready Room.
Additional InformationVideo card is GeForce2 MX200
No Command Lines
D3D HT&L
No AA, no font fix
Using latest Media VP, large single-file pack.
Error messages attached as file. Includes debugger output and debug spew from mission load forward. Errors do not occur with build C07122004; the game simply hangs. THese errors were produced using the 3.6 Debug build.
TagsNo tags attached.

Activities

2004-07-21 03:16

 

error21Jul2004.txt (1,735 bytes)   
Warning: Couldn't fix up turret indices in spline path

Model: cruiser01.pof
Path: $path02
Vertex: 1
Turret model id:13

This probably means the turret was not specified in ships.tbl
File:E:\Languages\Visual Studio Projects\Visual C++\fs2_open\code\Ship\Ship.cpp
Line: 6100

Call stack:
------------------------------------------------------------------
    parse_create_object()    parse_object()    parse_objects()    parse_mission()    parse_main()    mission_load()    game_start_mission()    game_enter_state()    gameseq_set_state()    game_process_event()    gameseq_process_events()    WinMainSub()    WinMain()    WinMainCRTStartup()    KERNEL32.dll 7c581af6()
------------------------------------------------------------------

=================== STARTING LEVEL LOAD ==================
Freeing all existing models...
loading warp modelLoading model 'warp.pof'
 128
loading defalt shockwave modelLoading model 'shockwave.pof'
 -1
MISSION LOAD: 'SM1-05.fs2'
Hmmm... Extension passed to mission_load...
Reassigning player to squadron 107th Ravens
Someone passed an extension to bm_load for file 'ravens.pcx'
Loading model 'capital2t-01.pof'
Unknown special object type $path45 while reading model capital2t-01.pof
Warning: Ignoring unrecognized subsystem fighterbay, believed to be in ship capital2t-01.pof
Loading model 'cruiser01.pof'
Someone passed an extension to bm_load_animation for file 'cruiser01-01b.bmp'
Someone passed an extension to bm_load for file 'cruiser01-01b.bmp'
Someone passed an extension to bm_load_animation for file 'cruiser01-01c.bmp'
Someone passed an extension to bm_load for file 'cruiser01-01c.bmp'
Direct3D activate: 0
Direct3D activate: 0
Direct3D activate: 0
error21Jul2004.txt (1,735 bytes)   

kasperl

2004-07-21 13:39

developer   ~0001088

First off, thank you for a very complete report.

Second: Why is this listed as a "tables" error?

Can you start that mission by visiting the techroom?
(Make a new pilot, play and complete a single non-training campaign mission, use the -allslev flag.)

Have you tried OGL?

taylor

2004-07-21 14:20

administrator   ~0001090

Last edited: 2004-07-21 14:21

I can reproduce this as well. It's something with the model and Bob's index buffer code. Seems to happen on any mission with that ship model. It's the hi-poly Fenris, doesn't happen with the original. Here is a partial backtrace from gdb (line numbers will be a little off):

*2 0x000000000069537f in WinAssert (
    text=0x6cd030 "model->buffer[model->n_buffers].index_buffer.index_buffer[j] != -1", filename=0x6ccb14 "model/modelinterp.cpp", line=5199)
    at windows_stub/stubs.cpp:67
*3 0x000000000051b361 in generate_vertex_buffers (model=0x37367b0,
    pm=0x3733dc0) at model/modelinterp.cpp:5199
*4 0x000000000051fe3d in read_model_file (pm=0x3733dc0,
    filename=0x2861e60 "cruiser01.pof", n_subsystems=15, subsystems=0x31d5760,
    ferror=1) at model/modelread.cpp:1827
*5 0x0000000000522a54 in model_load (filename=0x2861e60 "cruiser01.pof",
    n_subsystems=15, subsystems=0x31d5760, ferror=1, duplicate=0)
    at model/modelread.cpp:2550

edited on: 07-21-04 10:21

LazarusLong42

2004-07-21 15:42

reporter   ~0001091

I listed it as a tables error because of this line in the error log:

"This probably means the turret was not specified in ships.tbl"

I'm not a programmer, and I was making an assumption that may have been a poor one.

I'll try to run your suggestions tomorrow; I won't have time this evening.

kasperl

2004-07-22 09:14

developer   ~0001095

Taylor: It happends only and always with the high poly Fenris/Levy?

taylor

2004-07-22 09:30

administrator   ~0001096

kasperl: I can go through every ship in the techroom except that one so I believe so yes. Every mission that uses that model hangs and crashes on load. This only started being a problem with the index buffer code so I don't know if it's just the code or something in the model or both.

kasperl

2004-07-22 17:05

developer   ~0001099

Shouldn't Bob be looking at it then?

WMCoolmon

2005-01-03 05:28

developer   ~0001517

This doesn't STILL happen for people, does it?

taylor

2005-01-03 06:30

administrator   ~0001520

I think it still happens with debug builds. Not sure though since I just commented out that line so I could keep things going. If you are using an IBX though it skips this code so to test it again you'd have to delete the corresponding IBX file.

administrator

2005-03-14 13:46

administrator   ~0001892

reopen if this is unresolved.

Issue History

Date Modified Username Field Change
2004-07-21 03:16 LazarusLong42 New Issue
2004-07-21 03:16 LazarusLong42 File Added: error21Jul2004.txt
2004-07-21 13:39 kasperl Note Added: 0001088
2004-07-21 14:20 taylor Note Added: 0001090
2004-07-21 14:21 taylor Note Edited: 0001090
2004-07-21 15:42 LazarusLong42 Note Added: 0001091
2004-07-22 09:14 kasperl Note Added: 0001095
2004-07-22 09:30 taylor Note Added: 0001096
2004-07-22 17:05 kasperl Note Added: 0001099
2004-07-30 02:24 Goober5000 Assigned To => Bobboau
2004-07-30 02:24 Goober5000 Status new => assigned
2005-01-03 05:28 WMCoolmon Note Added: 0001517
2005-01-03 06:30 taylor Note Added: 0001520
2005-03-14 13:46 administrator Status assigned => resolved
2005-03-14 13:46 administrator Resolution open => fixed
2005-03-14 13:46 administrator Assigned To Bobboau => administrator
2005-03-14 13:46 administrator Note Added: 0001892