Xonotic Forums
[SOLVED] Segmentation fault (HTTP error 422) at the end of the first map - Printable Version

+- Xonotic Forums (https://forums.xonotic.org)
+-- Forum: Support (https://forums.xonotic.org/forumdisplay.php?fid=3)
+--- Forum: Xonotic - Help & Troubleshooting (https://forums.xonotic.org/forumdisplay.php?fid=4)
+--- Thread: [SOLVED] Segmentation fault (HTTP error 422) at the end of the first map (/showthread.php?tid=9525)



Segmentation fault (HTTP error 422) at the end of the first map - John - 11-03-2022

Hi all,
I am only able to run version 0.8.2, because my Linux distro (ClearOS 7.9.1) does not support 0.8.5, but I would still like to give it a try to run a server.

I attempted this in two ways:
https://snapcraft.io/install/xonotic/centos
By unzipping it and following the instructions.

Both ways worked, but I didn't know how to edit the config file on a read only container and when unzipping it, it crashes at the end of the first map with this error:
  • Segmentation fault
Please advice.

Code:
# /usr/games/xonotic-0.8.5/server_linux.sh start
./xonotic-linux64-dedicated: /lib64/libm.so.6: version `GLIBC_2.27' not found (required by ./xonotic-linux64-dedicated)
./xonotic-linux64-dedicated: /lib64/libm.so.6: version `GLIBC_2.29' not found (required by ./xonotic-linux64-dedicated)
./xonotic-linux64-dedicated: /lib64/libc.so.6: version `GLIBC_2.28' not found (required by ./xonotic-linux64-dedicated)
./xonotic-linux64-dedicated: /lib64/libc.so.6: version `GLIBC_2.25' not found (required by ./xonotic-linux64-dedicated)
./xonotic-linux64-dedicated: /lib64/libstdc++.so.6: version `CXXABI_1.3.8' not found (required by ./xonotic-linux64-dedicated)
./xonotic-linux64-dedicated: /lib64/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by ./xonotic-linux64-dedicated)
Code:
# /usr/games/xonotic-0.8.2/server_linux.sh start
Game is Xonotic using base gamedir data
gamename for server filtering: Xonotic
Xonotic Linux 22:03:50 Mar 31 2017 - release
Current nice level is below the soft limit - cannot use niceness
Skeletal animation uses SSE code path
execing quake.rc
execing default.cfg
execing defaultXonotic.cfg
Warning: Could not expand $vid_width
Warning: Could not expand $vid_height
Warning: Could not expand $vid_pixelheight
Warning: Could not expand $vid_desktopfullscreen
execing sRGB-disable.cfg
menu: unknown program name
execing weapons.cfg
execing binds-xonotic.cfg
execing cdtracks.cfg
execing balance-xonotic.cfg
execing bal-wep-xonotic.cfg
execing effects-normal.cfg
execing physicsX.cfg
execing turrets.cfg
execing crosshairs.cfg
execing gamemodes.cfg
execing ctfscoring-samual.cfg
execing mutators.cfg
execing notifications.cfg
execing monsters.cfg
execing minigames.cfg
execing physics.cfg
execing commands.cfg
Warning: Could not expand $qport in alias _if_dedicated
execing _hud_common.cfg
execing _hud_descriptions.cfg
execing hud_luma.cfg
couldn't exec config.cfg
"maxplayers" set to "16"
execing data/campaign.cfg
execing config_update.cfg
execing font-xolonium.cfg
Warning: Could not expand $scr_loadingscreen_barheight
Warning: Could not expand $scr_infobar_height
This command only works on clients: cl_cmd hud scoreboard_columns_set
execing autoexec/empty.cfg
execing autoexec.cfg
Loaded public key key_0.d0pk (fingerprint: Xon//KssdlzGkFKdnnN4sgg8H+koTbBn5JTi37BAW1Q=)
Loaded private ID key_0.d0si for key_0.d0pk (public key fingerprint: AEIlEwY6HgQZCPIrfOgjDuiHpLFwL609TQ43f6giONg=)
there is already a signed private key for 0
execing post-config.cfg
Server using port 26000
Server listening on address 0.0.0.0:26000
Server listening on address [0:0:0:0:0:0:0:0]:26000
execing server.cfg
Game type successfully switched to dm
FS_OpenVirtualFile("data/maps/.mapinfo", false): nasty filename rejected
FS_OpenVirtualFile("maps/.mapinfo", false): nasty filename rejected
FS_OpenVirtualFile("data/maps/autogenerated/.mapinfo", false): nasty filename rejected
FS_OpenVirtualFile("maps/autogenerated/.mapinfo", false): nasty filename rejected
FS_OpenVirtualFile("data/maps/.ent", false): nasty filename rejected
FS_OpenVirtualFile("maps/.ent", false): nasty filename rejected
FS_OpenVirtualFile("data/maps/.bsp", false): nasty filename rejected
FS_OpenVirtualFile("maps/.bsp", false): nasty filename rejected
Maplist contains no usable maps!  Resetting it to default map list.
Switching to map erbium
menu: unknown program name
Server using port 26000
Server listening on address 192.168.###.#:26000
Server listening on address [0:0:0:0:0:0:0:0]:26000
uri_multi_ready: got HTTP error 422, data is in unusable format - not continuing
Player stats writing failed: -422
Switching to map oilrig
Segmentation fault



RE: Segmentation fault (HTTP error 422) at the end of the first map - John - 11-04-2022

Hi all,

I finally solved it by changing back to the original server.cfg and editing and testing the individual settings.
It seems that Xonotic crashes after the first map, with a segmentation fault if I enter the net_address of my local NIC.
The HTTP error remains, but does not interfere with the server running.

Now it at least works.

Code:
Server using port 10##
Server listening on address 0.0.0.0:10##
Server listening on address [0:0:0:0:0:0:0:0]:10##
uri_multi_ready: got HTTP error 422, data is in unusable format - not continuing
Player stats writing failed: -422
Switching to map boil

Closing this case.