i Use Centos 6 And Need To know why I Dont have Crash log
I Compile Trinity with [ debug mode]
cmake …/ -DCMAKE_INSTALL_PREFIX=/home/server -DCONF_DIR=/home/server/etc -DWITH_WARNINGS=1 -DWITH_COREDEBUG=1
-make -make install
when my server Crashed i dont have Crash log on my [crashes] File or log file or others…
what is my problem ?
i am new on linux !
You don’t have read the readme 1st thread nor the warning message when enabling [COLOR=rgb(39,42,52)]-DWITH_COREDEBUG=1
[FONT=‘Helvetica Neue’][You don’t have read the readme 1st thread] [/FONT]
sorry i checked it now
[FONT=‘Helvetica Neue’][nor the warning message when enabling -DWITH_COREDEBUG=1[/FONT] ]
you say i use this ?
cmake …/ -DCMAKE_INSTALL_PREFIX=/home/server -DCONF_DIR=/home/server/etc -DWITH_COREDEBUG=1
my problem is : when server Crashed i Dont have crash log in Crashes/logs/etc folders [ Like Windows when crash u have a log file on Crashes folder ]
if( WITH_COREDEBUG )
message(“”)
message(" *** WITH_COREDEBUG - WARNING!“)
message(” *** additional core debug logs have been enabled!“)
message(” *** this setting doesn’t help to get better crash logs!“)
message(” *** in case you are searching for better crash logs use")
message(" *** -DCMAKE_BUILD_TYPE=RelWithDebug")
https://community.trinitycore.org/topic/1518-trouble-with-your-trinity-install-readme-1st-faqs/#comment-47672
BIG thanks Aokromes
Questation !?
If your core lags to much change -O0 by -Og or even -O1. Then copy TrinityCore/contrib/debugger/crashreport.gdb to your Trinitycore’s bin directory and create a file with the following lines and make it runable:
[CODE]
cp backtrace.log backtrace.date +%Y%m%d-%H%M%S
.log
screen -A -m -d -S tri_world gdb -x crashreport.gdb ./worldserver -c …/etc/worldserver.conf[/CODE]
i creat server/bin/crashreport.sh with this lines .
1-need start crashreport.sh ? 2- or just start worldserver ?! ( i test start crashreport.sh and see empty screen)
if 1 True ! what command USE for Start this 2 line ?!