View Issue Details

IDProjectCategoryView StatusLast Update
0000087FSSCPgameplaypublic2006-11-01 15:14
Reporterbottomfan Assigned ToBobboau  
PriorityimmediateSeveritycrashReproducibilityunable to reproduce
Status closedResolutionunable to reproduce 
Summary0000087: crash when path not found in ai_find_path() - primarily in Knossos mission
DescriptionGot this bug when playing the first Knossos mission. Am I missing a shinemap? or did I forget to add a flag in the launcher?

Running release 01_20_2004_fs2_open_d.exe.
Additional InformationAssert: pm->n_paths > path_num
File: E:\Languages\Visual Studio Projects\Visual C++\fs2_open\code\Ship\AiCode.cpp
Line: 3808

Call stack:
------------------------------------------------------------------
    ai_big_maybe_follow_subsys_path() ai_big_strafe_attack() ai_big_strafe() ai_execute_behavior() ai_frame() ai_process() ship_process_post() obj_move_all_post() obj_move_all() game_simulation_frame() game_frame() game_do_frame() game_do_state() gameseq_process_events() WinMainSub()------------------------------------------------------------------
TagsNo tags attached.

Relationships

has duplicate 0000209 closedtaylor Crash on first Knossos mission 

Activities

2004-01-27 16:26

 

DBUG-Nils Larsson-D(01-27-04) T(17-14-46).txt (905 bytes)   
DBUGFILE Active: Nils Larsson 01/27/04 17:14:46
OS: Windows 2000 Debug, E:\FreeSpace 2\01_20_2004_fs2_open_d.exe
[movie.cpp,  36] About to play: E:\freespace 2\intro.avi
[movie.cpp,  40] MOVIE ERROR: Cant open movie file E:\freespace 2\intro.avi
[movie.cpp,  36] About to play: E:\freespace 2\intro.mve
[movie.cpp,  40] MOVIE ERROR: Cant open movie file E:\freespace 2\intro.mve
[2d.cpp,1069] About to init 102
[grd3dsetup.cpp,1028] Default:
[grd3dsetup.cpp,1029] nv4_disp.dll NVIDIA GeForce3 Ti 200
[grd3dsetup.cpp,1032] Chosen:
[grd3dsetup.cpp,1033] nv4_disp.dll NVIDIA GeForce3 Ti 200
[grd3dsetup.cpp, 979] Success aa 1
[grd3dsetup.cpp,1212] Depth buffer format 0, aaresult 1
[grd3dbmpman.cpp,  39] Setting max bitmap size 4096
[grd3dtexture.cpp,1252] Using large textures
[grd3dtexture.cpp,1256] Max textures: 4096 4096
[grd3dbmpman.cpp, 377] bm_pcx: Cant load cruisertile1-shine.pcx

Lightspeed

2004-02-06 15:56

reporter   ~0000163

