Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Half-Life 2: Deathmatch server #115

Closed
sysadminbp opened this issue May 12, 2020 · 10 comments
Closed

Half-Life 2: Deathmatch server #115

sysadminbp opened this issue May 12, 2020 · 10 comments

Comments

@sysadminbp
Copy link

sysadminbp commented May 12, 2020

I'm trying to run a Half-Life 2: Deathmatch server but it requires libraries that are not required in the native installation on a 32-bit system

I have checked all the files on the working Ubuntu 32-bit installation but cannot find this files anywere

stdshader_dbg_srv.so
stdshader_dx6_srv.so
stdshader_dx7_srv.so
stdshader_dx8_srv.so
stdshader_dx9_srv.so

/home/hl2dm/box86/build/box86 ./srcds_linux  -game hl2mp  +mp_teamplay 1 +maxplayers 8 +map dm_runoff
Dynarec for ARM, with extension: HALF FAST_MULT EDSP NEON VFPv4 IDIVA
Using default BOX86_LD_LIBRARY_PATH: ./:lib/:lib32/:x86/
Using default BOX86_PATH: ./:bin/
Counted 24 Env var
Looking for ./srcds_linux
Using native(wrapped) libm.so.6
Using native(wrapped) libdl.so.2
Using emulated /usr/lib/i386-linux-gnu/libstdc++.so.6
Using native(wrapped) libc.so.6
Using native(wrapped) ld-linux.so.2
Using native(wrapped) libpthread.so.0
Using native(wrapped) librt.so.1
Using emulated /usr/lib/i386-linux-gnu/libgcc_s.so.1
Error: Symbol _ZSt11__once_call not found, cannot apply R_386_TLS_DTPOFF32 @0x76426d5c ((nil))
Using emulated /usr/lib/i386-linux-gnu/libtier0_srv.so
Using emulated /usr/lib/i386-linux-gnu/libvstdlib_srv.so
Using emulated /usr/lib/i386-linux-gnu/dedicated_srv.so
Using emulated /usr/lib/i386-linux-gnu/libsteam_api.so
Using native(wrapped) libtinfo.so.5
Using emulated /usr/lib/i386-linux-gnu/libncurses.so.5
Error: Global Symbol curscr not found, cannot apply R_386_GLOB_DAT @0x7523af98 ((nil))
Error: Global Symbol SP not found, cannot apply R_386_GLOB_DAT @0x7523afa4 ((nil))
Error: Global Symbol _nc_screen_chain not found, cannot apply R_386_GLOB_DAT @0x7523afac ((nil))
Error: Global Symbol COLS not found, cannot apply R_386_GLOB_DAT @0x7523afc4 ((nil))
Error: Global Symbol _nc_outch not found, cannot apply R_386_GLOB_DAT @0x7523afc8 ((nil))
Error: Global Symbol newscr not found, cannot apply R_386_GLOB_DAT @0x7523afcc ((nil))
Error: Global Symbol stdscr not found, cannot apply R_386_GLOB_DAT @0x7523afd0 ((nil))
Error: Global Symbol _nc_putchar not found, cannot apply R_386_GLOB_DAT @0x7523afd8 ((nil))
Error: Global Symbol LINES not found, cannot apply R_386_GLOB_DAT @0x7523afe4 ((nil))
Error: Global Symbol TABSIZE not found, cannot apply R_386_GLOB_DAT @0x7523afe8 ((nil))
Error: Global Symbol _nc_prescreen not found, cannot apply R_386_GLOB_DAT @0x7523aff0 ((nil))
Error: Global Symbol cur_term not found, cannot apply R_386_GLOB_DAT @0x7523aff4 ((nil))
Error: Global Symbol _nc_globals not found, cannot apply R_386_GLOB_DAT @0x7523affc ((nil))
Error: Symbol _nc_setupterm not found, cannot apply R_386_JMP_SLOT @0x7523b010 (0x3e46)
Error: Symbol _nc_set_no_padding not found, cannot apply R_386_JMP_SLOT @0x7523b01c (0x3e76)
Error: Symbol _nc_getenv_num not found, cannot apply R_386_JMP_SLOT @0x7523b020 (0x3e86)
Error: Symbol tputs not found, cannot apply R_386_JMP_SLOT @0x7523b028 (0x3ea6)
Error: Symbol _nc_locale_breaks_acs not found, cannot apply R_386_JMP_SLOT @0x7523b030 (0x3ec6)
Error: Symbol _nc_putp not found, cannot apply R_386_JMP_SLOT @0x7523b044 (0x3f16)
Error: Symbol _nc_get_locale not found, cannot apply R_386_JMP_SLOT @0x7523b048 (0x3f26)
Error: Symbol _nc_safe_strcpy not found, cannot apply R_386_JMP_SLOT @0x7523b04c (0x3f36)
Error: Symbol _nc_doalloc not found, cannot apply R_386_JMP_SLOT @0x7523b068 (0x3fa6)
Error: Symbol _nc_access not found, cannot apply R_386_JMP_SLOT @0x7523b06c (0x3fb6)
Error: Symbol _nc_set_buffer not found, cannot apply R_386_JMP_SLOT @0x7523b07c (0x3ff6)
Error: Symbol _nc_keypad not found, cannot apply R_386_JMP_SLOT @0x7523b084 (0x4016)
Error: Symbol _nc_get_screensize not found, cannot apply R_386_JMP_SLOT @0x7523b094 (0x4056)
Error: Symbol tparm not found, cannot apply R_386_JMP_SLOT @0x7523b098 (0x4066)
Error: Symbol _nc_str_init not found, cannot apply R_386_JMP_SLOT @0x7523b0ac (0x40b6)
Error: Symbol _nc_putp_flush not found, cannot apply R_386_JMP_SLOT @0x7523b0bc (0x40f6)
Error: Symbol _nc_safe_strcat not found, cannot apply R_386_JMP_SLOT @0x7523b0c0 (0x4106)
Error: Symbol _nc_str_copy not found, cannot apply R_386_JMP_SLOT @0x7523b0d0 (0x4146)
Error: Symbol _nc_init_acs not found, cannot apply R_386_JMP_SLOT @0x7523b0e0 (0x4186)
Error: Symbol _nc_set_tty_mode not found, cannot apply R_386_JMP_SLOT @0x7523b0f0 (0x41c6)
Error: Symbol _nc_outch not found, cannot apply R_386_JMP_SLOT @0x7523b0f4 (0x41d6)
Error: Symbol _nc_flush not found, cannot apply R_386_JMP_SLOT @0x7523b134 (0x42d6)
Error: Symbol _nc_unicode_locale not found, cannot apply R_386_JMP_SLOT @0x7523b140 (0x4306)
Error: Symbol _nc_add_to_try not found, cannot apply R_386_JMP_SLOT @0x7523b148 (0x4326)
Error: Symbol _nc_handle_sigwinch not found, cannot apply R_386_JMP_SLOT @0x7523b14c (0x4336)
Error: Symbol _nc_timed_wait not found, cannot apply R_386_JMP_SLOT @0x7523b158 (0x4366)
Error: Symbol _nc_name_match not found, cannot apply R_386_JMP_SLOT @0x7523b15c (0x4376)
Error: Symbol _nc_update_screensize not found, cannot apply R_386_JMP_SLOT @0x7523b188 (0x4426)
Error: Symbol _nc_get_tty_mode not found, cannot apply R_386_JMP_SLOT @0x7523b190 (0x4446)
Error: Symbol _nc_screen_of not found, cannot apply R_386_JMP_SLOT @0x7523b198 (0x4466)
Error: Symbol _nc_str_null not found, cannot apply R_386_JMP_SLOT @0x7523b1a4 (0x4496)

WARNING: Failed to load 32-bit libtinfo.so.5 or libncurses.so.5.
  Please install (lib32tinfo5 / ncurses-libs.i686 / equivalent) to enable readline.

Using emulated /home/hl2dm/Steam/steamapps/common/Half-Life 2 Deathmatch Dedicated Server/bin/engine_srv.so
Using emulated /home/hl2dm/Steam/steamapps/common/Half-Life 2 Deathmatch Dedicated Server/bin/soundemittersystem_srv.so
Using emulated /home/hl2dm/Steam/steamapps/common/Half-Life 2 Deathmatch Dedicated Server/bin/materialsystem_srv.so
Using emulated /home/hl2dm/Steam/steamapps/common/Half-Life 2 Deathmatch Dedicated Server/bin/studiorender_srv.so
Using emulated /home/hl2dm/Steam/steamapps/common/Half-Life 2 Deathmatch Dedicated Server/bin/vphysics_srv.so
Using emulated /home/hl2dm/Steam/steamapps/common/Half-Life 2 Deathmatch Dedicated Server/bin/datacache_srv.so
Using emulated /home/hl2dm/Steam/steamapps/common/Half-Life 2 Deathmatch Dedicated Server/bin/shaderapiempty_srv.so
Warning: Cannot dlopen("/home/hl2dm/Steam/steamapps/common/Half-Life 2 Deathmatch Dedicated Server/bin/stdshader_dbg_srv.so"/0x76c82370, 2)
 failed to dlopen /home/hl2dm/Steam/steamapps/common/Half-Life 2 Deathmatch Dedicated Server/bin/stdshader_dbg_srv.so error=Cannot dlopen("/home/hl2dm/Steam/steamapps/common/Half-Life 2 Deathmatch Dedicated Server/bin/stdshader_dbg_srv.so"/0x76c82370,
Warning: Cannot dlopen("/home/hl2dm/Steam/steamapps/common/Half-Life 2 Deathmatch Dedicated Server/bin/stdshader_dbg_srv.so"/0x76c82370, 2)
 failed to dlopen /home/hl2dm/Steam/steamapps/common/Half-Life 2 Deathmatch Dedicated Server/bin/stdshader_dbg_srv.so error=Cannot dlopen("/home/hl2dm/Steam/steamapps/common/Half-Life 2 Deathmatch Dedicated Server/bin/stdshader_dbg_srv.so"/0x76c82370,
Warning: Cannot dlopen("stdshader_dbg_srv.so"/0x76c82370, 2)
 failed to dlopen stdshader_dbg_srv.so error=Cannot dlopen("stdshader_dbg_srv.so"/0x76c82370, 2)

Warning: Cannot dlopen("/home/hl2dm/Steam/steamapps/common/Half-Life 2 Deathmatch Dedicated Server/bin/stdshader_dx6_srv.so"/0x76c82370, 2)
 failed to dlopen /home/hl2dm/Steam/steamapps/common/Half-Life 2 Deathmatch Dedicated Server/bin/stdshader_dx6_srv.so error=Cannot dlopen("/home/hl2dm/Steam/steamapps/common/Half-Life 2 Deathmatch Dedicated Server/bin/stdshader_dx6_srv.so"/0x76c82370,
Warning: Cannot dlopen("/home/hl2dm/Steam/steamapps/common/Half-Life 2 Deathmatch Dedicated Server/bin/stdshader_dx6_srv.so"/0x76c82370, 2)
 failed to dlopen /home/hl2dm/Steam/steamapps/common/Half-Life 2 Deathmatch Dedicated Server/bin/stdshader_dx6_srv.so error=Cannot dlopen("/home/hl2dm/Steam/steamapps/common/Half-Life 2 Deathmatch Dedicated Server/bin/stdshader_dx6_srv.so"/0x76c82370,
Warning: Cannot dlopen("stdshader_dx6_srv.so"/0x76c82370, 2)
 failed to dlopen stdshader_dx6_srv.so error=Cannot dlopen("stdshader_dx6_srv.so"/0x76c82370, 2)

Warning: Cannot dlopen("/home/hl2dm/Steam/steamapps/common/Half-Life 2 Deathmatch Dedicated Server/bin/stdshader_dx7_srv.so"/0x76c82370, 2)
 failed to dlopen /home/hl2dm/Steam/steamapps/common/Half-Life 2 Deathmatch Dedicated Server/bin/stdshader_dx7_srv.so error=Cannot dlopen("/home/hl2dm/Steam/steamapps/common/Half-Life 2 Deathmatch Dedicated Server/bin/stdshader_dx7_srv.so"/0x76c82370,
Warning: Cannot dlopen("/home/hl2dm/Steam/steamapps/common/Half-Life 2 Deathmatch Dedicated Server/bin/stdshader_dx7_srv.so"/0x76c82370, 2)
 failed to dlopen /home/hl2dm/Steam/steamapps/common/Half-Life 2 Deathmatch Dedicated Server/bin/stdshader_dx7_srv.so error=Cannot dlopen("/home/hl2dm/Steam/steamapps/common/Half-Life 2 Deathmatch Dedicated Server/bin/stdshader_dx7_srv.so"/0x76c82370,
Warning: Cannot dlopen("stdshader_dx7_srv.so"/0x76c82370, 2)
 failed to dlopen stdshader_dx7_srv.so error=Cannot dlopen("stdshader_dx7_srv.so"/0x76c82370, 2)

Warning: Cannot dlopen("/home/hl2dm/Steam/steamapps/common/Half-Life 2 Deathmatch Dedicated Server/bin/stdshader_dx8_srv.so"/0x76c82370, 2)
 failed to dlopen /home/hl2dm/Steam/steamapps/common/Half-Life 2 Deathmatch Dedicated Server/bin/stdshader_dx8_srv.so error=Cannot dlopen("/home/hl2dm/Steam/steamapps/common/Half-Life 2 Deathmatch Dedicated Server/bin/stdshader_dx8_srv.so"/0x76c82370,
Warning: Cannot dlopen("/home/hl2dm/Steam/steamapps/common/Half-Life 2 Deathmatch Dedicated Server/bin/stdshader_dx8_srv.so"/0x76c82370, 2)
 failed to dlopen /home/hl2dm/Steam/steamapps/common/Half-Life 2 Deathmatch Dedicated Server/bin/stdshader_dx8_srv.so error=Cannot dlopen("/home/hl2dm/Steam/steamapps/common/Half-Life 2 Deathmatch Dedicated Server/bin/stdshader_dx8_srv.so"/0x76c82370,
Warning: Cannot dlopen("stdshader_dx8_srv.so"/0x76c82370, 2)
 failed to dlopen stdshader_dx8_srv.so error=Cannot dlopen("stdshader_dx8_srv.so"/0x76c82370, 2)

Warning: Cannot dlopen("/home/hl2dm/Steam/steamapps/common/Half-Life 2 Deathmatch Dedicated Server/bin/stdshader_dx9_srv.so"/0x76c82370, 2)
 failed to dlopen /home/hl2dm/Steam/steamapps/common/Half-Life 2 Deathmatch Dedicated Server/bin/stdshader_dx9_srv.so error=Cannot dlopen("/home/hl2dm/Steam/steamapps/common/Half-Life 2 Deathmatch Dedicated Server/bin/stdshader_dx9_srv.so"/0x76c82370,
Warning: Cannot dlopen("/home/hl2dm/Steam/steamapps/common/Half-Life 2 Deathmatch Dedicated Server/bin/stdshader_dx9_srv.so"/0x76c82370, 2)
 failed to dlopen /home/hl2dm/Steam/steamapps/common/Half-Life 2 Deathmatch Dedicated Server/bin/stdshader_dx9_srv.so error=Cannot dlopen("/home/hl2dm/Steam/steamapps/common/Half-Life 2 Deathmatch Dedicated Server/bin/stdshader_dx9_srv.so"/0x76c82370,
Warning: Cannot dlopen("stdshader_dx9_srv.so"/0x76c82370, 2)
 failed to dlopen stdshader_dx9_srv.so error=Cannot dlopen("stdshader_dx9_srv.so"/0x76c82370, 2)

Using Breakpad minidump system. Version: 5394425 AppID: 232370
Setting breakpad minidump AppID = 232370
Using breakpad crash handler
Bus error
@ptitSeb
Copy link
Owner

ptitSeb commented May 12, 2020

The lib not found are not issues. It's just some libs that are not found, bu the game can handle the fact they are not here it seems.
The real issue is the BUSERROR at the end: it's some FPU or NEON opcode on an unaligned address.

I need some more info form gdb to debug this: launch the server with gdb (gdb --args box86 ./srcds_linux -game hl2mp +mp_teamplay 1 +maxplayers 8 +map dm_runoff or somthing like that)
then press "r" to run
let it crash with the Bus error
at this point, do
x/20i $pc-60
It should print 20 arm instructions, hopefully that should be enough for me to understand what going on.

@sysadminbp
Copy link
Author

Using Breakpad minidump system. Version: 5394425 AppID: 232370
Setting breakpad minidump AppID = 232370
Using breakpad crash handler

Thread 1 "box86" received signal SIGBUS, Bus error.
0x6da7d950 in ?? ()
(gdb) x/20i $pc-60
   0x6da7d914:  vorr    d14, d12, d12
   0x6da7d918:  veor    d15, d15, d15
   0x6da7d91c:  vadd.i32        q5, q5, q4
   0x6da7d920:  vorr    d8, d10, d10
   0x6da7d924:  veor    d9, d9, d9
   0x6da7d928:  vmov.32 r2, d12[0]
   0x6da7d92c:  str     r2, [r5]
   0x6da7d930:  vshr.u64        q7, q7, #16
   0x6da7d934:  vadd.i64        q7, q7, q4
   0x6da7d938:  vorr    d12, d13, d13
   0x6da7d93c:  vorr    d13, d17, d17
   0x6da7d940:  vorr    d10, d11, d11
   0x6da7d944:  vorr    d11, d17, d17
   0x6da7d948:  add     r1, r5, #2
   0x6da7d94c:  vstr    d14, [r1]
=> 0x6da7d950:  vshr.u64        q7, q7, #48
   0x6da7d954:  vadd.i32        q6, q6, q7
   0x6da7d958:  add     r11, r11, #16
   0x6da7d95c:  add     r6, r6, #16
   0x6da7d960:  vld1.64 {d14-d15}, [r10]

@ptitSeb
Copy link
Owner

ptitSeb commented May 12, 2020

Ok, thanks. I need to dig a bit now.

@ptitSeb
Copy link
Owner

ptitSeb commented May 12, 2020

I thought I could figure out the initial x86 instruction but I can't :(

Can you run with "BOX86_DYNAREC_DUMP=1" (because "BOX86_DYNAREC_DUMP=2" is better as it gives some colors, but I don't think they can copy/paste easy), then copy/paste here the last block, so I can understand what x86 instruction lacks alignement.

This will generate a lot of logs! You can automaticaly redirect everything in a file with "BOX86_TRACE_FILE=trace.txt"

@sysadminbp
Copy link
Author

sysadminbp commented May 12, 2020

https://send.firefox.com/download/140d233a2516583e/#nJb6MelBWSKfgz42NM7JnQ

BOX86_DYNAREC_DUMP=1 BOX86_TRACE_FILE=trace.txt /home/hl2dm/box86/build/box86 ./srcds_linux -game hl2mp +mp _teamplay 1 +maxplayers 8 +map dm_runoff
Dynarec blocks are dumped
BOX86 Trace redirected to "trace.txt"

WARNING: Failed to load 32-bit libtinfo.so.5 or libncurses.so.5.
Please install (lib32tinfo5 / ncurses-libs.i686 / equivalent) to enable readline.

failed to dlopen /home/hl2dm/Steam/steamapps/common/Half-Life 2 Deathmatch Dedicated Server/bin/stdshader_dbg_srv.so error=Cannot dlopen("/home/hl2dm/Steam/steamapps/common/Half-Life 2 Deathmatch Dedicated Server/bin/stdshader_dbg_srv.so"/0x76cc0370,
failed to dlopen /home/hl2dm/Steam/steamapps/common/Half-Life 2 Deathmatch Dedicated Server/bin/stdshader_dbg_srv.so error=Cannot dlopen("/home/hl2dm/Steam/steamapps/common/Half-Life 2 Deathmatch Dedicated Server/bin/stdshader_dbg_srv.so"/0x76cc0370,
failed to dlopen stdshader_dbg_srv.so error=Cannot dlopen("stdshader_dbg_srv.so"/0x76cc0370, 2)

failed to dlopen /home/hl2dm/Steam/steamapps/common/Half-Life 2 Deathmatch Dedicated Server/bin/stdshader_dx6_srv.so error=Cannot dlopen("/home/hl2dm/Steam/steamapps/common/Half-Life 2 Deathmatch Dedicated Server/bin/stdshader_dx6_srv.so"/0x76cc0370,
failed to dlopen /home/hl2dm/Steam/steamapps/common/Half-Life 2 Deathmatch Dedicated Server/bin/stdshader_dx6_srv.so error=Cannot dlopen("/home/hl2dm/Steam/steamapps/common/Half-Life 2 Deathmatch Dedicated Server/bin/stdshader_dx6_srv.so"/0x76cc0370,
failed to dlopen stdshader_dx6_srv.so error=Cannot dlopen("stdshader_dx6_srv.so"/0x76cc0370, 2)

failed to dlopen /home/hl2dm/Steam/steamapps/common/Half-Life 2 Deathmatch Dedicated Server/bin/stdshader_dx7_srv.so error=Cannot dlopen("/home/hl2dm/Steam/steamapps/common/Half-Life 2 Deathmatch Dedicated Server/bin/stdshader_dx7_srv.so"/0x76cc0370,
failed to dlopen /home/hl2dm/Steam/steamapps/common/Half-Life 2 Deathmatch Dedicated Server/bin/stdshader_dx7_srv.so error=Cannot dlopen("/home/hl2dm/Steam/steamapps/common/Half-Life 2 Deathmatch Dedicated Server/bin/stdshader_dx7_srv.so"/0x76cc0370,
failed to dlopen stdshader_dx7_srv.so error=Cannot dlopen("stdshader_dx7_srv.so"/0x76cc0370, 2)

failed to dlopen /home/hl2dm/Steam/steamapps/common/Half-Life 2 Deathmatch Dedicated Server/bin/stdshader_dx8_srv.so error=Cannot dlopen("/home/hl2dm/Steam/steamapps/common/Half-Life 2 Deathmatch Dedicated Server/bin/stdshader_dx8_srv.so"/0x76cc0370,
failed to dlopen /home/hl2dm/Steam/steamapps/common/Half-Life 2 Deathmatch Dedicated Server/bin/stdshader_dx8_srv.so error=Cannot dlopen("/home/hl2dm/Steam/steamapps/common/Half-Life 2 Deathmatch Dedicated Server/bin/stdshader_dx8_srv.so"/0x76cc0370,
failed to dlopen stdshader_dx8_srv.so error=Cannot dlopen("stdshader_dx8_srv.so"/0x76cc0370, 2)

failed to dlopen /home/hl2dm/Steam/steamapps/common/Half-Life 2 Deathmatch Dedicated Server/bin/stdshader_dx9_srv.so error=Cannot dlopen("/home/hl2dm/Steam/steamapps/common/Half-Life 2 Deathmatch Dedicated Server/bin/stdshader_dx9_srv.so"/0x76cc0370,
failed to dlopen /home/hl2dm/Steam/steamapps/common/Half-Life 2 Deathmatch Dedicated Server/bin/stdshader_dx9_srv.so error=Cannot dlopen("/home/hl2dm/Steam/steamapps/common/Half-Life 2 Deathmatch Dedicated Server/bin/stdshader_dx9_srv.so"/0x76cc0370,
failed to dlopen stdshader_dx9_srv.so error=Cannot dlopen("stdshader_dx9_srv.so"/0x76cc0370, 2)

Using Breakpad minidump system. Version: 5394425 AppID: 232370
Setting breakpad minidump AppID = 232370
Using breakpad crash handler
Bus error

@sysadminbp
Copy link
Author

I compiled the latest version and now it goes a little further

https://send.firefox.com/download/00ca357eb16b72c1/#iJ1jJvTrYh4IE10igyqb0Q

hl2dm@pi:~/Steam/steamapps/common/Half-Life 2 Deathmatch Dedicated Server$ BOX86_DYNAREC_DUMP=1 BOX86_TRACE_FILE=trace.txt BOX86_LD_LIBRARY_PATH=/home/hl2dm/box86/x86lib:/home/hl2dm/box86/build:/home/hl2dm/Steam/:/home/hl2dm/Steam/linux32:/home/hl2dm/Steam/steamapps/common/Half-Life\ 2\ Deathmatch\ Dedicated\ Server/:/home/hl2dm/Steam/steamapps/common/Half-Life\ 2\ Deathmatch\ Dedicated\ Server/bin/ /home/hl2dm/box86/build/box86 ./srcds_linux -game hl2mp +mp_teamplay 1 +maxplayers 8 +map dm_runoff
Dynarec blocks are dumped
BOX86 Trace redirected to "trace.txt"

WARNING: Failed to load 32-bit libtinfo.so.5 or libncurses.so.5.
Please install (lib32tinfo5 / ncurses-libs.i686 / equivalent) to enable readline.

failed to dlopen /home/hl2dm/Steam/steamapps/common/Half-Life 2 Deathmatch Dedicated Server/bin/stdshader_dbg_srv.so error=Cannot dlopen("/home/hl2dm/Steam/steamapps/common/Half-Life 2 Deathmatch Dedicated Server/bin/stdshader_dbg_srv.so"/0xb6d5e220,
failed to dlopen /home/hl2dm/Steam/steamapps/common/Half-Life 2 Deathmatch Dedicated Server/bin/stdshader_dbg_srv.so error=Cannot dlopen("/home/hl2dm/Steam/steamapps/common/Half-Life 2 Deathmatch Dedicated Server/bin/stdshader_dbg_srv.so"/0xb6d5e220,
failed to dlopen stdshader_dbg_srv.so error=Cannot dlopen("stdshader_dbg_srv.so"/0xb6d5e220, 2)

failed to dlopen /home/hl2dm/Steam/steamapps/common/Half-Life 2 Deathmatch Dedicated Server/bin/stdshader_dx6_srv.so error=Cannot dlopen("/home/hl2dm/Steam/steamapps/common/Half-Life 2 Deathmatch Dedicated Server/bin/stdshader_dx6_srv.so"/0xb6d5e220,
failed to dlopen /home/hl2dm/Steam/steamapps/common/Half-Life 2 Deathmatch Dedicated Server/bin/stdshader_dx6_srv.so error=Cannot dlopen("/home/hl2dm/Steam/steamapps/common/Half-Life 2 Deathmatch Dedicated Server/bin/stdshader_dx6_srv.so"/0xb6d5e220,
failed to dlopen stdshader_dx6_srv.so error=Cannot dlopen("stdshader_dx6_srv.so"/0xb6d5e220, 2)

failed to dlopen /home/hl2dm/Steam/steamapps/common/Half-Life 2 Deathmatch Dedicated Server/bin/stdshader_dx7_srv.so error=Cannot dlopen("/home/hl2dm/Steam/steamapps/common/Half-Life 2 Deathmatch Dedicated Server/bin/stdshader_dx7_srv.so"/0xb6d5e220,
failed to dlopen /home/hl2dm/Steam/steamapps/common/Half-Life 2 Deathmatch Dedicated Server/bin/stdshader_dx7_srv.so error=Cannot dlopen("/home/hl2dm/Steam/steamapps/common/Half-Life 2 Deathmatch Dedicated Server/bin/stdshader_dx7_srv.so"/0xb6d5e220,
failed to dlopen stdshader_dx7_srv.so error=Cannot dlopen("stdshader_dx7_srv.so"/0xb6d5e220, 2)

failed to dlopen /home/hl2dm/Steam/steamapps/common/Half-Life 2 Deathmatch Dedicated Server/bin/stdshader_dx8_srv.so error=Cannot dlopen("/home/hl2dm/Steam/steamapps/common/Half-Life 2 Deathmatch Dedicated Server/bin/stdshader_dx8_srv.so"/0xb6d5e220,
failed to dlopen /home/hl2dm/Steam/steamapps/common/Half-Life 2 Deathmatch Dedicated Server/bin/stdshader_dx8_srv.so error=Cannot dlopen("/home/hl2dm/Steam/steamapps/common/Half-Life 2 Deathmatch Dedicated Server/bin/stdshader_dx8_srv.so"/0xb6d5e220,
failed to dlopen stdshader_dx8_srv.so error=Cannot dlopen("stdshader_dx8_srv.so"/0xb6d5e220, 2)

failed to dlopen /home/hl2dm/Steam/steamapps/common/Half-Life 2 Deathmatch Dedicated Server/bin/stdshader_dx9_srv.so error=Cannot dlopen("/home/hl2dm/Steam/steamapps/common/Half-Life 2 Deathmatch Dedicated Server/bin/stdshader_dx9_srv.so"/0xb6d5e220,
failed to dlopen /home/hl2dm/Steam/steamapps/common/Half-Life 2 Deathmatch Dedicated Server/bin/stdshader_dx9_srv.so error=Cannot dlopen("/home/hl2dm/Steam/steamapps/common/Half-Life 2 Deathmatch Dedicated Server/bin/stdshader_dx9_srv.so"/0xb6d5e220,
failed to dlopen stdshader_dx9_srv.so error=Cannot dlopen("stdshader_dx9_srv.so"/0xb6d5e220, 2)

Using Breakpad minidump system. Version: 5394425 AppID: 232370
Setting breakpad minidump AppID = 232370
Using breakpad crash handler
Loaded 11 VPK file hashes from /home/hl2dm/Steam/steamapps/common/Half-Life 2 Deathmatch Dedicated Server/hl2mp/hl2mp_pak.vpk for pure server operation.
Loaded 11 VPK file hashes from /home/hl2dm/Steam/steamapps/common/Half-Life 2 Deathmatch Dedicated Server/hl2mp/hl2mp_pak.vpk for pure server operation.
Loaded 1218 VPK file hashes from /home/hl2dm/Steam/steamapps/common/Half-Life 2 Deathmatch Dedicated Server/hl2/hl2_textures.vpk for pure server operation.
Loaded 574 VPK file hashes from /home/hl2dm/Steam/steamapps/common/Half-Life 2 Deathmatch Dedicated Server/hl2/hl2_sound_vo_english.vpk for pure server operation.
Loaded 383 VPK file hashes from /home/hl2dm/Steam/steamapps/common/Half-Life 2 Deathmatch Dedicated Server/hl2/hl2_sound_misc.vpk for pure server operation.
Loaded 446 VPK file hashes from /home/hl2dm/Steam/steamapps/common/Half-Life 2 Deathmatch Dedicated Server/hl2/hl2_misc.vpk for pure server operation.
Loaded 5 VPK file hashes from /home/hl2dm/Steam/steamapps/common/Half-Life 2 Deathmatch Dedicated Server/platform/platform_misc.vpk for pure server operation.
ConVarRef mat_dxlevel doesn't point to an existing ConVar
server_srv.so loaded for "Half-Life 2 Deathmatch"
maxplayers set to 8
Looking up breakpad interfaces from steamclient
Calling BreakpadMiniDumpSystemInit
maxplayers set to 8
ConVarRef dev_loadtime_map_start doesn't point to an existing ConVar
Network: IP 10.0.0.168, mode MP, dedicated Yes, ports 27015 SV / 27005 CL
Initializing Steam libraries for secure Internet server
[S_API FAIL] SteamAPI_Init() failed; SteamAPI_IsSteamRunning() failed.
CAppInfoCacheReadFromDiskThread took 319 milliseconds to initialize
CApplicationManagerPopulateThread took 2339 milliseconds to initialize (will have waited on CAppInfoCacheReadFromDiskThread)
RecordSteamInterfaceCreation (PID 12906): SteamGameServer012 / GameServer
RecordSteamInterfaceCreation (PID 12906): SteamUtils007 / Utils
RecordSteamInterfaceCreation (PID 12906): STEAMAPPS_INTERFACE_VERSION007 / Apps
RecordSteamInterfaceCreation (PID 12906): STEAMHTTP_INTERFACE_VERSION002 / HTTP
RecordSteamInterfaceCreation (PID 12906): STEAMUGC_INTERFACE_VERSION007 / UGC
Setting breakpad minidump AppID = 320
Looking up breakpad interfaces from steamclient
Calling BreakpadMiniDumpSystemInit
RecordSteamInterfaceCreation (PID 12906): SteamGameServer012 / GameServer
RecordSteamInterfaceCreation (PID 12906): SteamUtils007 / Utils
RecordSteamInterfaceCreation (PID 12906): SteamNetworking005 / Networking
RecordSteamInterfaceCreation (PID 12906): SteamGameServerStats001 / GameServerStats
RecordSteamInterfaceCreation (PID 12906): STEAMHTTP_INTERFACE_VERSION002 / HTTP
RecordSteamInterfaceCreation (PID 12906): STEAMINVENTORY_INTERFACE_V001 / Inventory
RecordSteamInterfaceCreation (PID 12906): STEAMUGC_INTERFACE_VERSION007 / UGC
Setting breakpad minidump AppID = 232370
No account token specified; logging into anonymous game server account. (Use sv_setsteamaccount to login to a persistent account.)
RecordSteamInterfaceCreation (PID 12906): SteamGameServer012 / GameServer
RecordSteamInterfaceCreation (PID 12906): SteamUtils007 / Utils
RecordSteamInterfaceCreation (PID 12906): SteamNetworking005 / Networking
RecordSteamInterfaceCreation (PID 12906): SteamGameServerStats001 / GameServerStats
RecordSteamInterfaceCreation (PID 12906): STEAMHTTP_INTERFACE_VERSION002 / HTTP
RecordSteamInterfaceCreation (PID 12906): STEAMINVENTORY_INTERFACE_V001 / Inventory
RecordSteamInterfaceCreation (PID 12906): STEAMUGC_INTERFACE_VERSION007 / UGC
ConVarRef room_type doesn't point to an existing ConVar
Executing dedicated server config file server.cfg
Using map cycle file 'cfg/mapcycle_default.txt'. ('cfg/mapcycle.txt' was not found.)
Bus error (core dumped)

@ptitSeb
Copy link
Owner

ptitSeb commented May 16, 2020

Thanks for the trace, but I also need the gdb backtrace to see what instruction provoque the bus error.

@sysadminbp
Copy link
Author

hope I set BOX86_LD_LIBRARY_PATH right but the program does not stop for >10 min now

hl2dm@pi:~/Steam/steamapps/common/Half-Life 2 Deathmatch Dedicated Server$ gdb
GNU gdb (Ubuntu 9.1-0ubuntu1) 9.1
Copyright (C) 2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "arm-linux-gnueabihf".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
http://www.gnu.org/software/gdb/bugs/.
Find the GDB manual and other documentation resources online at:
http://www.gnu.org/software/gdb/documentation/.

For help, type "help".
Type "apropos word" to search for commands related to "word".
(gdb) set environment BOX86_LD_LIBRARY_PATH=/home/hl2dm/box86/x86lib:/home/hl2dm/box86/build:/home/hl2dm/Steam/:/home/hl2dm/Steam/linux32:/home/hl2dm/Steam/steamapps/common/Half-Life\ 2\ Deathmatch\ Dedicated\ Server/:/home/hl2dm/Steam/steamapps/common/Half-Life\ 2\ Deathmatch\ Dedicated\ Server/bin/
(gdb) exec-file /home/hl2dm/box86/build/box86
(gdb) set args ./srcds_linux -game hl2mp +mp_teamplay 1 +maxplayers 8 +map dm_runoff
(gdb) r
Starting program: /home/hl2dm/box86/build/box86 ./srcds_linux -game hl2mp +mp_teamplay 1 +m axplayers 8 +map dm_runoff

@ptitSeb
Copy link
Owner

ptitSeb commented Oct 11, 2022

Can this ticket be closed now?

(I know HL2 works fine with box86, but I don't know how stable the Deathmatch server is.)

@sysadminbp
Copy link
Author

@ptitSeb I think yes, but i didn't tried to start it since.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants