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

Seg fault during gameplay #75

Open
johndh opened this issue Mar 14, 2016 · 4 comments
Open

Seg fault during gameplay #75

johndh opened this issue Mar 14, 2016 · 4 comments

Comments

@johndh
Copy link

johndh commented Mar 14, 2016

BUG: RangeTargetFinder::FillBadGood.Compute out of range. size: 22, pos: -4, x: 18, xx: 0, y: -2, yy: 0BUG: RangeTargetFinder::FillBadGood.Compute out of range. size: 22, pos: -3, x: 19, xx: 0, y: -2, yy: 0BUG: RangeTargetFinder::FillBadGood.Compute out of range. size: 22, pos: -2, x: 20, xx: 0, y: -2, yy: 0BUG: RangeTargetFinder::FillBadGood.Compute out of range. size: 22, pos: -1, x: 21, xx: 0, y: -2, yy: 0BUG: RangeTargetFinder::FillBadGood.Compute out of range. size: 22, pos: -4, x: 18, xx: 0, y: -2, yy: 0game ends
Segmentation fault

This happened as the enemy was attacking my base in the Moving Into Galicia (Teuton) quest.
Running git version on Linux.

@Andrettin
Copy link
Owner

Thanks for the bug report! Maybe this issue is linked to siege weapons firing; I haven't encountered it so far though. I'll run some more tests.

@johndh
Copy link
Author

johndh commented Mar 17, 2016

No idea if it's the same cause, but I had another segfault. The quest was Home of the Boii, and I had no siege weapons. I don't think there was any combat going on either.

@KroArtem
Copy link

Sometimes I have Compute out of range in the output but it doesn't seem to lead to crashes. Is there any reason to have old tickets related to old versions being open? With some major version you can just close all irrelevant tickets with 'not reproducible' resolution.

@Andrettin
Copy link
Owner

I agree; this particular ticket is still relevant though since I didn't change that part of the code in unit_find.h.

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

3 participants