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

Null function pointer exception when killing zeds with grenades. #3767

Closed
Griffinhart opened this issue Oct 20, 2013 · 1 comment
Closed
Labels
<Crash / Freeze> Fatal bug that results in hangs or crashes.

Comments

@Griffinhart
Copy link
Contributor

Version: 0.8-1537-gf8fa766.

Threw a grenade at a mixed group of zombies (3 zombies, 2 grabbers, 1 boomer), hitting a majority of them. Program receives signal SIGSEGV.

Output from gdb backtrace:

0 0x0000000000000000 in ?? ()
1 0x000000000063f9ee in iuse::grenade_act (this=0x7fffffffda7f, g=0x7ffff7f79010, p=0x7ffff7fca4c8, it=8x19719d70, t=false) at iuse.cpp:3246
2 0x00000000006570d8 in use_function::call (this=0x10cf270, g=0x7ffff7f79010, p=0x7ffff7fca4c8, i=0x19719d70, b=false) at isue.cpp:5720
3 0x00000000006a0073 in map::process_active_items_in_submap (this=0x7ffff7f791b0, g=0x7ffff7f79010, nonant=72) at map.cpp:2847
4 0x000000000069f809 in map::process_active_items (this=this=0x7ffff7f791b0, g=0x7ffff7f79010) at map.cpp:2787
5 0x00000000004f960f in game::do_turn (this=0x7ffff7f79010) at game.cpp:699
6 0x000000000067793a in main (argc=0, argv=0x7fffffffdf10) at main.cpp:102

ETA: I suspect, but cannot confirm, that this may be due to some kind of conflict between the grenade's AOE effect and the boomer's (I believe boomer explosions can damage items nearby, correct?).

ETA: Maybe not. I killed 2 zombies and a boomer that were all next to each other with the grenade and no crash occurred. Also killed the boomer by itself, and a zombie by itself, also all with no crashing.

ETA: And I just killed the entire group (i.e. 3 zombies, 2 grabbers, 1 boomer) with the grenade and no crash occurred.

@ianestrachan
Copy link
Contributor

Can this be closed now? It sounds like the real culprit was the game processing the already-exploded grenade.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
<Crash / Freeze> Fatal bug that results in hangs or crashes.
Projects
None yet
Development

No branches or pull requests

3 participants