Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

follow_polygon_edges crashes #37

Closed
shaybarak opened this issue Aug 31, 2012 · 1 comment
Closed

follow_polygon_edges crashes #37

shaybarak opened this issue Aug 31, 2012 · 1 comment
Assignees

Comments

@shaybarak
Copy link
Owner

There is a bug that causes an access violation in follow_polygon_edges. It's most likely in the loop that begins at ShortestPathInPolygon.h:238, though I'm not sure because the stack trace in Release is not accurate. The bug could be either in the loop's body or in the exit condition.

This crashes the player and causes us to lose the match.

To recreate the crash:
Run the simplest scenario, under Input. It's the standard maze with both players and all three targets outside the maze.
Player B crashes.

Please:

  1. Test your code against more than one scenario!
  2. Either fix this by the end of the day or revert back to Oren's code.

@yasminsl
@idansayag

@ghost ghost assigned yasminsl Aug 31, 2012
@shaybarak
Copy link
Owner Author

1a18ef7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants