Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Thread 2 "gameserver" received signal SIGSEGV, Segmentation fault.
- [Switching to Thread 0x7ffffa440700 (LWP 532)]
- 0x0000000000541edf in Game::addCreatureHealth(std::__cxx11::list<Creature*, std::allocator<Creature*> > const&, Creature const*) (this=<optimized out>, list=..., target=0x7fffc1086f60)
- at /mnt/d/Documentos/GitHub/otPokemon-Data/src/game.cpp:4943
- 4943 if((player = (*it)->getPlayer()))
- (gdb) bt full
- #0 0x0000000000541edf in Game::addCreatureHealth(std::__cxx11::list<Creature*, std::allocator<Creature*> > const&, Creature const*) (this=<optimized out>, list=..., target=0x7fffc1086f60)
- at /mnt/d/Documentos/GitHub/otPokemon-Data/src/game.cpp:4943
- it = {_M_node = 0x7fff7824f2c0}
- player = <optimized out>
- #1 0x0000000000542b29 in Game::combatChangeHealth(CombatType_t, Creature*, Creature*, int, MagicEffect_t, TextColor_t, bool) (this=0x91ef00 <g_game>, combatType=COMBAT_UNDEFINEDDAMAGE, attacker=attacker@entry=0x7fffc1079130,
- target=target@entry=0x7fffc1086f60, healthChange=<optimized out>, hitEffect=MAGIC_EFFECT_UNKNOWN,
- hitColor=TEXTCOLOR_UNKNOWN, force=false) at /mnt/d/Documentos/GitHub/otPokemon-Data/src/game.cpp:4723
- deny = <optimized out>
- statsChangeEvents = {<No data fields>}
- textColor = <optimized out>
- magicEffect = <optimized out>
- list = @0x7fffb2f68e80: {<No data fields>}
- damage = 7015
- targetPos = @0x7ffffa43ec90: {x = 1313, y = 3161, z = 6}
- oldHealth = 75600209
- newHealth = <optimized out>
- #2 0x00000000004aa14e in Combat::CombatHealthFunc(Creature*, Creature*, CombatParams const&, void*) (
- caster=0x7fffc1079130, target=0x7fffc1086f60, params=..., data=<optimized out>)
- at /mnt/d/Documentos/GitHub/otPokemon-Data/src/combat.cpp:544
- change = -7015
- #3 0x00000000004aa2d0 in _ZN6Combat14doCombatHealthEP8CreatureS1_iiRK12CombatParams.part.202 (
- caster=caster@entry=0x7fffc1079130, target=0x7fffc1086f60, minChange=<optimized out>, maxChange=<optimized out>,
- params=...) at /mnt/d/Documentos/GitHub/otPokemon-Data/src/combat.cpp:830
- var = {minChange = -7015, maxChange = -7015, change = 0}
- #4 0x00000000004aaeb1 in Combat::doCombatHealth(Creature*, Creature*, int, int, CombatParams const&) (
- caster=caster@entry=0x7fffc1079130, target=<optimized out>, minChange=minChange@entry=-7015,
- maxChange=maxChange@entry=-7015, params=...) at /mnt/d/Documentos/GitHub/otPokemon-Data/src/combat.cpp:840
- ---Type <return> to continue, or q <return> to quit---
- No locals.
- #5 0x000000000048eae4 in LuaScriptInterface::luaDoTargetCombatHealth(lua_State*) (L=0x7cd30378)
- at /mnt/d/Documentos/GitHub/otPokemon-Data/src/luascript.cpp:7286
- params = {blockedByArmor = false, blockedByShield = false, targetCasterOrTopMost = false,
- targetPlayersOrSummons = false, differentAreaDamage = false, useCharges = true, isAggressive = true,
- dispelType = CONDITION_NONE, combatType = COMBAT_UNDEFINEDDAMAGE, itemId = 0, targetCallback = 0x0,
- valueCallback = 0x0, tileCallback = 0x0, effects = {impact = MAGIC_EFFECT_NONE, hit = MAGIC_EFFECT_UNKNOWN,
- distance = SHOOT_EFFECT_NONE, color = TEXTCOLOR_UNKNOWN, show = true}, conditionList = {<No data fields>}}
- effect = MAGIC_EFFECT_NONE
- maxChange = -7015
- minChange = -7015
- combatType = COMBAT_UNDEFINEDDAMAGE
- targetCid = <optimized out>
- cid = <optimized out>
- creature = 0x7fffc1079130
- __FUNCTION__ = "luaDoTargetCombatHealth"
- target = <optimized out>
- #6 0x00007ffffe2391a6 in ?? () from /usr/lib/x86_64-linux-gnu/libluajit-5.1.so.2
- No symbol table info available.
- #7 0x00007ffffe27e980 in lua_pcall () from /usr/lib/x86_64-linux-gnu/libluajit-5.1.so.2
- No symbol table info available.
- #8 0x000000000059e337 in LuaScriptInterface::callFunction(unsigned int) (this=0x7fffe961d190, params=params@entry=5)
- at /mnt/d/Documentos/GitHub/otPokemon-Data/src/luascript.cpp:1226
- start = 1560509905434
- size = 10
- handler = 5
- result = false
- #9 0x00000000005c51ae in CreatureEvent::executeStatsChange(Creature*, Creature*, StatsChange_t, CombatType_t, int) (
- this=0x7fffe9627c10, creature=creature@entry=0x7fffc1086f60, attacker=attacker@entry=0x7fffc1079130,
- ---Type <return> to continue, or q <return> to quit---
- type=type@entry=STATSCHANGE_HEALTHLOSS, combat=combat@entry=3019, value=value@entry=4384)
- at /mnt/d/Documentos/GitHub/otPokemon-Data/src/creatureevent.cpp:1644
- result = <optimized out>
- start = <optimized out>
- #10 0x00000000005429e0 in Game::combatChangeHealth(CombatType_t, Creature*, Creature*, int, MagicEffect_t, TextColor_t, bool) (this=0x91ef00 <g_game>, combatType=3019, attacker=attacker@entry=0x7fffc1079130,
- target=target@entry=0x7fffc1086f60, healthChange=<optimized out>, hitEffect=MAGIC_EFFECT_UNKNOWN,
- hitColor=TEXTCOLOR_UNKNOWN, force=false) at /mnt/d/Documentos/GitHub/otPokemon-Data/src/game.cpp:4715
- it = {_M_node = 0x7fff94ba8bd0}
- deny = false
- statsChangeEvents = {<No data fields>}
- textColor = <optimized out>
- magicEffect = <optimized out>
- list = @0x7fffb2f68e80: {<No data fields>}
- damage = 4384
- targetPos = @0x7ffffa43f1f0: {x = 1313, y = 3161, z = 6}
- oldHealth = 75600209
- newHealth = <optimized out>
- #11 0x00000000005f09a9 in Combat::CombatHealthFunc(Creature*, Creature*, CombatParams const&, void*) (
- data=0x7ffffa43f3b0, params=..., target=<optimized out>, caster=0x7fffc1079130)
- at /mnt/d/Documentos/GitHub/otPokemon-Data/src/combat.cpp:544
- change = -4384
- #12 Combat::CombatFunc(Creature*, Position const&, CombatArea const*, CombatParams const&, bool (*)(Creature*, Creature*, CombatParams const&, void*), void*) [clone .constprop.865] (caster=0x7fffc1079130, pos=..., area=<optimized out>,
- params=..., data=data@entry=0x7ffffa43f3b0, func=<optimized out>)
- at /mnt/d/Documentos/GitHub/otPokemon-Data/src/combat.cpp:776
- cit = {_M_current = 0x7fff77f13330}
- skip = true
- it = {_M_node = 0x7fff2f501df0}
- ---Type <return> to continue, or q <return> to quit---
- tileList = {<No data fields>}
- var = 0x7ffffa43f3b0
- maxX = <optimized out>
- maxY = <optimized out>
- diff = <optimized out>
- list = {<No data fields>}
- tile = 0x7fff2ef7e0a0
- #13 0x000000000048416f in Combat::doCombatHealth(Creature*, Position const&, CombatArea const*, int, int, CombatParams const&) (params=..., maxChange=-4428, minChange=-4328, area=<optimized out>, pos=..., caster=<optimized out>)
- at /mnt/d/Documentos/GitHub/otPokemon-Data/src/combat.cpp:848
- var = {minChange = -4328, maxChange = -4428, change = -4384}
- #14 LuaScriptInterface::luaDoCombatAreaHealth(lua_State*) (L=0x7f690378)
- at /mnt/d/Documentos/GitHub/otPokemon-Data/src/luascript.cpp:7246
- params = {blockedByArmor = false, blockedByShield = false, targetCasterOrTopMost = false,
- targetPlayersOrSummons = false, differentAreaDamage = false, useCharges = true, isAggressive = true,
- dispelType = CONDITION_NONE, combatType = 3019, itemId = 0, targetCallback = 0x0, valueCallback = 0x0,
- tileCallback = 0x0, effects = {impact = MAGIC_EFFECT_AA, hit = MAGIC_EFFECT_UNKNOWN,
- distance = SHOOT_EFFECT_NONE, color = TEXTCOLOR_UNKNOWN, show = true}, conditionList = {<No data fields>}}
- effect = MAGIC_EFFECT_AA
- maxChange = -4428
- minChange = -4328
- areaId = 0
- pos = {stackpos = 1}
- combatType = <optimized out>
- cid = <optimized out>
- __FUNCTION__ = "luaDoCombatAreaHealth"
- creature = <optimized out>
- area = <optimized out>
- #15 0x00007ffffe2391a6 in ?? () from /usr/lib/x86_64-linux-gnu/libluajit-5.1.so.2
- ---Type <return> to continue, or q <return> to quit---
- No symbol table info available.
- #16 0x00007ffffe27e980 in lua_pcall () from /usr/lib/x86_64-linux-gnu/libluajit-5.1.so.2
- No symbol table info available.
- #17 0x000000000059e337 in LuaScriptInterface::callFunction(unsigned int) (this=0x7fffe9578cd0, params=params@entry=3)
- at /mnt/d/Documentos/GitHub/otPokemon-Data/src/luascript.cpp:1226
- start = 1560509905433
- size = 8
- handler = 5
- result = false
- #18 0x00000000005e5270 in InstantSpell::executeCastSpell(Creature*, LuaVariant const&) (this=0x7fffe957b2e0,
- creature=0x7fffe9da3420, var=...) at /mnt/d/Documentos/GitHub/otPokemon-Data/src/spells.cpp:1293
- result = <optimized out>
- #19 0x00000000005eb616 in InstantSpell::playerCastInstant(Player*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) (this=0x7fffe957b2e0, player=0x7fffe9da3420, param=...)
- at /mnt/d/Documentos/GitHub/otPokemon-Data/src/spells.cpp:1174
- var = {type = VARIANT_POSITION, text = <incomplete type>, pos = {stackpos = 0}, number = 0}
- #20 0x00000000005fe4b1 in Spells::onPlayerSay(Player*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) (this=<optimized out>, player=player@entry=0x7fffe9da3420, words=...)
- at /mnt/d/Documentos/GitHub/otPokemon-Data/src/spells.cpp:72
- reWords = <incomplete type>
- instantSpell = 0x7fffe957b2e0
- param = <incomplete type>
- reParam = <incomplete type>
- type = <optimized out>
- ret = <incomplete type>
- #21 0x0000000000545355 in Game::playerSay(unsigned int, unsigned short, SpeakClasses, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) (this=0x91ef00 <g_game>, playerId=268454641, channelId=<optimized out>, type=SPEAK_CLASS_FIRST,
- receiver=..., text=...) at /mnt/d/Documentos/GitHub/otPokemon-Data/src/game.cpp:4037
- ---Type <return> to continue, or q <return> to quit---
- player = 0x7fffe9da3420
- ret = <optimized out>
- muteTime = 32767
- muted = <optimized out>
- #22 0x000000000062bb48 in boost::function0::operator() (this=0x93c270)
- at /usr/include/boost/function/function_template.hpp:773
- No locals.
- #23 Task::operator() () at /mnt/d/Documentos/GitHub/otPokemon-Data/src/tasks.h:34
- this = 0x93c260
- #24 Dispatcher::dispatcherThread (p=0x916e60 <Dispatcher::getInstance()::dispatcher>)
- at /mnt/d/Documentos/GitHub/otPokemon-Data/src/tasks.cpp:72
- task = 0x93c260
- dispatcher = 0x916e60 <Dispatcher::getInstance()::dispatcher>
- outputPool = 0x90ffc0 <OutputMessagePool::getInstance()::instance>
- taskLockUnique = {m = 0x916e68 <Dispatcher::getInstance()::dispatcher+8>, is_locked = false}
- #25 0x00007ffffec015d5 in ?? () from /usr/lib/x86_64-linux-gnu/libboost_thread.so.1.58.0
- No symbol table info available.
- #26 0x00007ffffe4a76ba in start_thread (arg=0x7ffffa440700) at pthread_create.c:333
- __res = <optimized out>
- pd = 0x7ffffa440700
- now = <optimized out>
- unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140737392150272, -3402475005541500170, 0, 140737488279535,
- 140737392150976, 9752736, 3402486584796101366, 3402477861946768118}, mask_was_saved = 0}}, priv = {
- pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
- not_first_call = <optimized out>
- pagesize_m1 = <optimized out>
- sp = <optimized out>
- freesize = <optimized out>
- __PRETTY_FUNCTION__ = "start_thread"
- ---Type <return> to continue, or q <return> to quit---
- #27 0x00007fffff13741d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109
- No locals.
- (gdb)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement