Skip to content

Instantly share code, notes, and snippets.

@SignFinder
Created May 24, 2011 06:05
Show Gist options
  • Save SignFinder/988199 to your computer and use it in GitHub Desktop.
Save SignFinder/988199 to your computer and use it in GitHub Desktop.
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7ffff33ff700 (LWP 28791)]
0x00007ffff5d3a382 in ?? () from /lib/libc.so.6
--- DEBUG: BACKTRACE FULL
#0 0x00007ffff5d3a382 in ?? () from /lib/libc.so.6
No symbol table info available.
#1 0x00007ffff71c8e2c in mysql_query () from /usr/lib/libmysqlclient_r.so.16
No symbol table info available.
#2 0x0000000000c0d79c in MySQLConnection::Execute (this=0x7ffff4414780, sql=0x300000000 <Address 0x300000000 out of bounds>) at /data/TrinityCore/src/server/shared/Database/MySQLConnection.cpp:170
_s = 0
#3 0x0000000000c0e883 in MySQLConnection::ExecuteTransaction (this=0x7ffff4414780, transaction=<value optimized out>) at /data/TrinityCore/src/server/shared/Database/MySQLConnection.cpp:409
sql = 0x300000000 <Address 0x300000000 out of bounds>
__FUNCTION__ = "ExecuteTransaction"
__PRETTY_FUNCTION__ = "bool MySQLConnection::ExecuteTransaction(SQLTransaction&)"
#4 0x0000000000c1ba66 in TransactionTask::Execute (this=0x7fffec683a60) at /data/TrinityCore/src/server/shared/Database/Transaction.cpp:77
No locals.
#5 0x00000000007aa94a in SQLOperation::call (this=0x300000000) at /data/TrinityCore/src/server/shared/Database/SQLOperation.h:65
No locals.
#6 0x0000000000c25bc9 in DatabaseWorker::svc (this=0x7ffff4414840) at /data/TrinityCore/src/server/shared/Database/DatabaseWorker.cpp:45
No locals.
#7 0x00007ffff76f0e27 in ACE_Task_Base::svc_run (args=<value optimized out>) at ../../ace/Task.cpp:271
t = 0x7ffff4414840
svc_status = <value optimized out>
#8 0x00007ffff76f21d2 in ACE_Thread_Adapter::invoke_i (this=<value optimized out>) at ../../ace/Thread_Adapter.cpp:161
hook = 0x7ffff4414308
func = 0x7ffff76f0df0 <ACE_Task_Base::svc_run(void*)>
arg = 0x7ffff4414840
cancel_flags = 0
status = 0x7ffff4414308
#9 0x00007ffff76f2251 in ACE_Thread_Adapter::invoke (this=0x7ffff440a4e0) at ../../ace/Thread_Adapter.cpp:96
exit_hook_instance = <value optimized out>
exit_hook_maybe = {instance_ = 0x0}
exit_hook_ptr = <value optimized out>
#10 0x00007ffff5f9a8ba in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#11 0x00007ffff5d0202d in clone () from /lib/libc.so.6
No symbol table info available.
#12 0x0000000000000000 in ?? ()
No symbol table info available.
--- DEBUG: INFO REGISTERS
rax 0x7ffff4414308 140737291305736
rbx 0x7ffff4428200 140737291387392
rcx 0x300000000 12884901888
rdx 0x7ffff4414308 140737291305736
rsi 0x300000000 12884901888
rdi 0x300000000 12884901888
rbp 0x300000000 0x300000000
rsp 0x7ffff33fdcd8 0x7ffff33fdcd8
r8 0x300000000 12884901888
r9 0x11 17
r10 0x1 1
r11 0x0 0
r12 0x7ffff33fdd30 140737274436912
r13 0x20c49ba5e353f7cf 2361183241434822607
r14 0x0 0
r15 0x7ffff33fdd60 140737274436960
rip 0x7ffff5d3a382 0x7ffff5d3a382
eflags 0x10206 [ PF IF RF ]
cs 0x33 51
ss 0x2b 43
ds 0x0 0
es 0x0 0
fs 0x0 0
gs 0x0 0
fctrl 0x37f 895
fstat 0x0 0
ftag 0xffff 65535
fiseg 0x0 0
fioff 0x0 0
foseg 0x0 0
fooff 0x0 0
fop 0x0 0
mxcsr 0x1f80 [ IM DM ZM OM UM PM ]
--- DEBUG: THREAD APPLY ALL BACKTRACE
Thread 5 (Thread 0x7ffff1fff700 (LWP 28792)):
#0 0x00007ffff5f9f16c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1 0x00007ffff765ff35 in cond_timedwait (this=0x7ffff440d484, mutex=..., abstime=0x3) at ../../ace/OS_NS_Thread.inl:358
#2 ACE_Condition_Thread_Mutex::wait (this=0x7ffff440d484, mutex=..., abstime=0x3) at ../../ace/Condition_Thread_Mutex.cpp:100
#3 0x000000000079f06b in ACE_Message_Queue<ACE_MT_SYNCH>::wait_not_empty_cond (this=0x7ffff440d400, timeout=0x0) at /data/ace/include/ace/Message_Queue_T.cpp:1744
#4 0x00000000007a0087 in ACE_Message_Queue<ACE_MT_SYNCH>::dequeue_head (this=0x7ffff440d400, first_item=@0x7ffff1ffee08, timeout=0x0) at /data/ace/include/ace/Message_Queue_T.cpp:1936
#5 0x00007ffff7646642 in ACE_Activation_Queue::dequeue (this=<value optimized out>, tv=0x3) at ../../ace/Activation_Queue.cpp:89
#6 0x0000000000c25be0 in DatabaseWorker::svc (this=0x7ffff4416f40) at /data/TrinityCore/src/server/shared/Database/DatabaseWorker.cpp:40
#7 0x00007ffff76f0e27 in ACE_Task_Base::svc_run (args=<value optimized out>) at ../../ace/Task.cpp:271
#8 0x00007ffff76f21d2 in ACE_Thread_Adapter::invoke_i (this=<value optimized out>) at ../../ace/Thread_Adapter.cpp:161
#9 0x00007ffff76f2251 in ACE_Thread_Adapter::invoke (this=0x7ffff47f4e10) at ../../ace/Thread_Adapter.cpp:96
#10 0x00007ffff5f9a8ba in start_thread () from /lib/libpthread.so.0
#11 0x00007ffff5d0202d in clone () from /lib/libc.so.6
#12 0x0000000000000000 in ?? ()
Thread 4 (Thread 0x7ffff33ff700 (LWP 28791)):
#0 0x00007ffff5d3a382 in ?? () from /lib/libc.so.6
#1 0x00007ffff71c8e2c in mysql_query () from /usr/lib/libmysqlclient_r.so.16
#2 0x0000000000c0d79c in MySQLConnection::Execute (this=0x7ffff4414780, sql=0x300000000 <Address 0x300000000 out of bounds>) at /data/TrinityCore/src/server/shared/Database/MySQLConnection.cpp:170
#3 0x0000000000c0e883 in MySQLConnection::ExecuteTransaction (this=0x7ffff4414780, transaction=<value optimized out>) at /data/TrinityCore/src/server/shared/Database/MySQLConnection.cpp:409
#4 0x0000000000c1ba66 in TransactionTask::Execute (this=0x7fffec683a60) at /data/TrinityCore/src/server/shared/Database/Transaction.cpp:77
#5 0x00000000007aa94a in SQLOperation::call (this=0x300000000) at /data/TrinityCore/src/server/shared/Database/SQLOperation.h:65
#6 0x0000000000c25bc9 in DatabaseWorker::svc (this=0x7ffff4414840) at /data/TrinityCore/src/server/shared/Database/DatabaseWorker.cpp:45
#7 0x00007ffff76f0e27 in ACE_Task_Base::svc_run (args=<value optimized out>) at ../../ace/Task.cpp:271
#8 0x00007ffff76f21d2 in ACE_Thread_Adapter::invoke_i (this=<value optimized out>) at ../../ace/Thread_Adapter.cpp:161
#9 0x00007ffff76f2251 in ACE_Thread_Adapter::invoke (this=0x7ffff440a4e0) at ../../ace/Thread_Adapter.cpp:96
#10 0x00007ffff5f9a8ba in start_thread () from /lib/libpthread.so.0
#11 0x00007ffff5d0202d in clone () from /lib/libc.so.6
#12 0x0000000000000000 in ?? ()
Thread 3 (Thread 0x7ffff43ff700 (LWP 28790)):
#0 0x00007ffff5f9f16c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1 0x00007ffff765ff35 in cond_timedwait (this=0x7ffff440d284, mutex=..., abstime=0x3) at ../../ace/OS_NS_Thread.inl:358
#2 ACE_Condition_Thread_Mutex::wait (this=0x7ffff440d284, mutex=..., abstime=0x3) at ../../ace/Condition_Thread_Mutex.cpp:100
#3 0x000000000079f06b in ACE_Message_Queue<ACE_MT_SYNCH>::wait_not_empty_cond (this=0x7ffff440d200, timeout=0x0) at /data/ace/include/ace/Message_Queue_T.cpp:1744
#4 0x00000000007a0087 in ACE_Message_Queue<ACE_MT_SYNCH>::dequeue_head (this=0x7ffff440d200, first_item=@0x7ffff43fee08, timeout=0x0) at /data/ace/include/ace/Message_Queue_T.cpp:1936
#5 0x00007ffff7646642 in ACE_Activation_Queue::dequeue (this=<value optimized out>, tv=0x3) at ../../ace/Activation_Queue.cpp:89
#6 0x0000000000c25be0 in DatabaseWorker::svc (this=0x7ffff4414600) at /data/TrinityCore/src/server/shared/Database/DatabaseWorker.cpp:40
#7 0x00007ffff76f0e27 in ACE_Task_Base::svc_run (args=<value optimized out>) at ../../ace/Task.cpp:271
#8 0x00007ffff76f21d2 in ACE_Thread_Adapter::invoke_i (this=<value optimized out>) at ../../ace/Thread_Adapter.cpp:161
#9 0x00007ffff76f2251 in ACE_Thread_Adapter::invoke (this=0x7ffff440a2b0) at ../../ace/Thread_Adapter.cpp:96
#10 0x00007ffff5f9a8ba in start_thread () from /lib/libpthread.so.0
#11 0x00007ffff5d0202d in clone () from /lib/libc.so.6
#12 0x0000000000000000 in ?? ()
Thread 1 (Thread 0x7ffff7fe2720 (LWP 28786)):
#0 0x00007ffff67136b5 in operator new(unsigned long) () from /usr/lib/libstdc++.so.6
#1 0x00007ffff67137d9 in operator new[](unsigned long) () from /usr/lib/libstdc++.so.6
#2 0x0000000000c1a8d0 in Field::SetStructuredValue (this=0x7fffde3a3448, newValue=0x7fffde3c5770 "1024", newType=MYSQL_TYPE_INT24) at /data/TrinityCore/src/server/shared/Database/Field.cpp:57
#3 0x0000000000c0b02a in ResultSet::NextRow (this=0x7fffddbfe9a0) at /data/TrinityCore/src/server/shared/Database/QueryResult.cpp:164
#4 0x0000000000a0d57f in PoolMgr::LoadFromDB (this=<value optimized out>) at /data/TrinityCore/src/server/game/Pools/PoolMgr.cpp:917
#5 0x0000000000b0a31b in World::SetInitialWorldSettings (this=0x7ffff44df808) at /data/TrinityCore/src/server/game/World/World.cpp:1447
#6 0x00000000007a7c8f in Master::Run (this=0x7ffff4411208) at /data/TrinityCore/src/server/worldserver/Master.cpp:168
#7 0x00007ffff5c51c4d in __libc_start_main () from /lib/libc.so.6
#8 0x0000000000798b39 in _start ()
--- DEBUG: --- STOP
A debugging session is active.
Inferior 1 [process 28786] will be killed.
Quit anyway? (y or n) [answered Y; input not from terminal]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment