๐ Hi, Iโm @anujdatar
Educator and developer, who likes to work on random projects and learn new things.
Some of my work:
Box86, the x86 emulator, running in a docker
License: MIT License
0007|SIGSEGV @0x6d3eb524 (???(0x6d3eb524)) (x86pc=0x6d6c6d93//hlds/cstrike/dlls/cs.so:"/hlds/cstrike/dlls/cs.so/_Z14ServerActivateP7edict_sii + 234", esp=0x763cb0c0, stack=0x75bdc000:0x763dc000 own=(nil) fp=(nil)), for accessing (nil) (code=1/prot=0), db=0x64dc57e8(0x6d3eb4b8:0x6d3eb55c/0x6d6c6d7a:0x6d6c6d9b//hlds/cstrike/dlls/cs.so/_Z14ServerActivateP7edict_sii + 234:clean, hash:3c1c1c64/3c1c1c64)
0007|Double SIGSEGV (code=1, pc=0x6d3eb524, addr=(nil))!
Missing shutdown function for Sys_InitAuthentication() : Sys_ShutdownAuthentication()
Missing shutdown function for Host_Init( &host_parms ) : Host_Shutdown()
Missing shutdown function for Sys_InitLauncherInterface() : Sys_ShutdownLauncherInterface()
Missing shutdown function for Sys_InitMemory() : Sys_ShutdownMemory()
Missing shutdown function for Sys_Init() : Sys_Shutdown()
Missing shutdown function for FileSystem_Init(basedir, (void *)filesystemFactory) : FileSystem_Shutdown()
Missing shutdown function for Sys_InitArgv( m_OrigCmd ) : Sys_ShutdownArgv()
The binary crashes with such output. It works normally outside of the docker, the base image is debian:buster-slim and binary is run using box86 binary built from git repository.
Hi
I'm trying to run a Docker container that uses box86 to host a CoD4X dedicated server. It crashes upon start. Do you have any idea what's going on? See the log.
$ docker run -p 28960:28960/udp -it cod4-box86
$ box86 cod4_lnxded +set sv_pure 1 +set dedicated 2 +set fs_game mods/pml219_ne +set fs_homepath /usr/local/games/cod4-linux-server/cod4 +set net_ip 108.61.213.105 +set net_port 28930 +set sv_punkbuster 1 +exec server.cfg +map_rotate
Box86 with Dynarec v0.2.3 ff365085 built on Aug 4 2021 16:31:11
********************************************************
***** RUNNING SERVER AS A ROOT IS GENERALLY UNSAFE *****
********************************************************
CoD4 X 1.7a linux-i386-testing build 2535 Jun 4 2014
--- Crypto Initializing ---
Testing SHA1 hash function - positive.
Testing SHA256 hash function - positive.
Testing tiger hash function - positive.
--- Crypto Initialization Complete ---
----- FS_Startup -----
Warning: WARNING: Invalid IWD jcod4x_00.iwd in \main.
Warning: WARNING: Invalid IWD xbase_00.iwd in \main.
Current language: english
Current fs_basepath: /home/server
Current fs_homepath: /usr/local/games/cod4-linux-server/cod4
Current search path:
/usr/local/games/cod4-linux-server/cod4/mods/pml219_ne
/home/server/mods/pml219_ne
/usr/local/games/cod4-linux-server/cod4/main
/home/server/main/xiceops_00.iwd (1 files)
/home/server/main/iw_13.iwd (265 files)
/home/server/main/iw_12.iwd (33 files)
/home/server/main/iw_11.iwd (448 files)
/home/server/main/iw_10.iwd (230 files)
/home/server/main/iw_09.iwd (447 files)
/home/server/main/iw_08.iwd (66 files)
/home/server/main/iw_07.iwd (34 files)
/home/server/main/iw_06.iwd (416 files)
/home/server/main/iw_05.iwd (716 files)
/home/server/main/iw_04.iwd (765 files)
/home/server/main/iw_03.iwd (670 files)
/home/server/main/iw_02.iwd (1296 files)
/home/server/main/iw_01.iwd (1456 files)
/home/server/main/iw_00.iwd (1054 files)
/home/server/main
/home/server/main_shared
/home/server/players
/home/server/main/localized_english_iw06.iwd (7 files)
localized assets iwd file for english
/home/server/main/localized_english_iw05.iwd (1338 files)
localized assets iwd file for english
/home/server/main/localized_english_iw04.iwd (1730 files)
localized assets iwd file for english
/home/server/main/localized_english_iw03.iwd (3705 files)
localized assets iwd file for english
/home/server/main/localized_english_iw02.iwd (3483 files)
localized assets iwd file for english
/home/server/main/localized_english_iw01.iwd (3181 files)
localized assets iwd file for english
/home/server/main/localized_english_iw00.iwd (2903 files)
localized assets iwd file for english
File Handles:
----------------------
24244 files in iwd files
execing default_mp.cfg
execing default_mp_controls.cfg
execing default_mp_gamesettings.cfg
execing server_map.cfg
couldn't exec q3config_server.cfg
dedicated is write protected.
fs_game is write protected.
fs_homepath is write protected.
-------- Plugins initialization completed --------
IP: 127.0.0.1
IP: 172.17.0.4
Warning: Couldn't bind to a v6 ip address.
Opening IP socket: 108.61.213.105:28930 UDP
Warning: NET_IPSocket: bind: Cannot assign requested address
Warning: Couldn't bind to a v4 ip address.
---- Network shutdown ----
--------------------------
Sys_Error: Could not bind to a IPv4 or IPv6 network socket
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.