You can fix the shinemap error with installing my latest Shinemap Zip (most people didn't notice, but V1.1 has been released :-) ).

As for the crash, it's not the Shinemaps that are causing this. I got similar problems while playing the campaign 'Into the Depths of Hell', chapter 1, no mods.

I thought it was due to crappy mission design (I posted a thread in the SCP forum about it).

this was my clipboard spew:

Assert: pm->n_paths > path_num
File: E:\Languages\Visual Studio Projects\Visual C++\fs2_open\code\Ship\AiCode.cpp
Line: 3785

Call stack:
------------------------------------------------------------------
    ai_big_maybe_follow_subsys_path() ai_big_strafe_attack() ai_big_strafe() ai_execute_behavior() ai_frame() ai_process() ship_process_post() obj_move_all_post() obj_move_all() game_simulation_frame() game_frame() game_do_frame() game_do_state() gameseq_process_events() WinMainSub()------------------------------------------------------------------

Bobboau

2004-03-05 02:24

developer   ~0000291

I don't think the crash has anything to do with shine maps, it looks like ai_find_path is being told to find a path that doesn't exsist, this could posably be due to him running out of memory
I'm adding a more descriptave error mesage to help track this down

Kazan

2004-04-07 01:13

developer   ~0000703

this bug appears dead

taylor

2004-04-14 22:54

administrator   ~0000783

This has been reported again in the same mission with recent builds by WMCoolmon.

Goober5000

2004-04-30 04:09

administrator   ~0000851

What about now?

taylor

2004-04-30 12:42

administrator   ~0000859

I don't know, it's just the AI thing. I can't recreate it and if it is memory related then I probably never will. Just not using Error() there and instead a mprintf() for the message and then a return should handle the problem non-fatally. I can commit this if that's and accepted rememdy.

Goober5000

2004-04-30 13:59

administrator   ~0000862

No, don't do anything. Just leave it be, in case it's legitimate. If it crops up again, we'll take another look for it.

taylor

2004-07-03 23:58

administrator   ~0001032

Reopened cause of bug 0000209. This doesn't seem to happen often but it's been reported by at least 3 or 4 different people.

SadisticSid

2004-07-05 20:25

reporter   ~0001038

I think we had a similar problem with the Inferno builds, something to do with the max subobjects or subsystems per mission - it occurred randomly when there were lots of ships in a mission at one time. I think Woomeister 'dealt with it' by increasing the limits, though I'm not sure. Might want to ask him about it.

Goober5000

2005-05-25 06:30

administrator   ~0002506

Old bug. Does this still happen or can it be closed?

taylor

2005-05-25 14:06

administrator   ~0002507

I was trying to recreate this over the weekend but failed. I really don't think it's fixed but I haven't had it happen in a long time and no one else has reported it since. I'll go ahead and close it to get it out of the way and reopen if it does crop up again.

taylor

2005-05-25 14:07

administrator   ~0002508

Unable to reproduce but not likely fixed. Will reopen if found again.

Issue History

Date Modified Username Field Change
2004-01-27 16:26 bottomfan New Issue
2004-01-27 16:26 bottomfan File Added: DBUG-Nils Larsson-D(01-27-04) T(17-14-46).txt
2004-02-06 15:56 Lightspeed Note Added: 0000163
2004-03-04 15:02 Kazan Assigned To => Bobboau
2004-03-04 15:02 Kazan Status new => assigned
2004-03-05 02:24 Bobboau Note Added: 0000291
2004-04-07 01:13 Kazan Status assigned => closed
2004-04-07 01:13 Kazan Note Added: 0000703
2004-04-14 22:54 taylor Status closed => feedback
2004-04-14 22:54 taylor Resolution open => reopened
2004-04-14 22:54 taylor Note Added: 0000783
2004-04-30 04:09 Goober5000 Note Added: 0000851
2004-04-30 04:09 Goober5000 Priority normal => immediate
2004-04-30 04:09 Goober5000 Status feedback => acknowledged
2004-04-30 12:42 taylor Note Added: 0000859
2004-04-30 13:59 Goober5000 Status acknowledged => closed
2004-04-30 13:59 Goober5000 Note Added: 0000862
2004-07-03 23:57 taylor Relationship added has duplicate 0000209
2004-07-03 23:58 taylor Status closed => feedback
2004-07-03 23:58 taylor Note Added: 0001032
2004-07-03 23:59 taylor Summary Cant load shine... then crash => crash when path not found in ai_find_path() - primarily in Knossos mission
2004-07-05 20:25 SadisticSid Note Added: 0001038
2005-05-25 06:30 Goober5000 Note Added: 0002506
2005-05-25 14:06 taylor Note Added: 0002507
2005-05-25 14:07 taylor Status feedback => closed
2005-05-25 14:07 taylor Note Added: 0002508
2006-11-01 15:14 taylor Reproducibility have not tried => unable to reproduce
2006-11-01 15:14 taylor Resolution reopened => unable to reproduce