GDB Debug

Hi Leute, wisst ihr wie man die Core mit GDB so startet, das es einen Crashlog erstellt und automatisch neustartet?

Wie ich die Core damit starte weiß ich “gdb worldserver” aber ich suche eine methode wobei eine logdatei angelegt wird und die core neustartet.

[CODE]BCKTRC=$(date +“backtrace_%Y-%m-%d_%H-%M-%S.txt”)

mv ~/backtrace.log ~/server/crashes/$BCKTRC

screen -A -m -d -S world gdb -x crashreport.gdb $WOCMD -c $WOCONF[/CODE]
Die beiden Variablen unten stehen für die Binary und die Config, einfach austauschen.

Das GDB-Makro gibts hier: https://github.com/TrinityCore/TrinityCore/blob/master/contrib/debugger/crashreport.gdb

Einfach in den Ordner packen, von dem aus das Script aufgerufen wird.

Einfach nen x-beliebiges Restarter-script nehmen und oben genannte Zeilen um starten benutzen.

Gibt es vieleicht jemanden der so ein Script ausführlich erstellen kann?

Also ich nutze:

[CODE]#!/bin/bash

BSFILE=~/bash/.status # turn restarter off/on from outside

AUFILE=~/bash/.c_auth # tempfile created when auth has to be restarted

WOFILE=~/bash/.c_world # tempfile created when worldserver has to be restarted

LOGFILE=~/server/logs/cronWOW.log # logfile for restarter

AUCMD=~/server/bin/authserver

AUCONF=~/server/etc/authserver.conf

WOCMD=~/server/bin/worldserver

WOCONF=~/server/etc/worldserver.conf

BCKTRC=$(date +“backtrace_%Y-%m-%d_%H-%M-%S.txt”)

function check_pid() {

PID1=$(pidof -s $AUCMD)

PID2=$(pidof -s $WOCMD)


STAT=$(cat $BSFILE)

if [ "$STAT" = "off" ]; then

    return 1

fi


if (((PID1<1)) && ((PID2<1)))

then

    touch $AUFILE

    touch $WOFILE

    return 3

fi


if ((PID1<1))

then 

    touch $AUFILE

    return 3

fi


if ((PID2<1))

then  

    touch $WOFILE

    return 3

fi


return 1

}

check_pid

if [ “$?” -eq “3” ]; then

date >> $LOGFILE

echo "One of the two processes does not function" >> $LOGFILE

if [ -f $AUFILE ]; then

    echo "Starting Authserver" >> $LOGFILE

    screen -A -m -d -S authd $AUCMD -c $AUCONF

    rm $AUFILE

fi

sleep 3

if [ -f $WOFILE ]; then

    echo "Starting Worldserver" >> $LOGFILE

    killall -9 gdb >/dev/null

    killall -9 worldserver /dev/null

 cd ~

 mv ~/backtrace.log ~/server/crashes/$BCKTRC

    screen -A -m -d -S world gdb -x crashreport.gdb $WOCMD -c $WOCONF

    rm $WOFILE

fi

echo "---------------------- " >> $LOGFILE

else

date >> $LOGFILE

echo "All processes are running" >> $LOGFILE

echo "---------------------- " >> $LOGFILE

fi

[/CODE]

~/bash/ erstellen und da das Script reinpacken und als cronjob jede Minute ausführen lassen.

Zum An/Aus-schalten nutze ich folgendes:

[CODE]#!/bin/sh

if [ -f ~/bash/.status ]; then

echo "Statusdatei gefunden.."

else

echo "Statusdatei nicht gefunden.. Lege an.."

touch ~/bash/.status

fi

case “$1” in

on)

	rm ~/bash/.status

	echo "on">>~/bash/.status

	echo "Restarter eingeschaltet!"

	exit 1

;;

off)

	rm ~/bash/.status

            echo "off">>~/bash/.status

            echo "Restarter ausgeschaltet!"

	exit 1

;;

*)

	echo "Restarter: "`cat ~/bash/.status`

	echo "Befehle: ${0} {on|off}"

	exit 2

esac

exit 0[/CODE]

in ~/.profile hab ich ~/bash zu $PATH hinzugefügt, damit ich die Scripte darin ohne Pfadangabe nutzen kann:

export PATH=$PATH:~/bash:

crontab -e

* * * * * ~/bash/checkTC.sh >>/dev/null

Danke erstmal für das Script aber wie ist denn die genaue Start vorgabe nun?

Ich habe es nun so getestet.

Habe denn Server nicht gestartet und einfach nur das on/off script eingeschalten.

Dann bekomme ich aber vom Cron eine mail mit dem Inhalt.

gdb: no process killed

worldserver: no process killed

/dev/null: no process killed

mv: cannot stat `/home/wowserver/backtrace.log’: No such file or directory

Wo muss denn die crashreport.gdb genau liegen.

Wo liegt der Fehler?

Man bekommt ne mail vom cron-daemon weil das Script eine Ausgabe erzeugt. Eigentlich sollte das mit >/dev/null umgangen werden, was aber leider nicht richtig funktioniert.

Die Meldungen kann man aber getrost ignorieren… Schau mal per ‘ps x’ ob gdb läuft. Mit ‘screen -r world’ kommst auf die Worldserver-Konsole

Die crashreport.gdb liegt bei mir sowohl in ~ als auch in ~/bash (wo das Script liegt), da ich das noch für andere Zwecke verwende. Zurnot könntest du aber beim gdb-Befehl im Bashscript nen Pfad angeben… ~/crashreport.gdb o.ä.

Hallo zusammen. Ich bräuchte mal Hilfe.

Der Debugger schmeißt folgende Infos raus:


--- DEBUG: --- START


[Thread debugging using libthread_db enabled]

[New Thread 0x7ffff33ff700 (LWP 31716)]

[Thread 0x7ffff33ff700 (LWP 31716) exited]

[New Thread 0x7ffff33ff700 (LWP 31717)]

[New Thread 0x7ffff1fff700 (LWP 31718)]

[New Thread 0x7ffff0fff700 (LWP 31720)]

[New Thread 0x7fffcfbff700 (LWP 31727)]

[New Thread 0x7fffcf3fe700 (LWP 31728)]

[New Thread 0x7fffce3ff700 (LWP 31729)]

[New Thread 0x7fffcd3ff700 (LWP 31730)]

[New Thread 0x7fffc53ff700 (LWP 31731)]

[New Thread 0x7fffc43ff700 (LWP 31732)]

[New Thread 0x7fffc33ff700 (LWP 31733)]

[Thread 0x7fffc43ff700 (LWP 31732) exited]

[New Thread 0x7fffc2bfe700 (LWP 31734)]

[New Thread 0x7fffc17ff700 (LWP 31735)]

[New Thread 0x7fffc07ff700 (LWP 31736)]

[New Thread 0x7fffbf7ff700 (LWP 31737)]

[New Thread 0x7fffbe7ff700 (LWP 31738)]

[New Thread 0x7fffbd7ff700 (LWP 31739)]

[New Thread 0x7fffbc3ff700 (LWP 31740)]

[New Thread 0x7fffbb7fe700 (LWP 31741)]

[New Thread 0x7fffba7ff700 (LWP 31742)]

[New Thread 0x7fffb97ff700 (LWP 31743)]

[New Thread 0x7fffb87ff700 (LWP 31744)]


Program received signal SIGSEGV, Segmentation fault.

[Switching to Thread 0x7fffcd3ff700 (LWP 31730)]

0x0000000000000033 in ?? ()


--- DEBUG: BACKTRACE FULL


#0  0x0000000000000033 in ?? ()

No symbol table info available.

Cannot access memory at address 0x2b


--- DEBUG: INFO REGISTERS


rax            0x4e	78

rbx            0x7ffff4695890	140737293932688

rcx            0x0	0

rdx            0x7ffff7d6ad5f	140737351429471

rsi            0x7ffff7d6ad5f	140737351429471

rdi            0xffffffffffffffff	-1

rbp            0x7fff82318780	0x7fff82318780

rsp            0x2b	0x2b

r8             0x0	0

r9             0x7fffce547280	140736655028864

r10            0x7ffff820bc80	140737356283008

r11            0x6	6

r12            0x1b4	436

r13            0x7fffa40a7000	140735945535488

r14            0x0	0

r15            0x7fffcd3fedc0	140736636906944

rip            0x33	0x33

eflags         0xcd3fdac0	[ ZF SF IF OF #12 NT #15 RF VM AC VIF VIP ID #24 #26 #27 #30 #31 ]

cs             0x206	518

ss             0x2b	43

ds             0x0	0

es             0x0	0

fs             0x0	0

gs             0x0	0


--- DEBUG: CALLS (x/32i $pc)



--- DEBUG: THREAD APPLY ALL BACKTRACE


Thread 23 (Thread 0x7fffb87ff700 (LWP 31744)):

#0  0x00007ffff461cce3 in epoll_wait () from /lib64/libc.so.6

#1  0x00007ffff5f866a5 in ACE_Dev_Poll_Reactor::work_pending_i(ACE_Time_Value*) () from /usr/lib64/libACE-5.8.3.so

#2  0x00007ffff5f89260 in ACE_Dev_Poll_Reactor::handle_events_i(ACE_Time_Value*, ACE_Dev_Poll_Reactor::Token_Guard&) () from /usr/lib64/libACE-5.8.3.so

#3  0x00007ffff5f89486 in ACE_Dev_Poll_Reactor::handle_events(ACE_Time_Value*) () from /usr/lib64/libACE-5.8.3.so

#4  0x00007ffff5fe81ed in ACE_Reactor::run_reactor_event_loop(ACE_Time_Value&, int (*)(ACE_Reactor*)) () from /usr/lib64/libACE-5.8.3.so

#5  0x00007ffff743b326 in ReactorRunnable::svc (this=0x7fffc9b58fe8) at /home/trinityuser/src/src/server/game/Server/WorldSocketMgr.cpp:169

#6  0x00007ffff600eb77 in ACE_Task_Base::svc_run(void*) () from /usr/lib64/libACE-5.8.3.so

#7  0x00007ffff60100e1 in ACE_Thread_Adapter::invoke() () from /usr/lib64/libACE-5.8.3.so

#8  0x00007ffff48d1c1a in start_thread () from /lib64/libpthread.so.0

#9  0x00007ffff461c68d in clone () from /lib64/libc.so.6


Thread 22 (Thread 0x7fffb97ff700 (LWP 31743)):

#0  0x00007ffff461cce3 in epoll_wait () from /lib64/libc.so.6

#1  0x00007ffff5f866a5 in ACE_Dev_Poll_Reactor::work_pending_i(ACE_Time_Value*) () from /usr/lib64/libACE-5.8.3.so

#2  0x00007ffff5f89260 in ACE_Dev_Poll_Reactor::handle_events_i(ACE_Time_Value*, ACE_Dev_Poll_Reactor::Token_Guard&) () from /usr/lib64/libACE-5.8.3.so

#3  0x00007ffff5f89486 in ACE_Dev_Poll_Reactor::handle_events(ACE_Time_Value*) () from /usr/lib64/libACE-5.8.3.so

#4  0x00007ffff5fe81ed in ACE_Reactor::run_reactor_event_loop(ACE_Time_Value&, int (*)(ACE_Reactor*)) () from /usr/lib64/libACE-5.8.3.so

#5  0x00007ffff743b326 in ReactorRunnable::svc (this=0x7fffc9b58eb0) at /home/trinityuser/src/src/server/game/Server/WorldSocketMgr.cpp:169

#6  0x00007ffff600eb77 in ACE_Task_Base::svc_run(void*) () from /usr/lib64/libACE-5.8.3.so

#7  0x00007ffff60100e1 in ACE_Thread_Adapter::invoke() () from /usr/lib64/libACE-5.8.3.so

#8  0x00007ffff48d1c1a in start_thread () from /lib64/libpthread.so.0

#9  0x00007ffff461c68d in clone () from /lib64/libc.so.6


Thread 21 (Thread 0x7fffba7ff700 (LWP 31742)):

#0  0x00007ffff461cce3 in epoll_wait () from /lib64/libc.so.6

#1  0x00007ffff5f866a5 in ACE_Dev_Poll_Reactor::work_pending_i(ACE_Time_Value*) () from /usr/lib64/libACE-5.8.3.so

#2  0x00007ffff5f89260 in ACE_Dev_Poll_Reactor::handle_events_i(ACE_Time_Value*, ACE_Dev_Poll_Reactor::Token_Guard&) () from /usr/lib64/libACE-5.8.3.so

#3  0x00007ffff5f89486 in ACE_Dev_Poll_Reactor::handle_events(ACE_Time_Value*) () from /usr/lib64/libACE-5.8.3.so

#4  0x00007ffff5fe81ed in ACE_Reactor::run_reactor_event_loop(ACE_Time_Value&, int (*)(ACE_Reactor*)) () from /usr/lib64/libACE-5.8.3.so

#5  0x00007ffff743b326 in ReactorRunnable::svc (this=0x7fffc9b58d78) at /home/trinityuser/src/src/server/game/Server/WorldSocketMgr.cpp:169

#6  0x00007ffff600eb77 in ACE_Task_Base::svc_run(void*) () from /usr/lib64/libACE-5.8.3.so

#7  0x00007ffff60100e1 in ACE_Thread_Adapter::invoke() () from /usr/lib64/libACE-5.8.3.so

#8  0x00007ffff48d1c1a in start_thread () from /lib64/libpthread.so.0

#9  0x00007ffff461c68d in clone () from /lib64/libc.so.6


Thread 20 (Thread 0x7fffbb7fe700 (LWP 31741)):

#0  0x00007ffff461cce3 in epoll_wait () from /lib64/libc.so.6

#1  0x00007ffff5f866a5 in ACE_Dev_Poll_Reactor::work_pending_i(ACE_Time_Value*) () from /usr/lib64/libACE-5.8.3.so

#2  0x00007ffff5f89260 in ACE_Dev_Poll_Reactor::handle_events_i(ACE_Time_Value*, ACE_Dev_Poll_Reactor::Token_Guard&) () from /usr/lib64/libACE-5.8.3.so

#3  0x00007ffff5f89486 in ACE_Dev_Poll_Reactor::handle_events(ACE_Time_Value*) () from /usr/lib64/libACE-5.8.3.so

#4  0x00007ffff5fe81ed in ACE_Reactor::run_reactor_event_loop(ACE_Time_Value&, int (*)(ACE_Reactor*)) () from /usr/lib64/libACE-5.8.3.so

#5  0x00007ffff743b326 in ReactorRunnable::svc (this=0x7fffc9b58c40) at /home/trinityuser/src/src/server/game/Server/WorldSocketMgr.cpp:169

#6  0x00007ffff600eb77 in ACE_Task_Base::svc_run(void*) () from /usr/lib64/libACE-5.8.3.so

#7  0x00007ffff60100e1 in ACE_Thread_Adapter::invoke() () from /usr/lib64/libACE-5.8.3.so

#8  0x00007ffff48d1c1a in start_thread () from /lib64/libpthread.so.0

#9  0x00007ffff461c68d in clone () from /lib64/libc.so.6


Thread 19 (Thread 0x7fffbc3ff700 (LWP 31740)):

#0  0x00007ffff461cce3 in epoll_wait () from /lib64/libc.so.6

#1  0x00007ffff5f866a5 in ACE_Dev_Poll_Reactor::work_pending_i(ACE_Time_Value*) () from /usr/lib64/libACE-5.8.3.so

#2  0x00007ffff5f89260 in ACE_Dev_Poll_Reactor::handle_events_i(ACE_Time_Value*, ACE_Dev_Poll_Reactor::Token_Guard&) () from /usr/lib64/libACE-5.8.3.so

#3  0x00007ffff5f89486 in ACE_Dev_Poll_Reactor::handle_events(ACE_Time_Value*) () from /usr/lib64/libACE-5.8.3.so

#4  0x00007ffff5fe81ed in ACE_Reactor::run_reactor_event_loop(ACE_Time_Value&, int (*)(ACE_Reactor*)) () from /usr/lib64/libACE-5.8.3.so

#5  0x00007ffff743b326 in ReactorRunnable::svc (this=0x7fffc9b58b08) at /home/trinityuser/src/src/server/game/Server/WorldSocketMgr.cpp:169

#6  0x00007ffff600eb77 in ACE_Task_Base::svc_run(void*) () from /usr/lib64/libACE-5.8.3.so

#7  0x00007ffff60100e1 in ACE_Thread_Adapter::invoke() () from /usr/lib64/libACE-5.8.3.so

#8  0x00007ffff48d1c1a in start_thread () from /lib64/libpthread.so.0

#9  0x00007ffff461c68d in clone () from /lib64/libc.so.6


Thread 18 (Thread 0x7fffbd7ff700 (LWP 31739)):

#0  0x00007ffff48d656c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0

#1  0x00007ffff5f74165 in ACE_Condition_Thread_Mutex::wait(ACE_Thread_Mutex&, ACE_Time_Value const*) () from /usr/lib64/libACE-5.8.3.so

#2  0x00007ffff708736b in ACE_Message_Queue<ACE_MT_SYNCH>::wait_not_empty_cond (this=0x7fffc1c0a100, timeout=0x0) at /usr/include/ace/Message_Queue_T.cpp:1744

#3  0x00007ffff7088e5f in ACE_Message_Queue<ACE_MT_SYNCH>::dequeue_head (this=0x7fffc1c0a100, first_item=@0x7fffbd7fee40, timeout=0x0) at /usr/include/ace/Message_Queue_T.cpp:1936

#4  0x00007ffff708babe in getq (this=0x7fffc33fedb0) at /usr/include/ace/Task_T.inl:22

#5  SOAPWorkingThread::svc (this=0x7fffc33fedb0) at /home/trinityuser/src/src/server/worldserver/TCSoap/TCSoap.h:58

#6  0x00007ffff600eb77 in ACE_Task_Base::svc_run(void*) () from /usr/lib64/libACE-5.8.3.so

#7  0x00007ffff60100e1 in ACE_Thread_Adapter::invoke() () from /usr/lib64/libACE-5.8.3.so

#8  0x00007ffff48d1c1a in start_thread () from /lib64/libpthread.so.0

#9  0x00007ffff461c68d in clone () from /lib64/libc.so.6


Thread 17 (Thread 0x7fffbe7ff700 (LWP 31738)):

#0  0x00007ffff48d656c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0

#1  0x00007ffff5f74165 in ACE_Condition_Thread_Mutex::wait(ACE_Thread_Mutex&, ACE_Time_Value const*) () from /usr/lib64/libACE-5.8.3.so

#2  0x00007ffff708736b in ACE_Message_Queue<ACE_MT_SYNCH>::wait_not_empty_cond (this=0x7fffc1c0a100, timeout=0x0) at /usr/include/ace/Message_Queue_T.cpp:1744

#3  0x00007ffff7088e5f in ACE_Message_Queue<ACE_MT_SYNCH>::dequeue_head (this=0x7fffc1c0a100, first_item=@0x7fffbe7fee40, timeout=0x0) at /usr/include/ace/Message_Queue_T.cpp:1936

#4  0x00007ffff708babe in getq (this=0x7fffc33fedb0) at /usr/include/ace/Task_T.inl:22

#5  SOAPWorkingThread::svc (this=0x7fffc33fedb0) at /home/trinityuser/src/src/server/worldserver/TCSoap/TCSoap.h:58

#6  0x00007ffff600eb77 in ACE_Task_Base::svc_run(void*) () from /usr/lib64/libACE-5.8.3.so

#7  0x00007ffff60100e1 in ACE_Thread_Adapter::invoke() () from /usr/lib64/libACE-5.8.3.so

#8  0x00007ffff48d1c1a in start_thread () from /lib64/libpthread.so.0

#9  0x00007ffff461c68d in clone () from /lib64/libc.so.6


Thread 16 (Thread 0x7fffbf7ff700 (LWP 31737)):

#0  0x00007ffff48d656c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0

#1  0x00007ffff5f74165 in ACE_Condition_Thread_Mutex::wait(ACE_Thread_Mutex&, ACE_Time_Value const*) () from /usr/lib64/libACE-5.8.3.so

#2  0x00007ffff708736b in ACE_Message_Queue<ACE_MT_SYNCH>::wait_not_empty_cond (this=0x7fffc1c0a100, timeout=0x0) at /usr/include/ace/Message_Queue_T.cpp:1744

#3  0x00007ffff7088e5f in ACE_Message_Queue<ACE_MT_SYNCH>::dequeue_head (this=0x7fffc1c0a100, first_item=@0x7fffbf7fee40, timeout=0x0) at /usr/include/ace/Message_Queue_T.cpp:1936

#4  0x00007ffff708babe in getq (this=0x7fffc33fedb0) at /usr/include/ace/Task_T.inl:22

#5  SOAPWorkingThread::svc (this=0x7fffc33fedb0) at /home/trinityuser/src/src/server/worldserver/TCSoap/TCSoap.h:58

#6  0x00007ffff600eb77 in ACE_Task_Base::svc_run(void*) () from /usr/lib64/libACE-5.8.3.so

#7  0x00007ffff60100e1 in ACE_Thread_Adapter::invoke() () from /usr/lib64/libACE-5.8.3.so

#8  0x00007ffff48d1c1a in start_thread () from /lib64/libpthread.so.0

#9  0x00007ffff461c68d in clone () from /lib64/libc.so.6


Thread 15 (Thread 0x7fffc07ff700 (LWP 31736)):

#0  0x00007ffff48d656c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0

#1  0x00007ffff5f74165 in ACE_Condition_Thread_Mutex::wait(ACE_Thread_Mutex&, ACE_Time_Value const*) () from /usr/lib64/libACE-5.8.3.so

#2  0x00007ffff708736b in ACE_Message_Queue<ACE_MT_SYNCH>::wait_not_empty_cond (this=0x7fffc1c0a100, timeout=0x0) at /usr/include/ace/Message_Queue_T.cpp:1744

#3  0x00007ffff7088e5f in ACE_Message_Queue<ACE_MT_SYNCH>::dequeue_head (this=0x7fffc1c0a100, first_item=@0x7fffc07fee40, timeout=0x0) at /usr/include/ace/Message_Queue_T.cpp:1936

#4  0x00007ffff708babe in getq (this=0x7fffc33fedb0) at /usr/include/ace/Task_T.inl:22

#5  SOAPWorkingThread::svc (this=0x7fffc33fedb0) at /home/trinityuser/src/src/server/worldserver/TCSoap/TCSoap.h:58

#6  0x00007ffff600eb77 in ACE_Task_Base::svc_run(void*) () from /usr/lib64/libACE-5.8.3.so

#7  0x00007ffff60100e1 in ACE_Thread_Adapter::invoke() () from /usr/lib64/libACE-5.8.3.so

#8  0x00007ffff48d1c1a in start_thread () from /lib64/libpthread.so.0

#9  0x00007ffff461c68d in clone () from /lib64/libc.so.6


Thread 14 (Thread 0x7fffc17ff700 (LWP 31735)):

#0  0x00007ffff48d656c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0

#1  0x00007ffff5f74165 in ACE_Condition_Thread_Mutex::wait(ACE_Thread_Mutex&, ACE_Time_Value const*) () from /usr/lib64/libACE-5.8.3.so

#2  0x00007ffff708736b in ACE_Message_Queue<ACE_MT_SYNCH>::wait_not_empty_cond (this=0x7fffc1c0a100, timeout=0x0) at /usr/include/ace/Message_Queue_T.cpp:1744

#3  0x00007ffff7088e5f in ACE_Message_Queue<ACE_MT_SYNCH>::dequeue_head (this=0x7fffc1c0a100, first_item=@0x7fffc17fee40, timeout=0x0) at /usr/include/ace/Message_Queue_T.cpp:1936

#4  0x00007ffff708babe in getq (this=0x7fffc33fedb0) at /usr/include/ace/Task_T.inl:22

#5  SOAPWorkingThread::svc (this=0x7fffc33fedb0) at /home/trinityuser/src/src/server/worldserver/TCSoap/TCSoap.h:58

#6  0x00007ffff600eb77 in ACE_Task_Base::svc_run(void*) () from /usr/lib64/libACE-5.8.3.so

#7  0x00007ffff60100e1 in ACE_Thread_Adapter::invoke() () from /usr/lib64/libACE-5.8.3.so

#8  0x00007ffff48d1c1a in start_thread () from /lib64/libpthread.so.0

#9  0x00007ffff461c68d in clone () from /lib64/libc.so.6


Thread 13 (Thread 0x7fffc2bfe700 (LWP 31734)):

#0  0x00007ffff48d9c8d in nanosleep () from /lib64/libpthread.so.0

#1  0x00007ffff765de59 in sleep (msecs=<value optimized out>) at /usr/include/ace/OS_NS_unistd.inl:951

#2  ACE_Based::Thread::Sleep (msecs=<value optimized out>) at /home/trinityuser/src/src/server/shared/Threading/Threading.cpp:231

#3  0x00007ffff7092cf9 in FreezeDetectorRunnable::run (this=0x7fffc564bc10) at /home/trinityuser/src/src/server/worldserver/Master.cpp:120

#4  0x00007ffff765da9e in ACE_Based::Thread::ThreadTask (param=<value optimized out>) at /home/trinityuser/src/src/server/shared/Threading/Threading.cpp:183

#5  0x00007ffff48d1c1a in start_thread () from /lib64/libpthread.so.0

#6  0x00007ffff461c68d in clone () from /lib64/libc.so.6


Thread 12 (Thread 0x7fffc33ff700 (LWP 31733)):

#0  0x00007ffff4615e93 in select () from /lib64/libc.so.6

#1  0x00007ffff7ce5e0c in tcp_select (s=38, flags=<value optimized out>, timeout=<value optimized out>, soap=<value optimized out>) at /home/trinityuser/src/dep/gsoap/stdsoap2.cpp:4402

#2  0x00007ffff7d0a934 in soap_accept (soap=0x7fffc33d7540) at /home/trinityuser/src/dep/gsoap/stdsoap2.cpp:4810

#3  0x00007ffff708b015 in TCSoapRunnable::run (this=<value optimized out>) at /home/trinityuser/src/src/server/worldserver/TCSoap/TCSoap.cpp:49

#4  0x00007ffff765da9e in ACE_Based::Thread::ThreadTask (param=<value optimized out>) at /home/trinityuser/src/src/server/shared/Threading/Threading.cpp:183

#5  0x00007ffff48d1c1a in start_thread () from /lib64/libpthread.so.0

#6  0x00007ffff461c68d in clone () from /lib64/libc.so.6


Thread 10 (Thread 0x7fffc53ff700 (LWP 31731)):

#0  0x00007ffff48d656c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0

#1  0x00007ffff5f7407e in ACE_Condition_Thread_Mutex::wait() () from /usr/lib64/libACE-5.8.3.so

#2  0x00007ffff7391eb0 in MapUpdater::wait (this=0x7ffff347a538) at /home/trinityuser/src/src/server/game/Maps/MapUpdater.cpp:87

#3  0x00007ffff7375ac2 in MapManager::Update (this=0x7ffff347a408, diff=<value optimized out>) at /home/trinityuser/src/src/server/game/Maps/MapManager.cpp:275

#4  0x00007ffff74cc044 in World::Update (this=0x7ffff34d8808, diff=436) at /home/trinityuser/src/src/server/game/World/World.cpp:1970

#5  0x00007ffff708c038 in WorldRunnable::run (this=<value optimized out>) at /home/trinityuser/src/src/server/worldserver/WorldThread/WorldRunnable.cpp:59

#6  0x00007ffff765da9e in ACE_Based::Thread::ThreadTask (param=<value optimized out>) at /home/trinityuser/src/src/server/shared/Threading/Threading.cpp:183

#7  0x00007ffff48d1c1a in start_thread () from /lib64/libpthread.so.0

#8  0x00007ffff461c68d in clone () from /lib64/libc.so.6


Thread 9 (Thread 0x7fffcd3ff700 (LWP 31730)):

#0  0x0000000000000033 in ?? ()

Cannot access memory at address 0x2b


Thread 8 (Thread 0x7fffce3ff700 (LWP 31729)):

#0  0x0000000000000033 in ?? ()

Cannot access memory at address 0x2b


Thread 7 (Thread 0x7fffcf3fe700 (LWP 31728)):

#0  0x00007ffff48d656c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0

#1  0x00007ffff5f74165 in ACE_Condition_Thread_Mutex::wait(ACE_Thread_Mutex&, ACE_Time_Value const*) () from /usr/lib64/libACE-5.8.3.so

#2  0x00007ffff708736b in ACE_Message_Queue<ACE_MT_SYNCH>::wait_not_empty_cond (this=0x7fffe1ad4100, timeout=0x0) at /usr/include/ace/Message_Queue_T.cpp:1744

#3  0x00007ffff7088e5f in ACE_Message_Queue<ACE_MT_SYNCH>::dequeue_head (this=0x7fffe1ad4100, first_item=@0x7fffcf3fde20, timeout=0x0) at /usr/include/ace/Message_Queue_T.cpp:1936

#4  0x00007ffff5f562df in ACE_Activation_Queue::dequeue(ACE_Time_Value*) () from /usr/lib64/libACE-5.8.3.so

#5  0x00007ffff765ef1d in DelayExecutor::svc (this=0x7ffff347a540) at /home/trinityuser/src/src/server/shared/Threading/DelayExecutor.cpp:47

#6  0x00007ffff600eb77 in ACE_Task_Base::svc_run(void*) () from /usr/lib64/libACE-5.8.3.so

#7  0x00007ffff60100e1 in ACE_Thread_Adapter::invoke() () from /usr/lib64/libACE-5.8.3.so

#8  0x00007ffff48d1c1a in start_thread () from /lib64/libpthread.so.0

#9  0x00007ffff461c68d in clone () from /lib64/libc.so.6


Thread 6 (Thread 0x7fffcfbff700 (LWP 31727)):

#0  0x0000000000000033 in ?? ()

Cannot access memory at address 0x2b


Thread 5 (Thread 0x7ffff0fff700 (LWP 31720)):

#0  0x00007ffff48d656c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0

#1  0x00007ffff5f74165 in ACE_Condition_Thread_Mutex::wait(ACE_Thread_Mutex&, ACE_Time_Value const*) () from /usr/lib64/libACE-5.8.3.so

#2  0x00007ffff708736b in ACE_Message_Queue<ACE_MT_SYNCH>::wait_not_empty_cond (this=0x7ffff340d400, timeout=0x0) at /usr/include/ace/Message_Queue_T.cpp:1744

#3  0x00007ffff7088e5f in ACE_Message_Queue<ACE_MT_SYNCH>::dequeue_head (this=0x7ffff340d400, first_item=@0x7ffff0ffee20, timeout=0x0) at /usr/include/ace/Message_Queue_T.cpp:1936

#4  0x00007ffff5f562df in ACE_Activation_Queue::dequeue(ACE_Time_Value*) () from /usr/lib64/libACE-5.8.3.so

#5  0x00007ffff7665530 in DatabaseWorker::svc (this=0x7ffff3416280) at /home/trinityuser/src/src/server/shared/Database/DatabaseWorker.cpp:40

#6  0x00007ffff600eb77 in ACE_Task_Base::svc_run(void*) () from /usr/lib64/libACE-5.8.3.so

#7  0x00007ffff60100e1 in ACE_Thread_Adapter::invoke() () from /usr/lib64/libACE-5.8.3.so

#8  0x00007ffff48d1c1a in start_thread () from /lib64/libpthread.so.0

#9  0x00007ffff461c68d in clone () from /lib64/libc.so.6


Thread 4 (Thread 0x7ffff1fff700 (LWP 31718)):

#0  0x00007ffff48d656c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0

#1  0x00007ffff5f74165 in ACE_Condition_Thread_Mutex::wait(ACE_Thread_Mutex&, ACE_Time_Value const*) () from /usr/lib64/libACE-5.8.3.so

#2  0x00007ffff708736b in ACE_Message_Queue<ACE_MT_SYNCH>::wait_not_empty_cond (this=0x7ffff340d300, timeout=0x0) at /usr/include/ace/Message_Queue_T.cpp:1744

#3  0x00007ffff7088e5f in ACE_Message_Queue<ACE_MT_SYNCH>::dequeue_head (this=0x7ffff340d300, first_item=@0x7ffff1ffee20, timeout=0x0) at /usr/include/ace/Message_Queue_T.cpp:1936

#4  0x00007ffff5f562df in ACE_Activation_Queue::dequeue(ACE_Time_Value*) () from /usr/lib64/libACE-5.8.3.so

#5  0x00007ffff7665530 in DatabaseWorker::svc (this=0x7ffff34146c0) at /home/trinityuser/src/src/server/shared/Database/DatabaseWorker.cpp:40

#6  0x00007ffff600eb77 in ACE_Task_Base::svc_run(void*) () from /usr/lib64/libACE-5.8.3.so

#7  0x00007ffff60100e1 in ACE_Thread_Adapter::invoke() () from /usr/lib64/libACE-5.8.3.so

#8  0x00007ffff48d1c1a in start_thread () from /lib64/libpthread.so.0

#9  0x00007ffff461c68d in clone () from /lib64/libc.so.6


Thread 3 (Thread 0x7ffff33ff700 (LWP 31717)):

#0  0x00007ffff48d656c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0

#1  0x00007ffff5f74165 in ACE_Condition_Thread_Mutex::wait(ACE_Thread_Mutex&, ACE_Time_Value const*) () from /usr/lib64/libACE-5.8.3.so

#2  0x00007ffff708736b in ACE_Message_Queue<ACE_MT_SYNCH>::wait_not_empty_cond (this=0x7ffff340d200, timeout=0x0) at /usr/include/ace/Message_Queue_T.cpp:1744

#3  0x00007ffff7088e5f in ACE_Message_Queue<ACE_MT_SYNCH>::dequeue_head (this=0x7ffff340d200, first_item=@0x7ffff33fee20, timeout=0x0) at /usr/include/ace/Message_Queue_T.cpp:1936

#4  0x00007ffff5f562df in ACE_Activation_Queue::dequeue(ACE_Time_Value*) () from /usr/lib64/libACE-5.8.3.so

#5  0x00007ffff7665530 in DatabaseWorker::svc (this=0x7ffff3414480) at /home/trinityuser/src/src/server/shared/Database/DatabaseWorker.cpp:40

#6  0x00007ffff600eb77 in ACE_Task_Base::svc_run(void*) () from /usr/lib64/libACE-5.8.3.so

#7  0x00007ffff60100e1 in ACE_Thread_Adapter::invoke() () from /usr/lib64/libACE-5.8.3.so

#8  0x00007ffff48d1c1a in start_thread () from /lib64/libpthread.so.0

#9  0x00007ffff461c68d in clone () from /lib64/libc.so.6


Thread 1 (Thread 0x7ffff692f720 (LWP 31713)):

#0  0x00007ffff48d2f9d in pthread_join () from /lib64/libpthread.so.0

#1  0x00007ffff601647e in ACE_Thread_Manager::wait_task(ACE_Task_Base*) () from /usr/lib64/libACE-5.8.3.so

#2  0x00007ffff74395e8 in Wait (this=0x7fffc56453c8) at /home/trinityuser/src/src/server/game/Server/WorldSocketMgr.cpp:102

#3  WorldSocketMgr::Wait (this=0x7fffc56453c8) at /home/trinityuser/src/src/server/game/Server/WorldSocketMgr.cpp:318

#4  0x00007ffff7091e75 in Master::Run (this=0x7ffff3411108) at /home/trinityuser/src/src/server/worldserver/Master.cpp:348

#5  0x00007ffff4563f0d in __libc_start_main () from /lib64/libc.so.6

#6  0x00007ffff707ed49 in _start ()


--- DEBUG: --- STOP

Leider kann man damit nicht wirklich etwas anfangen. Hat jemand eine Lösung dafür?

Grüße

Raccoon