diff options
| author | Christian Krinitsin <mail@krinitsin.com> | 2025-07-16 14:55:48 +0200 |
|---|---|---|
| committer | Christian Krinitsin <mail@krinitsin.com> | 2025-07-16 14:55:48 +0200 |
| commit | 63d2e9d409831aa8582787234cae4741847504b7 (patch) | |
| tree | 595fae753d2eb293437226eaab2eed208463f132 /results/scraper/box64/845 | |
| parent | 2843bb65aeaeb86eb89bf3d9690db61b9dc6306e (diff) | |
| download | qemu-analysis-63d2e9d409831aa8582787234cae4741847504b7.tar.gz qemu-analysis-63d2e9d409831aa8582787234cae4741847504b7.zip | |
add box64 bug reports box64
Diffstat (limited to 'results/scraper/box64/845')
| -rw-r--r-- | results/scraper/box64/845 | 221 |
1 files changed, 221 insertions, 0 deletions
diff --git a/results/scraper/box64/845 b/results/scraper/box64/845 new file mode 100644 index 000000000..3a45bc2e3 --- /dev/null +++ b/results/scraper/box64/845 @@ -0,0 +1,221 @@ +Garrys Mod Linux AMD64 - Symbol Not Found +Hello when I am trying to start up Garrys Mod i get the following error + +``` +brax_ton@penguin:~/GarrysMod$ ./start.sh +Box86 with Dynarec v0.3.1 5cdc1b9f built on Jun 17 2023 18:36:53 +Error: reading elf header of /home/brax_ton/GarrysMod/game/bin/linux64/gmod, try to launch using box64 instead +Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL PageSize:4096 Running on Cortex-A53 with 8 Cores +Params database has 24 entries +Box64 with Dynarec v0.2.3 7e282c90 built on Jun 15 2023 06:36:07 +Using default BOX64_LD_LIBRARY_PATH: ./:lib/:lib64/:x86_64/:bin64/:libs64/ +Using default BOX64_PATH: ./:bin/ +Counted 45 Env var +Looking for /home/brax_ton/GarrysMod/game/bin/linux64/gmod +argv[1]="-game" +argv[2]="garrysmod" +Rename process to "gmod" +Using native(wrapped) libdl.so.2 +Using native(wrapped) libc.so.6 +Using native(wrapped) ld-linux-x86-64.so.2 +Using native(wrapped) libpthread.so.0 +Using native(wrapped) libutil.so.1 +Using native(wrapped) librt.so.1 +Using emulated /home/brax_ton/GarrysMod/game/bin/linux64/launcher_client.so +Using emulated /home/brax_ton/GarrysMod/game/bin/linux64/libtier0_client.so +Using emulated /home/brax_ton/GarrysMod/game/bin/linux64/libvstdlib_client.so +Using emulated /home/brax_ton/GarrysMod/game/bin/linux64/libsteam_api.so +Using emulated /home/brax_ton/GarrysMod/game/bin/linux64/libtogl_client.so +Using native(wrapped) libSDL2-2.0.so.0 +Using native(wrapped) libm.so.6 +Using emulated /lib/x86_64-linux-gnu/libstdc++.so.6 +Using emulated /lib/x86_64-linux-gnu/libgcc_s.so.1 +Warning: Weak Symbol _ITM_memcpyRtWn not found, cannot apply R_X86_64_JUMP_SLOT @0x101e68078 (0x990f6) +Warning: Weak Symbol _ITM_RU1 not found, cannot apply R_X86_64_JUMP_SLOT @0x101e68688 (0x99d16) +Warning: Weak Symbol _ZGTtdlPv not found, cannot apply R_X86_64_JUMP_SLOT @0x101e68b08 (0x9a616) +Warning: Weak Symbol _ITM_RU8 not found, cannot apply R_X86_64_JUMP_SLOT @0x101e68ff0 (0x9afe6) +Warning: Weak Symbol _ITM_memcpyRnWt not found, cannot apply R_X86_64_JUMP_SLOT @0x101e69480 (0x9b906) +Warning: Weak Symbol _ZGTtnam not found, cannot apply R_X86_64_JUMP_SLOT @0x101e69c80 (0x9c906) +Warning: Weak Symbol __gmon_start__ not found, cannot apply R_X86_64_JUMP_SLOT @0x10151a268 (0x111c06) +Error: Symbol _ZTVN10__cxxabiv120__si_class_type_infoE not found, cannot apply R_X86_64_64 @0x100a4db60 ((nil)) in /home/brax_ton/GarrysMod/game/bin/linux64/launcher_client.so +Error: Symbol _ZTVN10__cxxabiv120__si_class_type_infoE not found, cannot apply R_X86_64_64 @0x100a4dcd0 ((nil)) in /home/brax_ton/GarrysMod/game/bin/linux64/launcher_client.so +Error: Symbol _ZTVN10__cxxabiv120__si_class_type_infoE not found, cannot apply R_X86_64_64 @0x100a4dd00 ((nil)) in /home/brax_ton/GarrysMod/game/bin/linux64/launcher_client.so +Error: Symbol _ZTVN10__cxxabiv120__si_class_type_infoE not found, cannot apply R_X86_64_64 @0x100a4dde0 ((nil)) in /home/brax_ton/GarrysMod/game/bin/linux64/launcher_client.so +Error: Symbol _ZTVN10__cxxabiv120__si_class_type_infoE not found, cannot apply R_X86_64_64 @0x100a4deb0 ((nil)) in /home/brax_ton/GarrysMod/game/bin/linux64/launcher_client.so +Error: Symbol _ZTVN10__cxxabiv120__si_class_type_infoE not found, cannot apply R_X86_64_64 @0x100a4df20 ((nil)) in /home/brax_ton/GarrysMod/game/bin/linux64/launcher_client.so +Error: Symbol _ZTVN10__cxxabiv120__si_class_type_infoE not found, cannot apply R_X86_64_64 @0x100a4df40 ((nil)) in /home/brax_ton/GarrysMod/game/bin/linux64/launcher_client.so +Error: Symbol _ZTVN10__cxxabiv120__si_class_type_infoE not found, cannot apply R_X86_64_64 @0x100a4df60 ((nil)) in /home/brax_ton/GarrysMod/game/bin/linux64/launcher_client.so +Error: Symbol _ZTVN10__cxxabiv120__si_class_type_infoE not found, cannot apply R_X86_64_64 @0x100a4e3f0 ((nil)) in /home/brax_ton/GarrysMod/game/bin/linux64/launcher_client.so +Error: Symbol _ZTVN10__cxxabiv120__si_class_type_infoE not found, cannot apply R_X86_64_64 @0x100a4e410 ((nil)) in /home/brax_ton/GarrysMod/game/bin/linux64/launcher_client.so +Error: Symbol _ZTVN10__cxxabiv120__si_class_type_infoE not found, cannot apply R_X86_64_64 @0x100a4e4d0 ((nil)) in /home/brax_ton/GarrysMod/game/bin/linux64/launcher_client.so +Error: Symbol _ZTVN10__cxxabiv120__si_class_type_infoE not found, cannot apply R_X86_64_64 @0x100a4e4f0 ((nil)) in /home/brax_ton/GarrysMod/game/bin/linux64/launcher_client.so +Error: Symbol _ZTVN10__cxxabiv120__si_class_type_infoE not found, cannot apply R_X86_64_64 @0x100a4e580 ((nil)) in /home/brax_ton/GarrysMod/game/bin/linux64/launcher_client.so +Error: Symbol _ZTVN10__cxxabiv120__si_class_type_infoE not found, cannot apply R_X86_64_64 @0x100a4e5a0 ((nil)) in /home/brax_ton/GarrysMod/game/bin/linux64/launcher_client.so +Error: Symbol _ZTVN10__cxxabiv120__si_class_type_infoE not found, cannot apply R_X86_64_64 @0x100a4e720 ((nil)) in /home/brax_ton/GarrysMod/game/bin/linux64/launcher_client.so +Error: Symbol _ZTVN10__cxxabiv120__si_class_type_infoE not found, cannot apply R_X86_64_64 @0x100a4e740 ((nil)) in /home/brax_ton/GarrysMod/game/bin/linux64/launcher_client.so +Error: Symbol _ZTVN10__cxxabiv120__si_class_type_infoE not found, cannot apply R_X86_64_64 @0x100a4e760 ((nil)) in /home/brax_ton/GarrysMod/game/bin/linux64/launcher_client.so +Error: Symbol _ZTVN10__cxxabiv120__si_class_type_infoE not found, cannot apply R_X86_64_64 @0x100a4e860 ((nil)) in /home/brax_ton/GarrysMod/game/bin/linux64/launcher_client.so +Error: Symbol _ZTVN10__cxxabiv120__si_class_type_infoE not found, cannot apply R_X86_64_64 @0x100a4e890 ((nil)) in /home/brax_ton/GarrysMod/game/bin/linux64/launcher_client.so +Error: Symbol _ZTVN10__cxxabiv117__class_type_infoE not found, cannot apply R_X86_64_64 @0x100a4dcc0 ((nil)) in /home/brax_ton/GarrysMod/game/bin/linux64/launcher_client.so +Error: Symbol _ZTVN10__cxxabiv117__class_type_infoE not found, cannot apply R_X86_64_64 @0x100a4dcf0 ((nil)) in /home/brax_ton/GarrysMod/game/bin/linux64/launcher_client.so +Error: Symbol _ZTVN10__cxxabiv117__class_type_infoE not found, cannot apply R_X86_64_64 @0x100a4ddd0 ((nil)) in /home/brax_ton/GarrysMod/game/bin/linux64/launcher_client.so +Error: Symbol _ZTVN10__cxxabiv117__class_type_infoE not found, cannot apply R_X86_64_64 @0x100a4de80 ((nil)) in /home/brax_ton/GarrysMod/game/bin/linux64/launcher_client.so +Error: Symbol _ZTVN10__cxxabiv117__class_type_infoE not found, cannot apply R_X86_64_64 @0x100a4de90 ((nil)) in /home/brax_ton/GarrysMod/game/bin/linux64/launcher_client.so +Error: Symbol _ZTVN10__cxxabiv117__class_type_infoE not found, cannot apply R_X86_64_64 @0x100a4dea0 ((nil)) in /home/brax_ton/GarrysMod/game/bin/linux64/launcher_client.so +Error: Symbol _ZTVN10__cxxabiv117__class_type_infoE not found, cannot apply R_X86_64_64 @0x100a4e3a0 ((nil)) in /home/brax_ton/GarrysMod/game/bin/linux64/launcher_client.so +Error: Symbol _ZTVN10__cxxabiv117__class_type_infoE not found, cannot apply R_X86_64_64 @0x100a4e3e0 ((nil)) in /home/brax_ton/GarrysMod/game/bin/linux64/launcher_client.so +Error: Symbol _ZTVN10__cxxabiv117__class_type_infoE not found, cannot apply R_X86_64_64 @0x100a4e4c0 ((nil)) in /home/brax_ton/GarrysMod/game/bin/linux64/launcher_client.so +Error: Symbol _ZTVN10__cxxabiv117__class_type_infoE not found, cannot apply R_X86_64_64 @0x100a4e570 ((nil)) in /home/brax_ton/GarrysMod/game/bin/linux64/launcher_client.so +Error: Symbol _ZTVN10__cxxabiv117__class_type_infoE not found, cannot apply R_X86_64_64 @0x100a4e710 ((nil)) in /home/brax_ton/GarrysMod/game/bin/linux64/launcher_client.so +Error: Symbol _ZTVN10__cxxabiv117__class_type_infoE not found, cannot apply R_X86_64_64 @0x100a4e850 ((nil)) in /home/brax_ton/GarrysMod/game/bin/linux64/launcher_client.so +Error: Symbol _ZTVN10__cxxabiv117__class_type_infoE not found, cannot apply R_X86_64_64 @0x100a4e880 ((nil)) in /home/brax_ton/GarrysMod/game/bin/linux64/launcher_client.so +Error: Symbol _ZTVN10__cxxabiv121__vmi_class_type_infoE not found, cannot apply R_X86_64_64 @0x100a4dee0 ((nil)) in /home/brax_ton/GarrysMod/game/bin/linux64/launcher_client.so +Error: relocating symbols in elf launcher_client.so +Error initializing needed lib launcher_client.so +Warning: Cannot dlopen("launcher_client.so"/0x400ead, 2) +Failed to load the launcher (Cannot dlopen("launcher_client.so"/0x400ead, 2) +) +Warning, resizing of TLS occurred! size: 0->65536 / n_elfs: 1->1 +/home/brax_ton/GarrysMod/game/hl2.sh: line 52: 21694 Segmentation fault (core dumped) box86 ${GAME_DEBUGGER} "${GAMEROOT}"/${GAMEEXE} "$@" +brax_ton@penguin:~/GarrysMod$ ^C +brax_ton@penguin:~/GarrysMod$ ^C +brax_ton@penguin:~/GarrysMod$ ^C +brax_ton@penguin:~/GarrysMod$ nano /home/brax_ton/GarrysMod/game/hl2.sh +brax_ton@penguin:~/GarrysMod$ ./start.sh +Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL PageSize:4096 Running on Cortex-A53 with 8 Cores +Params database has 24 entries +Box64 with Dynarec v0.2.3 7e282c90 built on Jun 15 2023 06:36:07 +Using default BOX64_LD_LIBRARY_PATH: ./:lib/:lib64/:x86_64/:bin64/:libs64/ +Using default BOX64_PATH: ./:bin/ +Counted 45 Env var +Looking for /home/brax_ton/GarrysMod/game/bin/linux64/gmod +argv[1]="-game" +argv[2]="garrysmod" +Rename process to "gmod" +Using native(wrapped) libdl.so.2 +Using native(wrapped) libc.so.6 +Using native(wrapped) ld-linux-x86-64.so.2 +Using native(wrapped) libpthread.so.0 +Using native(wrapped) libutil.so.1 +Using native(wrapped) librt.so.1 +Using emulated /home/brax_ton/GarrysMod/game/bin/linux64/launcher_client.so +Using emulated /home/brax_ton/GarrysMod/game/bin/linux64/libtier0_client.so +Using emulated /home/brax_ton/GarrysMod/game/bin/linux64/libvstdlib_client.so +Using emulated /home/brax_ton/GarrysMod/game/bin/linux64/libsteam_api.so +Using emulated /home/brax_ton/GarrysMod/game/bin/linux64/libtogl_client.so +Using native(wrapped) libSDL2-2.0.so.0 +Using native(wrapped) libm.so.6 +Using emulated /lib/x86_64-linux-gnu/libstdc++.so.6 +Using emulated /lib/x86_64-linux-gnu/libgcc_s.so.1 +Warning: Weak Symbol _ITM_memcpyRtWn not found, cannot apply R_X86_64_JUMP_SLOT @0x101e68078 (0x990f6) +Warning: Weak Symbol _ITM_RU1 not found, cannot apply R_X86_64_JUMP_SLOT @0x101e68688 (0x99d16) +Warning: Weak Symbol _ZGTtdlPv not found, cannot apply R_X86_64_JUMP_SLOT @0x101e68b08 (0x9a616) +Warning: Weak Symbol _ITM_RU8 not found, cannot apply R_X86_64_JUMP_SLOT @0x101e68ff0 (0x9afe6) +Warning: Weak Symbol _ITM_memcpyRnWt not found, cannot apply R_X86_64_JUMP_SLOT @0x101e69480 (0x9b906) +Warning: Weak Symbol _ZGTtnam not found, cannot apply R_X86_64_JUMP_SLOT @0x101e69c80 (0x9c906) +Warning: Weak Symbol __gmon_start__ not found, cannot apply R_X86_64_JUMP_SLOT @0x10151a268 (0x111c06) +Error: Symbol _ZTVN10__cxxabiv120__si_class_type_infoE not found, cannot apply R_X86_64_64 @0x100a4db60 ((nil)) in /home/brax_ton/GarrysMod/game/bin/linux64/launcher_client.so +Error: Symbol _ZTVN10__cxxabiv120__si_class_type_infoE not found, cannot apply R_X86_64_64 @0x100a4dcd0 ((nil)) in /home/brax_ton/GarrysMod/game/bin/linux64/launcher_client.so +Error: Symbol _ZTVN10__cxxabiv120__si_class_type_infoE not found, cannot apply R_X86_64_64 @0x100a4dd00 ((nil)) in /home/brax_ton/GarrysMod/game/bin/linux64/launcher_client.so +Error: Symbol _ZTVN10__cxxabiv120__si_class_type_infoE not found, cannot apply R_X86_64_64 @0x100a4dde0 ((nil)) in /home/brax_ton/GarrysMod/game/bin/linux64/launcher_client.so +Error: Symbol _ZTVN10__cxxabiv120__si_class_type_infoE not found, cannot apply R_X86_64_64 @0x100a4deb0 ((nil)) in /home/brax_ton/GarrysMod/game/bin/linux64/launcher_client.so +Error: Symbol _ZTVN10__cxxabiv120__si_class_type_infoE not found, cannot apply R_X86_64_64 @0x100a4df20 ((nil)) in /home/brax_ton/GarrysMod/game/bin/linux64/launcher_client.so +Error: Symbol _ZTVN10__cxxabiv120__si_class_type_infoE not found, cannot apply R_X86_64_64 @0x100a4df40 ((nil)) in /home/brax_ton/GarrysMod/game/bin/linux64/launcher_client.so +Error: Symbol _ZTVN10__cxxabiv120__si_class_type_infoE not found, cannot apply R_X86_64_64 @0x100a4df60 ((nil)) in /home/brax_ton/GarrysMod/game/bin/linux64/launcher_client.so +Error: Symbol _ZTVN10__cxxabiv120__si_class_type_infoE not found, cannot apply R_X86_64_64 @0x100a4e3f0 ((nil)) in /home/brax_ton/GarrysMod/game/bin/linux64/launcher_client.so +Error: Symbol _ZTVN10__cxxabiv120__si_class_type_infoE not found, cannot apply R_X86_64_64 @0x100a4e410 ((nil)) in /home/brax_ton/GarrysMod/game/bin/linux64/launcher_client.so +Error: Symbol _ZTVN10__cxxabiv120__si_class_type_infoE not found, cannot apply R_X86_64_64 @0x100a4e4d0 ((nil)) in /home/brax_ton/GarrysMod/game/bin/linux64/launcher_client.so +Error: Symbol _ZTVN10__cxxabiv120__si_class_type_infoE not found, cannot apply R_X86_64_64 @0x100a4e4f0 ((nil)) in /home/brax_ton/GarrysMod/game/bin/linux64/launcher_client.so +Error: Symbol _ZTVN10__cxxabiv120__si_class_type_infoE not found, cannot apply R_X86_64_64 @0x100a4e580 ((nil)) in /home/brax_ton/GarrysMod/game/bin/linux64/launcher_client.so +Error: Symbol _ZTVN10__cxxabiv120__si_class_type_infoE not found, cannot apply R_X86_64_64 @0x100a4e5a0 ((nil)) in /home/brax_ton/GarrysMod/game/bin/linux64/launcher_client.so +Error: Symbol _ZTVN10__cxxabiv120__si_class_type_infoE not found, cannot apply R_X86_64_64 @0x100a4e720 ((nil)) in /home/brax_ton/GarrysMod/game/bin/linux64/launcher_client.so +Error: Symbol _ZTVN10__cxxabiv120__si_class_type_infoE not found, cannot apply R_X86_64_64 @0x100a4e740 ((nil)) in /home/brax_ton/GarrysMod/game/bin/linux64/launcher_client.so +Error: Symbol _ZTVN10__cxxabiv120__si_class_type_infoE not found, cannot apply R_X86_64_64 @0x100a4e760 ((nil)) in /home/brax_ton/GarrysMod/game/bin/linux64/launcher_client.so +Error: Symbol _ZTVN10__cxxabiv120__si_class_type_infoE not found, cannot apply R_X86_64_64 @0x100a4e860 ((nil)) in /home/brax_ton/GarrysMod/game/bin/linux64/launcher_client.so +Error: Symbol _ZTVN10__cxxabiv120__si_class_type_infoE not found, cannot apply R_X86_64_64 @0x100a4e890 ((nil)) in /home/brax_ton/GarrysMod/game/bin/linux64/launcher_client.so +Error: Symbol _ZTVN10__cxxabiv117__class_type_infoE not found, cannot apply R_X86_64_64 @0x100a4dcc0 ((nil)) in /home/brax_ton/GarrysMod/game/bin/linux64/launcher_client.so +Error: Symbol _ZTVN10__cxxabiv117__class_type_infoE not found, cannot apply R_X86_64_64 @0x100a4dcf0 ((nil)) in /home/brax_ton/GarrysMod/game/bin/linux64/launcher_client.so +Error: Symbol _ZTVN10__cxxabiv117__class_type_infoE not found, cannot apply R_X86_64_64 @0x100a4ddd0 ((nil)) in /home/brax_ton/GarrysMod/game/bin/linux64/launcher_client.so +Error: Symbol _ZTVN10__cxxabiv117__class_type_infoE not found, cannot apply R_X86_64_64 @0x100a4de80 ((nil)) in /home/brax_ton/GarrysMod/game/bin/linux64/launcher_client.so +Error: Symbol _ZTVN10__cxxabiv117__class_type_infoE not found, cannot apply R_X86_64_64 @0x100a4de90 ((nil)) in /home/brax_ton/GarrysMod/game/bin/linux64/launcher_client.so +Error: Symbol _ZTVN10__cxxabiv117__class_type_infoE not found, cannot apply R_X86_64_64 @0x100a4dea0 ((nil)) in /home/brax_ton/GarrysMod/game/bin/linux64/launcher_client.so +Error: Symbol _ZTVN10__cxxabiv117__class_type_infoE not found, cannot apply R_X86_64_64 @0x100a4e3a0 ((nil)) in /home/brax_ton/GarrysMod/game/bin/linux64/launcher_client.so +Error: Symbol _ZTVN10__cxxabiv117__class_type_infoE not found, cannot apply R_X86_64_64 @0x100a4e3e0 ((nil)) in /home/brax_ton/GarrysMod/game/bin/linux64/launcher_client.so +Error: Symbol _ZTVN10__cxxabiv117__class_type_infoE not found, cannot apply R_X86_64_64 @0x100a4e4c0 ((nil)) in /home/brax_ton/GarrysMod/game/bin/linux64/launcher_client.so +Error: Symbol _ZTVN10__cxxabiv117__class_type_infoE not found, cannot apply R_X86_64_64 @0x100a4e570 ((nil)) in /home/brax_ton/GarrysMod/game/bin/linux64/launcher_client.so +Error: Symbol _ZTVN10__cxxabiv117__class_type_infoE not found, cannot apply R_X86_64_64 @0x100a4e710 ((nil)) in /home/brax_ton/GarrysMod/game/bin/linux64/launcher_client.so +Error: Symbol _ZTVN10__cxxabiv117__class_type_infoE not found, cannot apply R_X86_64_64 @0x100a4e850 ((nil)) in /home/brax_ton/GarrysMod/game/bin/linux64/launcher_client.so +Error: Symbol _ZTVN10__cxxabiv117__class_type_infoE not found, cannot apply R_X86_64_64 @0x100a4e880 ((nil)) in /home/brax_ton/GarrysMod/game/bin/linux64/launcher_client.so +Error: Symbol _ZTVN10__cxxabiv121__vmi_class_type_infoE not found, cannot apply R_X86_64_64 @0x100a4dee0 ((nil)) in /home/brax_ton/GarrysMod/game/bin/linux64/launcher_client.so +Error: relocating symbols in elf launcher_client.so +Error initializing needed lib launcher_client.so +Warning: Cannot dlopen("launcher_client.so"/0x400ead, 2) +Failed to load the launcher (Cannot dlopen("launcher_client.so"/0x400ead, 2) +) +Warning, resizing of TLS occurred! size: 0->65536 / n_elfs: 1->1 +/home/brax_ton/GarrysMod/game/hl2.sh: line 52: 21743 Segmentation fault (core dumped) box64 ${GAME_DEBUGGER} "${GAMEROOT}"/${GAMEEXE} "$@" +brax_ton@penguin:~/GarrysMod$ +``` + +Inside of Start.sh: + +``` +#!/bin/bash + +# figure out the absolute path to the script being run a bit +# non-obvious, the ${0%/*} pulls the path out of $0, cd's into the +# specified directory, then uses $PWD to figure out where that +# directory lives - and all this in a subshell, so we don't affect +# $PWD + +GAMEROOT=$(cd "${0%/*}" && echo $PWD)/bin/linux64 +export LD_LIBRARY_PATH="${GAMEROOT}":$LD_LIBRARY_PATH +unset LD_PRELOAD +GAMEEXE=gmod + +ulimit -n 2048 + +# enable nVidia threaded optimizations +export __GL_THREADED_OPTIMIZATIONS=1 + +# and launch the game +cd "$GAMEROOT" + +# Enable path match if we are running with loose files +if [ -f pathmatch.inf ]; then + export ENABLE_PATHMATCH=1 +fi + +# Do the following for strace: +# GAME_DEBUGGER="strace -f -o strace.log" +# Do the following for tcmalloc +# LD_PRELOAD=../src/thirdparty/gperftools-2.0/.libs/libtcmalloc_debug.so:$LD_PRELOAD + +STATUS=42 +while [ $STATUS -eq 42 ]; do + if [ "${GAME_DEBUGGER}" == "gdb" ] || [ "${GAME_DEBUGGER}" == "cgdb" ]; then + ARGSFILE=$(mktemp $USER.hl2.gdb.XXXX) + echo b main > "$ARGSFILE" + + # Set the LD_PRELOAD varname in the debugger, and unset the global version. This makes it so that + # gameoverlayrenderer.so and the other preload objects aren't loaded in our debugger's process. + echo set env LD_PRELOAD=$LD_PRELOAD >> "$ARGSFILE" + echo show env LD_PRELOAD >> "$ARGSFILE" + unset LD_PRELOAD + + echo run $@ >> "$ARGSFILE" + echo show args >> "$ARGSFILE" + ${GAME_DEBUGGER} "${GAMEROOT}"/${GAMEEXE} -x "$ARGSFILE" + rm "$ARGSFILE" + else + box64 ${GAME_DEBUGGER} "${GAMEROOT}"/${GAMEEXE} "$@" + fi + STATUS=$? +done +exit $STATUS +``` +CHROOT OS: Debian +Host OS: Chrome OS +Memory: 4GB + +Thanks! \ No newline at end of file |