opentibiabr / canary

Canary Server 13.x for OpenTibia community.
https://docs.opentibiabr.com/
GNU General Public License v2.0
369 stars 603 forks source link

CRASH REWARD/QUICKLOOT #1171

Closed helenarubra closed 1 year ago

helenarubra commented 1 year ago

Priority

Medium

Area

What happened?

After uploading the two commits: https://github.com/opentibiabr/canary/commit/4015cf2deae83b7105dc9e5de2e269350702f2a4 https://github.com/opentibiabr/canary/commit/6f894a35db680b18bec6117b3fbedbfa735809a8

I had this problem with crash below The only difference is in this function in this line ReturnValue Player::rewardChestCollect(const Container fromCorpse / = nullptr/, uint32_t maxMoveItems / = 0/) { std::vector<Item> rewardItemsVector; if (fromCorpse) { auto rewardId = fromCorpse->getAttribute(ItemAttribute_t::DATE); auto reward = getReward(rewardId, false); rewardItemsVector = getRewardsFromContainer(reward->getContainer()); } else { rewardItemsVector = getRewardsFromContainer(rewardChest->getContainer()); }

commit: auto rewardId = fromCorpse->getAttribute(ItemAttribute_t::DATE); my line: time_t rewardId = fromCorpse->getIntAttr(ITEM_ATTRIBUTE_DATE);

Could anyone help me with this? is it a commit bug?

2023-06-09 15:27:19 -  [New Thread 0x7fffed08b700 (LWP 293481)]
2023-06-09 15:27:19 -  [Thread 0x7fffed08b700 (LWP 293481) exited]
2023-06-09 15:27:41 -  
2023-06-09 15:27:41 -  Thread 2 "canary" received signal SIGSEGV, Segmentation fault.
2023-06-09 15:27:41 -  [Switching to Thread 0x7ffff79ab700 (LWP 288701)]
2023-06-09 15:27:41 -  0x000055555576b0d7 in Reward::getParent (this=<optimized out>) at /home/canary/src/items/containers/rewards/reward.cpp:64
2023-06-09 15:27:41 -  64           return parent->getParent();
2023-06-09 15:27:49 -  
2023-06-09 15:27:49 -  Thread 4 (Thread 0x7ffff6995700 (LWP 288703) "canary"):
2023-06-09 15:27:49 -  #0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x5555561c702c <DatabaseTasks::getInstance()::instance+140>) at ../sysdeps/nptl/futex-internal.h:183
2023-06-09 15:27:49 -          __ret = -512
2023-06-09 15:27:49 -          oldtype = 0
2023-06-09 15:27:49 -          err = <optimized out>
2023-06-09 15:27:49 -          oldtype = <optimized out>
2023-06-09 15:27:49 -          err = <optimized out>
2023-06-09 15:27:49 -          __ret = <optimized out>
2023-06-09 15:27:49 -          resultvar = <optimized out>
2023-06-09 15:27:49 -          __arg4 = <optimized out>
2023-06-09 15:27:49 -          __arg3 = <optimized out>
2023-06-09 15:27:49 -          __arg2 = <optimized out>
2023-06-09 15:27:49 -          __arg1 = <optimized out>
2023-06-09 15:27:49 -          _a4 = <optimized out>
2023-06-09 15:27:49 -          _a3 = <optimized out>
2023-06-09 15:27:49 -          _a2 = <optimized out>
2023-06-09 15:27:49 -          _a1 = <optimized out>
2023-06-09 15:27:49 -  #1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x5555561c6fd8 <DatabaseTasks::getInstance()::instance+56>, cond=0x5555561c7000 <DatabaseTasks::getInstance()::instance+96>) at pthread_cond_wait.c:508
2023-06-09 15:27:49 -          spin = 0
2023-06-09 15:27:49 -          buffer = {__routine = 0x7ffff7fac050 <__condvar_cleanup_waiting>, __arg = 0x7ffff6984cf0, __canceltype = 1444703280, __prev = 0x0}
2023-06-09 15:27:49 -          cbuffer = {wseq = 51, cond = 0x5555561c7000 <DatabaseTasks::getInstance()::instance+96>, mutex = 0x5555561c6fd8 <DatabaseTasks::getInstance()::instance+56>, private = 0}
2023-06-09 15:27:49 -          err = <optimized out>
2023-06-09 15:27:49 -          g = 1
2023-06-09 15:27:49 -          flags = <optimized out>
2023-06-09 15:27:49 -          g1_start = <optimized out>
2023-06-09 15:27:49 -          maxspin = 0
2023-06-09 15:27:49 -          signals = <optimized out>
2023-06-09 15:27:49 -          result = 0
2023-06-09 15:27:49 -          wseq = 51
2023-06-09 15:27:49 -          seq = 25
2023-06-09 15:27:49 -          private = <optimized out>
2023-06-09 15:27:49 -          maxspin = <optimized out>
2023-06-09 15:27:49 -          err = <optimized out>
2023-06-09 15:27:49 -          result = <optimized out>
2023-06-09 15:27:49 -          wseq = <optimized out>
2023-06-09 15:27:49 -          g = <optimized out>
2023-06-09 15:27:49 -          seq = <optimized out>
2023-06-09 15:27:49 -          flags = <optimized out>
2023-06-09 15:27:49 -          private = <optimized out>
2023-06-09 15:27:49 -          signals = <optimized out>
2023-06-09 15:27:49 -          done = <optimized out>
2023-06-09 15:27:49 -          g1_start = <optimized out>
2023-06-09 15:27:49 -          spin = <optimized out>
2023-06-09 15:27:49 -          buffer = {__routine = <optimized out>, __arg = <optimized out>, __canceltype = <optimized out>, __prev = <optimized out>}
2023-06-09 15:27:49 -          cbuffer = {wseq = <optimized out>, cond = <optimized out>, mutex = <optimized out>, private = <optimized out>}
2023-06-09 15:27:49 -          s = <optimized out>
2023-06-09 15:27:49 -  #2  __pthread_cond_wait (cond=0x5555561c7000 <DatabaseTasks::getInstance()::instance+96>, mutex=0x5555561c6fd8 <DatabaseTasks::getInstance()::instance+56>) at pthread_cond_wait.c:647
2023-06-09 15:27:49 -  No locals.
2023-06-09 15:27:49 -  #3  0x00007ffff7d022d0 in std::condition_variable::wait(std::unique_lock<std::mutex>&) () from /lib/x86_64-linux-gnu/libstdc++.so.6
2023-06-09 15:27:49 -  No symbol table info available.
2023-06-09 15:27:49 -  #4  0x00005555557054cb in std::condition_variable::wait<DatabaseTasks::threadMain()::<lambda()> > (__p=..., __lock=..., this=<optimized out>) at /usr/include/c++/11/condition_variable:103
2023-06-09 15:27:49 -  No locals.
2023-06-09 15:27:49 -  #5  DatabaseTasks::threadMain (this=0x5555561c6fa0 <DatabaseTasks::getInstance()::instance>) at /home/canary/src/database/databasetasks.cpp:51
2023-06-09 15:27:49 -          taskLockUnique = {_M_device = 0x5555561c6fd8 <DatabaseTasks::getInstance()::instance+56>, _M_owns = true}
2023-06-09 15:27:49 -  #6  0x00007ffff7d086b4 in ?? () from /lib/x86_64-linux-gnu/libstdc++.so.6
2023-06-09 15:27:49 -  No symbol table info available.
2023-06-09 15:27:49 -  #7  0x00007ffff7fa5609 in start_thread (arg=<optimized out>) at pthread_create.c:477
2023-06-09 15:27:49 -          ret = <optimized out>
2023-06-09 15:27:49 -          pd = <optimized out>
2023-06-09 15:27:49 -          unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140737330632448, 8161128527954616591, 140737347426766, 140737347426767, 140737347426768, 140737330564992, -8161144743040212721, -8161146099547463409}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
2023-06-09 15:27:49 -          not_first_call = 0
2023-06-09 15:27:49 -  #8  0x00007ffff7b40133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
2023-06-09 15:27:49 -  No locals.
2023-06-09 15:27:49 -  
2023-06-09 15:27:49 -  Thread 3 (Thread 0x7ffff71aa700 (LWP 288702) "canary"):
2023-06-09 15:27:49 -  #0  futex_abstimed_wait_cancelable (private=<optimized out>, abstime=0x7ffff7199e50, clockid=<optimized out>, expected=0, futex_word=0x5555561c6b68 <Scheduler::getInstance()::instance+104>) at ../sysdeps/nptl/futex-internal.h:320
2023-06-09 15:27:49 -          __ret = -516
2023-06-09 15:27:49 -          clockbit = <optimized out>
2023-06-09 15:27:49 -          op = <optimized out>
2023-06-09 15:27:49 -          __ret = <optimized out>
2023-06-09 15:27:49 -          oldtype = 0
2023-06-09 15:27:49 -          err = <optimized out>
2023-06-09 15:27:49 -          oldtype = <optimized out>
2023-06-09 15:27:49 -          err = <optimized out>
2023-06-09 15:27:49 -          __ret = <optimized out>
2023-06-09 15:27:49 -          clockbit = <optimized out>
2023-06-09 15:27:49 -          op = <optimized out>
2023-06-09 15:27:49 -          __ret = <optimized out>
2023-06-09 15:27:49 -          resultvar = <optimized out>
2023-06-09 15:27:49 -          __arg6 = <optimized out>
2023-06-09 15:27:49 -          __arg5 = <optimized out>
2023-06-09 15:27:49 -          __arg4 = <optimized out>
2023-06-09 15:27:49 -          __arg3 = <optimized out>
2023-06-09 15:27:49 -          __arg2 = <optimized out>
2023-06-09 15:27:49 -          __arg1 = <optimized out>
2023-06-09 15:27:49 -          _a6 = <optimized out>
2023-06-09 15:27:49 -          _a5 = <optimized out>
2023-06-09 15:27:49 -          _a4 = <optimized out>
2023-06-09 15:27:49 -          _a3 = <optimized out>
2023-06-09 15:27:49 -          _a2 = <optimized out>
2023-06-09 15:27:49 -          _a1 = <optimized out>
2023-06-09 15:27:49 -  #1  __pthread_cond_wait_common (abstime=0x7ffff7199e50, clockid=<optimized out>, mutex=0x5555561c6b18 <Scheduler::getInstance()::instance+24>, cond=0x5555561c6b40 <Scheduler::getInstance()::instance+64>) at pthread_cond_wait.c:520
2023-06-09 15:27:49 -          spin = 0
2023-06-09 15:27:49 -          buffer = {__routine = 0x7ffff7fac050 <__condvar_cleanup_waiting>, __arg = 0x7ffff7199dd0, __canceltype = -402066848, __prev = 0x0}
2023-06-09 15:27:49 -          cbuffer = {wseq = 8005516, cond = 0x5555561c6b40 <Scheduler::getInstance()::instance+64>, mutex = 0x5555561c6b18 <Scheduler::getInstance()::instance+24>, private = 0}
2023-06-09 15:27:49 -          err = <optimized out>
2023-06-09 15:27:49 -          g = 0
2023-06-09 15:27:49 -          flags = <optimized out>
2023-06-09 15:27:49 -          g1_start = <optimized out>
2023-06-09 15:27:49 -          maxspin = 0
2023-06-09 15:27:49 -          signals = <optimized out>
2023-06-09 15:27:49 -          result = 0
2023-06-09 15:27:49 -          wseq = 8005516
2023-06-09 15:27:49 -          seq = 4002758
2023-06-09 15:27:49 -          private = <optimized out>
2023-06-09 15:27:49 -          maxspin = <optimized out>
2023-06-09 15:27:49 -          err = <optimized out>
2023-06-09 15:27:49 -          result = <optimized out>
2023-06-09 15:27:49 -          wseq = <optimized out>
2023-06-09 15:27:49 -          g = <optimized out>
2023-06-09 15:27:49 -          seq = <optimized out>
2023-06-09 15:27:49 -          flags = <optimized out>
2023-06-09 15:27:49 -          private = <optimized out>
2023-06-09 15:27:49 -          signals = <optimized out>
2023-06-09 15:27:49 -          done = <optimized out>
2023-06-09 15:27:49 -          g1_start = <optimized out>
2023-06-09 15:27:49 -          spin = <optimized out>
2023-06-09 15:27:49 -          buffer = {__routine = <optimized out>, __arg = <optimized out>, __canceltype = <optimized out>, __prev = <optimized out>}
2023-06-09 15:27:49 -          cbuffer = {wseq = <optimized out>, cond = <optimized out>, mutex = <optimized out>, private = <optimized out>}
2023-06-09 15:27:49 -          s = <optimized out>
2023-06-09 15:27:49 -  #2  __pthread_cond_timedwait (cond=0x5555561c6b40 <Scheduler::getInstance()::instance+64>, mutex=0x5555561c6b18 <Scheduler::getInstance()::instance+24>, abstime=0x7ffff7199e50) at pthread_cond_wait.c:665
2023-06-09 15:27:49 -          flags = <optimized out>
2023-06-09 15:27:49 -          clockid = <optimized out>
2023-06-09 15:27:49 -  #3  0x000055555573c65e in __gthread_cond_timedwait (__abs_timeout=0x7ffff7199e50, __mutex=<optimized out>, __cond=0x5555561c6b40 <Scheduler::getInstance()::instance+64>) at /usr/include/x86_64-linux-gnu/c++/11/bits/gthr-default.h:872
2023-06-09 15:27:49 -  No locals.
2023-06-09 15:27:49 -  #4  std::__condvar::wait_until (__abs_time=..., __m=..., this=0x5555561c6b40 <Scheduler::getInstance()::instance+64>) at /usr/include/c++/11/bits/std_mutex.h:162
2023-06-09 15:27:49 -  No locals.
2023-06-09 15:27:49 -  #5  std::condition_variable::__wait_until_impl<std::chrono::duration<long, std::ratio<1l, 1000000000l> > > (__lock=..., __lock=..., __atime=..., this=0x5555561c6b40 <Scheduler::getInstance()::instance+64>) at /usr/include/c++/11/condition_variable:222
2023-06-09 15:27:49 -          __s = {__d = {__r = <optimized out>}}
2023-06-09 15:27:49 -          __ns = {__r = <optimized out>}
2023-06-09 15:27:49 -          __ts = {tv_sec = 1686335256, tv_nsec = 917237702}
2023-06-09 15:27:49 -          __s = {__d = {__r = <optimized out>}}
2023-06-09 15:27:49 -          __ns = {__r = <optimized out>}
2023-06-09 15:27:49 -          __ts = {tv_sec = <optimized out>, tv_nsec = <optimized out>}
2023-06-09 15:27:49 -  #6  std::condition_variable::wait_until<std::chrono::duration<long, std::ratio<1l, 1000000000l> > > (__atime=..., __lock=..., this=0x5555561c6b40 <Scheduler::getInstance()::instance+64>) at /usr/include/c++/11/condition_variable:118
2023-06-09 15:27:49 -  No locals.
2023-06-09 15:27:49 -  #7  Scheduler::threadMain (this=0x5555561c6b00 <Scheduler::getInstance()::instance>) at /home/canary/src/game/scheduling/scheduler.cpp:26
2023-06-09 15:27:49 -          ret = std::cv_status::no_timeout
2023-06-09 15:27:49 -          eventLockUnique = {_M_device = 0x5555561c6b18 <Scheduler::getInstance()::instance+24>, _M_owns = true}
2023-06-09 15:27:49 -  #8  0x00007ffff7d086b4 in ?? () from /lib/x86_64-linux-gnu/libstdc++.so.6
2023-06-09 15:27:49 -  No symbol table info available.
2023-06-09 15:27:49 -  #9  0x00007ffff7fa5609 in start_thread (arg=<optimized out>) at pthread_create.c:477
2023-06-09 15:27:49 -          ret = <optimized out>
2023-06-09 15:27:58 -          pd = <optimized out>
2023-06-09 15:27:58 -          unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140737339107072, 8161128527954616591, 140737488346126, 140737488346127, 140737488346128, 140737339039616, -8161145831277551345, -8161146099547463409}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
2023-06-09 15:27:58 -          not_first_call = 0
2023-06-09 15:27:58 -  #10 0x00007ffff7b40133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
2023-06-09 15:27:58 -  No locals.
2023-06-09 15:27:58 -  
2023-06-09 15:27:58 -  Thread 2 (Thread 0x7ffff79ab700 (LWP 288701) "canary"):
2023-06-09 15:27:58 -  #0  0x000055555576b0d7 in Reward::getParent (this=<optimized out>) at /home/canary/src/items/containers/rewards/reward.cpp:64
2023-06-09 15:27:58 -  No locals.
2023-06-09 15:27:58 -  #1  0x0000555555775571 in Item::getTopParent (this=0x7fffab09bfe0) at /home/canary/src/items/item.cpp:336
2023-06-09 15:27:58 -          aux = <optimized out>
2023-06-09 15:27:58 -          prevaux = <optimized out>
2023-06-09 15:27:58 -  #2  0x000055555577563f in Item::getTile (this=<optimized out>) at /home/canary/src/items/item.cpp:374
2023-06-09 15:27:58 -          cylinder = <optimized out>
2023-06-09 15:27:58 -  #3  0x00005555557132e2 in Game::internalMoveItem (this=0x5555561c4d00 <Game::getInstance()::instance>, fromCylinder=0x7fffab09c008, toCylinder=0x7fffa9060fc8, index=<optimized out>, item=0x7fffab11c0f0, count=1, internalMoveItem=0x7ffff799ab08, flags=<optimized out>, actor=0x7fffab079bc0, tradeItem=0x0) at /home/canary/src/game/game.cpp:1403
2023-06-09 15:27:58 -          fromTile = <optimized out>
2023-06-09 15:27:58 -          toItem = 0x0
2023-06-09 15:27:58 -          subCylinder = <optimized out>
2023-06-09 15:27:58 -          floorN = <optimized out>
2023-06-09 15:27:58 -          ret = <optimized out>
2023-06-09 15:27:58 -          maxQueryCount = 1
2023-06-09 15:27:58 -          retMaxCount = <optimized out>
2023-06-09 15:27:58 -          m = <optimized out>
2023-06-09 15:27:58 -          moveItem = <optimized out>
2023-06-09 15:27:58 -          itemIndex = <optimized out>
2023-06-09 15:27:58 -          updateItem = <optimized out>
2023-06-09 15:27:58 -          quiver = <optimized out>
2023-06-09 15:27:58 -          __func__ = {<optimized out> <repeats 17 times>}
2023-06-09 15:27:58 -  #4  0x0000555555715082 in Game::internalQuickLootItem (this=0x5555561c4d00 <Game::getInstance()::instance>, player=0x7fffab079bc0, item=0x7fffab11c0f0, category=<optimized out>) at /home/canary/src/game/game.cpp:2364
2023-06-09 15:27:58 -          moveItem = 0x0
2023-06-09 15:27:58 -          quickFallback = <optimized out>
2023-06-09 15:27:58 -          obtainedNewContainer = <optimized out>
2023-06-09 15:27:58 -          noFallback = <optimized out>
2023-06-09 15:27:58 -          fallbackItem = <optimized out>
2023-06-09 15:27:58 -          fallbackConsumed = false
2023-06-09 15:27:58 -          lootContainer = <optimized out>
2023-06-09 15:27:58 -          lastSubContainer = 0x0
2023-06-09 15:27:58 -          remainderCount = 1
2023-06-09 15:27:58 -          it = {over = std::__cxx11::list = {[0] = 0x7fffa9060fa0}, cur = 0x7fffab2947b0}
2023-06-09 15:27:58 -          ret = <optimized out>
2023-06-09 15:27:58 -  #5  0x00005555556ddd9f in Player::rewardChestCollect (this=0x7fffab079bc0, fromCorpse=<optimized out>, maxMoveItems=0) at /home/canary/src/game/game.h:61
2023-06-09 15:27:58 -          limitMove = false
2023-06-09 15:27:58 -          category = OBJECTCATEGORY_CREATUREPRODUCTS
2023-06-09 15:27:58 -          item = 0x7fffab11c0f0
2023-06-09 15:27:58 -          __for_range = std::vector of length 137, capacity 256 = {0x7fffaadcea30, 0x7fffab109f80, 0x7fffab109f50, 0x7fffab109ef0, 0x7fffab109ec0, 0x7fffab10b020, 0x7fffab10aff0, 0x7fffab10afc0, 0x7fffab10af90, 0x7fffab10af60, 0x7fffe7646c40, 0x7fffe7646c10, 0x7fffe7646be0, 0x7fffe7646bb0, 0x7fffe7646b80, 0x7fffab0fbfa0, 0x7fffab0fbf70, 0x7fffab0fbf40, 0x7fffab0fbf10, 0x7fffab11c0f0, 0x7fffab2a5880, 0x7fffab2a4de0, 0x7fffab2a74e0, 0x7fffa8aede10, 0x7fffab2a0d60, 0x7fffe7613010, 0x7fffab0d4c50, 0x7fffab3400e0, 0x7fffe766a8d0, 0x7fffab056790, 0x7fffab07e3d0, 0x7fffab00c6b0, 0x7fffab080e00, 0x7fffaad8d800, 0x7fff7318e330, 0x7fff93dd1b60, 0x7fffaa3f0590, 0x7fffa3d3d440, 0x7fffab053440, 0x7fff7aa96910, 0x7fffaad8ab20, 0x7fffab00ac90, 0x7fffaad9e0e0, 0x7fffaa3c2a70, 0x7fffa8e3cf40, 0x7fffa9ef1490, 0x7fffaa0e4210, 0x7fffaad76ea0, 0x7fffe7d55f80, 0x7fffa9fc5f70, 0x7fffe4e849e0, 0x7fffe5c76d10, 0x7fffa9bda870, 0x7fffaad97d40, 0x7fffaad97d10, 0x7fffaadb4980, 0x7fffaadb4950, 0x7fffaadb4920, 0x7fffaadb48f0, 0x7fffaadb48c0, 0x7fffaab7bca0, 0x7fffaab7bc70, 0x7fffaab7bc40, 0x7fffaab7bc10, 0x7fffa9f1bdc0, 0x7fffaad97a30, 0x7fffaa01cb30, 0x7fff93d05bf0, 0x7fffa9fac360, 0x7fff859a6a70, 0x7fffa842a670, 0x7fffe5b95bc0, 0x7fffaaa80970, 0x7fffaad9fea0, 0x7fffaad962f0, 0x7fffaa0da3d0, 0x7fffaaaa5050, 0x7fffa9ff08b0, 0x7fff78a4e830, 0x7fffaacf6de0, 0x7fffa9f80710, 0x7fffe5d31bb0, 0x7fffaa17d350, 0x7fffaadce3e0, 0x7fffa9fcb1d0, 0x7fff92af9830, 0x7fffa9d41280, 0x7fffe64603e0, 0x7fffaaa8f240, 0x7fffa9db9930, 0x7fffaad8a800, 0x7fffaad88c00, 0x7fffab02add0, 0x7fffaadb2930, 0x7fffaad90ea0, 0x7fff79b31400, 0x7fffaad8b100, 0x7fffa8ac6aa0, 0x7fffaa440770, 0x7fffaa06bf90, 0x7fff81fe4b50, 0x7fffa9fcc890, 0x7fffaa7fcd50, 0x7fffa589e650, 0x7fffa9ecb220, 0x7fff6b8db7f0, 0x7fffaaab9850, 0x7fffa9f6f9a0, 0x7fffab052590, 0x7fffaab7e580, 0x7fffaab67660, 0x7fffaa18f140, 0x7fffaad9b0e0, 0x7fff8216d9e0, 0x7fffa9f935a0, 0x7fffaad097a0, 0x7fffaad58420, 0x7fffa830a510, 0x7fffaa16d770, 0x7fffaa02fa00, 0x7fffa9e905e0, 0x7fffa8337520, 0x7fffa9fbae70, 0x7fffaad99370, 0x7fffaad99440, 0x7fffaad994b0, 0x7fffaad77c10, 0x7fffaad95aa0, 0x7fffaad80090, 0x7fffaad80100, 0x7fffaad80170, 0x7fff68d4b620, 0x7fffe574dff0, 0x7fffa9bd70b0, 0x7fffab069a10, 0x7fffab069a80, 0x7fffab069af0}
2023-06-09 15:27:58 -          __for_begin = Python Exception <class 'gdb.error'> value has been optimized out: 
2023-06-09 15:27:58 -  
2023-06-09 15:27:58 -          __for_end = Python Exception <class 'gdb.error'> value has been optimized out: 
2023-06-09 15:27:58 -  
2023-06-09 15:27:58 -          rewardItemsVector = std::vector of length 137, capacity 256 = {0x7fffaadcea30, 0x7fffab109f80, 0x7fffab109f50, 0x7fffab109ef0, 0x7fffab109ec0, 0x7fffab10b020, 0x7fffab10aff0, 0x7fffab10afc0, 0x7fffab10af90, 0x7fffab10af60, 0x7fffe7646c40, 0x7fffe7646c10, 0x7fffe7646be0, 0x7fffe7646bb0, 0x7fffe7646b80, 0x7fffab0fbfa0, 0x7fffab0fbf70, 0x7fffab0fbf40, 0x7fffab0fbf10, 0x7fffab11c0f0, 0x7fffab2a5880, 0x7fffab2a4de0, 0x7fffab2a74e0, 0x7fffa8aede10, 0x7fffab2a0d60, 0x7fffe7613010, 0x7fffab0d4c50, 0x7fffab3400e0, 0x7fffe766a8d0, 0x7fffab056790, 0x7fffab07e3d0, 0x7fffab00c6b0, 0x7fffab080e00, 0x7fffaad8d800, 0x7fff7318e330, 0x7fff93dd1b60, 0x7fffaa3f0590, 0x7fffa3d3d440, 0x7fffab053440, 0x7fff7aa96910, 0x7fffaad8ab20, 0x7fffab00ac90, 0x7fffaad9e0e0, 0x7fffaa3c2a70, 0x7fffa8e3cf40, 0x7fffa9ef1490, 0x7fffaa0e4210, 0x7fffaad76ea0, 0x7fffe7d55f80, 0x7fffa9fc5f70, 0x7fffe4e849e0, 0x7fffe5c76d10, 0x7fffa9bda870, 0x7fffaad97d40, 0x7fffaad97d10, 0x7fffaadb4980, 0x7fffaadb4950, 0x7fffaadb4920, 0x7fffaadb48f0, 0x7fffaadb48c0, 0x7fffaab7bca0, 0x7fffaab7bc70, 0x7fffaab7bc40, 0x7fffaab7bc10, 0x7fffa9f1bdc0, 0x7fffaad97a30, 0x7fffaa01cb30, 0x7fff93d05bf0, 0x7fffa9fac360, 0x7fff859a6a70, 0x7fffa842a670, 0x7fffe5b95bc0, 0x7fffaaa80970, 0x7fffaad9fea0, 0x7fffaad962f0, 0x7fffaa0da3d0, 0x7fffaaaa5050, 0x7fffa9ff08b0, 0x7fff78a4e830, 0x7fffaacf6de0, 0x7fffa9f80710, 0x7fffe5d31bb0, 0x7fffaa17d350, 0x7fffaadce3e0, 0x7fffa9fcb1d0, 0x7fff92af9830, 0x7fffa9d41280, 0x7fffe64603e0, 0x7fffaaa8f240, 0x7fffa9db9930, 0x7fffaad8a800, 0x7fffaad88c00, 0x7fffab02add0, 0x7fffaadb2930, 0x7fffaad90ea0, 0x7fff79b31400, 0x7fffaad8b100, 0x7fffa8ac6aa0, 0x7fffaa440770, 0x7fffaa06bf90, 0x7fff81fe4b50, 0x7fffa9fcc890, 0x7fffaa7fcd50, 0x7fffa589e650, 0x7fffa9ecb220, 0x7fff6b8db7f0, 0x7fffaaab9850, 0x7fffa9f6f9a0, 0x7fffab052590, 0x7fffaab7e580, 0x7fffaab67660, 0x7fffaa18f140, 0x7fffaad9b0e0, 0x7fff8216d9e0, 0x7fffa9f935a0, 0x7fffaad097a0, 0x7fffaad58420, 0x7fffa830a510, 0x7fffaa16d770, 0x7fffaa02fa00, 0x7fffa9e905e0, 0x7fffa8337520, 0x7fffa9fbae70, 0x7fffaad99370, 0x7fffaad99440, 0x7fffaad994b0, 0x7fffaad77c10, 0x7fffaad95aa0, 0x7fffaad80090, 0x7fffaad80100, 0x7fffaad80170, 0x7fff68d4b620, 0x7fffe574dff0, 0x7fffa9bd70b0, 0x7fffab069a10, 0x7fffab069a80, 0x7fffab069af0}
2023-06-09 15:27:58 -          rewardCount = 135
2023-06-09 15:27:58 -          movedRewardItems = 17
2023-06-09 15:27:58 -          movedRewardMoney = 10400
2023-06-09 15:27:58 -          lootedMessage = ""
2023-06-09 15:27:58 -          finalReturn = <optimized out>
2023-06-09 15:27:58 -  #6  0x000055555571c2e9 in Game::playerRewardChestCollect (this=0x5555561c4d00 <Game::getInstance()::instance>, playerId=<optimized out>, pos=..., itemId=<optimized out>, stackPos=<optimized out>, maxMoveItems=0) at /home/canary/src/game/game.cpp:4505
2023-06-09 15:27:58 -          player = 0x7fffab079bc0
2023-06-09 15:27:58 -          item = 0x7fffa2258340
2023-06-09 15:27:58 -          thing = <optimized out>
2023-06-09 15:27:58 -          returnValue = <optimized out>
2023-06-09 15:27:58 -  #7  0x0000555555739cdf in std::function<void ()>::operator()() const (this=0x7fffe0011d30) at /usr/include/c++/11/bits/std_function.h:560
2023-06-09 15:27:58 -  No locals.
2023-06-09 15:27:58 -  #8  Task::operator() (this=0x7fffe0011d20) at /home/canary/src/game/scheduling/tasks.h:28
2023-06-09 15:27:58 -  No locals.
2023-06-09 15:28:16 -  #9  Dispatcher::threadMain (this=0x5555561c6c20 <Dispatcher::getInstance()::instance>) at /home/canary/src/game/scheduling/tasks.cpp:50
2023-06-09 15:28:16 -          task = 0x7fffe0011d20
2023-06-09 15:28:16 -          taskLockUnique = {_M_device = 0x5555561c6c30 <Dispatcher::getInstance()::instance+16>, _M_owns = false}
2023-06-09 15:28:16 -  #10 0x00007ffff7d086b4 in ?? () from /lib/x86_64-linux-gnu/libstdc++.so.6
2023-06-09 15:28:16 -  No symbol table info available.
2023-06-09 15:28:16 -  #11 0x00007ffff7fa5609 in start_thread (arg=<optimized out>) at pthread_create.c:477
2023-06-09 15:28:16 -          ret = <optimized out>
2023-06-09 15:28:16 -          pd = <optimized out>
2023-06-09 15:28:16 -          unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140737347499776, 8161128527954616591, 140737488346126, 140737488346127, 140737488346128, 140737347432320, -8161146930252308209, -8161146099547463409}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
2023-06-09 15:28:16 -          not_first_call = 0
2023-06-09 15:28:16 -  #12 0x00007ffff7b40133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
2023-06-09 15:28:16 -  No locals.
2023-06-09 15:28:16 -  
2023-06-09 15:28:16 -  Thread 1 (Thread 0x7ffff7a1c780 (LWP 288697) "canary"):
2023-06-09 15:28:16 -  #0  0x00007ffff7b4046e in epoll_wait (epfd=4, events=0x7fffffffd530, maxevents=128, timeout=-1) at ../sysdeps/unix/sysv/linux/epoll_wait.c:30
2023-06-09 15:28:16 -          resultvar = 18446744073709551612
2023-06-09 15:28:16 -          sc_cancel_oldtype = 0
2023-06-09 15:28:16 -          sc_ret = <optimized out>
2023-06-09 15:28:16 -  #1  0x00005555556a59ac in asio::detail::epoll_reactor::run (this=0x555556236100, usec=<optimized out>, ops=...) at /home/canary/build/vcpkg_installed/x64-linux/include/asio/detail/impl/epoll_reactor.ipp:500
2023-06-09 15:28:16 -          timeout = <optimized out>
2023-06-09 15:28:16 -          events = {{events = 1, data = {ptr = 0x5555562378c0, fd = 1445165248, u32 = 1445165248, u64 = 93825005746368}}, {events = 1, data = {ptr = 0x55555624c9a0, fd = 1445251488, u32 = 1445251488, u64 = 93825005832608}}, {events = 1434872483, data = {ptr = 0x56243e2000005555, fd = 21845, u32 = 21845, u64 = 6207154493583283541}}, {events = 21845, data = {ptr = 0xd0, fd = 208, u32 = 208, u64 = 208}}, {events = 1970292717, data = {ptr = 0x2176710ff, fd = 392630527, u32 = 392630527, u64 = 8982565119}}, {events = 0, data = {ptr = 0x555556341026, fd = 1446252582, u32 = 1446252582, u64 = 93825006833702}}, {events = 4155217395, data = {ptr = 0x56320b5000007fff, fd = 32767, u32 = 32767, u64 = 6211039274322657279}}, {events = 21845, data = {ptr = 0x7ffff7c0dbe0 <main_arena+96>, fd = -138355744, u32 = 4156611552, u64 = 140737349999584}}, {events = 7, data = {ptr = 0x561e801000000000, fd = 0, u32 = 0, u64 = 6205538142770954240}}, {events = 21845, data = {ptr = 0x18, fd = 24, u32 = 24, u64 = 24}}, {events = 2, data = {ptr = 0x561e801000007fff, fd = 32767, u32 = 32767, u64 = 6205538142770987007}}, {events = 21845, data = {ptr = 0x2ba6fe8423bdb000, fd = 599633920, u32 = 599633920, u64 = 3145481233253642240}}, {events = 0, data = {ptr = 0xa9e613d000000000, fd = 0, u32 = 0, u64 = 12242494421127397376}}, {events = 32767, data = {ptr = 0x55555631ad28, fd = 1446096168, u32 = 1446096168, u64 = 93825006677288}}, {events = 1446096192, data = {ptr = 0x562362e000005555, fd = 21845, u32 = 21845, u64 = 6206913425658893653}}, {events = 21845, data = {ptr = 0x55555631ae18, fd = 1446096408, u32 = 1446096408, u64 = 93825006677528}}, {events = 1, data = {ptr = 0x5590186c00000000, fd = 0, u32 = 0, u64 = 6165454742005743616}}, {events = 21845, data = {ptr = 0x55555631c6f0, fd = 1446102768, u32 = 1446102768, u64 = 93825006683888}}, {events = 0, data = {ptr = 0x1800000000, fd = 0, u32 = 0, u64 = 103079215104}}, {events = 0, data = {ptr = 0x7ffff7c0db80 <main_arena>, fd = -138355840, u32 = 4156611456, u64 = 140737349999488}}, {events = 4294956816, data = {ptr = 0xa9e613d000007fff, fd = 32767, u32 = 32767, u64 = 12242494421127430143}}, {events = 32767, data = {ptr = 0x7fffa9e613d0, fd = -1444539440, u32 = 2850427856, u64 = 140736043815888}}, {events = 1446114140, data = {ptr = 0xffffd68000005555, fd = 21845, u32 = 21845, u64 = 18446698443977020757}}, {events = 32767, data = {ptr = 0x7fffffffd730, fd = -10448, u32 = 4294956848, u64 = 140737488344880}}, {events = 0, data = {ptr = 0xf7afe0b500000000, fd = 0, u32 = 0, u64 = 17847730916286267392}}, {events = 32767, data = {ptr = 0x555556320860, fd = 1446119520, u32 = 1446119520, u64 = 93825006700640}}, {events = 4294957200, data = {ptr = 0x562362e000007fff, fd = 32767, u32 = 32767, u64 = 6206913425658904575}}, {events = 21845, data = {ptr = 0x2ba6fe8423bdb000, fd = 599633920, u32 = 599633920, u64 = 3145481233253642240}}, {events = 4160412688, data = {ptr = 0xffffd89000007fff, fd = 32767, u32 = 32767, u64 = 18446700711719763967}}, {events = 32767, data = {ptr = 0x55555630ad20, fd = 1446030624, u32 = 1446030624, u64 = 93825006611744}}, {events = 4160412688, data = {ptr = 0xffffd89000007fff, fd = 32767, u32 = 32767, u64 = 18446700711719763967}}, {events = 32767, data = {ptr = 0x555555869c88 <Connection::parsePacket(std::error_code const&)+584>, fd = 1434885256, u32 = 1434885256, u64 = 93824995466376}}, {events = 1, data = {ptr = 0x55901b3c00000000, fd = 0, u32 = 0, u64 = 6165457834382196736}}, {events = 8, data = {ptr = 0x55555631f35c, fd = 1446114140, u32 = 1446114140, u64 = 93825006695260}}, {events = 1446030656, data = {ptr = 0xffffd75000005555, fd = 21845, u32 = 21845, u64 = 18446699337330218325}}, {events = 32767, data = {ptr = 0x55555630ad30, fd = 1446030640, u32 = 1446030640, u64 = 93825006611760}}, {events = 0, data = {ptr = 0x23bdb00000000000, fd = 0, u32 = 0, u64 = 2575408075972280320}}, {events = 732364420, data = {ptr = 0x7fffffffd710, fd = -10480, u32 = 4294956816, u64 = 140737488344848}}, {events = 1446102768, data = {ptr = 0x5631c6f000005555, fd = 21845, u32 = 21845, u64 = 6210964095215097173}}, {events = 21845, data = {ptr = 0x55555631ad40, fd = 1446096192, u32 = 1446096192, u64 = 93825006677312}}, {events = 1434868016, data = {ptr = 0x5555, fd = 21845, u32 = 21845, u64 = 21845}}, {events = 0, data = {ptr = 0x0, fd = 0, u32 = 0, u64 = 0}}, {events = 0, data = {ptr = 0x5632086000000000, fd = 0, u32 = 0, u64 = 6211036044507217920}}, {events = 21845, data = {ptr = 0xee5baa7d1f2ed467, fd = 523162727, u32 = 523162727, u64 = 17175509058278315111}}, {events = 1434910032, data = {ptr = 0x5586f2d000005555, fd = 21845, u32 = 21845, u64 = 6162880115270243669}}, {events = 21845, data = {ptr = 0x100000d5abd61dda, fd = -1412031014, u32 = 2882936282, u64 = 1152922422317817306}}, {events = 4294933504, data = {ptr = 0x0, fd = 0, u32 = 0, u64 = 0}}, {events = 0, data = {ptr = 0x5555561c4d00 <Game::getInstance()::instance>, fd = 1444695296, u32 = 1444695296, u64 = 93825005276416}}, {events = 1832920227, data = {ptr = 0xcf08aaea9e358100, fd = -1640660736, u32 = 2654306560, u64 = 14918361690318143744}}, {events = 819015985, data = {ptr = 0x31858586fffe0747, fd = -129209, u32 = 4294838087, u64 = 3568405094627936071}}, {events = 688101565, data = {ptr = 0x934e0bcd8acc1f04, fd = -1966334204, u32 = 2328633092, u64 = 10614434349183672068}}, {events = 626498076, data = {ptr = 0xb7f34a4df5169214, fd = -183070188, u32 = 4111897108, u64 = 13255019826966336020}}, {events = 3086174797, data = {ptr = 0xe8e8a6aab8a79ea2, fd = -1196974430, u32 = 3097992866, u64 = 16782847263568797346}}, {events = 300824608, data = {ptr = 0xac79b33811ee3820, fd = 300824608, u32 = 300824608, u64 = 12428161700105959456}}, {events = 2084088624, data = {ptr = 0xde0131773f156369, fd = 1058366313, u32 = 1058366313, u64 = 15997121739625948009}}, {events = 1070184382, data = {ptr = 0x9910513ca0dde9b0, fd = -1596069456, u32 = 2698897840, u64 = 11029404808269130160}}, {events = 3520284173, data = {ptr = 0xfad8d783339bcc54, fd = 865848404, u32 = 865848404, u64 = 18075434062958021716}}, {events = 3325525125, data = {ptr = 0xc6ebd0da65234a93, fd = 1696811667, u32 = 1696811667, u64 = 14333779875454995091}}, {events = 3337343194, data = {ptr = 0x89c8891320326a58, fd = 540174936, u32 = 540174936, u64 = 9928336093775817304}}, {events = 3133007216, data = {ptr = 0x4d5995a1babde570, fd = -1161960080, u32 = 3133007216, u64 = 5573650535702979952}}, {events = 3821237990, data = {ptr = 0x458bfd2d4e0de9f6, fd = 1309534710, u32 = 1309534710, u64 = 5011377381404699126}}, {events = 2807333748, data = {ptr = 0x41dffe8cafd6703d, fd = -1344901059, u32 = 2950066237, u64 = 4746792412470734909}}, {events = 1924343926, data = {ptr = 0xa3a884d3d47baebd, fd = -730091843, u32 = 3564875453, u64 = 11792821669607485117}}, {events = 3576693522, data = {ptr = 0x2e769c90ccae1649, fd = -861006263, u32 = 3433961033, u64 = 3348035518719727177}}, {events = 779525264, data = {ptr = 0x98c10fa0c90217a8, fd = -922609752, u32 = 3372357544, u64 = 11007096147511744424}}, {events = 1537066969, data = {ptr = 0x5c521c2e5b9dc7d9, fd = 1537066969, u32 = 1537066969, u64 = 6652410585010784217}}, {events = 2358453302, data = {ptr = 0xb598b5ac, fd = -1248283220, u32 = 3046684076, u64 = 3046684076}}, {events = 0, data = {ptr = 0x2ba6fe8423bdb000, fd = 599633920, u32 = 599633920, u64 = 3145481233253642240}}, {events = 0, data = {ptr = 0xffffd9c000000000, fd = 0, u32 = 0, u64 = 18446702017389789184}}, {events = 32767, data = {ptr = 0x7fffffffd9c0, fd = -9792, u32 = 4294957504, u64 = 140737488345536}}, {events = 1444181920, data = {ptr = 0x5614786000005555, fd = 21845, u32 = 21845, u64 = 6202714940508230997}}, {events = 21845, data = {ptr = 0x55555631c6f0, fd = 1446102768, u32 = 1446102768, u64 = 93825006683888}}, {events = 4294957424, data = {ptr = 0x5586785d00007fff, fd = 32767, u32 = 32767, u64 = 6162745480930426879}}, {events = 21845, data = {ptr = 0x76, fd = 118, u32 = 118, u64 = 118}}, {events = 1446103024, data = {ptr = 0x56203f3000004000, fd = 16384, u32 = 16384, u64 = 6206029761907539968}}, {events = 21845, data = {ptr = 0x555555857399 <asio::detail::scheduler::post_immediate_completion(asio::detail::scheduler_operation*, bool)+457>, fd = 1434809241, u32 = 1434809241, u64 = 93824995390361}}, {events = 0, data = {ptr = 0xf7e441c0695f7265, fd = 1767862885, u32 = 1767862885, u64 = 17862474316715618917}}, {events = 32767, data = {ptr = 0x55555631c3d0, fd = 1446101968, u32 = 1446101968, u64 = 93825006683088}}, {events = 599633920, data = {ptr = 0x56246bb02ba6fe84, fd = 732364420, u32 = 732364420, u64 = 6207204590814166660}}, {events = 21845, data = {ptr = 0x55555631c3d0, fd = 1446101968, u32 = 1446101968, u64 = 93825006683088}}, {events = 1446318440, data = {ptr = 0xf7ab7e8b00005555, fd = 21845, u32 = 21845, u64 = 17846497083851298133}}, {events = 32767, data = {ptr = 0x7fffffffd9e0, fd = -9760, u32 = 4294957536, u64 = 140737488345568}}, {events = 1446103024, data = {ptr = 0x1, fd = 1, u32 = 1, u64 = 1}}, {events = 16799061, data = {ptr = 0xd, fd = 13, u32 = 13, u64 = 13}}, {events = 4294957408, data = {ptr = 0x562362e000007fff, fd = 32767, u32 = 32767, u64 = 6206913425658904575}}, {events = 21845, data = {ptr = 0x0, fd = 0, u32 = 0, u64 = 0}}, {events = 599633920, data = {ptr = 0xd9e6db842ba6fe84, fd = 732364420, u32 = 732364420, u64 = 15701478511588343428}}, {events = 2015253821, data = {ptr = 0x555556147880 <asio::execution::detail::any_executor_base::object_fns_table<void>(std::enable_if<std::is_same<void, void>::value, void>::type*)::fns>, fd = 1444182144, u32 = 1444182144, u64 = 93825004763264}}, {events = 4294957504, data = {ptr = 0x561477a000007fff, fd = 32767, u32 = 32767, u64 = 6202714115874521087}}, {events = 21845, data = {ptr = 0x555556147860 <asio::execution::detail::any_executor_base::target_fns_table<void>(std::enable_if<std::is_same<void, void>::value, void>::type*)::fns>, fd = 1444182112, u32 = 1444182112, u64 = 93825004763232}}, {events = 1446102768, data = {ptr = 0xffffda8000005555, fd = 21845, u32 = 21845, u64 = 18446702842023531861}}, {events = 32767, data = {ptr = 0x55555586803a <asio::detail::reactive_socket_recv_op<asio::mutable_buffers_1, asio::detail::read_op<asio::basic_stream_socket<asio::ip::tcp, asio::any_io_executor>, asio::mutable_buffers_1, asio::mutable_buffer const*, asio::detail::transfer_all_t, std::_Bind<void (Connection::*(std::shared_ptr<Connection>, std::_Placeholder<1>))(std::error_code const&)> >, asio::any_io_executor>::do_complete(void*, asio::detail::scheduler_operation*, std::error_code const&, unsigned long)+794>, fd = 1434878010, u32 = 1434878010, u64 = 93824995459130}}, {events = 1444953904, data = {ptr = 0x5631c79800005555, fd = 21845, u32 = 21845, u64 = 6210964816769602901}}, {events = 21845, data = {ptr = 0xa6491677d99797bc, fd = -644376644, u32 = 3650590652, u64 = 11982132987603425212}}, {events = 1446101968, data = {ptr = 0xffffd9c000005555, fd = 21845, u32 = 21845, u64 = 18446702017389811029}}, {events = 32767, data = {ptr = 0x0, fd = 0, u32 = 0, u64 = 0}}, {events = 0, data = {ptr = 0x23bdb00000000000, fd = 0, u32 = 0, u64 = 2575408075972280320}}, {events = 732364420, data = {ptr = 0x55555631ae78, fd = 1446096504, u32 = 1446096504, u64 = 93825006677624}}, {events = 1446030664, data = {ptr = 0xc00005555, fd = 21845, u32 = 21845, u64 = 51539629397}}, {events = 0, data = {ptr = 0x555556147880 <asio::execution::detail::any_executor_base::object_fns_table<void>(std::enable_if<std::is_same<void, void>::value, void>::type*)::fns>, fd = 1444182144, u32 = 1444182144, u64 = 93825004763264}}, {events = 4294957696, data = {ptr = 0x561477a000007fff, fd = 32767, u32 = 32767, u64 = 6202714115874521087}}, {events = 21845, data = {ptr = 0x555556147860 <asio::execution::detail::any_executor_base::target_fns_table<void>(std::enable_if<std::is_same<void, void>::value, void>::type*)::fns>, fd = 1444182112, u32 = 1444182112, u64 = 93825004763232}}, {events = 1434874725, data = {ptr = 0x5630ad2000005555, fd = 21845, u32 = 21845, u64 = 6210654239094494549}}, {events = 21845, data = {ptr = 0x555556203f30, fd = 1444953904, u32 = 1444953904, u64 = 93825005535024}}, {events = 1446103512, data = {ptr = 0xc00005555, fd = 21845, u32 = 21845, u64 = 51539629397}}, {events = 0, data = {ptr = 0x55555630ad30, fd = 1446030640, u32 = 1446030640, u64 = 93825006611760}}, {events = 1446030624, data = {ptr = 0xffffda5000005555, fd = 21845, u32 = 21845, u64 = 18446702635865101653}}, {events = 32767, data = {ptr = 0x0, fd = 0, u32 = 0, u64 = 0}}, {events = 0, data = {ptr = 0x562c018000000000, fd = 0, u32 = 0, u64 = 6209339635504513024}}, {events = 21845, data = {ptr = 0x555555865930 <Connection::handleTimeout(std::weak_ptr<Connection>, std::error_code const&)>, fd = 1434868016, u32 = 1434868016, u64 = 93824995449136}}, {events = 1446030640, data = {ptr = 0x5630ad2000005555, fd = 21845, u32 = 21845, u64 = 6210654239094494549}}, {events = 21845, data = {ptr = 0x695f72650000007d, fd = 125, u32 = 125, u64 = 7592913274887209085}}, {events = 1444655144, data = {ptr = 0xf7fadc1000005555, fd = 21845, u32 = 21845, u64 = 17868836432823473493}}, {events = 0, data = {ptr = 0x19, fd = 25, u32 = 25, u64 = 25}}, {events = 1434864947, data = {ptr = 0xf7fadc1000005555, fd = 21845, u32 = 21845, u64 = 17868836432823473493}}, {events = 32767, data = {ptr = 0x555556147880 <asio::execution::detail::any_executor_base::object_fns_table<void>(std::enable_if<std::is_same<void, void>::value, void>::type*)::fns>, fd = 1444182144, u32 = 1444182144, u64 = 93825004763264}}, {events = 0, data = {ptr = 0x5614786000000000, fd = 0, u32 = 0, u64 = 6202714940508209152}}, {events = 21845, data = {ptr = 0x5555561477a0 <asio::execution::any_executor<asio::execution::context_as_t<asio::execution_context&>, asio::execution::detail::blocking::never_t<0>, asio::execution::prefer_only<asio::execution::detail::blocking::possibly_t<0> >, asio::execution::prefer_only<asio::execution::detail::outstanding_work::tracked_t<0> >, asio::execution::prefer_only<asio::execution::detail::outstanding_work::untracked_t<0> >, asio::execution::prefer_only<asio::execution::detail::relationship::fork_t<0> >, asio::execution::prefer_only<asio::execution::detail::relationship::continuation_t<0> > >::prop_fns_table<void>()::fns>, fd = 1444181920, u32 = 1444181920, u64 = 93825004763040}}, {events = 1444961168, data = {ptr = 0xffffffff00005555, fd = 21845, u32 = 21845, u64 = 18446744069414606165}}, {events = 4294967295, data = {ptr = 0x1, fd = 1, u32 = 1, u64 = 1}}, {events = 1444953904, data = {ptr = 0x556a979700005555, fd = 21845, u32 = 21845, u64 = 6154898515551081813}}, {events = 21845, data = {ptr = 0x555556341010, fd = 1446252560, u32 = 1446252560, u64 = 93825006833680}}, {events = 4294958352, data = {ptr = 0x100007fff, fd = 32767, u32 = 32767, u64 = 4295000063}}, {events = 0, data = {ptr = 0x555556236100, fd = 1445159168, u32 = 1445159168, u64 = 93825005740288}}, {events = 2879549216, data = {ptr = 0x56203f3000007fff, fd = 32767, u32 = 32767, u64 = 6206029761907556351}}, {events = 21845, data = {ptr = 0x555556236100, fd = 1445159168, u32 = 1445159168, u64 = 93825005740288}}, {events = 0, data = {ptr = 0x0, fd = 0, u32 = 0, u64 = 0}}, {events = 0, data = {ptr = 0x0, fd = 0, u32 = 0, u64 = 0}}}
2023-06-09 15:28:16 -          num_events = <optimized out>
2023-06-09 15:28:16 -          check_timers = <optimized out>
2023-06-09 15:28:16 -  #2  0x0000555555900e71 in asio::detail::scheduler::do_run_one (ec=..., this_thread=..., lock=<synthetic pointer>..., this=0x555556203f30) at /home/canary/build/vcpkg_installed/x64-linux/include/asio/detail/impl/scheduler.ipp:475
2023-06-09 15:28:16 -          on_exit = {scheduler_ = <optimized out>, lock_ = <optimized out>, this_thread_ = <optimized out>}
2023-06-09 15:28:16 -          o = <optimized out>
2023-06-09 15:28:16 -          more_handlers = <optimized out>
2023-06-09 15:28:16 -  #3  asio::detail::scheduler::run(std::error_code&) [clone .constprop.0] [clone .isra.0] (this=0x555556203f30, ec=...) at /home/canary/build/vcpkg_installed/x64-linux/include/asio/detail/impl/scheduler.ipp:209
2023-06-09 15:28:16 -          this_thread = {<asio::detail::thread_info_base> = {<asio::detail::noncopyable> = {<No data fields>}, reusable_memory_ = {0x55555631c990, 0x55555631c6f0, 0x0, 0x0, 0x7fff91811eb0, 0x555556205960, 0x0, 0x0, 0x0, 0x0}, has_pending_exception_ = 0, pending_exception_ = {_M_exception_object = 0x0}}, private_op_queue = {<asio::detail::noncopyable> = {<No data fields>}, front_ = 0x0, back_ = 0x0}, private_outstanding_work = 0}
2023-06-09 15:28:16 -          ctx = {<asio::detail::noncopyable> = {<No data fields>}, key_ = 0x555556203f30, value_ = 0x7fffffffdbf0, next_ = 0x0}
2023-06-09 15:28:16 -          lock = {<asio::detail::noncopyable> = {<No data fields>}, mutex_ = @0x555556203f60, locked_ = false}
2023-06-09 15:28:16 -          n = <optimized out>
2023-06-09 15:28:16 -  #4  0x0000555555659065 in asio::io_context::run (this=0x7fffffffddc0, this=0x7fffffffddc0) at /home/canary/build/vcpkg_installed/x64-linux/include/asio/impl/io_context.ipp:62
2023-06-09 15:28:16 -          ec = {_M_value = 0, _M_cat = 0x7ffff7e441c0}
2023-06-09 15:28:16 -          s = <optimized out>
2023-06-09 15:28:16 -          ec = {_M_value = <optimized out>, _M_cat = <optimized out>}
2023-06-09 15:28:16 -          s = <optimized out>
2023-06-09 15:28:16 -  #5  ServiceManager::run (this=0x7fffffffdd90) at /home/canary/src/server/server.cpp:38
2023-06-09 15:28:16 -  No locals.
2023-06-09 15:28:16 -  #6  main (argc=<optimized out>, argv=<optimized out>) at /home/canary/src/otserv.cpp:236
2023-06-09 15:28:16 -          serviceManager = {acceptors = {<phmap::priv::raw_hash_map<phmap::priv::FlatHashMapPolicy<unsigned short, std::shared_ptr<ServicePort> >, phmap::Hash<unsigned short>, phmap::EqualTo<unsigned short>, std::allocator<std::pair<unsigned short const, std::shared_ptr<ServicePort> > > >> = {<phmap::priv::raw_hash_set<phmap::priv::FlatHashMapPolicy<unsigned short, std::shared_ptr<ServicePort> >, phmap::Hash<unsigned short>, phmap::EqualTo<unsigned short>, std::allocator<std::pair<unsigned short const, std::shared_ptr<ServicePort> > > >> = {ctrl_ = 0x7fffa9bac330 "y\200\020\377y\200\020", '\200' <repeats 12 times>, slots_ = 0x7fffa9bac348, size_ = 2, capacity_ = 3, infoz_ = {<No data fields>}, settings_ = {<phmap::priv::internal_compressed_tuple::CompressedTupleImpl<phmap::priv::CompressedTuple<unsigned long, phmap::Hash<unsigned short>, phmap::EqualTo<unsigned short>, std::allocator<std::pair<unsigned short const, std::shared_ptr<ServicePort> > > >, phmap::integer_sequence<unsigned long, 0, 1, 2, 3> >> = {<phmap::priv::internal_compressed_tuple::Storage<phmap::priv::CompressedTuple<unsigned long, phmap::Hash<unsigned short>, phmap::EqualTo<unsigned short>, std::allocator<std::pair<unsigned short const, std::shared_ptr<ServicePort> > > >, 0, false>> = {value = 1}, <phmap::priv::internal_compressed_tuple::Storage<phmap::priv::CompressedTuple<unsigned long, phmap::Hash<unsigned short>, phmap::EqualTo<unsigned short>, std::allocator<std::pair<unsigned short const, std::shared_ptr<ServicePort> > > >, 1, true>> = {<phmap::Hash<unsigned short>> = {<phmap::phmap_unary_function<unsigned short, unsigned long>> = {<No data fields>}, <No data fields>}, <No data fields>}, <phmap::priv::internal_compressed_tuple::Storage<phmap::priv::CompressedTuple<unsigned long, phmap::Hash<unsigned short>, phmap::EqualTo<unsigned short>, std::allocator<std::pair<unsigned short const, std::shared_ptr<ServicePort> > > >, 2, true>> = {<phmap::EqualTo<unsigned short>> = {<No data fields>}, <No data fields>}, <phmap::priv::internal_compressed_tuple::Storage<phmap::priv::CompressedTuple<unsigned long, phmap::Hash<unsigned short>, phmap::EqualTo<unsigned short>, std::allocator<std::pair<unsigned short const, std::shared_ptr<ServicePort> > > >, 3, true>> = {<std::allocator<std::pair<unsigned short const, std::shared_ptr<ServicePort> > >> = {<__gnu_cxx::new_allocator<std::pair<unsigned short const, std::shared_ptr<ServicePort> > >> = {<No data fields>}, <No data fields>}, <No data fields>}, <No data fields>}, <No data fields>}}, <No data fields>}, <No data fields>}, io_service = {<asio::execution_context> = {<asio::detail::noncopyable> = {<No data fields>}, service_registry_ = 0x5555561faf50}, impl_ = @0x555556203f30}, signals = {set = {impl_ = {service_ = 0x555556235ea0, implementation_ = {queue_ = {<asio::detail::noncopyable> = {<No data fields>}, front_ = 0x5555562010f0, back_ = 0x5555562010f0}, signals_ = 0x5555562362a0}, executor_ = {<asio::execution::any_executor<asio::execution::context_as_t<asio::execution_context&>, asio::execution::detail::blocking::never_t<0>, asio::execution::prefer_only<asio::execution::detail::blocking::possibly_t<0> >, asio::execution::prefer_only<asio::execution::detail::outstanding_work::tracked_t<0> >, asio::execution::prefer_only<asio::execution::detail::outstanding_work::untracked_t<0> >, asio::execution::prefer_only<asio::execution::detail::relationship::fork_t<0> >, asio::execution::prefer_only<asio::execution::detail::relationship::continuation_t<0> > >> = {<asio::execution::detail::any_executor_base> = {object_ = {data = "\300\335\377\377\377\177\000\000\031|\217UUU\000\000x\337\377\377\377\177\000"}, object_fns_ = 0x5555561473e0 <asio::execution::detail::any_executor_base::object_fns_table<asio::io_context::basic_executor_type<std::allocator<void>, 0ul> >(std::enable_if<(!std::is_same<asio::io_context::basic_executor_type<std::allocator<void>, 0ul>, void>::value)&&(!std::is_same<asio::io_context::basic_executor_type<std::allocator<void>, 0ul>, std::shared_ptr<void> >::value), void>::type*)::fns>, target_ = 0x7fffffffddf0, target_fns_ = 0x555556147400 <asio::execution::detail::any_executor_base::target_fns_table<asio::io_context::basic_executor_type<std::allocator<void>, 0ul> >(bool, std::enable_if<!std::is_same<asio::io_context::basic_executor_type<std::allocator<void>, 0ul>, void>::value, void>::type*)::fns_with_execute>}, <asio::execution::detail::any_executor_context<asio::execution::any_executor<asio::execution::context_as_t<asio::execution_context&>, asio::execution::detail::blocking::never_t<0>, asio::execution::prefer_only<asio::execution::detail::blocking::possibly_t<0> >, asio::execution::prefer_only<asio::execution::detail::outstanding_work::tracked_t<0> >, asio::execution::prefer_only<asio::execution::detail::outstanding_work::untracked_t<0> >, asio::execution::prefer_only<asio::execution::detail::relationship::fork_t<0> >, asio::execution::prefer_only<asio::execution::detail::relationship::continuation_t<0> > >, asio::execution::detail::supportable_properties<0, void(asio::execution::context_as_t<asio::execution_context&>, asio::execution::detail::blocking::never_t<0>, asio::execution::prefer_only<asio::execution::detail::blocking::possibly_t<0> >, asio::execution::prefer_only<asio::execution::detail::outstanding_work::tracked_t<0> >, asio::execution::prefer_only<asio::execution::detail::outstanding_work::untracked_t<0> >, asio::execution::prefer_only<asio::execution::detail::relationship::fork_t<0> >, asio::execution::prefer_only<asio::execution::detail::relationship::continuation_t<0> >)>::find_context_as_property, void>> = {<No data fields>}, prop_fns_ = 0x555556147320 <asio::execution::any_executor<asio::execution::context_as_t<asio::execution_context&>, asio::execution::detail::blocking::never_t<0>, asio::execution::prefer_only<asio::execution::detail::blocking::possibly_t<0> >, asio::execution::prefer_only<asio::execution::detail::outstanding_work::tracked_t<0> >, asio::execution::prefer_only<asio::execution::detail::outstanding_work::untracked_t<0> >, asio::execution::prefer_only<asio::execution::detail::relationship::fork_t<0> >, asio::execution::prefer_only<asio::execution::detail::relationship::continuation_t<0> > >::prop_fns_table<asio::io_context::basic_executor_type<std::allocator<void>, 0ul> >()::fns>}, <No data fields>}}}}, death_timer = {impl_ = {service_ = 0x5555562362e0, implementation_ = {<asio::detail::noncopyable> = {<No data fields>}, expiry = {__d = {__r = 0}}, might_have_pending_waits = false, timer_data = {op_queue_ = {<asio::detail::noncopyable> = {<No data fields>}, front_ = 0x0, back_ = 0x0}, heap_index_ = 18446744073709551615, next_ = 0x0, prev_ = 0x0}}, executor_ = {<asio::execution::any_executor<asio::execution::context_as_t<asio::execution_context&>, asio::execution::detail::blocking::never_t<0>, asio::execution::prefer_only<asio::execution::detail::blocking::possibly_t<0> >, asio::execution::prefer_only<asio::execution::detail::outstanding_work::tracked_t<0> >, asio::execution::prefer_only<asio::execution::detail::outstanding_work::untracked_t<0> >, asio::execution::prefer_only<asio::execution::detail::relationship::fork_t<0> >, asio::execution::prefer_only<asio::execution::detail::relationship::continuation_t<0> > >> = {<asio::execution::detail::any_executor_base> = {object_ = {data = "\300\335\377\377\377\177\000\000\r\000\000\000\000\000\000\000Twist of"}, object_fns_ = 0x5555561473e0 <asio::execution::detail::any_executor_base::object_fns_table<asio::io_context::basic_executor_type<std::allocator<void>, 0ul> >(std::enable_if<(!std::is_same<asio::io_context::basic_executor_type<std::allocator<void>, 0ul>, void>::value)&&(!std::is_same<asio::io_context::basic_executor_type<std::allocator<void>, 0ul>, std::shared_ptr<void> >::value), void>::type*)::fns>, target_ = 0x7fffffffde68, target_fns_ = 0x555556147400 <asio::execution::detail::any_executor_base::target_fns_table<asio::io_context::basic_executor_type<std::allocator<void>, 0ul> >(bool, std::enable_if<!std::is_same<asio::io_context::basic_executor_type<std::allocator<void>, 0ul>, void>::value, void>::type*)::fns_with_execute>}, <asio::execution::detail::any_executor_context<asio::execution::any_executor<asio::execution::context_as_t<asio::execution_context&>, asio::execution::detail::blocking::never_t<0>, asio::execution::prefer_only<asio::execution::detail::blocking::possibly_t<0> >, asio::execution::prefer_only<asio::execution::detail::outstanding_work::tracked_t<0> >, asio::execution::prefer_only<asio::execution::detail::outstanding_work::untracked_t<0> >, asio::execution::prefer_only<asio::execution::detail::relationship::fork_t<0> >, asio::execution::prefer_only<asio::execution::detail::relationship::continuation_t<0> > >, asio::execution::detail::supportable_properties<0, void(asio::execution::context_as_t<asio::execution_context&>, asio::execution::detail::blocking::never_t<0>, asio::execution::prefer_only<asio::execution::detail::blocking::possibly_t<0> >, asio::execution::prefer_only<asio::execution::detail::outstanding_work::tracked_t<0> >, asio::execution::prefer_only<asio::execution::detail::outstanding_work::untracked_t<0> >, asio::execution::prefer_only<asio::execution::detail::relationship::fork_t<0> >, asio::execution::prefer_only<asio::execution::detail::relationship::continuation_t<0> >)>::find_context_as_property, void>> = {<No data fields>}, prop_fns_ = 0x555556147320 <asio::execution::any_executor<asio::execution::context_as_t<asio::execution_context&>, asio::execution::detail::blocking::never_t<0>, asio::execution::prefer_only<asio::execution::detail::blocking::possibly_t<0> >, asio::execution::prefer_only<asio::execution::detail::outstanding_work::tracked_t<0> >, asio::execution::prefer_only<asio::execution::detail::outstanding_work::untracked_t<0> >, asio::execution::prefer_only<asio::execution::detail::relationship::fork_t<0> >, asio::execution::prefer_only<asio::execution::detail::relationship::continuation_t<0> > >::prop_fns_table<asio::io_context::basic_executor_type<std::allocator<void>, 0ul> >()::fns>}, <No data fields>}}}, running = true}
2023-06-09 15:28:16 -          __func__ = {<optimized out>, <optimized out>, <optimized out>, <optimized out>, <optimized out>}
2023-06-09 15:28:16 -  A debugging session is active.

What OS are you seeing the problem on?

Linux

Code of Conduct

majestyotbr commented 1 year ago

@helenarubra Can you explain why did you closed the issue?