Advertisement
Guest User

Untitled

a guest
Jun 14th, 2019
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
GDB 11.63 KB | None | 0 0
  1. Thread 2 "gameserver" received signal SIGSEGV, Segmentation fault.
  2. [Switching to Thread 0x7ffffa440700 (LWP 532)]
  3. 0x0000000000541edf in Game::addCreatureHealth(std::__cxx11::list<Creature*, std::allocator<Creature*> > const&, Creature const*) (this=<optimized out>, list=..., target=0x7fffc1086f60)
  4.     at /mnt/d/Documentos/GitHub/otPokemon-Data/src/game.cpp:4943
  5. 4943            if((player = (*it)->getPlayer()))
  6. (gdb) bt full
  7. #0  0x0000000000541edf in Game::addCreatureHealth(std::__cxx11::list<Creature*, std::allocator<Creature*> > const&, Creature const*) (this=<optimized out>, list=..., target=0x7fffc1086f60)
  8.     at /mnt/d/Documentos/GitHub/otPokemon-Data/src/game.cpp:4943
  9.         it = {_M_node = 0x7fff7824f2c0}
  10.         player = <optimized out>
  11. #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,
  12.     target=target@entry=0x7fffc1086f60, healthChange=<optimized out>, hitEffect=MAGIC_EFFECT_UNKNOWN,
  13.     hitColor=TEXTCOLOR_UNKNOWN, force=false) at /mnt/d/Documentos/GitHub/otPokemon-Data/src/game.cpp:4723
  14.         deny = <optimized out>
  15.         statsChangeEvents = {<No data fields>}
  16.         textColor = <optimized out>
  17.         magicEffect = <optimized out>
  18.         list = @0x7fffb2f68e80: {<No data fields>}
  19.         damage = 7015
  20.         targetPos = @0x7ffffa43ec90: {x = 1313, y = 3161, z = 6}
  21.         oldHealth = 75600209
  22.         newHealth = <optimized out>
  23. #2  0x00000000004aa14e in Combat::CombatHealthFunc(Creature*, Creature*, CombatParams const&, void*) (
  24.     caster=0x7fffc1079130, target=0x7fffc1086f60, params=..., data=<optimized out>)
  25.     at /mnt/d/Documentos/GitHub/otPokemon-Data/src/combat.cpp:544
  26.         change = -7015
  27. #3  0x00000000004aa2d0 in _ZN6Combat14doCombatHealthEP8CreatureS1_iiRK12CombatParams.part.202 (
  28.     caster=caster@entry=0x7fffc1079130, target=0x7fffc1086f60, minChange=<optimized out>, maxChange=<optimized out>,
  29.     params=...) at /mnt/d/Documentos/GitHub/otPokemon-Data/src/combat.cpp:830
  30.         var = {minChange = -7015, maxChange = -7015, change = 0}
  31. #4  0x00000000004aaeb1 in Combat::doCombatHealth(Creature*, Creature*, int, int, CombatParams const&) (
  32.     caster=caster@entry=0x7fffc1079130, target=<optimized out>, minChange=minChange@entry=-7015,
  33.     maxChange=maxChange@entry=-7015, params=...) at /mnt/d/Documentos/GitHub/otPokemon-Data/src/combat.cpp:840
  34. ---Type <return> to continue, or q <return> to quit---
  35. No locals.
  36. #5  0x000000000048eae4 in LuaScriptInterface::luaDoTargetCombatHealth(lua_State*) (L=0x7cd30378)
  37.     at /mnt/d/Documentos/GitHub/otPokemon-Data/src/luascript.cpp:7286
  38.         params = {blockedByArmor = false, blockedByShield = false, targetCasterOrTopMost = false,
  39.           targetPlayersOrSummons = false, differentAreaDamage = false, useCharges = true, isAggressive = true,
  40.           dispelType = CONDITION_NONE, combatType = COMBAT_UNDEFINEDDAMAGE, itemId = 0, targetCallback = 0x0,
  41.           valueCallback = 0x0, tileCallback = 0x0, effects = {impact = MAGIC_EFFECT_NONE, hit = MAGIC_EFFECT_UNKNOWN,
  42.             distance = SHOOT_EFFECT_NONE, color = TEXTCOLOR_UNKNOWN, show = true}, conditionList = {<No data fields>}}
  43.         effect = MAGIC_EFFECT_NONE
  44.         maxChange = -7015
  45.         minChange = -7015
  46.         combatType = COMBAT_UNDEFINEDDAMAGE
  47.         targetCid = <optimized out>
  48.         cid = <optimized out>
  49.         creature = 0x7fffc1079130
  50.         __FUNCTION__ = "luaDoTargetCombatHealth"
  51.         target = <optimized out>
  52. #6  0x00007ffffe2391a6 in ?? () from /usr/lib/x86_64-linux-gnu/libluajit-5.1.so.2
  53. No symbol table info available.
  54. #7  0x00007ffffe27e980 in lua_pcall () from /usr/lib/x86_64-linux-gnu/libluajit-5.1.so.2
  55. No symbol table info available.
  56. #8  0x000000000059e337 in LuaScriptInterface::callFunction(unsigned int) (this=0x7fffe961d190, params=params@entry=5)
  57.     at /mnt/d/Documentos/GitHub/otPokemon-Data/src/luascript.cpp:1226
  58.         start = 1560509905434
  59.         size = 10
  60.         handler = 5
  61.         result = false
  62. #9  0x00000000005c51ae in CreatureEvent::executeStatsChange(Creature*, Creature*, StatsChange_t, CombatType_t, int) (
  63.     this=0x7fffe9627c10, creature=creature@entry=0x7fffc1086f60, attacker=attacker@entry=0x7fffc1079130,
  64. ---Type <return> to continue, or q <return> to quit---
  65.     type=type@entry=STATSCHANGE_HEALTHLOSS, combat=combat@entry=3019, value=value@entry=4384)
  66.     at /mnt/d/Documentos/GitHub/otPokemon-Data/src/creatureevent.cpp:1644
  67.         result = <optimized out>
  68.         start = <optimized out>
  69. #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,
  70.     target=target@entry=0x7fffc1086f60, healthChange=<optimized out>, hitEffect=MAGIC_EFFECT_UNKNOWN,
  71.     hitColor=TEXTCOLOR_UNKNOWN, force=false) at /mnt/d/Documentos/GitHub/otPokemon-Data/src/game.cpp:4715
  72.         it = {_M_node = 0x7fff94ba8bd0}
  73.         deny = false
  74.         statsChangeEvents = {<No data fields>}
  75.         textColor = <optimized out>
  76.         magicEffect = <optimized out>
  77.         list = @0x7fffb2f68e80: {<No data fields>}
  78.         damage = 4384
  79.         targetPos = @0x7ffffa43f1f0: {x = 1313, y = 3161, z = 6}
  80.         oldHealth = 75600209
  81.         newHealth = <optimized out>
  82. #11 0x00000000005f09a9 in Combat::CombatHealthFunc(Creature*, Creature*, CombatParams const&, void*) (
  83.     data=0x7ffffa43f3b0, params=..., target=<optimized out>, caster=0x7fffc1079130)
  84.     at /mnt/d/Documentos/GitHub/otPokemon-Data/src/combat.cpp:544
  85.         change = -4384
  86. #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>,
  87.     params=..., data=data@entry=0x7ffffa43f3b0, func=<optimized out>)
  88.     at /mnt/d/Documentos/GitHub/otPokemon-Data/src/combat.cpp:776
  89.         cit = {_M_current = 0x7fff77f13330}
  90.         skip = true
  91.         it = {_M_node = 0x7fff2f501df0}
  92. ---Type <return> to continue, or q <return> to quit---
  93.         tileList = {<No data fields>}
  94.         var = 0x7ffffa43f3b0
  95.         maxX = <optimized out>
  96.         maxY = <optimized out>
  97.         diff = <optimized out>
  98.         list = {<No data fields>}
  99.         tile = 0x7fff2ef7e0a0
  100. #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>)
  101.     at /mnt/d/Documentos/GitHub/otPokemon-Data/src/combat.cpp:848
  102.         var = {minChange = -4328, maxChange = -4428, change = -4384}
  103. #14 LuaScriptInterface::luaDoCombatAreaHealth(lua_State*) (L=0x7f690378)
  104.     at /mnt/d/Documentos/GitHub/otPokemon-Data/src/luascript.cpp:7246
  105.         params = {blockedByArmor = false, blockedByShield = false, targetCasterOrTopMost = false,
  106.           targetPlayersOrSummons = false, differentAreaDamage = false, useCharges = true, isAggressive = true,
  107.           dispelType = CONDITION_NONE, combatType = 3019, itemId = 0, targetCallback = 0x0, valueCallback = 0x0,
  108.           tileCallback = 0x0, effects = {impact = MAGIC_EFFECT_AA, hit = MAGIC_EFFECT_UNKNOWN,
  109.             distance = SHOOT_EFFECT_NONE, color = TEXTCOLOR_UNKNOWN, show = true}, conditionList = {<No data fields>}}
  110.         effect = MAGIC_EFFECT_AA
  111.         maxChange = -4428
  112.         minChange = -4328
  113.         areaId = 0
  114.         pos = {stackpos = 1}
  115.         combatType = <optimized out>
  116.         cid = <optimized out>
  117.         __FUNCTION__ = "luaDoCombatAreaHealth"
  118.         creature = <optimized out>
  119.         area = <optimized out>
  120. #15 0x00007ffffe2391a6 in ?? () from /usr/lib/x86_64-linux-gnu/libluajit-5.1.so.2
  121. ---Type <return> to continue, or q <return> to quit---
  122. No symbol table info available.
  123. #16 0x00007ffffe27e980 in lua_pcall () from /usr/lib/x86_64-linux-gnu/libluajit-5.1.so.2
  124. No symbol table info available.
  125. #17 0x000000000059e337 in LuaScriptInterface::callFunction(unsigned int) (this=0x7fffe9578cd0, params=params@entry=3)
  126.     at /mnt/d/Documentos/GitHub/otPokemon-Data/src/luascript.cpp:1226
  127.         start = 1560509905433
  128.         size = 8
  129.         handler = 5
  130.         result = false
  131. #18 0x00000000005e5270 in InstantSpell::executeCastSpell(Creature*, LuaVariant const&) (this=0x7fffe957b2e0,
  132.     creature=0x7fffe9da3420, var=...) at /mnt/d/Documentos/GitHub/otPokemon-Data/src/spells.cpp:1293
  133.         result = <optimized out>
  134. #19 0x00000000005eb616 in InstantSpell::playerCastInstant(Player*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) (this=0x7fffe957b2e0, player=0x7fffe9da3420, param=...)
  135.     at /mnt/d/Documentos/GitHub/otPokemon-Data/src/spells.cpp:1174
  136.         var = {type = VARIANT_POSITION, text = <incomplete type>, pos = {stackpos = 0}, number = 0}
  137. #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=...)
  138.     at /mnt/d/Documentos/GitHub/otPokemon-Data/src/spells.cpp:72
  139.         reWords = <incomplete type>
  140.         instantSpell = 0x7fffe957b2e0
  141.         param = <incomplete type>
  142.         reParam = <incomplete type>
  143.         type = <optimized out>
  144.         ret = <incomplete type>
  145. #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,
  146.     receiver=..., text=...) at /mnt/d/Documentos/GitHub/otPokemon-Data/src/game.cpp:4037
  147. ---Type <return> to continue, or q <return> to quit---
  148.         player = 0x7fffe9da3420
  149.         ret = <optimized out>
  150.         muteTime = 32767
  151.         muted = <optimized out>
  152. #22 0x000000000062bb48 in boost::function0::operator() (this=0x93c270)
  153.     at /usr/include/boost/function/function_template.hpp:773
  154. No locals.
  155. #23 Task::operator() () at /mnt/d/Documentos/GitHub/otPokemon-Data/src/tasks.h:34
  156.         this = 0x93c260
  157. #24 Dispatcher::dispatcherThread (p=0x916e60 <Dispatcher::getInstance()::dispatcher>)
  158.     at /mnt/d/Documentos/GitHub/otPokemon-Data/src/tasks.cpp:72
  159.         task = 0x93c260
  160.         dispatcher = 0x916e60 <Dispatcher::getInstance()::dispatcher>
  161.         outputPool = 0x90ffc0 <OutputMessagePool::getInstance()::instance>
  162.         taskLockUnique = {m = 0x916e68 <Dispatcher::getInstance()::dispatcher+8>, is_locked = false}
  163. #25 0x00007ffffec015d5 in ?? () from /usr/lib/x86_64-linux-gnu/libboost_thread.so.1.58.0
  164. No symbol table info available.
  165. #26 0x00007ffffe4a76ba in start_thread (arg=0x7ffffa440700) at pthread_create.c:333
  166.         __res = <optimized out>
  167.         pd = 0x7ffffa440700
  168.         now = <optimized out>
  169.         unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140737392150272, -3402475005541500170, 0, 140737488279535,
  170.                 140737392150976, 9752736, 3402486584796101366, 3402477861946768118}, mask_was_saved = 0}}, priv = {
  171.             pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
  172.         not_first_call = <optimized out>
  173.         pagesize_m1 = <optimized out>
  174.         sp = <optimized out>
  175.         freesize = <optimized out>
  176.         __PRETTY_FUNCTION__ = "start_thread"
  177. ---Type <return> to continue, or q <return> to quit---
  178. #27 0x00007fffff13741d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109
  179. No locals.
  180. (gdb)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement