HomeWildfire Games

Fix D1491 which introduced an ENSURE that should not have been there.
AuditedrP22225

Description

Fix D1491 which introduced an ENSURE that should not have been there.

Reported by wowgetoffyourcellphone.

Details

Auditors
Itms
Committed
wraitiiApr 25 2019, 9:08 AM
Parents
rP22224: [Windows] Automated build.
Branches
Unknown
Tags
Unknown
Build Status
Buildable 7287
Build 11869: Trigger Windows Autobuild
Build 11868: Post-Commit BuildJenkins

Event Timeline

Itms raised a concern with this commit.Apr 25 2019, 9:15 AM
Itms added a subscriber: Itms.

This is removing state.jpc = m_JumpPointCache[passClass].get(); when it != m_JumpPointCache.end(), no?

Don't hesitate to open a diff even for hot fixes. For instance that could allow Justus to test it, since he can reproduce the issue. And one would have noticed what I saw.

This commit now has outstanding concerns.Apr 25 2019, 9:15 AM
wraitii added a comment.EditedApr 25 2019, 10:15 AM

It is indeed... We don't use the jpc at the moment so this doesn't crash, but it should be fixed.

Don't hesitate to open a diff even for hot fixes. For instance that could allow Justus to test it, since he can reproduce the issue. And one would have noticed what I saw.

OK, I'll do next time. Note that I could also reproduce the issue this morning, since this was crashing 100% of the time.

(also I'll probably add a way to run a quick non-visual autostart for a fixed # of turns and add that to my git test alias to make sure I don't miss actually starting a game)

vladislavbelov added inline comments.
/ps/trunk/source/simulation2/helpers/LongPathfinder.cpp
721

@Itms no auto anymore :)

Stan added a subscriber: Stan.May 9 2019, 10:48 AM

@wraitii Any ETA on this ?

Need to open a diff. I'll do it this WE if I remember it

Itms accepted this commit.May 25 2019, 6:07 PM

Thanks for the fix.

All concerns with this commit have now been addressed.May 25 2019, 6:07 PM
elexis added a subscriber: elexis.Jun 14 2019, 9:21 PM

D1491

= rP22219 (for cross-reference)