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

Battle: segfault in OFF when fighting with an enemy group with spawning enemies #723

Closed
fdelapena opened this Issue Jan 12, 2016 · 1 comment

Comments

Projects
None yet
2 participants
@fdelapena
Contributor

fdelapena commented Jan 12, 2016

There is an enemy when sometimes appears a part which was invisible, and after some attack turn (is an animation targetting it?), it crashes. The pattern looks like the enemy disappears then appears the 2nd time and when this skill is repeated, crashes. Reported by fraekugel. Backtrace:

Program received signal SIGSEGV, Segmentation fault.
0x0000000000557793 in Scene_Battle_Rpg2k3::ProcessActions (this=0x28a3fa0) at src/scene_battle_rpg2k3.cpp:463
463             Game_Enemy* target = static_cast<Game_Enemy*>(enemies[target_window->GetIndex()]);
(gdb) bt f
#0  0x0000000000557793 in Scene_Battle_Rpg2k3::ProcessActions (this=0x28a3fa0) at src/scene_battle_rpg2k3.cpp:463
        enemies = std::vector of length 0, capacity 0
        target = 0x255bb70
        sprite = 0x27c8a50
#1  0x000000000053ccbc in Scene_Battle::Update (this=0x28a3fa0) at src/scene_battle.cpp:168
        timer1 = 1531
        timer2 = 0
        events_finished = true
#2  0x0000000000555add in Scene_Battle_Rpg2k3::Update (this=0x28a3fa0) at src/scene_battle_rpg2k3.cpp:90
No locals.
#3  0x000000000043b306 in Player::Update (update_scene=true) at src/player.cpp:263
        framerate_interval = 16,666666666666668
        cur_time = 166258
#4  0x0000000000454fc0 in Scene::MainFunction (this=0x28a3fa0) at src/scene.cpp:98
        init = true
        __PRETTY_FUNCTION__ = "virtual void Scene::MainFunction()"
#5  0x000000000043b004 in Player::MainLoop () at src/player.cpp:189
No locals.
#6  0x000000000043af8d in Player::Run () at src/player.cpp:184
No locals.
#7  0x000000000042f775 in main (argc=3, argv=0x7fffffffe058) at src/main.cpp:32
No locals.

Savegame. Open the door and the battle will start.

@fdelapena fdelapena added this to the 0.4.1 milestone Jan 12, 2016

@Ghabry

This comment has been minimized.

Member

Ghabry commented Jan 12, 2016

Looks like one of the typical stack traces reported via Google Play. But they are useless because I can't add metadata like the game Name to them.
Thx for this one ^^

@fdelapena fdelapena closed this in ccb353d Jan 14, 2016

fdelapena added a commit that referenced this issue Jan 14, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment