Skip to content

Instantly share code, notes, and snippets.

@Aokromes
Created October 11, 2021 04:48
Show Gist options
  • Save Aokromes/44530450314506796e387d8b2d2eb8e4 to your computer and use it in GitHub Desktop.
Save Aokromes/44530450314506796e387d8b2d2eb8e4 to your computer and use it in GitHub Desktop.
--- DEBUG: --- START
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7ffff49ff700 (LWP 375886)]
[New Thread 0x7ffff41fe700 (LWP 375887)]
[New Thread 0x7ffff39fd700 (LWP 375888)]
[New Thread 0x7ffff31fc700 (LWP 375889)]
[New Thread 0x7ffff29fb700 (LWP 375890)]
[New Thread 0x7fff8b7ff700 (LWP 375891)]
[New Thread 0x7fff8affe700 (LWP 375892)]
[New Thread 0x7fff747fd700 (LWP 375893)]
[New Thread 0x7fff739ff700 (LWP 375894)]
Thread 5 "worldserver" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7ffff31fc700 (LWP 375889)]
0x00007ffff7f2cc68 in ?? () from /usr/lib/x86_64-linux-gnu/libmariadb.so.3
--- DEBUG: BACKTRACE FULL
#0 0x00007ffff7f2cc68 in ?? () from /usr/lib/x86_64-linux-gnu/libmariadb.so.3
No symbol table info available.
#1 0x00007ffff7f2eb01 in mysql_ping () from /usr/lib/x86_64-linux-gnu/libmariadb.so.3
No symbol table info available.
#2 0x000000000117f77d in MySQLConnection::Ping (this=<error reading variable: Unhandled dwarf expression opcode 0xff>) at /home/wowserver/src/compile/src/server/database/Database/MySQLConnection.cpp:447
No locals.
#3 0x00000000011791fd in PingOperation::Execute (this=<error reading variable: Unhandled dwarf expression opcode 0xff>) at /home/wowserver/src/compile/src/server/database/Database/DatabaseWorkerPool.cpp:51
No locals.
#4 0x000000000117909a in SQLOperation::call (this=<error reading variable: Unhandled dwarf expression opcode 0xff>) at /home/wowserver/src/compile/src/server/database/Database/SQLOperation.h:55
No locals.
#5 0x00000000011b5f84 in DatabaseWorker::WorkerThread (this=<error reading variable: Unhandled dwarf expression opcode 0x0>) at /home/wowserver/src/compile/src/server/database/Database/DatabaseWorker.cpp:54
operation = <error reading variable operation (Asked for position 0 of stack, stack only has 0 elements on it.)>
#6 0x00000000011b6182 in std::__invoke_impl<void, void (DatabaseWorker::*)(), DatabaseWorker*> (__f=<error reading variable: DWARF-2 expression error: `DW_OP_reg' operations must be used either alone or in conjunction with DW_OP_piece or DW_OP_bit_piece.>, __t=<error reading variable: DWARF-2 expression error: `DW_OP_reg' operations must be used either alone or in conjunction with DW_OP_piece or DW_OP_bit_piece.>) at /usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../include/c++/10/bits/invoke.h:73
No locals.
#7 std::__invoke<void (DatabaseWorker::*)(), DatabaseWorker*> (__fn=<error reading variable: DWARF-2 expression error: `DW_OP_reg' operations must be used either alone or in conjunction with DW_OP_piece or DW_OP_bit_piece.>, __args=<error reading variable: DWARF-2 expression error: `DW_OP_reg' operations must be used either alone or in conjunction with DW_OP_piece or DW_OP_bit_piece.>) at /usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../include/c++/10/bits/invoke.h:95
No locals.
#8 std::thread::_Invoker<std::tuple<void (DatabaseWorker::*)(), DatabaseWorker*> >::_M_invoke<0ul, 1ul> (this=<optimized out>) at /usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../include/c++/10/thread:264
No locals.
#9 std::thread::_Invoker<std::tuple<void (DatabaseWorker::*)(), DatabaseWorker*> >::operator() (this=<optimized out>) at /usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../include/c++/10/thread:271
No locals.
#10 std::thread::_State_impl<std::thread::_Invoker<std::tuple<void (DatabaseWorker::*)(), DatabaseWorker*> > >::_M_run (this=<optimized out>) at /usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../include/c++/10/thread:215
No locals.
#11 0x00007ffff781bed0 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
No symbol table info available.
#12 0x00007ffff799eea7 in start_thread (arg=<optimized out>) at pthread_create.c:477
ret = <optimized out>
pd = <optimized out>
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140737272334080, -3896796022335717948, 140737488344702, 140737488344703, 140737272325952, 8396800, 3896786404059266500, 3896778722754969028}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
not_first_call = -216029616
#13 0x00007ffff7527def in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
No locals.
--- DEBUG: INFO REGISTERS
rax 0x15637c8 22427592
rbx 0x7ffff4ec8860 140737302530144
rcx 0x0 0
rdx 0x0 0
rsi 0xe 14
rdi 0x0 0
rbp 0x7ffff31fa5c0 0x7ffff31fa5c0
rsp 0x7ffff31fa580 0x7ffff31fa580
r8 0x0 0
r9 0x0 0
r10 0x0 0
r11 0x286 646
r12 0x0 0
r13 0x0 0
r14 0xe 14
r15 0x802000 8396800
rip 0x7ffff7f2cc68 0x7ffff7f2cc68
eflags 0x10202 [ IF RF ]
cs 0x33 51
ss 0x2b 43
ds 0x0 0
es 0x0 0
fs 0x0 0
gs 0x0 0
--- DEBUG: CALLS (x/16i $pc)
=> 0x7ffff7f2cc68: test BYTE PTR [rdi+0x3a8],0x80
0x7ffff7f2cc6f: je 0x7ffff7f2cc8d
0x7ffff7f2cc71: cmp QWORD PTR [rdi+0x480],0x0
0x7ffff7f2cc79: je 0x7ffff7f2cc8d
0x7ffff7f2cc7b: mov rbx,QWORD PTR [rdi+0x4f0]
0x7ffff7f2cc82: cmp BYTE PTR [rbx+0x78],0x1
0x7ffff7f2cc86: jne 0x7ffff7f2cc8d
0x7ffff7f2cc88: test rdx,rdx
0x7ffff7f2cc8b: jne 0x7ffff7f2ccb8
0x7ffff7f2cc8d: mov rdx,r13
0x7ffff7f2cc90: mov esi,r14d
0x7ffff7f2cc93: mov rdi,r12
0x7ffff7f2cc96: movsx r8d,r8b
0x7ffff7f2cc9a: mov rax,QWORD PTR [r12+0x4d0]
0x7ffff7f2cca2: mov rax,QWORD PTR [rax+0x10]
0x7ffff7f2cca6: add rsp,0x20
--- DEBUG: THREAD APPLY ALL BACKTRACE
Thread 10 (Thread 0x7fff739ff700 (LWP 375894) "worldserver"):
warning: Can't read data for section '.debug_loc' in file '/usr/lib/debug/.build-id/b7/2adf59ac0a673d1eeb261e662364507cfc8615.debug'
#0 0x00007ffff751f8b3 in __GI___select (nfds=<optimized out>, readfds=<optimized out>, writefds=<optimized out>, exceptfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/select.c:41
#1 0x00007ffff794f670 in ?? () from /lib/x86_64-linux-gnu/libreadline.so.8
#2 0x00007ffff794f92d in rl_read_key () from /lib/x86_64-linux-gnu/libreadline.so.8
#3 0x00007ffff79329bf in readline_internal_char () from /lib/x86_64-linux-gnu/libreadline.so.8
#4 0x00007ffff79333ad in readline () from /lib/x86_64-linux-gnu/libreadline.so.8
#5 0x000000000047e1e5 in CliThread () at /home/wowserver/src/compile/src/server/worldserver/CommandLine/CliRunnable.cpp:153
#6 0x0000000000475c47 in std::__invoke_impl<void, void (*)()> (__f=<error reading variable>) at /usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../include/c++/10/bits/invoke.h:60
#7 std::__invoke<void (*)()> (__fn=<error reading variable>) at /usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../include/c++/10/bits/invoke.h:95
#8 std::thread::_Invoker<std::tuple<void (*)()> >::_M_invoke<0ul> (this=0x9) at /usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../include/c++/10/thread:264
#9 std::thread::_Invoker<std::tuple<void (*)()> >::operator() (this=0x9) at /usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../include/c++/10/thread:271
#10 std::thread::_State_impl<std::thread::_Invoker<std::tuple<void (*)()> > >::_M_run (this=<optimized out>) at /usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../include/c++/10/thread:215
#11 0x00007ffff781bed0 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#12 0x00007ffff799eea7 in start_thread (arg=<optimized out>) at pthread_create.c:477
#13 0x00007ffff7527def in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
Thread 9 (Thread 0x7fff747fd700 (LWP 375893) "worldserver"):
#0 0x00007ffff7528116 in epoll_wait (epfd=<optimized out>, events=<optimized out>, maxevents=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/epoll_wait.c:30
#1 0x0000000000468e0e in boost::asio::detail::epoll_reactor::run (this=<error reading variable: Unhandled dwarf expression opcode 0xd0>, usec=<error reading variable: Unhandled dwarf expression opcode 0xff>, ops=...) at /usr/include/boost/asio/detail/impl/epoll_reactor.ipp:471
#2 0x0000000000468b69 in boost::asio::detail::scheduler::do_run_one (this=<error reading variable: Unhandled dwarf expression opcode 0x9a>, lock=..., this_thread=..., ec=...) at /usr/include/boost/asio/detail/impl/scheduler.ipp:465
#3 0x0000000000468741 in boost::asio::detail::scheduler::run (this=<optimized out>, ec=...) at /usr/include/boost/asio/detail/impl/scheduler.ipp:204
#4 0x0000000000473e5b in boost::asio::io_context::run (this=<error reading variable: Unhandled dwarf expression opcode 0xff>) at /usr/include/boost/asio/impl/io_context.ipp:63
#5 Trinity::Asio::IoContext::run (this=<optimized out>) at /home/wowserver/src/compile/src/common/Asio/IoContext.h:47
#6 0x0000000000f243d3 in NetworkThread<WorldSocket>::Run (this=<error reading variable: Unhandled dwarf expression opcode 0x0>) at /home/wowserver/src/compile/src/server/shared/Networking/NetworkThread.h:127
#7 0x0000000000f25492 in std::__invoke_impl<void, void (NetworkThread<WorldSocket>::*)(), NetworkThread<WorldSocket>*> (__f=<error reading variable: DWARF-2 expression error: `DW_OP_reg' operations must be used either alone or in conjunction with DW_OP_piece or DW_OP_bit_piece.>, __t=<error reading variable: DWARF-2 expression error: `DW_OP_reg' operations must be used either alone or in conjunction with DW_OP_piece or DW_OP_bit_piece.>) at /usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../include/c++/10/bits/invoke.h:73
#8 std::__invoke<void (NetworkThread<WorldSocket>::*)(), NetworkThread<WorldSocket>*> (__fn=<error reading variable: DWARF-2 expression error: `DW_OP_reg' operations must be used either alone or in conjunction with DW_OP_piece or DW_OP_bit_piece.>, __args=<error reading variable: DWARF-2 expression error: `DW_OP_reg' operations must be used either alone or in conjunction with DW_OP_piece or DW_OP_bit_piece.>) at /usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../include/c++/10/bits/invoke.h:95
#9 std::thread::_Invoker<std::tuple<void (NetworkThread<WorldSocket>::*)(), NetworkThread<WorldSocket>*> >::_M_invoke<0ul, 1ul> (this=<optimized out>) at /usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../include/c++/10/thread:264
#10 std::thread::_Invoker<std::tuple<void (NetworkThread<WorldSocket>::*)(), NetworkThread<WorldSocket>*> >::operator() (this=<error reading variable: Unhandled dwarf expression opcode 0xff>) at /usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../include/c++/10/thread:271
#11 std::thread::_State_impl<std::thread::_Invoker<std::tuple<void (NetworkThread<WorldSocket>::*)(), NetworkThread<WorldSocket>*> > >::_M_run (this=<error reading variable: Unhandled dwarf expression opcode 0xff>) at /usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../include/c++/10/thread:215
#12 0x00007ffff781bed0 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#13 0x00007ffff799eea7 in start_thread (arg=<optimized out>) at pthread_create.c:477
#14 0x00007ffff7527def in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
Thread 8 (Thread 0x7fff8affe700 (LWP 375892) "worldserver"):
#0 futex_wait_cancelable (private=0, expected=0, futex_word=0x19634f0 <MapManager::instance()::instance+320>) at ../sysdeps/nptl/futex-internal.h:186
#1 __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x1963450 <MapManager::instance()::instance+160>, cond=0x19634c8 <MapManager::instance()::instance+280>) at pthread_cond_wait.c:508
#2 __pthread_cond_wait (cond=0x19634c8 <MapManager::instance()::instance+280>, mutex=0x1963450 <MapManager::instance()::instance+160>) at pthread_cond_wait.c:638
#3 0x00007ffff781690c in std::condition_variable::wait(std::unique_lock<std::mutex>&) () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#4 0x0000000000e72bc6 in ProducerConsumerQueue<MapUpdateRequest*>::WaitAndPop (this=<error reading variable: Unhandled dwarf expression opcode 0xff>, value=<error reading variable: Unhandled dwarf expression opcode 0xff>) at /home/wowserver/src/compile/src/common/Threading/ProducerConsumerQueue.h:81
#5 0x0000000000e72723 in MapUpdater::WorkerThread (this=<optimized out>) at /home/wowserver/src/compile/src/server/game/Maps/MapUpdater.cpp:113
#6 0x0000000000000000 in ?? ()
Thread 7 (Thread 0x7fff8b7ff700 (LWP 375891) "worldserver"):
#0 futex_wait_cancelable (private=0, expected=0, futex_word=0x19634f0 <MapManager::instance()::instance+320>) at ../sysdeps/nptl/futex-internal.h:186
#1 __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x1963450 <MapManager::instance()::instance+160>, cond=0x19634c8 <MapManager::instance()::instance+280>) at pthread_cond_wait.c:508
#2 __pthread_cond_wait (cond=0x19634c8 <MapManager::instance()::instance+280>, mutex=0x1963450 <MapManager::instance()::instance+160>) at pthread_cond_wait.c:638
#3 0x00007ffff781690c in std::condition_variable::wait(std::unique_lock<std::mutex>&) () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#4 0x0000000000e72bc6 in ProducerConsumerQueue<MapUpdateRequest*>::WaitAndPop (this=<error reading variable: Unhandled dwarf expression opcode 0xff>, value=<error reading variable: Unhandled dwarf expression opcode 0xff>) at /home/wowserver/src/compile/src/common/Threading/ProducerConsumerQueue.h:81
#5 0x0000000000e72723 in MapUpdater::WorkerThread (this=<optimized out>) at /home/wowserver/src/compile/src/server/game/Maps/MapUpdater.cpp:113
#6 0x0000000000000000 in ?? ()
Thread 6 (Thread 0x7ffff29fb700 (LWP 375890) "worldserver"):
#0 futex_wait_cancelable (private=0, expected=0, futex_word=0x7ffff4e62224) at ../sysdeps/nptl/futex-internal.h:186
#1 __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x7ffff4e62180, cond=0x7ffff4e621f8) at pthread_cond_wait.c:508
#2 __pthread_cond_wait (cond=0x7ffff4e621f8, mutex=0x7ffff4e62180) at pthread_cond_wait.c:638
#3 0x00007ffff781690c in std::condition_variable::wait(std::unique_lock<std::mutex>&) () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#4 0x00000000011b6096 in ProducerConsumerQueue<SQLOperation*>::WaitAndPop (this=<error reading variable: Unhandled dwarf expression opcode 0xff>, value=<error reading variable: Unhandled dwarf expression opcode 0xff>) at /home/wowserver/src/compile/src/common/Threading/ProducerConsumerQueue.h:81
#5 0x00000000011b5fa6 in DatabaseWorker::WorkerThread (this=<error reading variable: Unhandled dwarf expression opcode 0x0>) at /home/wowserver/src/compile/src/server/database/Database/DatabaseWorker.cpp:48
#6 0x00000000011b6182 in std::__invoke_impl<void, void (DatabaseWorker::*)(), DatabaseWorker*> (__f=<error reading variable: DWARF-2 expression error: `DW_OP_reg' operations must be used either alone or in conjunction with DW_OP_piece or DW_OP_bit_piece.>, __t=<error reading variable: DWARF-2 expression error: `DW_OP_reg' operations must be used either alone or in conjunction with DW_OP_piece or DW_OP_bit_piece.>) at /usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../include/c++/10/bits/invoke.h:73
#7 std::__invoke<void (DatabaseWorker::*)(), DatabaseWorker*> (__fn=<error reading variable: DWARF-2 expression error: `DW_OP_reg' operations must be used either alone or in conjunction with DW_OP_piece or DW_OP_bit_piece.>, __args=<error reading variable: DWARF-2 expression error: `DW_OP_reg' operations must be used either alone or in conjunction with DW_OP_piece or DW_OP_bit_piece.>) at /usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../include/c++/10/bits/invoke.h:95
#8 std::thread::_Invoker<std::tuple<void (DatabaseWorker::*)(), DatabaseWorker*> >::_M_invoke<0ul, 1ul> (this=<optimized out>) at /usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../include/c++/10/thread:264
#9 std::thread::_Invoker<std::tuple<void (DatabaseWorker::*)(), DatabaseWorker*> >::operator() (this=<optimized out>) at /usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../include/c++/10/thread:271
#10 std::thread::_State_impl<std::thread::_Invoker<std::tuple<void (DatabaseWorker::*)(), DatabaseWorker*> > >::_M_run (this=<optimized out>) at /usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../include/c++/10/thread:215
#11 0x00007ffff781bed0 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#12 0x00007ffff799eea7 in start_thread (arg=<optimized out>) at pthread_create.c:477
#13 0x00007ffff7527def in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
Thread 5 (Thread 0x7ffff31fc700 (LWP 375889) "worldserver"):
#0 0x00007ffff7f2cc68 in ?? () from /usr/lib/x86_64-linux-gnu/libmariadb.so.3
#1 0x00007ffff7f2eb01 in mysql_ping () from /usr/lib/x86_64-linux-gnu/libmariadb.so.3
#2 0x000000000117f77d in MySQLConnection::Ping (this=<error reading variable: Unhandled dwarf expression opcode 0xff>) at /home/wowserver/src/compile/src/server/database/Database/MySQLConnection.cpp:447
#3 0x00000000011791fd in PingOperation::Execute (this=<error reading variable: Unhandled dwarf expression opcode 0xff>) at /home/wowserver/src/compile/src/server/database/Database/DatabaseWorkerPool.cpp:51
#4 0x000000000117909a in SQLOperation::call (this=<error reading variable: Unhandled dwarf expression opcode 0xff>) at /home/wowserver/src/compile/src/server/database/Database/SQLOperation.h:55
#5 0x00000000011b5f84 in DatabaseWorker::WorkerThread (this=<error reading variable: Unhandled dwarf expression opcode 0x0>) at /home/wowserver/src/compile/src/server/database/Database/DatabaseWorker.cpp:54
#6 0x00000000011b6182 in std::__invoke_impl<void, void (DatabaseWorker::*)(), DatabaseWorker*> (__f=<error reading variable: DWARF-2 expression error: `DW_OP_reg' operations must be used either alone or in conjunction with DW_OP_piece or DW_OP_bit_piece.>, __t=<error reading variable: DWARF-2 expression error: `DW_OP_reg' operations must be used either alone or in conjunction with DW_OP_piece or DW_OP_bit_piece.>) at /usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../include/c++/10/bits/invoke.h:73
#7 std::__invoke<void (DatabaseWorker::*)(), DatabaseWorker*> (__fn=<error reading variable: DWARF-2 expression error: `DW_OP_reg' operations must be used either alone or in conjunction with DW_OP_piece or DW_OP_bit_piece.>, __args=<error reading variable: DWARF-2 expression error: `DW_OP_reg' operations must be used either alone or in conjunction with DW_OP_piece or DW_OP_bit_piece.>) at /usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../include/c++/10/bits/invoke.h:95
#8 std::thread::_Invoker<std::tuple<void (DatabaseWorker::*)(), DatabaseWorker*> >::_M_invoke<0ul, 1ul> (this=<optimized out>) at /usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../include/c++/10/thread:264
#9 std::thread::_Invoker<std::tuple<void (DatabaseWorker::*)(), DatabaseWorker*> >::operator() (this=<optimized out>) at /usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../include/c++/10/thread:271
#10 std::thread::_State_impl<std::thread::_Invoker<std::tuple<void (DatabaseWorker::*)(), DatabaseWorker*> > >::_M_run (this=<optimized out>) at /usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../include/c++/10/thread:215
#11 0x00007ffff781bed0 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#12 0x00007ffff799eea7 in start_thread (arg=<optimized out>) at pthread_create.c:477
#13 0x00007ffff7527def in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
Thread 4 (Thread 0x7ffff39fd700 (LWP 375888) "worldserver"):
#0 futex_wait_cancelable (private=0, expected=0, futex_word=0x7ffff4e623a0) at ../sysdeps/nptl/futex-internal.h:186
#1 __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x7ffff4e62300, cond=0x7ffff4e62378) at pthread_cond_wait.c:508
#2 __pthread_cond_wait (cond=0x7ffff4e62378, mutex=0x7ffff4e62300) at pthread_cond_wait.c:638
#3 0x00007ffff781690c in std::condition_variable::wait(std::unique_lock<std::mutex>&) () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#4 0x00000000011b6096 in ProducerConsumerQueue<SQLOperation*>::WaitAndPop (this=<error reading variable: Unhandled dwarf expression opcode 0xff>, value=<error reading variable: Unhandled dwarf expression opcode 0xff>) at /home/wowserver/src/compile/src/common/Threading/ProducerConsumerQueue.h:81
#5 0x00000000011b5fa6 in DatabaseWorker::WorkerThread (this=<error reading variable: Unhandled dwarf expression opcode 0x0>) at /home/wowserver/src/compile/src/server/database/Database/DatabaseWorker.cpp:48
#6 0x00000000011b6182 in std::__invoke_impl<void, void (DatabaseWorker::*)(), DatabaseWorker*> (__f=<error reading variable: DWARF-2 expression error: `DW_OP_reg' operations must be used either alone or in conjunction with DW_OP_piece or DW_OP_bit_piece.>, __t=<error reading variable: DWARF-2 expression error: `DW_OP_reg' operations must be used either alone or in conjunction with DW_OP_piece or DW_OP_bit_piece.>) at /usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../include/c++/10/bits/invoke.h:73
#7 std::__invoke<void (DatabaseWorker::*)(), DatabaseWorker*> (__fn=<error reading variable: DWARF-2 expression error: `DW_OP_reg' operations must be used either alone or in conjunction with DW_OP_piece or DW_OP_bit_piece.>, __args=<error reading variable: DWARF-2 expression error: `DW_OP_reg' operations must be used either alone or in conjunction with DW_OP_piece or DW_OP_bit_piece.>) at /usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../include/c++/10/bits/invoke.h:95
#8 std::thread::_Invoker<std::tuple<void (DatabaseWorker::*)(), DatabaseWorker*> >::_M_invoke<0ul, 1ul> (this=<optimized out>) at /usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../include/c++/10/thread:264
#9 std::thread::_Invoker<std::tuple<void (DatabaseWorker::*)(), DatabaseWorker*> >::operator() (this=<optimized out>) at /usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../include/c++/10/thread:271
#10 std::thread::_State_impl<std::thread::_Invoker<std::tuple<void (DatabaseWorker::*)(), DatabaseWorker*> > >::_M_run (this=<optimized out>) at /usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../include/c++/10/thread:215
#11 0x00007ffff781bed0 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#12 0x00007ffff799eea7 in start_thread (arg=<optimized out>) at pthread_create.c:477
#13 0x00007ffff7527def in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
Thread 3 (Thread 0x7ffff41fe700 (LWP 375887) "worldserver"):
#0 futex_wait_cancelable (private=0, expected=0, futex_word=0x7ffff4e6519c) at ../sysdeps/nptl/futex-internal.h:186
#1 __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x7ffff4e65138, cond=0x7ffff4e65170) at pthread_cond_wait.c:508
#2 __pthread_cond_wait (cond=0x7ffff4e65170, mutex=0x7ffff4e65138) at pthread_cond_wait.c:638
#3 0x00000000004689eb in boost::asio::detail::posix_event::wait<boost::asio::detail::conditionally_enabled_mutex::scoped_lock> (this=<error reading variable: Unhandled dwarf expression opcode 0x0>, lock=...) at /usr/include/boost/asio/detail/posix_event.hpp:119
#4 boost::asio::detail::conditionally_enabled_event::wait (this=<optimized out>, lock=<error reading variable: Unhandled dwarf expression opcode 0xff>) at /usr/include/boost/asio/detail/conditionally_enabled_event.hpp:97
#5 boost::asio::detail::scheduler::do_run_one (this=<error reading variable: Unhandled dwarf expression opcode 0x9a>, lock=..., this_thread=..., ec=...) at /usr/include/boost/asio/detail/impl/scheduler.ipp:490
#6 0x0000000000468741 in boost::asio::detail::scheduler::run (this=<optimized out>, ec=...) at /usr/include/boost/asio/detail/impl/scheduler.ipp:204
#7 0x0000000000473e5b in boost::asio::io_context::run (this=<error reading variable: Unhandled dwarf expression opcode 0xff>) at /usr/include/boost/asio/impl/io_context.ipp:63
#8 Trinity::Asio::IoContext::run (this=<optimized out>) at /home/wowserver/src/compile/src/common/Asio/IoContext.h:47
#9 0x00000000004585ed in main::$_4::operator() (this=<error reading variable: Unhandled dwarf expression opcode 0xff>) at /home/wowserver/src/compile/src/server/worldserver/Main.cpp:217
#10 std::__invoke_impl<void, main::$_4> (__f=<error reading variable: Unhandled dwarf expression opcode 0xff>) at /usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../include/c++/10/bits/invoke.h:60
#11 std::__invoke<main::$_4> (__fn=...) at /usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../include/c++/10/bits/invoke.h:95
#12 std::thread::_Invoker<std::tuple<main::$_4> >::_M_invoke<0ul> (this=<optimized out>) at /usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../include/c++/10/thread:264
#13 std::thread::_Invoker<std::tuple<main::$_4> >::operator() (this=<error reading variable: Unhandled dwarf expression opcode 0xff>) at /usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../include/c++/10/thread:271
#14 std::thread::_State_impl<std::thread::_Invoker<std::tuple<main::$_4> > >::_M_run (this=<optimized out>) at /usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../include/c++/10/thread:215
#15 0x00007ffff781bed0 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#16 0x00007ffff799eea7 in start_thread (arg=<optimized out>) at pthread_create.c:477
#17 0x00007ffff7527def in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
Thread 2 (Thread 0x7ffff49ff700 (LWP 375886) "worldserver"):
#0 0x00007ffff7528116 in epoll_wait (epfd=<optimized out>, events=<optimized out>, maxevents=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/epoll_wait.c:30
#1 0x0000000000468e0e in boost::asio::detail::epoll_reactor::run (this=<error reading variable: Unhandled dwarf expression opcode 0xd0>, usec=<error reading variable: Unhandled dwarf expression opcode 0xff>, ops=...) at /usr/include/boost/asio/detail/impl/epoll_reactor.ipp:471
#2 0x0000000000468b69 in boost::asio::detail::scheduler::do_run_one (this=<error reading variable: Unhandled dwarf expression opcode 0x9a>, lock=..., this_thread=..., ec=...) at /usr/include/boost/asio/detail/impl/scheduler.ipp:465
#3 0x0000000000468741 in boost::asio::detail::scheduler::run (this=<optimized out>, ec=...) at /usr/include/boost/asio/detail/impl/scheduler.ipp:204
#4 0x0000000000473e5b in boost::asio::io_context::run (this=<error reading variable: Unhandled dwarf expression opcode 0xff>) at /usr/include/boost/asio/impl/io_context.ipp:63
#5 Trinity::Asio::IoContext::run (this=<optimized out>) at /home/wowserver/src/compile/src/common/Asio/IoContext.h:47
#6 0x00000000004585ed in main::$_4::operator() (this=<error reading variable: Unhandled dwarf expression opcode 0xff>) at /home/wowserver/src/compile/src/server/worldserver/Main.cpp:217
#7 std::__invoke_impl<void, main::$_4> (__f=<error reading variable: Unhandled dwarf expression opcode 0xff>) at /usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../include/c++/10/bits/invoke.h:60
#8 std::__invoke<main::$_4> (__fn=...) at /usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../include/c++/10/bits/invoke.h:95
#9 std::thread::_Invoker<std::tuple<main::$_4> >::_M_invoke<0ul> (this=<optimized out>) at /usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../include/c++/10/thread:264
#10 std::thread::_Invoker<std::tuple<main::$_4> >::operator() (this=<error reading variable: Unhandled dwarf expression opcode 0xff>) at /usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../include/c++/10/thread:271
#11 std::thread::_State_impl<std::thread::_Invoker<std::tuple<main::$_4> > >::_M_run (this=<optimized out>) at /usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../include/c++/10/thread:215
#12 0x00007ffff781bed0 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#13 0x00007ffff799eea7 in start_thread (arg=<optimized out>) at pthread_create.c:477
#14 0x00007ffff7527def in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
Thread 1 (Thread 0x7ffff5303fc0 (LWP 375882) "worldserver"):
#0 0x00007ffff74efc61 in __GI___clock_nanosleep (clock_id=<optimized out>, flags=<optimized out>, req=<optimized out>, rem=<optimized out>) at ../sysdeps/unix/sysv/linux/clock_nanosleep.c:48
#1 0x00007ffff74f5443 in __GI___nanosleep (requested_time=<optimized out>, remaining=<optimized out>) at nanosleep.c:27
#2 0x00000000004571bb in std::this_thread::sleep_for<long, std::ratio<1l, 1000l> > (__rtime=...) at /usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../include/c++/10/thread:401
#3 WorldUpdateLoop () at /home/wowserver/src/compile/src/server/worldserver/Main.cpp:456
#4 0x00000000004538ed in main (argc=<error reading variable: Unhandled dwarf expression opcode 0xff>, argv=<optimized out>) at /home/wowserver/src/compile/src/server/worldserver/Main.cpp:350
--- DEBUG: --- STOP
Generated by crashreport.gdb script version 1.4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment