Created
June 13, 2019 10:11
-
-
Save jackpoz/d8fc88c895274cc7c4c28728ea54feb8 to your computer and use it in GitHub Desktop.
TC test server upgrade
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ASAN_OPTIONS=halt_on_error=0:verbosity=1:log_path=authasan/authasan:detect_stack_use_after_return=1 LSAN_OPTIONS=verbosity=1:log_threads=1 ./authserver |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git pull trinity 3.3.5 | |
mkdir -p asan | |
cd asan | |
cmake .. -DCMAKE_INSTALL_PREFIX=/home/trinity/trinity -DWITH_COREDEBUG=FALSE -DWITH_WARNINGS=TRUE -DCMAKE_BUILD_TYPE=RelWithDebInfo -DNOJEM=TRUE -DSCRIPTS=static -DTOOLS=FALSE -DCMAKE_CXX_FLAGS="-fno-omit-frame-pointer -fsanitize=address -fsanitize-recover=address -fsanitize-address-use-after-scope" -DCMAKE_C_FLAGS="-fno-omit-frame-pointer -fsanitize=address -fsanitize-recover=address -fsanitize-address-use-after-scope" | |
make -j 2 | |
#make install |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd asan | |
make install |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
screen -A -d -m -S tri_auth ./authasan.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
screen -A -d -m -S tri_world ./worldasan.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd trinity/sources | |
sh buildasan.sh | |
screen -S tri_auth -X stuff $'\003' | |
screen -S tri_world -X stuff $'\003' | |
sh installasan.sh | |
cd ../bin | |
sh scauthasan.sh | |
sh scworldasan.sh | |
screen -ls |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ASAN_OPTIONS=halt_on_error=0:verbosity=1:log_path=worldasan/worldasan:detect_stack_use_after_return=1 LSAN_OPTIONS=verbosity=1:log_threads=1 ./worldserver |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment