View Issue Details

IDProjectCategoryView StatusLast Update
0005259The Dark ModAIpublic17.12.2020 02:44
Reporterduzenko Assigned To 
PrioritylowSeverityminorReproducibilityrandom
Status closedResolutionunable to reproduce 
Product VersionTDM 2.08 
Target VersionTDM 2.09Fixed in VersionTDM 2.09 
Summary0005259: Crash in game code
DescriptionLooks like a FrobDoor has a spwanArgs not initialized properly ?
Steps To ReproduceStart Ulysses 1
Progress to see Sheriff sitting at the table at the foot of the staircase (basement exit)
Shoot an arrow at him
AI alerts, soon crashes with this stacktrace

     [Inline Frame] TheDarkModx64NoTools.exe!idHashIndex::First(const int) Line 226 C++
     TheDarkModx64NoTools.exe!idDict::FindKey(const char * key=0x00007ff72510cc68) Line 446 C++
     [Inline Frame] TheDarkModx64NoTools.exe!idDict::GetString(const char *) Line 230 C++
     [Inline Frame] TheDarkModx64NoTools.exe!idDict::GetBool(const char *) Line 246 C++
> TheDarkModx64NoTools.exe!idAI::CanPassThroughDoor(CFrobDoor * frobDoor=0x000002d32420a014) Line 5809 C++
     TheDarkModx64NoTools.exe!ai::State::OnFrobDoorEncounter(CFrobDoor * frobDoor=0x000002d32420a014) Line 5393 C++
     TheDarkModx64NoTools.exe!idAI::GetMovePos(idVec3 & seekPos={...}) Line 5043 C++
     TheDarkModx64NoTools.exe!idAI::AnimMove() Line 5957 C++
     TheDarkModx64NoTools.exe!idAI::Think() Line 2588 C++
     TheDarkModx64NoTools.exe!idGameLocal::RunFrame(const usercmd_t * clientCmds=0x000000dcfdbff2d0, int timestepMs) Line 3212 C++
     TheDarkModx64NoTools.exe!idSessionLocal::RunGameTic(int timestepMs=16) Line 3052 C++
     TheDarkModx64NoTools.exe!idSessionLocal::RunGameTics() Line 3095 C++
     TheDarkModx64NoTools.exe!idSessionLocal::FrontendThreadFunction() Line 3141 C++
     [Inline Frame] TheDarkModx64NoTools.exe!idSessionLocal::StartFrontendThread::__l2::<lambda_16de5467341aba11472bb29a736528b0>::operator()(void *) Line 3233 C++
     TheDarkModx64NoTools.exe!<lambda_16de5467341aba11472bb29a736528b0>::<lambda_invoker_cdecl>(void * x) Line 3235 C++
     [External Code]

Additional Informationent->name {len=11 data=0x000002d36e15f520 "cellar_bot1" alloced=20 ...}

frobdoor center = {x=136.000000 y=848.000000 z=60.0000000 }
TagsNo tags attached.

Activities

grayman

grayman

23.05.2020 05:31

viewer   ~0012541

Can you provide a savegame just before the sheriff? (I don't know where to get my weapons.)
duzenko

duzenko

23.05.2020 07:39

developer   ~0012545

Last edited: 23.05.2020 07:41

Attached
The save format is current svn. Ignore any svn revision checks possible.
Regret the crash is not reproducible easily. I did encounter it today once again, but that's it.
The frob door center position should be enough to identify the entity?
savegames.7z (3,948,911 bytes)
grayman

grayman

26.05.2020 01:01

viewer   ~0012557

The two savegames lead to crashes using a force-load with the latest SVN.

I'll need a savegame from beta6.

Thx.
grayman

grayman

29.05.2020 11:47

viewer   ~0012578

Can I get a savegame from SVN showing the problem?

Please provide the rev number of the build.
grayman

grayman

29.05.2020 12:11

viewer   ~0012579

I checked the spawnargs on the door and see nothing wrong.

If this needs to be fixed in 2.08, please set the target release.
grayman

grayman

26.10.2020 23:05

viewer   ~0012834

Removing myself as "Assigned To" because I doubt I will ever have time to work on it.
stgatilov

stgatilov

07.12.2020 12:13

administrator   ~0013109

I tried to reproduce it on the latest SVN, but everything is OK.

When I teleport, I see two robo-guys with one corpse on the table.
I tried shooting at them, alerting them, luring them through the specified door, run with them around, make them search, etc.
I don't get any crash.

Issue History

Date Modified Username Field Change
22.05.2020 18:00 duzenko New Issue
22.05.2020 18:00 duzenko Status new => assigned
22.05.2020 18:00 duzenko Assigned To => grayman
23.05.2020 05:31 grayman Note Added: 0012541
23.05.2020 07:39 duzenko Note Added: 0012545
23.05.2020 07:39 duzenko File Added: savegames.7z
23.05.2020 07:40 duzenko Note Edited: 0012545
23.05.2020 07:40 duzenko Note Edited: 0012545
23.05.2020 07:41 duzenko Note Edited: 0012545
26.05.2020 01:01 grayman Note Added: 0012557
29.05.2020 11:47 grayman Note Added: 0012578
29.05.2020 12:11 grayman Note Added: 0012579
29.05.2020 18:02 duzenko Priority normal => low
29.05.2020 18:02 duzenko Severity normal => minor
29.05.2020 18:02 duzenko Reproducibility have not tried => random
29.05.2020 18:02 duzenko Target Version => TDM 2.09
26.10.2020 23:05 grayman Assigned To grayman =>
26.10.2020 23:05 grayman Note Added: 0012834
07.12.2020 12:13 stgatilov Note Added: 0013109
17.12.2020 02:44 nbohr1more Status assigned => closed
17.12.2020 02:44 nbohr1more Resolution open => unable to reproduce
17.12.2020 02:44 nbohr1more Product Version => TDM 2.08
17.12.2020 02:44 nbohr1more Fixed in Version => TDM 2.09