opentibiabr / canary

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

fix: forge history #3124

Closed phacUFPE closed 1 week ago

phacUFPE commented 1 week ago

Description

This fixes the history forge that is crashing the server trying to access an index of a empty vector.

Behaviour

Actual

Open the forge window and the server crash

Expected

Open the forge window and check the history, it should display the history if there is history and none if forge was never used

Fixes #3121

Type of change

Please delete options that are not relevant.

How Has This Been Tested

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

Test Configuration:

Checklist

htc16 commented 1 week ago

It seems to me that the problem was even deeper because it doesn't show the history of forges, as soon as I'm on my computer I'll test the pr, thank you for your help.

htc16 commented 1 week ago

image Excellent!

sonarcloud[bot] commented 1 week ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarQube Cloud

AL-L-S commented 1 week ago

The crash is occurring during an emplace_back operation on a ForgeHistory array

2024-11-20 01:20:56 - Thread 2 "canary" received signal SIGSEGV, Segmentation fault. 2024-11-20 01:20:56 - [Switching to Thread 0x7ffff793e700 (LWP 2320)] 2024-11-20 01:20:56 - 0x00005555557f0adf in ForgeHistory::ForgeHistory (this=<optimized out>, this=<optimized out>) at /home/servidor/src/creatures/players/player.hpp:79 2024-11-20 01:20:56 - warning: Source file is more recent than executable. 2024-11-20 01:20:56 - 79 struct ForgeHistory { 2024-11-20 01:20:57 - 2024-11-20 01:20:57 - Thread 6 (Thread 0x7ffff593a700 (LWP 2324) "canary"): 2024-11-20 01:20:57 - #0 futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x555556772018) at ../sysdeps/nptl/futex-internal.h:183 2024-11-20 01:20:57 - __ret = -512 2024-11-20 01:20:57 - oldtype = 0 2024-11-20 01:20:57 - err = <optimized out> 2024-11-20 01:20:57 - oldtype = <optimized out> 2024-11-20 01:20:57 - err = <optimized out> 2024-11-20 01:20:57 - __ret = <optimized out> 2024-11-20 01:20:57 - resultvar = <optimized out> 2024-11-20 01:20:57 - __arg4 = <optimized out> 2024-11-20 01:20:57 - __arg3 = <optimized out> 2024-11-20 01:20:57 - __arg2 = <optimized out> 2024-11-20 01:20:57 - __arg1 = <optimized out> 2024-11-20 01:20:57 - _a4 = <optimized out> 2024-11-20 01:20:57 - _a3 = <optimized out> 2024-11-20 01:20:57 - _a2 = <optimized out> 2024-11-20 01:20:57 - _a1 = <optimized out> 2024-11-20 01:20:57 - #1 __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x5555567720a8, cond=0x555556771ff0) at pthread_cond_wait.c:508 2024-11-20 01:20:57 - spin = 0 2024-11-20 01:20:57 - buffer = {__routine = 0x7ffff7fad050 <__condvar_cleanup_waiting>, __arg = 0x7ffff5939cc0, __canceltype = -174875560, __prev = 0x0} 2024-11-20 01:20:57 - cbuffer = {wseq = 724570, cond = 0x555556771ff0, mutex = 0x5555567720a8, private = 0} 2024-11-20 01:20:57 - err = <optimized out> 2024-11-20 01:20:57 - g = 0 2024-11-20 01:20:57 - flags = <optimized out> 2024-11-20 01:20:57 - g1_start = <optimized out> 2024-11-20 01:20:57 - maxspin = 0 2024-11-20 01:20:57 - signals = <optimized out> 2024-11-20 01:20:57 - result = 0 2024-11-20 01:20:57 - wseq = 724570 2024-11-20 01:20:57 - seq = 362285 2024-11-20 01:20:57 - private = <optimized out> 2024-11-20 01:20:57 - maxspin = <optimized out> 2024-11-20 01:20:57 - err = <optimized out> 2024-11-20 01:20:57 - result = <optimized out> 2024-11-20 01:20:57 - wseq = <optimized out> 2024-11-20 01:20:57 - g = <optimized out> 2024-11-20 01:20:57 - seq = <optimized out> 2024-11-20 01:20:57 - flags = <optimized out> 2024-11-20 01:20:57 - private = <optimized out> 2024-11-20 01:20:57 - signals = <optimized out> 2024-11-20 01:20:57 - done = <optimized out> 2024-11-20 01:20:57 - g1_start = <optimized out> 2024-11-20 01:20:57 - spin = <optimized out> 2024-11-20 01:20:57 - buffer = {__routine = <optimized out>, __arg = <optimized out>, __canceltype = <optimized out>, __prev = <optimized out>} 2024-11-20 01:20:57 - cbuffer = {wseq = <optimized out>, cond = <optimized out>, mutex = <optimized out>, private = <optimized out>} 2024-11-20 01:20:57 - s = <optimized out> 2024-11-20 01:20:57 - #2 __pthread_cond_wait (cond=0x555556771ff0, mutex=0x5555567720a8) at pthread_cond_wait.c:647 2024-11-20 01:20:57 - No locals. 2024-11-20 01:20:57 - #3 0x00005555558e0354 in std::condition_variable::wait<BS::thread_pool::worker(unsigned int, std::function<void ()> const&)::{lambda()#1}>(std::unique_lock<std::mutex>&, BS::thread_pool::worker(unsigned int, std::function<void ()> const&)::{lambda()#1}) (__p=..., __lock=..., this=0x555556771ff0) at /usr/include/c++/11/condition_variable:103 2024-11-20 01:20:57 - No locals. 2024-11-20 01:20:57 - #4 BS::thread_pool::worker(unsigned int, std::function<void ()> const&) (this=0x555556771ff0, idx=<optimized out>, init_task=...) at /home/servidor/build/linux-release/vcpkg_installed/x64-linux/include/BS_thread_pool.hpp:920 2024-11-20 01:20:57 - tasks_lock = {_M_device = 0x5555567720a8, _M_owns = true} 2024-11-20 01:20:57 - #5 0x00007ffff7cc1793 in ?? () from /lib/x86_64-linux-gnu/libstdc++.so.6 2024-11-20 01:20:57 - No symbol table info available. 2024-11-20 01:20:57 - #6 0x00007ffff7fa6609 in start_thread (arg=<optimized out>) at pthread_create.c:477 2024-11-20 01:20:57 - ret = <optimized out> 2024-11-20 01:20:57 - pd = <optimized out> 2024-11-20 01:20:57 - unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140737313482496, -2818666000001936464, 140737488346270, 140737488346271, 140737488346272, 140737313480320, 2818687203120108464, 2818683545672471472}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}} 2024-11-20 01:20:57 - not_first_call = 0 2024-11-20 01:20:57 - #7 0x00007ffff7ae3353 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 2024-11-20 01:20:57 - No locals. 2024-11-20 01:20:57 - 2024-11-20 01:20:57 - Thread 5 (Thread 0x7ffff613b700 (LWP 2323) "canary"): 2024-11-20 01:20:57 - #0 futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55555677201c) at ../sysdeps/nptl/futex-internal.h:183 2024-11-20 01:20:57 - __ret = -512 2024-11-20 01:20:57 - oldtype = 0 2024-11-20 01:20:57 - err = <optimized out> 2024-11-20 01:20:57 - oldtype = <optimized out> 2024-11-20 01:20:57 - err = <optimized out> 2024-11-20 01:20:57 - __ret = <optimized out> 2024-11-20 01:20:57 - resultvar = <optimized out> 2024-11-20 01:20:57 - __arg4 = <optimized out> 2024-11-20 01:20:57 - __arg3 = <optimized out> 2024-11-20 01:20:57 - __arg2 = <optimized out> 2024-11-20 01:20:57 - __arg1 = <optimized out> 2024-11-20 01:20:57 - _a4 = <optimized out> 2024-11-20 01:20:57 - _a3 = <optimized out> 2024-11-20 01:20:57 - _a2 = <optimized out> 2024-11-20 01:20:57 - _a1 = <optimized out> 2024-11-20 01:20:57 - #1 __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x5555567720a8, cond=0x555556771ff0) at pthread_cond_wait.c:508 2024-11-20 01:20:57 - spin = 0 2024-11-20 01:20:57 - buffer = {__routine = 0x7ffff7fad050 <__condvar_cleanup_waiting>, __arg = 0x7ffff613acc0, __canceltype = -166482856, __prev = 0x0} 2024-11-20 01:20:57 - cbuffer = {wseq = 724577, cond = 0x555556771ff0, mutex = 0x5555567720a8, private = 0} 2024-11-20 01:20:57 - err = <optimized out> 2024-11-20 01:20:57 - g = 1 2024-11-20 01:20:57 - flags = <optimized out> 2024-11-20 01:20:57 - g1_start = <optimized out> 2024-11-20 01:20:57 - maxspin = 0 2024-11-20 01:20:57 - signals = <optimized out> 2024-11-20 01:20:57 - result = 0 2024-11-20 01:20:57 - wseq = 724577 2024-11-20 01:20:57 - seq = 362288 2024-11-20 01:20:57 - private = <optimized out> 2024-11-20 01:20:57 - maxspin = <optimized out> 2024-11-20 01:20:57 - err = <optimized out> 2024-11-20 01:20:57 - result = <optimized out> 2024-11-20 01:20:57 - wseq = <optimized out> 2024-11-20 01:20:57 - g = <optimized out> 2024-11-20 01:20:57 - seq = <optimized out> 2024-11-20 01:20:57 - flags = <optimized out> 2024-11-20 01:20:57 - private = <optimized out> 2024-11-20 01:20:57 - signals = <optimized out> 2024-11-20 01:20:57 - done = <optimized out> 2024-11-20 01:20:57 - g1_start = <optimized out> 2024-11-20 01:20:57 - spin = <optimized out> 2024-11-20 01:20:57 - buffer = {__routine = <optimized out>, __arg = <optimized out>, __canceltype = <optimized out>, __prev = <optimized out>} 2024-11-20 01:20:57 - cbuffer = {wseq = <optimized out>, cond = <optimized out>, mutex = <optimized out>, private = <optimized out>} 2024-11-20 01:20:57 - s = <optimized out> 2024-11-20 01:20:57 - #2 __pthread_cond_wait (cond=0x555556771ff0, mutex=0x5555567720a8) at pthread_cond_wait.c:647 2024-11-20 01:20:57 - No locals. 2024-11-20 01:20:57 - #3 0x00005555558e0354 in std::condition_variable::wait<BS::thread_pool::worker(unsigned int, std::function<void ()> const&)::{lambda()#1}>(std::unique_lock<std::mutex>&, BS::thread_pool::worker(unsigned int, std::function<void ()> const&)::{lambda()#1}) (__p=..., __lock=..., this=0x555556771ff0) at /usr/include/c++/11/condition_variable:103 2024-11-20 01:20:57 - No locals. 2024-11-20 01:20:57 - #4 BS::thread_pool::worker(unsigned int, std::function<void ()> const&) (this=0x555556771ff0, idx=<optimized out>, init_task=...) at /home/servidor/build/linux-release/vcpkg_installed/x64-linux/include/BS_thread_pool.hpp:920 2024-11-20 01:20:57 - tasks_lock = {_M_device = 0x5555567720a8, _M_owns = true} 2024-11-20 01:20:57 - #5 0x00007ffff7cc1793 in ?? () from /lib/x86_64-linux-gnu/libstdc++.so.6 2024-11-20 01:20:57 - No symbol table info available. 2024-11-20 01:20:57 - #6 0x00007ffff7fa6609 in start_thread (arg=<optimized out>) at pthread_create.c:477 2024-11-20 01:20:57 - ret = <optimized out> 2024-11-20 01:20:57 - pd = <optimized out> 2024-11-20 01:20:57 - unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140737321875200, -2818666000001936464, 140737488346270, 140737488346271, 140737488346272, 140737321873024, 2818683904048354224, 2818683545672471472}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}} 2024-11-20 01:20:57 - not_first_call = 0 2024-11-20 01:20:57 - #7 0x00007ffff7ae3353 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 2024-11-20 01:20:57 - No locals. 2024-11-20 01:20:57 - 2024-11-20 01:20:57 - Thread 4 (Thread 0x7ffff693c700 (LWP 2322) "canary"): 2024-11-20 01:20:57 - #0 futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55555677201c) at ../sysdeps/nptl/futex-internal.h:183 2024-11-20 01:20:57 - __ret = -512 2024-11-20 01:20:57 - oldtype = 0 2024-11-20 01:20:57 - err = <optimized out> 2024-11-20 01:20:57 - oldtype = <optimized out> 2024-11-20 01:20:57 - err = <optimized out> 2024-11-20 01:20:57 - __ret = <optimized out> 2024-11-20 01:20:57 - resultvar = <optimized out> 2024-11-20 01:20:57 - __arg4 = <optimized out> 2024-11-20 01:20:57 - __arg3 = <optimized out> 2024-11-20 01:20:57 - __arg2 = <optimized out> 2024-11-20 01:20:57 - __arg1 = <optimized out> 2024-11-20 01:20:57 - _a4 = <optimized out> 2024-11-20 01:20:57 - _a3 = <optimized out> 2024-11-20 01:20:57 - _a2 = <optimized out> 2024-11-20 01:20:57 - _a1 = <optimized out> 2024-11-20 01:20:57 - #1 __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x5555567720a8, cond=0x555556771ff0) at pthread_cond_wait.c:508 2024-11-20 01:20:57 - spin = 0 2024-11-20 01:20:57 - buffer = {__routine = 0x7ffff7fad050 <__condvar_cleanup_waiting>, __arg = 0x7ffff693bcc0, __canceltype = -158090152, __prev = 0x0} 2024-11-20 01:20:57 - cbuffer = {wseq = 724575, cond = 0x555556771ff0, mutex = 0x5555567720a8, private = 0} 2024-11-20 01:20:57 - err = <optimized out> 2024-11-20 01:20:57 - g = 1 2024-11-20 01:20:57 - flags = <optimized out> 2024-11-20 01:20:57 - g1_start = <optimized out> 2024-11-20 01:20:57 - maxspin = 0 2024-11-20 01:20:57 - signals = <optimized out> 2024-11-20 01:20:57 - result = 0 2024-11-20 01:20:57 - wseq = 724575 2024-11-20 01:20:57 - seq = 362287 2024-11-20 01:20:57 - private = <optimized out> 2024-11-20 01:20:57 - maxspin = <optimized out> 2024-11-20 01:20:57 - err = <optimized out> 2024-11-20 01:20:57 - result = <optimized out> 2024-11-20 01:20:57 - wseq = <optimized out> 2024-11-20 01:20:57 - g = <optimized out> 2024-11-20 01:20:57 - seq = <optimized out> 2024-11-20 01:20:57 - flags = <optimized out> 2024-11-20 01:20:57 - private = <optimized out> 2024-11-20 01:20:57 - signals = <optimized out> 2024-11-20 01:20:57 - done = <optimized out> 2024-11-20 01:20:57 - g1_start = <optimized out> 2024-11-20 01:20:57 - spin = <optimized out> 2024-11-20 01:20:57 - buffer = {__routine = <optimized out>, __arg = <optimized out>, __canceltype = <optimized out>, __prev = <optimized out>} 2024-11-20 01:20:57 - cbuffer = {wseq = <optimized out>, cond = <optimized out>, mutex = <optimized out>, private = <optimized out>} 2024-11-20 01:20:57 - s = <optimized out> 2024-11-20 01:20:57 - #2 __pthread_cond_wait (cond=0x555556771ff0, mutex=0x5555567720a8) at pthread_cond_wait.c:647 2024-11-20 01:20:57 - No locals. 2024-11-20 01:20:57 - #3 0x00005555558e0354 in std::condition_variable::wait<BS::thread_pool::worker(unsigned int, std::function<void ()> const&)::{lambda()#1}>(std::unique_lock<std::mutex>&, BS::thread_pool::worker(unsigned int, std::function<void ()> const&)::{lambda()#1}) (__p=..., __lock=..., this=0x555556771ff0) at /usr/include/c++/11/condition_variable:103 2024-11-20 01:20:57 - No locals. 2024-11-20 01:20:57 - #4 BS::thread_pool::worker(unsigned int, std::function<void ()> const&) (this=0x555556771ff0, idx=<optimized out>, init_task=...) at /home/servidor/build/linux-release/vcpkg_installed/x64-linux/include/BS_thread_pool.hpp:920 2024-11-20 01:20:57 - tasks_lock = {_M_device = 0x5555567720a8, _M_owns = true} 2024-11-20 01:20:57 - #5 0x00007ffff7cc1793 in ?? () from /lib/x86_64-linux-gnu/libstdc++.so.6 2024-11-20 01:20:57 - No symbol table info available. 2024-11-20 01:20:57 - #6 0x00007ffff7fa6609 in start_thread (arg=<optimized out>) at pthread_create.c:477 2024-11-20 01:20:57 - ret = <optimized out> 2024-11-20 01:20:57 - pd = <optimized out> 2024-11-20 01:20:57 - unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140737330267904, -2818666000001936464, 140737488346270, 140737488346271, 140737488346272, 140737330265728, 2818685003023111088, 2818683545672471472}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}} 2024-11-20 01:20:57 - not_first_call = 0 2024-11-20 01:20:57 - #7 0x00007ffff7ae3353 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 2024-11-20 01:20:57 - No locals. 2024-11-20 01:20:57 - 2024-11-20 01:20:57 - Thread 3 (Thread 0x7ffff713d700 (LWP 2321) "canary"): 2024-11-20 01:20:57 - #0 futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x555556772018) at ../sysdeps/nptl/futex-internal.h:183 2024-11-20 01:20:57 - __ret = -512 2024-11-20 01:20:57 - oldtype = 0 2024-11-20 01:20:57 - err = <optimized out> 2024-11-20 01:20:57 - oldtype = <optimized out> 2024-11-20 01:20:57 - err = <optimized out> 2024-11-20 01:20:57 - __ret = <optimized out> 2024-11-20 01:20:57 - resultvar = <optimized out> 2024-11-20 01:20:57 - __arg4 = <optimized out> 2024-11-20 01:20:57 - __arg3 = <optimized out> 2024-11-20 01:20:57 - __arg2 = <optimized out> 2024-11-20 01:20:57 - __arg1 = <optimized out> 2024-11-20 01:20:57 - _a4 = <optimized out> 2024-11-20 01:20:57 - _a3 = <optimized out> 2024-11-20 01:20:57 - _a2 = <optimized out> 2024-11-20 01:20:57 - _a1 = <optimized out> 2024-11-20 01:20:57 - #1 __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x5555567720a8, cond=0x555556771ff0) at pthread_cond_wait.c:508 2024-11-20 01:20:57 - spin = 0 2024-11-20 01:20:57 - buffer = {__routine = 0x7ffff7fad050 <__condvar_cleanup_waiting>, __arg = 0x7ffff713ccc0, __canceltype = -149697448, __prev = 0x0} 2024-11-20 01:20:57 - cbuffer = {wseq = 724572, cond = 0x555556771ff0, mutex = 0x5555567720a8, private = 0} 2024-11-20 01:20:57 - err = <optimized out> 2024-11-20 01:20:57 - g = 0 2024-11-20 01:20:57 - flags = <optimized out> 2024-11-20 01:20:57 - g1_start = <optimized out> 2024-11-20 01:20:57 - maxspin = 0 2024-11-20 01:20:57 - signals = <optimized out> 2024-11-20 01:20:57 - result = 0 2024-11-20 01:20:57 - wseq = 724572 2024-11-20 01:20:57 - seq = 362286 2024-11-20 01:20:57 - private = <optimized out> 2024-11-20 01:20:57 - maxspin = <optimized out> 2024-11-20 01:20:57 - err = <optimized out> 2024-11-20 01:20:57 - result = <optimized out> 2024-11-20 01:20:57 - wseq = <optimized out> 2024-11-20 01:20:57 - g = <optimized out> 2024-11-20 01:20:57 - seq = <optimized out> 2024-11-20 01:20:57 - flags = <optimized out> 2024-11-20 01:20:57 - private = <optimized out> 2024-11-20 01:20:57 - signals = <optimized out> 2024-11-20 01:20:57 - done = <optimized out> 2024-11-20 01:20:57 - g1_start = <optimized out> 2024-11-20 01:20:57 - spin = <optimized out> 2024-11-20 01:20:57 - buffer = {__routine = <optimized out>, __arg = <optimized out>, __canceltype = <optimized out>, __prev = <optimized out>} 2024-11-20 01:20:57 - cbuffer = {wseq = <optimized out>, cond = <optimized out>, mutex = <optimized out>, private = <optimized out>} 2024-11-20 01:20:57 - s = <optimized out> 2024-11-20 01:20:57 - #2 __pthread_cond_wait (cond=0x555556771ff0, mutex=0x5555567720a8) at pthread_cond_wait.c:647 2024-11-20 01:20:57 - No locals. 2024-11-20 01:21:02 - #3 0x00005555558e0354 in std::condition_variable::wait<BS::thread_pool::worker(unsigned int, std::function<void ()> const&)::{lambda()#1}>(std::unique_lock<std::mutex>&, BS::thread_pool::worker(unsigned int, std::function<void ()> const&)::{lambda()#1}) (__p=..., __lock=..., this=0x555556771ff0) at /usr/include/c++/11/condition_variable:103 2024-11-20 01:21:02 - No locals. 2024-11-20 01:21:02 - #4 BS::thread_pool::worker(unsigned int, std::function<void ()> const&) (this=0x555556771ff0, idx=<optimized out>, init_task=...) at /home/servidor/build/linux-release/vcpkg_installed/x64-linux/include/BS_thread_pool.hpp:920 2024-11-20 01:21:02 - tasks_lock = {_M_device = 0x5555567720a8, _M_owns = true} 2024-11-20 01:21:02 - #5 0x00007ffff7cc1793 in ?? () from /lib/x86_64-linux-gnu/libstdc++.so.6 2024-11-20 01:21:02 - No symbol table info available. 2024-11-20 01:21:02 - #6 0x00007ffff7fa6609 in start_thread (arg=<optimized out>) at pthread_create.c:477 2024-11-20 01:21:02 - ret = <optimized out> 2024-11-20 01:21:02 - pd = <optimized out> 2024-11-20 01:21:02 - unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140737338660608, -2818666000001936464, 140737488346270, 140737488346271, 140737488346272, 140737338658432, 2818681703951356848, 2818683545672471472}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}} 2024-11-20 01:21:02 - not_first_call = 0 2024-11-20 01:21:02 - #7 0x00007ffff7ae3353 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 2024-11-20 01:21:02 - No locals. 2024-11-20 01:21:02 - 2024-11-20 01:21:02 - Thread 2 (Thread 0x7ffff793e700 (LWP 2320) "canary"): 2024-11-20 01:21:02 - #0 0x00005555557f0adf in ForgeHistory::ForgeHistory (this=<optimized out>, this=<optimized out>) at /home/servidor/src/creatures/players/player.hpp:79 2024-11-20 01:21:02 - No locals. 2024-11-20 01:21:02 - #1 0x00005555557f1092 in std::construct_at<ForgeHistory, ForgeHistory&> (__location=0x7fff822302c0) at /usr/include/c++/11/bits/stl_construct.h:94 2024-11-20 01:21:02 - No locals. 2024-11-20 01:21:02 - #2 std::allocator_traits<std::allocator<ForgeHistory> >::construct<ForgeHistory, ForgeHistory&> (__p=0x7fff822302c0, __a=...) at /usr/include/c++/11/bits/alloc_traits.h:518 2024-11-20 01:21:02 - No locals. 2024-11-20 01:21:02 - #3 std::vector<ForgeHistory, std::allocator<ForgeHistory> >::_M_realloc_insert<ForgeHistory&> (this=0x7ffff792d970, __position=non-dereferenceable iterator for std::vector) at /usr/include/c++/11/bits/vector.tcc:449 2024-11-20 01:21:02 - __len = <optimized out> 2024-11-20 01:21:02 - __old_start = <optimized out> 2024-11-20 01:21:02 - __old_finish = <optimized out> 2024-11-20 01:21:02 - __elems_before = <optimized out> 2024-11-20 01:21:02 - __new_start = 0x7fff822302c0 2024-11-20 01:21:02 - __new_finish = 0x7fff822302c0 2024-11-20 01:21:02 - #4 0x00005555557bc3c4 in std::vector<ForgeHistory, std::allocator<ForgeHistory> >::emplace_back<ForgeHistory&> (this=0x7ffff792d970) at /usr/include/c++/11/bits/vector.tcc:121 2024-11-20 01:21:02 - No locals. 2024-11-20 01:21:02 - #5 ProtocolGame::sendForgeHistory (this=0x555556926210, page=<optimized out>) at /home/servidor/src/server/network/protocol/protocolgame.cpp:5755 2024-11-20 01:21:02 - entry = <optimized out> 2024-11-20 01:21:02 - historyVector = std::vector of length 0, capacity 0 2024-11-20 01:21:02 - historyVectorLen = <optimized out> 2024-11-20 01:21:02 - lastPage = 0 2024-11-20 01:21:02 - currentPage = 0 2024-11-20 01:21:02 - historyPerPage = std::vector of length 0, capacity 0 2024-11-20 01:21:02 - pageFirstEntry = <optimized out> 2024-11-20 01:21:02 - pageLastEntry = <optimized out> 2024-11-20 01:21:02 - historyPageToSend = <optimized out> 2024-11-20 01:21:02 - msg = {static INITIAL_BUFFER_POSITION = 8, info = {length = 0, position = 0, overrun = false}, buffer = {_M_elems = '\000' <repeats 38922 times>...}} 2024-11-20 01:21:02 - #6 0x00005555557c2c65 in Player::sendForgeHistory (page=0 '\000', this=<optimized out>) at /home/servidor/src/creatures/players/player.cpp:9321 2024-11-20 01:21:02 - No locals. 2024-11-20 01:21:02 - #7 Player::forgeHistory (page=0 '\000', this=<optimized out>) at /home/servidor/src/creatures/players/player.cpp:9298 2024-11-20 01:21:02 - No locals. 2024-11-20 01:21:02 - #8 Game::playerBrowseForgeHistory (page=0 '\000', playerId=<optimized out>, this=0x5555567670f0) at /home/servidor/src/game/game.cpp:9553 2024-11-20 01:21:02 - player = std::shared_ptr<Player> (use count 649, weak count 18) = {get() = 0x7fff8c917080} 2024-11-20 01:21:02 - player = <optimized out> 2024-11-20 01:21:02 - #9 ProtocolGame::parseForgeBrowseHistory (msg=..., this=0x555556926210) at /home/servidor/src/server/network/protocol/protocolgame.cpp:5703 2024-11-20 01:21:02 - No locals. 2024-11-20 01:21:02 - #10 ProtocolGame::parseForgeBrowseHistory (this=0x555556926210, msg=...) at /home/servidor/src/server/network/protocol/protocolgame.cpp:5698 2024-11-20 01:21:02 - No locals. 2024-11-20 01:21:02 - #11 0x0000555555811ef0 in operator() (__closure=<optimized out>) at /home/servidor/src/server/network/protocol/protocol.cpp:56 2024-11-20 01:21:02 - protocolConnection = <optimized out> 2024-11-20 01:21:02 - protocol = <optimized out> 2024-11-20 01:21:02 - protocolWeak = Python Exception <class 'gdb.error'> value has been optimized out: 2024-11-20 01:21:02 - 2024-11-20 01:21:02 - msg = <optimized out> 2024-11-20 01:21:02 - protocolWeak = Python Exception <class 'gdb.error'> value has been optimized out: 2024-11-20 01:21:02 - 2024-11-20 01:21:02 - msg = <optimized out> 2024-11-20 01:21:02 - protocol = <optimized out> 2024-11-20 01:21:02 - protocolConnection = <optimized out> 2024-11-20 01:21:02 - #12 std::__invoke_impl<void, Protocol::sendRecvMessageCallback(NetworkMessage&)::<lambda()>&> (__f=...) at /usr/include/c++/11/bits/invoke.h:61 2024-11-20 01:21:02 - No locals. 2024-11-20 01:21:02 - #13 std::__invoke_r<void, Protocol::sendRecvMessageCallback(NetworkMessage&)::<lambda()>&> (__fn=...) at /usr/include/c++/11/bits/invoke.h:111 2024-11-20 01:21:02 - No locals. 2024-11-20 01:21:02 - #14 std::_Function_handler<void(), Protocol::sendRecvMessageCallback(NetworkMessage&)::<lambda()> >::_M_invoke(const std::_Any_data &) (__functor=...) at /usr/include/c++/11/bits/std_function.h:290 2024-11-20 01:21:02 - No locals. 2024-11-20 01:21:02 - #15 0x000055555597853b in std::function<void ()>::operator()() const (this=<optimized out>, this=<optimized out>) at /usr/include/c++/11/bits/std_function.h:590 2024-11-20 01:21:02 - No locals. 2024-11-20 01:21:02 - #16 Task::execute (this=0x7ffff4f35010) at /home/servidor/src/game/scheduling/task.cpp:63 2024-11-20 01:21:02 - measure = {<ScopedLatency> = {<No data fields>}, <No data fields>} 2024-11-20 01:21:02 - #17 0x0000555555985894 in Dispatcher::executeSerialEvents (groupId=2 '\002', this=0x5555567727e0) at /home/servidor/src/game/scheduling/dispatcher.cpp:53 2024-11-20 01:21:02 - task = @0x7ffff4f35010: {static LAST_EVENT_ID = {<std::__atomic_base<unsigned long>> = {static _S_alignment = 8, _M_i = 507454}, static is_always_lock_free = true}, func = {<std::_Maybe_unary_or_binary_function<void>> = {<No data fields>}, <std::_Function_base> = {static _M_max_size = 16, static _M_max_align = 8, _M_functor = {_M_unused = {_M_object = 0x555556988670, _M_const_object = 0x555556988670, _M_function_pointer = 0x555556988670, _M_member_pointer = (void (std::_Undefined_class::*)(std::_Undefined_class * const)) 0x555556988670}, _M_pod_data = "p\206\230VUU\000\000\000\000\000\000\000\000\000"}, _M_manager = 0x55555580adf0 <std::_Function_handler<void(), Protocol::sendRecvMessageCallback(NetworkMessage&)::<lambda()> >::_M_manager(std::_Any_data &, const std::_Any_data &, std::_Manager_operation)>}, _M_invoker = 0x555555811e40 <std::_Function_handler<void(), Protocol::sendRecvMessageCallback(NetworkMessage&)::<lambda()> >::_M_invoke(const std::_Any_data &)>}, context = "sendRecvMessageCallback", utime = 1732062045127, expiration = 0, id = 0, delay = 0, cycle = false, log = true} 2024-11-20 01:21:02 - __for_range = std::vector of length 1, capacity 2000 = {{static LAST_EVENT_ID = {<std::__atomic_base<unsigned long>> = {static _S_alignment = 8, _M_i = 507454}, static is_always_lock_free = true}, func = {<std::_Maybe_unary_or_binary_function<void>> = {<No data fields>}, <std::_Function_base> = {static _M_max_size = 16, static _M_max_align = 8, _M_functor = {_M_unused = {_M_object = 0x555556988670, _M_const_object = 0x555556988670, _M_function_pointer = 0x555556988670, _M_member_pointer = (void (std::_Undefined_class::*)(std::_Undefined_class * const)) 0x555556988670}, _M_pod_data = "p\206\230VUU\000\000\000\000\000\000\000\000\000"}, _M_manager = 0x55555580adf0 <std::_Function_handler<void(), Protocol::sendRecvMessageCallback(NetworkMessage&)::<lambda()> >::_M_manager(std::_Any_data &, const std::_Any_data &, std::_Manager_operation)>}, _M_invoker = 0x555555811e40 <std::_Function_handler<void(), Protocol::sendRecvMessageCallback(NetworkMessage&)::<lambda()> >::_M_invoke(const std::_Any_data &)>}, context = "sendRecvMessageCallback", utime = 1732062045127, expiration = 0, id = 0, delay = 0, cycle = false, log = true}} 2024-11-20 01:21:02 - __for_begin = Python Exception <class 'gdb.error'> value has been optimized out: 2024-11-20 01:21:02 - 2024-11-20 01:21:02 - __for_end = Python Exception <class 'gdb.error'> value has been optimized out: 2024-11-20 01:21:02 - 2024-11-20 01:21:05 - tasks = std::vector of length 1, capacity 2000 = {{static LAST_EVENT_ID = {<std::__atomic_base<unsigned long>> = {static _S_alignment = 8, _M_i = 507454}, static is_always_lock_free = true}, func = {<std::_Maybe_unary_or_binary_function<void>> = {<No data fields>}, <std::_Function_base> = {static _M_max_size = 16, static _M_max_align = 8, _M_functor = {_M_unused = {_M_object = 0x555556988670, _M_const_object = 0x555556988670, _M_function_pointer = 0x555556988670, _M_member_pointer = (void (std::_Undefined_class::*)(std::_Undefined_class * const)) 0x555556988670}, _M_pod_data = "p\206\230VUU\000\000\000\000\000\000\000\000\000"}, _M_manager = 0x55555580adf0 <std::_Function_handler<void(), Protocol::sendRecvMessageCallback(NetworkMessage&)::<lambda()> >::_M_manager(std::_Any_data &, const std::_Any_data &, std::_Manager_operation)>}, _M_invoker = 0x555555811e40 <std::_Function_handler<void(), Protocol::sendRecvMessageCallback(NetworkMessage&)::<lambda()> >::_M_invoke(const std::_Any_data &)>}, context = "sendRecvMessageCallback", utime = 1732062045127, expiration = 0, id = 0, delay = 0, cycle = false, log = true}} 2024-11-20 01:21:05 - tasks = <optimized out> 2024-11-20 01:21:05 - task = <optimized out> 2024-11-20 01:21:05 - __for_range = <optimized out> 2024-11-20 01:21:05 - __for_begin = Python Exception <class 'gdb.error'> value has been optimized out: 2024-11-20 01:21:05 - 2024-11-20 01:21:05 - __for_end = Python Exception <class 'gdb.error'> value has been optimized out: 2024-11-20 01:21:05 - 2024-11-20 01:21:05 - #18 Dispatcher::executeEvents (startGroup=TaskGroup::Walk, this=0x5555567727e0) at /home/servidor/src/game/scheduling/dispatcher.cpp:121 2024-11-20 01:21:05 - isWalk = <optimized out> 2024-11-20 01:21:05 - groupId = <optimized out> 2024-11-20 01:21:05 - #19 operator() (__closure=<optimized out>) at /home/servidor/src/game/scheduling/dispatcher.cpp:31 2024-11-20 01:21:05 - asyncLock = {_M_device = 0x555556772828, _M_owns = true} 2024-11-20 01:21:05 - this = <optimized out> 2024-11-20 01:21:05 - this = <optimized out> 2024-11-20 01:21:05 - asyncLock = {_M_device = <optimized out>, _M_owns = <optimized out>} 2024-11-20 01:21:05 - #20 std::__invoke_impl<void, Dispatcher::init()::<lambda()>&> (__f=...) at /usr/include/c++/11/bits/invoke.h:61 2024-11-20 01:21:05 - No locals. 2024-11-20 01:21:05 - #21 std::__invoke_r<void, Dispatcher::init()::<lambda()>&> (__fn=...) at /usr/include/c++/11/bits/invoke.h:111 2024-11-20 01:21:05 - No locals. 2024-11-20 01:21:05 - #22 std::_Function_handler<void(), Dispatcher::init()::<lambda()> >::_M_invoke(const std::_Any_data &) (__functor=...) at /usr/include/c++/11/bits/std_function.h:290 2024-11-20 01:21:05 - No locals. 2024-11-20 01:21:05 - #23 0x00005555558e02ac in std::function<void ()>::operator()() const (this=0x7ffff793dd40) at /usr/include/c++/11/bits/std_function.h:590 2024-11-20 01:21:05 - No locals. 2024-11-20 01:21:05 - #24 BS::thread_pool::worker(unsigned int, std::function<void ()> const&) (this=0x555556771ff0, idx=<optimized out>, init_task=...) at /home/servidor/build/linux-release/vcpkg_installed/x64-linux/include/BS_thread_pool.hpp:937 2024-11-20 01:21:05 - task = {<std::_Maybe_unary_or_binary_function<void>> = {<No data fields>}, <std::_Function_base> = {static _M_max_size = 16, static _M_max_align = 8, _M_functor = {_M_unused = {_M_object = 0x5555567727e0, _M_const_object = 0x5555567727e0, _M_function_pointer = 0x5555567727e0, _M_member_pointer = (void (std::_Undefined_class::*)(std::_Undefined_class * const)) 0x5555567727e0}, _M_pod_data = "\340'wVUU\000\000\000\000\000\000\000\000\000"}, _M_manager = 0x555555980840 <std::_Function_handler<void(), Dispatcher::init()::<lambda()> >::_M_manager(std::_Any_data &, const std::_Any_data &, std::_Manager_operation)>}, _M_invoker = 0x5555559854f0 <std::_Function_handler<void(), Dispatcher::init()::<lambda()> >::_M_invoke(const std::_Any_data &)>} 2024-11-20 01:21:05 - tasks_lock = {_M_device = 0x5555567720a8, _M_owns = false} 2024-11-20 01:21:05 - #25 0x00007ffff7cc1793 in ?? () from /lib/x86_64-linux-gnu/libstdc++.so.6 2024-11-20 01:21:05 - No symbol table info available. 2024-11-20 01:21:05 - #26 0x00007ffff7fa6609 in start_thread (arg=<optimized out>) at pthread_create.c:477 2024-11-20 01:21:05 - ret = <optimized out> 2024-11-20 01:21:05 - pd = <optimized out> 2024-11-20 01:21:05 - unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140737347053312, -2818666000001936464, 140737488346270, 140737488346271, 140737488346272, 140737347051136, 2818682802926113712, 2818683545672471472}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}} 2024-11-20 01:21:05 - not_first_call = 0 2024-11-20 01:21:05 - #27 0x00007ffff7ae3353 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 2024-11-20 01:21:05 - No locals. 2024-11-20 01:21:05 - 2024-11-20 01:21:05 - Thread 1 (Thread 0x7ffff79bf880 (LWP 2316) "canary"): 2024-11-20 01:21:05 - #0 0x00007ffff7ae368e in epoll_wait (epfd=4, events=0x7fffffffd7e0, maxevents=128, timeout=-1) at ../sysdeps/unix/sysv/linux/epoll_wait.c:30 2024-11-20 01:21:05 - resultvar = 18446744073709551612 2024-11-20 01:21:05 - sc_cancel_oldtype = 0 2024-11-20 01:21:05 - sc_ret = <optimized out> 2024-11-20 01:21:05 - #1 0x000055555575339c in asio::detail::epoll_reactor::run (this=0x555556764670, usec=<optimized out>, ops=...) at /home/servidor/build/linux-release/vcpkg_installed/x64-linux/include/asio/detail/impl/epoll_reactor.ipp:509 2024-11-20 01:21:05 - timeout = <optimized out> 2024-11-20 01:21:05 - events = {{events = 1, data = {ptr = 0x55555682ff90, fd = 1451425680, u32 = 1451425680, u64 = 93825012006800}}, {events = 0, data = {ptr = 0x2, fd = 2, u32 = 2, u64 = 2}}, {events = 1434528624, data = {ptr = 0x56987ff000005555, fd = 21845, u32 = 21845, u64 = 6239877952490722645}}, {events = 21845, data = {ptr = 0x5200000000000010, fd = 16, u32 = 16, u64 = 5908722711110090768}}, {events = 16, data = {ptr = 0x56a387f800000000, fd = 0, u32 = 0, u64 = 6242983007687278592}}, {events = 21845, data = {ptr = 0x555556988580, fd = 1452836224, u32 = 1452836224, u64 = 93825013417344}}, {events = 0, data = {ptr = 0x5676467000000000, fd = 0, u32 = 0, u64 = 6230244581363941376}}, {events = 21845, data = {ptr = 0x5555569acfa0, fd = 1452986272, u32 = 1452986272, u64 = 93825013567392}}, {events = 45, data = {ptr = 0x55bd8ba500000000, fd = 0, u32 = 0, u64 = 6178247804608053248}}, {events = 21845, data = {ptr = 0x72006f6c65736f00, fd = 1702063872, u32 = 1702063872, u64 = 8214688231672999680}}, {events = 1450591856, data = {ptr = 0xffffd80100005555, fd = 21845, u32 = 21845, u64 = 18446700097539429717}}, {events = 0, data = {ptr = 0x0, fd = 0, u32 = 0, u64 = 0}}, {events = 1702063872, data = {ptr = 0xdb32316f6c, fd = 842100588, u32 = 842100588, u64 = 941439938412}}, {events = 0, data = {ptr = 0xd8, fd = 216, u32 = 216, u64 = 216}}, {events = 3418182656, data = {ptr = 0x9167895f4, fd = 377001460, u32 = 377001460, u64 = 39031707124}}, {events = 0, data = {ptr = 0x1, fd = 1, u32 = 1, u64 = 1}}, {events = 4294957440, data = {ptr = 0x5698858000007fff, fd = 32767, u32 = 32767, u64 = 6239884068524163071}}, {events = 21845, data = {ptr = 0x2, fd = 2, u32 = 2, u64 = 2}}, {events = 3820506416, data = {ptr = 0xffffda0000007fff, fd = 32767, u32 = 32767, u64 = 18446702292267728895}}, {events = 32767, data = {ptr = 0x55555580f773 <asio::detail::read_op<asio::basic_stream_socket<asio::ip::tcp, asio::any_io_executor>, asio::mutable_buffers_1, const asio::mutable_buffer*, asio::detail::transfer_all_t, Connection::acceptInternal(bool)::<lambda(const std::error_code&, std::size_t)> >::operator()(asio::error_code, std::size_t, int)+707>, fd = 1434515315, u32 = 1434515315, u64 = 93824995096435}}, {events = 0, data = {ptr = 0x5676467000000000, fd = 0, u32 = 0, u64 = 6230244581363941376}}, {events = 21845, data = {ptr = 0xd, fd = 13, u32 = 13, u64 = 13}}, {events = 1453557838, data = {ptr = 0x56a3881000005555, fd = 21845, u32 = 21845, u64 = 6242983110766515541}}, {events = 21845, data = {ptr = 0x555556a387f0, fd = 1453557744, u32 = 1453557744, u64 = 93825014138864}}, {events = 0, data = {ptr = 0xf7e4426800000000, fd = 0, u32 = 0, u64 = 17862475036502261760}}, {events = 32767, data = {ptr = 0x555556764670, fd = 1450591856, u32 = 1450591856, u64 = 93825011172976}}, {events = 0, data = {ptr = 0x569aebb000000000, fd = 0, u32 = 0, u64 = 6240559374822014976}}, {events = 21845, data = {ptr = 0x7fffffffda00, fd = -9728, u32 = 4294957568, u64 = 140737488345600}}, {events = 4294957568, data = {ptr = 0x5698858000007fff, fd = 32767, u32 = 32767, u64 = 6239884068524163071}}, {events = 21845, data = {ptr = 0x555556988580, fd = 1452836224, u32 = 1452836224, u64 = 93825013417344}}, {events = 3418182656, data = {ptr = 0x827c78c0167895f4, fd = 377001460, u32 = 377001460, u64 = 9402522888448808436}}, {events = 32767, data = {ptr = 0x1, fd = 1, u32 = 1, u64 = 1}}, {events = 4294957568, data = {ptr = 0x56a3869800007fff, fd = 32767, u32 = 32767, u64 = 6242981495858823167}}, {events = 21845, data = {ptr = 0x7fffffffd9e8, fd = -9752, u32 = 4294957544, u64 = 140737488345576}}, {events = 1452838080, data = {ptr = 0x56a3869000005555, fd = 21845, u32 = 21845, u64 = 6242981461499073877}}, {events = 21845, data = {ptr = 0x55555580f9f3 <Connection::acceptInternal(bool)+579>, fd = 1434515955, u32 = 1434515955, u64 = 93824995097075}}, {events = 1, data = {ptr = 0x56a386a800000000, fd = 0, u32 = 0, u64 = 6242981564578267136}}, {events = 21845, data = {ptr = 0x7ffff7e44268, fd = -136035736, u32 = 4158931560, u64 = 140737352319592}}, {events = 1452836224, data = {ptr = 0xd00000001, fd = 1, u32 = 1, u64 = 55834574849}}, {events = 0, data = {ptr = 0x7fffe3b84d30, fd = -474460880, u32 = 3820506416, u64 = 140737013894448}}, {events = 4294957824, data = {ptr = 0x5581084600007fff, fd = 32767, u32 = 32767, u64 = 6161214861960314879}}, {events = 21845, data = {ptr = 0x0, fd = 0, u32 = 0, u64 = 0}}, {events = 0, data = {ptr = 0x0, fd = 0, u32 = 0, u64 = 0}}, {events = 0, data = {ptr = 0x0, fd = 0, u32 = 0, u64 = 0}}, {events = 1453557761, data = {ptr = 0x56a387f000005555, fd = 21845, u32 = 21845, u64 = 6242982973327562069}}, {events = 21845, data = {ptr = 0x555556a387f0, fd = 1453557744, u32 = 1453557744, u64 = 93825014138864}}, {events = 1453557838, data = {ptr = 0x200005555, fd = 21845, u32 = 21845, u64 = 8589956437}}, {events = 0, data = {ptr = 0x0, fd = 0, u32 = 0, u64 = 0}}, {events = 1, data = {ptr = 0x5555, fd = 21845, u32 = 21845, u64 = 21845}}, {events = 0, data = {ptr = 0x0, fd = 0, u32 = 0, u64 = 0}}, {events = 4294957569, data = {ptr = 0x5676467000007fff, fd = 32767, u32 = 32767, u64 = 6230244581363974143}}, {events = 21845, data = {ptr = 0x555555bf4848 <asio::detail::epoll_reactor::cancel_timer<asio::detail::chrono_time_traits<std::chrono::_V2::system_clock, asio::wait_traits<std::chrono::_V2::system_clock> > >(asio::detail::timer_queue<asio::detail::chrono_time_traits<std::chrono::_V2::system_clock, asio::wait_traits<std::chrono::_V2::system_clock> > >&, asio::detail::timer_queue<asio::detail::chrono_time_traits<std::chrono::_V2::system_clock, asio::wait_traits<std::chrono::_V2::system_clock> > >::per_timer_data&, unsigned long) [clone .constprop.0] [clone .isra.0]+264>, fd = 1438599240, u32 = 1438599240, u64 = 93824999180360}}, {events = 0, data = {ptr = 0x0, fd = 0, u32 = 0, u64 = 0}}, {events = 0, data = {ptr = 0x0, fd = 0, u32 = 0, u64 = 0}}, {events = 0, data = {ptr = 0xffffdaf000000000, fd = 0, u32 = 0, u64 = 18446703323059847168}}, {events = 32767, data = {ptr = 0x167895f4cbbd5400, fd = -876784640, u32 = 3418182656, u64 = 1619208944662434816}}, {events = 4294957952, data = {ptr = 0x7fff, fd = 32767, u32 = 32767, u64 = 32767}}, {events = 0, data = {ptr = 0x555556a38690, fd = 1453557392, u32 = 1453557392, u64 = 93825014138512}}, {events = 4294958128, data = {ptr = 0x56a3879000007fff, fd = 32767, u32 = 32767, u64 = 6242982561010712575}}, {events = 21845, data = {ptr = 0x7fffffffdb20, fd = -9440, u32 = 4294957856, u64 = 140737488345888}}, {events = 4294957872, data = {ptr = 0x5580fe3a00007fff, fd = 32767, u32 = 32767, u64 = 6161203815304429567}}, {events = 21845, data = {ptr = 0x7ffff7e44268, fd = -136035736, u32 = 4158931560, u64 = 140737352319592}}, {events = 1453557838, data = {ptr = 0x5555, fd = 21845, u32 = 21845, u64 = 21845}}, {events = 0, data = {ptr = 0x7ffff7fb1513 <__libc_accept+99>, fd = -134540013, u32 = 4160427283, u64 = 140737353815315}}, {events = 0, data = {ptr = 0x0, fd = 0, u32 = 0, u64 = 0}}, {events = 0, data = {ptr = 0x0, fd = 0, u32 = 0, u64 = 0}}, {events = 0, data = {ptr = 0x56a387f000000000, fd = 0, u32 = 0, u64 = 6242982973327540224}}, {events = 21845, data = {ptr = 0x555556a3884e, fd = 1453557838, u32 = 1453557838, u64 = 93825014138958}}, {events = 13, data = {ptr = 0x0, fd = 0, u32 = 0, u64 = 0}}, {events = 0, data = {ptr = 0x7fff000000ea, fd = 234, u32 = 234, u64 = 140733193388266}}, {events = 0, data = {ptr = 0x56714f2000000000, fd = 0, u32 = 0, u64 = 6228846758487654400}}, {events = 21845, data = {ptr = 0x167895f4cbbd5400, fd = -876784640, u32 = 3418182656, u64 = 1619208944662434816}}, {events = 4294957904, data = {ptr = 0xf00007fff, fd = 32767, u32 = 32767, u64 = 64424542207}}, {events = 0, data = {ptr = 0x2d6172626d756c41, fd = 1836411969, u32 = 1836411969, u64 = 3270020571516464193}}, {events = 1651469383, data = {ptr = 0xa07dc0d0000a6c61, fd = 683105, u32 = 683105, u64 = 11564611417743715425}}, {events = 32767, data = {ptr = 0x1, fd = 1, u32 = 1, u64 = 1}}, {events = 4294957952, data = {ptr = 0xf00007fff, fd = 32767, u32 = 32767, u64 = 64424542207}}, {events = 0, data = {ptr = 0x2d6172626d756c41, fd = 1836411969, u32 = 1836411969, u64 = 3270020571516464193}}, {events = 1651469383, data = {ptr = 0xe3b82c88000a6c61, fd = 683105, u32 = 683105, u64 = 16408914204952259681}}, {events = 32767, data = {ptr = 0x167895f4cbbd5400, fd = -876784640, u32 = 3418182656, u64 = 1619208944662434816}}, {events = 4294958112, data = {ptr = 0x7fff, fd = 32767, u32 = 32767, u64 = 32767}}, {events = 0, data = {ptr = 0x7fffffffdc80, fd = -9088, u32 = 4294958208, u64 = 140737488346240}}, {events = 2, data = {ptr = 0x1000000000000, fd = 0, u32 = 0, u64 = 281474976710656}}, {events = 0, data = {ptr = 0x167895f4cbbd5400, fd = -876784640, u32 = 3418182656, u64 = 1619208944662434816}}, {events = 4294958320, data = {ptr = 0x7fff, fd = 32767, u32 = 32767, u64 = 32767}}, {events = 0, data = {ptr = 0x7fffffffdcb0, fd = -9040, u32 = 4294958256, u64 = 140737488346288}}, {events = 13, data = {ptr = 0x1000000000000, fd = 0, u32 = 0, u64 = 281474976710656}}, {events = 0, data = {ptr = 0x555556a387f0, fd = 1453557744, u32 = 1453557744, u64 = 93825014138864}}, {events = 4294958352, data = {ptr = 0x5581060100007fff, fd = 32767, u32 = 32767, u64 = 6161212366584315903}}, {events = 21845, data = {ptr = 0x555556988ea0, fd = 1452838560, u32 = 1452838560, u64 = 93825013419680}}, {events = 0, data = {ptr = 0x0, fd = 0, u32 = 0, u64 = 0}}, {events = 0, data = {ptr = 0x0, fd = 0, u32 = 0, u64 = 0}}, {events = 0, data = {ptr = 0xf7e4426800000000, fd = 0, u32 = 0, u64 = 17862475036502261760}}, {events = 32767, data = {ptr = 0x555556988e80, fd = 1452838528, u32 = 1452838528, u64 = 93825013419648}}, {events = 3418182656, data = {ptr = 0x167895f4, fd = 377001460, u32 = 377001460, u64 = 377001460}}, {events = 0, data = {ptr = 0x0, fd = 0, u32 = 0, u64 = 0}}, {events = 2, data = {ptr = 0x56a387f000000000, fd = 0, u32 = 0, u64 = 6242982973327540224}}, {events = 21845, data = {ptr = 0x7fff827c78c0, fd = -2105771840, u32 = 2189195456, u64 = 140735382583488}}, {events = 3418182656, data = {ptr = 0x167895f4, fd = 377001460, u32 = 377001460, u64 = 377001460}}, {events = 0, data = {ptr = 0x555556764300, fd = 1450590976, u32 = 1450590976, u64 = 93825011172096}}, {events = 13, data = {ptr = 0x100000000, fd = 0, u32 = 0, u64 = 4294967296}}, {events = 0, data = {ptr = 0x555556a387f0, fd = 1453557744, u32 = 1453557744, u64 = 93825014138864}}, {events = 0, data = {ptr = 0x0, fd = 0, u32 = 0, u64 = 0}}, {events = 0, data = {ptr = 0x5555558175e9 <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, const asio::mutable_buffer*, asio::detail::transfer_all_t, Connection::parseProxyIdentification(const std::error_code&)::<lambda(const std::error_code&, std::size_t)> >, asio::any_io_executor>::do_complete(void *, asio::detail::operation *, const asio::error_code &, std::size_t)+441>, fd = 1434547689, u32 = 1434547689, u64 = 93824995128809}}, {events = 0, data = {ptr = 0x56a3868000000000, fd = 0, u32 = 0, u64 = 6242981392779575296}}, {events = 21845, data = {ptr = 0x555556a38690, fd = 1453557392, u32 = 1453557392, u64 = 93825014138512}}, {events = 1434507273, data = {ptr = 0x5555, fd = 21845, u32 = 21845, u64 = 21845}}, {events = 0, data = {ptr = 0x0, fd = 0, u32 = 0, u64 = 0}}, {events = 1453557744, data = {ptr = 0x56a3884e00005555, fd = 21845, u32 = 21845, u64 = 6242983377054487893}}, {events = 21845, data = {ptr = 0x2, fd = 2, u32 = 2, u64 = 2}}, {events = 2, data = {ptr = 0x56a387f000000000, fd = 0, u32 = 0, u64 = 6242982973327540224}}, {events = 21845, data = {ptr = 0x555556a3884e, fd = 1453557838, u32 = 1453557838, u64 = 93825014138958}}, {events = 13, data = {ptr = 0xcbbd540000000000, fd = 0, u32 = 0, u64 = 14680982719274418176}}, {events = 377001460, data = {ptr = 0x555556764300, fd = 1450590976, u32 = 1450590976, u64 = 93825011172096}}, {events = 2189195456, data = {ptr = 0xffffdda000007fff, fd = 32767, u32 = 32767, u64 = 18446706277997379583}}, {events = 32767, data = {ptr = 0x5555558142d5 <asio::detail::wait_handler<Connection::parseProxyIdentification(const std::error_code&)::<lambda(const std::error_code&)>, asio::any_io_executor>::do_complete(void *, asio::detail::operation *, const asio::error_code &, std::size_t)+341>, fd = 1434534613, u32 = 1434534613, u64 = 93824995115733}}, {events = 4158931560, data = {ptr = 0xd00007fff, fd = 32767, u32 = 32767, u64 = 55834607615}}, {events = 0, data = {ptr = 0x7fffffffdda0, fd = -8800, u32 = 4294958496, u64 = 140737488346528}}, {events = 0, data = {ptr = 0x0, fd = 0, u32 = 0, u64 = 0}}, {events = 0, data = {ptr = 0x1, fd = 1, u32 = 1, u64 = 1}}, {events = 1450590976, data = {ptr = 0x5575032700005555, fd = 21845, u32 = 21845, u64 = 6157831531537651029}}, {events = 21845, data = {ptr = 0x5555568d4f40, fd = 1452101440, u32 = 1452101440, u64 = 93825012682560}}, {events = 4294958992, data = {ptr = 0x56a3860100007fff, fd = 32767, u32 = 32767, u64 = 6242980847318761471}}, {events = 21845, data = {ptr = 0x555556764670, fd = 1450591856, u32 = 1450591856, u64 = 93825011172976}}, {events = 125, data = {ptr = 0x5670538800000000, fd = 0, u32 = 0, u64 = 6228570128234053632}}, {events = 21845, data = {ptr = 0x555556764670, fd = 1450591856, u32 = 1450591856, u64 = 93825011172976}}, {events = 0, data = {ptr = 0x0, fd = 0, u32 = 0, u64 = 0}}, {events = 0, data = {ptr = 0x0, fd = 0, u32 = 0, u64 = 0}}} 2024-11-20 01:21:05 - num_events = <optimized out> 2024-11-20 01:21:05 - check_timers = <optimized out> 2024-11-20 01:21:05 - #2 0x0000555555bf4ac9 in asio::detail::scheduler::do_run_one (ec=std::error_code = {std::_V2::error_category: 0}, this_thread=..., lock=<synthetic pointer>..., this=0x555556764300) at /home/servidor/build/linux-release/vcpkg_installed/x64-linux/include/asio/detail/impl/scheduler.ipp:476 2024-11-20 01:21:05 - on_exit = {scheduler_ = <optimized out>, lock_ = <optimized out>, this_thread_ = <optimized out>} 2024-11-20 01:21:05 - o = 0x5555567643b8 2024-11-20 01:21:05 - more_handlers = <optimized out> 2024-11-20 01:21:05 - #3 asio::detail::scheduler::run(std::error_code&) [clone .constprop.0] [clone .isra.0] (this=0x555556764300, ec=...) at /home/servidor/build/linux-release/vcpkg_installed/x64-linux/include/asio/detail/impl/scheduler.ipp:209 2024-11-20 01:21:05 - this_thread = {<asio::detail::thread_info_base> = {<asio::detail::noncopyable> = {<No data fields>}, reusable_memory_ = {0x7fff827c78c0, 0x0, 0x0, 0x0, 0x7fffe3bc8430, 0x7fffcc0016f0, 0x0, 0x0, 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} 2024-11-20 01:21:05 - ctx = {<asio::detail::noncopyable> = {<No data fields>}, key_ = 0x555556764300, value_ = 0x7fffffffdea0, next_ = 0x0} 2024-11-20 01:21:05 - lock = {<asio::detail::noncopyable> = {<No data fields>}, mutex_ = @0x555556764330, locked_ = false} 2024-11-20 01:21:05 - n = <optimized out> 2024-11-20 01:21:05 - #4 0x0000555555758274 in asio::io_context::run (this=<optimized out>, this=<optimized out>) at /home/servidor/build/linux-release/vcpkg_installed/x64-linux/include/asio/impl/io_context.ipp:63 2024-11-20 01:21:05 - ec = std::error_code = {std::_V2::error_category: 0} 2024-11-20 01:21:05 - s = <optimized out> 2024-11-20 01:21:05 - ec = Python Exception <class 'gdb.error'> value has been optimized out: 2024-11-20 01:21:05 - 2024-11-20 01:21:05 - s = <optimized out> 2024-11-20 01:21:05 - #5 ServiceManager::run (this=<optimized out>) at /home/servidor/src/server/server.cpp:37 2024-11-20 01:21:05 - __func__ = {<optimized out>, <optimized out>, <optimized out>, <optimized out>} 2024-11-20 01:21:05 - #6 CanaryServer::run (this=0x555556762f40) at /home/servidor/src/canary_server.cpp:140 2024-11-20 01:21:05 - __func__ = {<optimized out>, <optimized out>, <optimized out>, <optimized out>} 2024-11-20 01:21:05 - #7 0x00007ffff79e8083 in __libc_start_main (main=0x555555736740 <main()>, argc=1, argv=0x7fffffffe118, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffe108) at ../csu/libc-start.c:308 2024-11-20 01:21:05 - self = <optimized out> 2024-11-20 01:21:05 - result = <optimized out> 2024-11-20 01:21:05 - unwind_buf = {cancel_jmp_buf = {{jmp_buf = {93825007059904, -2818666000001936464, 93824994293056, 140737488347408, 0, 0, 2818666000848376752, 2818682763031860144}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x1, 0x7fffffffe118}, data = {prev = 0x0, cleanup = 0x0, canceltype = 1}}} 2024-11-20 01:21:05 - not_first_call = <optimized out> 2024-11-20 01:21:05 - #8 0x000055555574b56e in _start () at /home/servidor/build/linux-release/vcpkg_installed/x64-linux/include/asio/signal_set_base.hpp:77 2024-11-20 01:21:05 - No symbol table info available. 2024-11-20 01:21:05 - A debugging session is active. 2024-11-20 01:21:05 - 2024-11-20 01:21:05 - Inferior 1 [process 2316] will be killed. 2024-11-20 01:21:05 - 2024-11-20 01:21:05 - Quit anyway? (y or n) [answered Y; input not from terminal]

phacUFPE commented 1 week ago

@AL-L-S You forgot to compile the source code. The log is telling that, you are holding the version that is crashing yet.

2024-11-20 01:20:56 - warning: Source file is more recent than executable.