FWGS / xash3d

DEPRECATED in favor of https://github.com/FWGS/xash3d-fwgs. Only bugfixes are accepted.
https://xash.su
GNU General Public License v3.0
554 stars 107 forks source link

openbsd/amd64 crash #147

Closed ryan-sg closed 6 years ago

ryan-sg commented 8 years ago

before I begin, I did notice the warnings to use 32bit stuff everywhere even on 64-bit systems. But, I noticed a few commit messages mentioning OpenBSD, and what appears to be 64-bit friendly fixes so I had to try!

thrilled when the menu popped up, but i can't get the engine to actually draw a map. But! a rather juicy core dump :-)

Built with the pvs-code-clean branch, using cmake -DXASH_SDL=1, (no vgui). used hl.so from hlsdk that you get from git submodule init; git submodule update used client.so from hlsdk-client tree thats here. all fiddled with only to remove -m32 flags and such, as 64-bit openbsd can't run anything 32bit etc...

using the valve folder from my steam ver, with hl.so and client.so replaced accordingly.

engine log

00:04 ryan@iddqd:~/games/xash3d$ cat engine.log
================================================================================
        Xash (build 3366) started at Jun18 2016 [00:03.40]
================================================================================
[2016:06:18|00:03:40] Sys_LoadLibrary: Loading Engine Library - ok
[2016:06:18|00:03:40] FS_AddGameDirectory( ./, 0 )
[2016:06:18|00:03:40] FS_Init: done
[2016:06:18|00:03:40] FS_LoadGameInfo( valve )
[2016:06:18|00:03:40] FS_Rescan( Half-Life )
[2016:06:18|00:03:40] FS_AddGameDirectory( valve/downloaded/, 10 )
[2016:06:18|00:03:40] FS_AddGameDirectory( valve/, 4 )
[2016:06:18|00:03:40] Adding wadfile valve/cached.wad (2 files)
[2016:06:18|00:03:40] Adding wadfile valve/decals.wad (222 files)
[2016:06:18|00:03:40] Adding wadfile valve/fonts.wad (3 files)
[2016:06:18|00:03:40] Adding wadfile valve/gfx.wad (7 files)
[2016:06:18|00:03:40] Adding wadfile valve/halflife.wad (3116 files)
[2016:06:18|00:03:40] Adding wadfile valve/liquids.wad (32 files)
[2016:06:18|00:03:40] Adding wadfile valve/spraypaint.wad (14 files)
[2016:06:18|00:03:40] Adding wadfile valve/tempdecal.wad (1 files)
[2016:06:18|00:03:40] Adding wadfile valve/xeno.wad (264 files)
[2016:06:18|00:03:40] FS_AddGameDirectory( valve/custom/, 10 )
[2016:06:18|00:03:41] InitDecals: 222 decals
[2016:06:18|00:03:41] NET_Init()
[2016:06:18|00:03:41] Console initialized.
[2016:06:18|00:03:41] execing video.cfg
[2016:06:18|00:03:41] execing opengl.cfg
[2016:06:18|00:03:41] Set: [1024x768]
[2016:06:18|00:03:41] VID_StartupGamma: validate screen gamma - ok
[00:03:41]  GL_CheckExtension: OpenGL 1.1.0 [2016:06:18|00:03:41] - ^2enabled
[2016:06:18|00:03:41] Video: Gallium 0.4 on AMD RV770 (DRM 2.29.0)
[00:03:41]  GL_CheckExtension: glDrawRangeElements [2016:06:18|00:03:41] - ^2enabled
[00:03:41]  GL_CheckExtension: GL_ARB_multitexture [2016:06:18|00:03:41] - ^2enabled
[00:03:41]  GL_CheckExtension: GL_ARB_texture_env_combine [2016:06:18|00:03:41] - ^2enabled
[00:03:41]  GL_CheckExtension: GL_ARB_texture_env_dot3 [2016:06:18|00:03:41] - ^2enabled
[00:03:41]  GL_CheckExtension: GL_EXT_texture3D [2016:06:18|00:03:41] - ^2enabled
[00:03:41]  GL_CheckExtension: GL_SGIS_generate_mipmap [2016:06:18|00:03:41] - ^2enabled
[00:03:41]  GL_CheckExtension: GL_ARB_texture_cube_map [2016:06:18|00:03:41] - ^2enabled
[00:03:41]  GL_CheckExtension: GL_ARB_seamless_cube_map [2016:06:18|00:03:41] - ^2enabled
[00:03:41]  GL_CheckExtension: GL_EXT_point_parameters [2016:06:18|00:03:41] - ^2enabled
[00:03:41]  GL_CheckExtension: GL_ARB_texture_non_power_of_two [2016:06:18|00:03:41] - ^2enabled
[00:03:41]  GL_CheckExtension: GL_ARB_texture_compression [2016:06:18|00:03:41] - ^2enabled
[00:03:41]  GL_CheckExtension: GL_EXT_compiled_vertex_array [2016:06:18|00:03:41] - ^2enabled
[00:03:41]  GL_CheckExtension: GL_EXT_texture_edge_clamp [2016:06:18|00:03:41] - ^2enabled
[00:03:41]  GL_CheckExtension: GL_EXT_texture_filter_anisotropic [2016:06:18|00:03:41] - ^2enabled
[00:03:41]  GL_CheckExtension: GL_EXT_texture_lod_bias [2016:06:18|00:03:41] - ^2enabled
[00:03:41]  GL_CheckExtension: GL_ARB_texture_border_clamp [2016:06:18|00:03:41] - ^2enabled
[00:03:41]  GL_CheckExtension: GL_EXT_blend_minmax [2016:06:18|00:03:41] - ^2enabled
[00:03:41]  GL_CheckExtension: GL_EXT_blend_subtract [2016:06:18|00:03:41] - ^2enabled
[00:03:41]  GL_CheckExtension: glStencilOpSeparate [2016:06:18|00:03:41] - ^2enabled
[00:03:41]  GL_CheckExtension: GL_EXT_stencil_two_side [2016:06:18|00:03:41] - ^2enabled
[00:03:41]  GL_CheckExtension: GL_ARB_vertex_buffer_object [2016:06:18|00:03:41] - ^2enabled
[00:03:41]  GL_CheckExtension: GL_ARB_texture_env_add [2016:06:18|00:03:41] - ^2enabled
[00:03:41]  GL_CheckExtension: GL_ARB_shader_objects [2016:06:18|00:03:41] - ^2enabled
[00:03:41]  GL_CheckExtension: GL_ARB_shading_language_100 [2016:06:18|00:03:41] - ^2enabled
[00:03:41]  GL_CheckExtension: GL_ARB_vertex_shader [2016:06:18|00:03:41] - ^2enabled
[00:03:41]  GL_CheckExtension: GL_ARB_fragment_shader [2016:06:18|00:03:41] - ^2enabled
[00:03:41]  GL_CheckExtension: GL_ARB_depth_texture [2016:06:18|00:03:41] - ^2enabled
[00:03:41]  GL_CheckExtension: GL_ARB_shadow [2016:06:18|00:03:41] - ^2enabled
[00:03:41]  GL_CheckExtension: GL_ARB_texture_float [2016:06:18|00:03:41] - ^2enabled
[00:03:41]  GL_CheckExtension: GL_ARB_depth_buffer_float [2016:06:18|00:03:41] - ^2enabled
[00:03:41]  GL_CheckExtension: GL_ARB_occlusion_query [2016:06:18|00:03:41] - ^2enabled
[2016:06:18|00:03:41] GL_Upload: *white s&3 [1 x 1]
[2016:06:18|00:03:41] GL_Upload: *gray s&3 [1 x 1]
[2016:06:18|00:03:41] GL_Upload: *black s&3 [1 x 1]
[2016:06:18|00:03:41] GL_Upload: *vsdct s&3 [1 x 1]
[2016:06:18|00:03:41] SCR_Init()
[2016:06:18|00:03:41] AVI: Not supported
[2016:06:18|00:03:41] UI_SetColors: colors.lst not found
[2016:06:18|00:03:41] ^3Warning:^7 FS_LoadImage: couldn't load "gfx/shell/splash"
[2016:06:18|00:03:41] GL_Upload: gfx/shell/min_n s&3 [19 x 19]
[2016:06:18|00:03:41] GL_Upload: gfx/shell/min_f s&3 [19 x 19]
[2016:06:18|00:03:41] GL_Upload: gfx/shell/min_d s&3 [19 x 19]
[2016:06:18|00:03:41] GL_Upload: gfx/shell/cls_n s&3 [19 x 19]
[2016:06:18|00:03:41] GL_Upload: gfx/shell/cls_f s&3 [19 x 19]
[2016:06:18|00:03:41] GL_Upload: gfx/shell/cls_d s&3 [19 x 19]
[2016:06:18|00:03:41] Using SDL audio driver: sndio @ 44100 Hz
[2016:06:18|00:03:41] IN_TouchInit()
[2016:06:18|00:03:41] CL_LoadProgs: failed to get address of HUD_ChatInputPosition proc
[2016:06:18|00:03:41] CL_LoadProgs: failed to get address of HUD_GetRenderInterface proc
[2016:06:18|00:03:41] CL_LoadProgs: failed to get address of HUD_GetPlayerTeam proc
[2016:06:18|00:03:41] CL_LoadProgs: failed to get address of HUD_ClipMoveToEntity proc
[2016:06:18|00:03:41] CL_LoadProgs: failed to get address of IN_ClientTouchEvent proc
[2016:06:18|00:03:41] TextMessage: parsed 143 text messages
[2016:06:18|00:03:41] CL: hull0, player_mins: -16 -16 -36, player_maxs: 16 16 36
[2016:06:18|00:03:41] CL: hull1, player_mins: -16 -16 -18, player_maxs: 16 16 18
[2016:06:18|00:03:41] CL: hull2, player_mins: 0 0 0, player_maxs: 0 0 0
[2016:06:18|00:03:41] Mobility interface not found
[00:03:41]  InitStudioAPI [2016:06:18|00:03:41] - ok
[2016:06:18|00:03:41] execing valve.rc
[2016:06:18|00:03:41] execing language.cfg
[2016:06:18|00:03:41] couldn't exec joystick.cfg
[2016:06:18|00:03:41] execing autoexec.cfg
[2016:06:18|00:03:41] execing violence.cfg
[2016:06:18|00:03:41] execing config.cfg
[2016:06:18|00:03:41] execing keyboard.cfg
[2016:06:18|00:03:41] couldn't exec userconfig.cfg
[2016:06:18|00:03:41] execing game.cfg
[2016:06:18|00:03:41] execing config.cfg
[2016:06:18|00:03:41] execing keyboard.cfg
[2016:06:18|00:03:41] couldn't exec userconfig.cfg
[2016:06:18|00:03:41] execing touch.cfg
[2016:06:18|00:03:41] FS_OpenStream: couldn't open "media/gamestartup"
[2016:06:18|00:03:41] ^3Warning:^7 CL_PushPMStates called with pushed stack
[2016:06:18|00:03:41] ^3Warning:^7 CL_PushPMStates called with pushed stack
[2016:06:18|00:03:41] ^3Warning:^7 CL_PushPMStates called with pushed stack
[2016:06:18|00:03:41] ^3Warning:^7 CL_PushPMStates called with pushed stack
[2016:06:18|00:03:41] ^3Warning:^7 CL_PushPMStates called with pushed stack
[2016:06:18|00:03:41] Sound_LoadWAV: ( media/launch_upmenu1.wav, 0x17ba46204038, 18730 )
[2016:06:18|00:03:41] ^3Warning:^7 CL_PushPMStates called with pushed stack
[2016:06:18|00:03:41] ^3Warning:^7 CL_PushPMStates called with pushed stack
[2016:06:18|00:03:41] ^3Warning:^7 CL_PushPMStates called with pushed stack
[2016:06:18|00:03:41] ^3Warning:^7 CL_PushPMStates called with pushed stack
[2016:06:18|00:03:42] ^3Warning:^7 CL_PushPMStates called with pushed stack
[2016:06:18|00:03:51] Sound_LoadWAV: ( media/launch_select2.wav, 0x17ba46204038, 18086 )
[2016:06:18|00:03:51] ^3Warning:^7 FS_LoadImage: couldn't load "gfx/shell/splash"
[2016:06:18|00:03:52] ^3Warning:^7 FS_LoadImage: couldn't load "gfx/shell/splash"
[2016:06:18|00:03:53] Scanning for servers on the local network area...
[2016:06:18|00:03:53] NET_UDPSocket( localhost, 27015 )
[2016:06:18|00:03:53] NET_UDPSocket( localhost, 27005 )
[2016:06:18|00:03:53] Server IP address: 10.21.8.129:27015
[2016:06:18|00:03:53] SV_ConnectionlessPacket: 10.21.8.129:27005 : info
[2016:06:18|00:03:53] ^3Warning:^7 FS_LoadImage: couldn't load "gfx/shell/splash"
[2016:06:18|00:03:53] maps.lst found: basedir
[2016:06:18|00:03:53] GL_Upload: gfx/shell/cb_empty s&3 [19 x 19]
[2016:06:18|00:03:57] SV_LoadProgs: ^2initailized extended EntityAPI ^7ver. 140
[2016:06:18|00:03:57] SV_LoadProgs: ^2initailized extended PhysicAPI ^7ver. 6
[2016:06:18|00:03:57] Dll loaded for mod Half-Life
[2016:06:18|00:03:57] SV: hull0, player_mins: -16 -16 -36, player_maxs: 16 16 36
[2016:06:18|00:03:57] SV: hull1, player_mins: -16 -16 -18, player_maxs: 16 16 18
[2016:06:18|00:03:57] SV: hull2, player_mins: 0 0 0, player_maxs: 0 0 0
[2016:06:18|00:03:57] execing skill.cfg
[2016:06:18|00:03:57] execing listenserver.cfg
[2016:06:18|00:03:57] Spawn Server: boot_camp
[2016:06:18|00:03:57] Mod_LoadModel: maps/boot_camp.bsp
[2016:06:18|00:03:57] SV_SpawnEntities( boot_camp )
[2016:06:18|00:03:57] execing game.cfg
[2016:06:18|00:03:57] server: GAME SKILL LEVEL:1
[2016:06:18|00:03:57] server: Executing listen server config file
[2016:06:18|00:03:57] Mod_LoadModel: models/w_suit.mdl
[2016:06:18|00:03:57] Mod_LoadModel: models/w_battery.mdl
[2016:06:18|00:03:57] Mod_LoadModel: models/w_antidote.mdl
[2016:06:18|00:03:57] Mod_LoadModel: models/w_security.mdl
[2016:06:18|00:03:57] Mod_LoadModel: models/w_longjump.mdl
[2016:06:18|00:03:57] Mod_LoadModel: models/v_shotgun.mdl
[2016:06:18|00:03:57] Mod_LoadModel: models/w_shotgun.mdl
[2016:06:18|00:03:57] Mod_LoadModel: models/p_shotgun.mdl
[2016:06:18|00:03:57] Mod_LoadModel: models/shotgunshell.mdl
[2016:06:18|00:03:57] Mod_LoadModel: models/w_shotbox.mdl
[2016:06:18|00:03:57] Mod_LoadModel: models/v_crowbar.mdl
[2016:06:18|00:03:57] Mod_LoadModel: models/w_crowbar.mdl
[2016:06:18|00:03:57] Mod_LoadModel: models/p_crowbar.mdl
[2016:06:18|00:03:57] Mod_LoadModel: models/v_9mmhandgun.mdl
[2016:06:18|00:03:57] Mod_LoadModel: models/w_9mmhandgun.mdl
[2016:06:18|00:03:57] Mod_LoadModel: models/p_9mmhandgun.mdl
[2016:06:18|00:03:57] Mod_LoadModel: models/shell.mdl
[2016:06:18|00:03:57] Mod_LoadModel: models/w_9mmclip.mdl
[2016:06:18|00:03:57] Mod_LoadModel: models/v_9mmAR.mdl
[2016:06:18|00:03:57] Mod_LoadModel: models/w_9mmAR.mdl
[2016:06:18|00:03:57] Mod_LoadModel: models/p_9mmAR.mdl
[2016:06:18|00:03:57] Mod_LoadModel: models/grenade.mdl
[2016:06:18|00:03:57] Mod_LoadModel: models/w_9mmARclip.mdl
[2016:06:18|00:03:57] Mod_LoadModel: models/w_ARgrenade.mdl
[2016:06:18|00:03:57] Mod_LoadModel: models/v_357.mdl
[2016:06:18|00:03:57] Mod_LoadModel: models/w_357.mdl
[2016:06:18|00:03:57] Mod_LoadModel: models/p_357.mdl
[2016:06:18|00:03:57] Mod_LoadModel: models/w_357ammobox.mdl
[2016:06:18|00:03:57] Mod_LoadModel: models/w_gauss.mdl
[2016:06:18|00:03:57] Mod_LoadModel: models/v_gauss.mdl
[2016:06:18|00:03:57] Mod_LoadModel: models/p_gauss.mdl
[2016:06:18|00:03:57] Mod_LoadModel: sprites/hotglow.spr
[2016:06:18|00:03:58] Mod_LoadModel: sprites/smoke.spr
[2016:06:18|00:03:58] Mod_LoadModel: models/w_gaussammo.mdl
[2016:06:18|00:03:58] Mod_LoadModel: models/w_rpg.mdl
[2016:06:18|00:03:58] Mod_LoadModel: models/v_rpg.mdl
[2016:06:18|00:03:58] Mod_LoadModel: models/p_rpg.mdl
[2016:06:18|00:03:58] Mod_LoadModel: sprites/laserdot.spr
[2016:06:18|00:03:58] Mod_LoadModel: models/rpgrocket.mdl
[2016:06:18|00:03:58] Mod_LoadModel: models/w_rpgammo.mdl
[2016:06:18|00:03:58] Mod_LoadModel: models/w_crossbow.mdl
[2016:06:18|00:03:58] Mod_LoadModel: models/v_crossbow.mdl
[2016:06:18|00:03:58] Mod_LoadModel: models/p_crossbow.mdl
[2016:06:18|00:03:58] Mod_LoadModel: models/crossbow_bolt.mdl
[2016:06:18|00:03:58] Mod_LoadModel: sprites/streak.spr
[2016:06:18|00:03:58] Mod_LoadModel: models/w_crossbow_clip.mdl
[2016:06:18|00:03:58] Mod_LoadModel: models/w_egon.mdl
[2016:06:18|00:03:58] Mod_LoadModel: models/v_egon.mdl
[2016:06:18|00:03:58] Mod_LoadModel: models/p_egon.mdl
[2016:06:18|00:03:58] Mod_LoadModel: sprites/xbeam1.spr
[2016:06:18|00:03:58] Mod_LoadModel: sprites/XSpark1.spr
[2016:06:18|00:03:58] Mod_LoadModel: models/v_tripmine.mdl
[2016:06:18|00:03:58] Mod_LoadModel: models/p_tripmine.mdl
[2016:06:18|00:03:58] Mod_LoadModel: models/v_satchel.mdl
[2016:06:18|00:03:58] Mod_LoadModel: models/v_satchel_radio.mdl
[2016:06:18|00:03:58] Mod_LoadModel: models/w_satchel.mdl
[2016:06:18|00:03:58] Mod_LoadModel: models/p_satchel.mdl
[2016:06:18|00:03:58] Mod_LoadModel: models/p_satchel_radio.mdl
[2016:06:18|00:03:58] Mod_LoadModel: models/w_grenade.mdl
[2016:06:18|00:03:58] Mod_LoadModel: models/v_grenade.mdl
[2016:06:18|00:03:58] Mod_LoadModel: models/p_grenade.mdl
[2016:06:18|00:03:58] Mod_LoadModel: models/w_sqknest.mdl
[2016:06:18|00:03:58] Mod_LoadModel: models/v_squeak.mdl
[2016:06:18|00:03:58] Mod_LoadModel: models/p_squeak.mdl
[2016:06:18|00:03:58] Mod_LoadModel: models/w_squeak.mdl
[2016:06:18|00:03:58] Mod_LoadModel: models/v_hgun.mdl
[2016:06:18|00:03:58] Mod_LoadModel: models/w_hgun.mdl
[2016:06:18|00:03:58] Mod_LoadModel: models/p_hgun.mdl
[2016:06:18|00:03:58] Mod_LoadModel: models/hornet.mdl
[2016:06:18|00:03:58] Mod_LoadModel: sprites/muz1.spr
[2016:06:18|00:03:58] Mod_LoadModel: sprites/laserbeam.spr
[2016:06:18|00:03:58] Mod_LoadModel: models/w_weaponbox.mdl
[2016:06:18|00:03:58] Mod_LoadModel: sprites/zerogxplode.spr
[2016:06:18|00:03:58] Mod_LoadModel: sprites/WXplo1.spr
[2016:06:18|00:03:58] Mod_LoadModel: sprites/steam1.spr
[2016:06:18|00:03:58] Mod_LoadModel: sprites/bubble.spr
[2016:06:18|00:03:58] Mod_LoadModel: sprites/bloodspray.spr
[2016:06:18|00:03:58] Mod_LoadModel: sprites/blood.spr
[2016:06:18|00:03:58] Mod_LoadModel: sprites/explode1.spr
[2016:06:18|00:03:58] Mod_LoadModel: models/player.mdl
[2016:06:18|00:03:58] Mod_LoadModel: models/hgibs.mdl
[2016:06:18|00:03:58] Mod_LoadModel: models/agibs.mdl
[2016:06:18|00:03:58] Mod_LoadModel: models/woodgibs.mdl
[2016:06:18|00:03:58] ^3Warning:^7 Can't find decal C1A4_SILO2B
[2016:06:18|00:03:58] ^3Warning:^7 Can't find decal C1A4_SILO2B
[2016:06:18|00:03:58] Mod_LoadModel: models/w_medkit.mdl
[2016:06:18|00:03:58] SV_LoadFromFile: 0 entities inhibited
[2016:06:18|00:03:58] Total 312 entities spawned
[2016:06:18|00:03:58] Mod_LoadModel: sprites/muzzleflash.spr
[2016:06:18|00:03:58] Mod_LoadModel: sprites/muzzleflash1.spr
[2016:06:18|00:03:58] Mod_LoadModel: sprites/muzzleflash2.spr
[2016:06:18|00:03:58] Mod_LoadModel: sprites/muzzleflash3.spr
[2016:06:18|00:03:58] Mod_LoadModel: sprites/animglow01.spr
[2016:06:18|00:03:58] Mod_LoadModel: sprites/richo1.spr
[2016:06:18|00:03:58] ^3Added user message: SelAmmo (size == 4)
[2016:06:18|00:03:58] ^3Added user message: CurWeapon (size == 3)
[2016:06:18|00:03:58] ^3Added user message: Geiger (size == 1)
[2016:06:18|00:03:58] ^3Added user message: Flashlight (size == 2)
[2016:06:18|00:03:58] ^3Added user message: FlashBat (size == 1)
[2016:06:18|00:03:58] ^3Added user message: Health (size == 1)
[2016:06:18|00:03:58] ^3Added user message: Damage (size == 12)
[2016:06:18|00:03:58] ^3Added user message: Battery (size == 2)
[2016:06:18|00:03:58] ^3Added user message: Train (size == 1)
[2016:06:18|00:03:58] ^3Added user message: HudText (size == -1)
[2016:06:18|00:03:58] ^3Added user message: SayText (size == -1)
[2016:06:18|00:03:58] ^3Added user message: TextMsg (size == -1)
[2016:06:18|00:03:58] ^3Added user message: WeaponList (size == -1)
[2016:06:18|00:03:58] ^3Added user message: ResetHUD (size == 1)
[2016:06:18|00:03:58] ^3Added user message: InitHUD (size == 0)
[2016:06:18|00:03:58] ^3Added user message: GameTitle (size == 1)
[2016:06:18|00:03:58] ^3Added user message: DeathMsg (size == -1)
[2016:06:18|00:03:58] ^3Added user message: ScoreInfo (size == 9)
[2016:06:18|00:03:58] ^3Added user message: TeamInfo (size == -1)
[2016:06:18|00:03:58] ^3Added user message: TeamScore (size == -1)
[2016:06:18|00:03:58] ^3Added user message: GameMode (size == 1)
[2016:06:18|00:03:58] ^3Added user message: MOTD (size == -1)
[2016:06:18|00:03:58] ^3Added user message: ServerName (size == -1)
[2016:06:18|00:03:58] ^3Added user message: AmmoPickup (size == 2)
[2016:06:18|00:03:58] ^3Added user message: WeapPickup (size == 1)
[2016:06:18|00:03:58] ^3Added user message: ItemPickup (size == -1)
[2016:06:18|00:03:58] ^3Added user message: HideWeapon (size == 1)
[2016:06:18|00:03:58] ^3Added user message: SetFOV (size == 1)
[2016:06:18|00:03:58] ^3Added user message: ShowMenu (size == -1)
[2016:06:18|00:03:58] ^3Added user message: ScreenShake (size == 6)
[2016:06:18|00:03:58] ^3Added user message: ScreenFade (size == 10)
[2016:06:18|00:03:58] ^3Added user message: AmmoX (size == 2)
[2016:06:18|00:03:58] ^3Added user message: TeamNames (size == -1)
[2016:06:18|00:03:58] ^3Added user message: StatusText (size == -1)
[2016:06:18|00:03:58] ^3Added user message: StatusValue (size == 3)
[2016:06:18|00:03:58] 8 player server started
[2016:06:18|00:03:58] execing listenserver.cfg
[2016:06:18|00:03:58] execing listenserver.cfg
[2016:06:18|00:03:58] SV_ConnectionlessPacket: loopback : connect
[2016:06:18|00:03:58] SV_ClientConnect()
[2016:06:18|00:03:58] Mod_LoadModel: models/player/gordon/gordon.mdl
[2016:06:18|00:03:58] CL_ConnectionlessPacket: loopback : client_connect
[2016:06:18|00:03:58] Spooling demo header.
[2016:06:18|00:03:58] ucmd->new()
[2016:06:18|00:03:58] Serverdata packet received.
[2016:06:18|00:03:58] ^3Warning:^7 CL_PushPMStates called with pushed stack
[2016:06:18|00:03:58] ucmd->modellist()
[2016:06:18|00:03:58] ^3Warning:^7 CL_PushPMStates called with pushed stack
[2016:06:18|00:03:58] ^3Warning:^7 CL_PushPMStates called with pushed stack
[2016:06:18|00:03:58] ucmd->soundlist()
[2016:06:18|00:03:58] ^3Warning:^7 CL_PushPMStates called with pushed stack
[2016:06:18|00:03:58] ^3Warning:^7 CL_PushPMStates called with pushed stack
[2016:06:18|00:03:58] ucmd->eventlist()
[2016:06:18|00:03:58] ^3Warning:^7 CL_PushPMStates called with pushed stack
[2016:06:18|00:03:58] ^3Warning:^7 CL_PushPMStates called with pushed stack
[2016:06:18|00:03:58] ucmd->lightstyles()
[2016:06:18|00:03:58] Lightstyle 0 (m), interp No
[2016:06:18|00:03:58] Lightstyle 1 (mmnmmommommnonmmonqnmmo), interp Yes
[2016:06:18|00:03:58] Lightstyle 2 (abcdefghijklmnopqrstuvwxyzyxwvutsrqponmlkjihgfedcba), interp Yes
[2016:06:18|00:03:58] Lightstyle 3 (mmmmmaaaaammmmmaaaaaabcdefgabcdefg), interp No
[2016:06:18|00:03:58] Lightstyle 4 (mamamamamama), interp No
[2016:06:18|00:03:58] Lightstyle 5 (jklmnopqrstuvwxyzyxwvutsrqponmlkj), interp Yes
[2016:06:18|00:03:58] Lightstyle 6 (nmonqnmomnmomomno), interp Yes
[2016:06:18|00:03:58] Lightstyle 7 (mmmaaaabcdefgmmmmaaaammmaamm), interp No
[2016:06:18|00:03:58] Lightstyle 8 (mmmaaammmaaammmabcdefaaaammmmabcdefmmmaaaa), interp No
[2016:06:18|00:03:58] Lightstyle 9 (aaaaaaaazzzzzzzz), interp No
[2016:06:18|00:03:58] Lightstyle 10 (mmamammmmammamamaaamammma), interp No
[2016:06:18|00:03:58] Lightstyle 11 (abcdefghijklmnopqrrqponmlkjihgfedcba), interp Yes
[2016:06:18|00:03:58] Lightstyle 12 (mmnnmmnnnmmnn), interp Yes
[2016:06:18|00:03:58] Lightstyle 63 (a), interp No
[2016:06:18|00:03:58] ^3Warning:^7 CL_PushPMStates called with pushed stack
[2016:06:18|00:03:58] ^3Warning:^7 CL_PushPMStates called with pushed stack
[2016:06:18|00:03:58] ucmd->usermsgs()
[2016:06:18|00:03:58] ^3Warning:^7 CL_PushPMStates called with pushed stack
[2016:06:18|00:03:58] ucmd->deltainfo()
[2016:06:18|00:03:58] ucmd->baselines()
[2016:06:18|00:03:58] CL_PrepSound: boot_camp
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/items/gunpickup2.wav, 0x17ba4915b038, 14654 )
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/items/9mmclip1.wav, 0x17ba4915f038, 6734 )
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/weapons/dbarrel1.wav, 0x17ba49161038, 30426 )
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/weapons/sbarrel1.wav, 0x17ba49161038, 23030 )
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/weapons/reload1.wav, 0x17ba4915f038, 4874 )
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/weapons/reload3.wav, 0x17ba4915b038, 13504 )
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/weapons/357_cock1.wav, 0x17ba1ff45858, 2678 )
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/weapons/scock1.wav, 0x17ba49169038, 11846 )
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/weapons/cbar_hit1.wav, 0x17ba4915f038, 7784 )
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/weapons/cbar_hit2.wav, 0x17ba4915f038, 5530 )
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/weapons/cbar_hitbod1.wav, 0x17ba4915f038, 7048 )
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/weapons/cbar_hitbod2.wav, 0x17ba49165038, 5518 )
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/weapons/cbar_hitbod3.wav, 0x17ba49165038, 7744 )
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/weapons/cbar_miss1.wav, 0x17ba49165038, 7710 )
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/items/9mmclip2.wav, 0x17ba49169038, 10084 )
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/weapons/pl_gun1.wav, 0x17ba49165038, 6382 )
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/weapons/pl_gun2.wav, 0x17ba4915d038, 6360 )
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/weapons/pl_gun3.wav, 0x17ba5ef01038, 13336 )
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/items/clipinsert1.wav, 0x17ba5ef01038, 12670 )
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/items/cliprelease1.wav, 0x17ba4915d038, 6066 )
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/weapons/hks1.wav, 0x17ba42c3a038, 27900 )
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/weapons/hks2.wav, 0x17ba42c3a038, 25528 )
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/weapons/hks3.wav, 0x17ba42c3a038, 27550 )
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/weapons/glauncher.wav, 0x17ba42c3a038, 28220 )
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/weapons/glauncher2.wav, 0x17ba803bd038, 29230 )
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/weapons/357_reload1.wav, 0x17ba42c3a038, 12840 )
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/weapons/357_shot1.wav, 0x17ba24567038, 23580 )
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/weapons/357_shot2.wav, 0x17ba24567038, 23510 )
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/weapons/gauss2.wav, 0x17ba00d44038, 32224 )
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/weapons/electro4.wav, 0x17ba00d44038, 19010 )
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/weapons/electro5.wav, 0x17ba803c1038, 15362 )
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/weapons/electro6.wav, 0x17ba803c1038, 15036 )
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/ambience/pulsemachine.wav, 0x17b9ae7b5038, 21018 )
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/weapons/rocket1.wav, 0x17b9b954e038, 55210 )
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/weapons/rocketfire1.wav, 0x17ba49169038, 9538 )
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/weapons/xbow_fire1.wav, 0x17ba803c1038, 12264 )
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/weapons/xbow_reload1.wav, 0x17ba803c1038, 12770 )
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/weapons/xbow_hitbod1.wav, 0x17ba4915d038, 6852 )
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/weapons/xbow_hitbod2.wav, 0x17ba1ff45858, 4014 )
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/weapons/xbow_fly1.wav, 0x17ba00d49038, 11186 )
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/weapons/xbow_hit1.wav, 0x17b9ae7b8038, 9002 )
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/fvox/beep.wav, 0x17ba1ff45858, 2520 )
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/weapons/egon_off1.wav, 0x17ba1f960038, 72540 )
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/weapons/egon_run3.wav, 0x17ba1f960038, 47570 )
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/weapons/egon_windup2.wav, 0x17ba4bf42038, 86894 )
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/weapons/mine_deploy.wav, 0x17ba4915d038, 5928 )
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/weapons/mine_activate.wav, 0x17ba803c3038, 6042 )
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/weapons/mine_charge.wav, 0x17ba4bf42038, 44294 )
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/weapons/g_bounce1.wav, 0x17ba1ff45858, 3198 )
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/weapons/g_bounce2.wav, 0x17ba803c3038, 5222 )
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/weapons/g_bounce3.wav, 0x17ba803c3038, 5474 )
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/squeek/sqk_hunt2.wav, 0x17ba1ff45858, 1746 )
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/squeek/sqk_hunt3.wav, 0x17ba1ff45858, 1834 )
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/squeek/sqk_blast1.wav, 0x17ba4bf44038, 19948 )
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/common/bodysplat.wav, 0x17b9b9552038, 21114 )
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/squeek/sqk_die1.wav, 0x17ba1ff45858, 3192 )
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/squeek/sqk_hunt1.wav, 0x17ba1ff45858, 3414 )
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/squeek/sqk_deploy1.wav, 0x17b9b9558038, 12304 )
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/agrunt/ag_fire1.wav, 0x17ba1f96e038, 10078 )
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/agrunt/ag_fire2.wav, 0x17ba1f96e038, 8360 )
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/agrunt/ag_fire3.wav, 0x17ba1f96e038, 8658 )
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/hornet/ag_buzz1.wav, 0x17ba4bf47038, 6246 )
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/hornet/ag_buzz2.wav, 0x17ba4bf47038, 4352 )
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/hornet/ag_buzz3.wav, 0x17ba1ff45858, 3574 )
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/hornet/ag_hornethit1.wav, 0x17b9b9555038, 8744 )
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/hornet/ag_hornethit2.wav, 0x17ba4bf47038, 6070 )
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/hornet/ag_hornethit3.wav, 0x17ba4bf47038, 5828 )
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/weapons/debris1.wav, 0x17ba74899038, 14100 )
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/weapons/debris2.wav, 0x17ba74899038, 10134 )
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/weapons/debris3.wav, 0x17ba8993d038, 30056 )
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/weapons/grenade_hit1.wav, 0x17ba8993d038, 14448 )
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/weapons/grenade_hit2.wav, 0x17ba42d52038, 20968 )
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/weapons/grenade_hit3.wav, 0x17ba74899038, 11080 )
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/weapons/bullet_hit1.wav, 0x17ba1ff45858, 2776 )
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/weapons/bullet_hit2.wav, 0x17ba4bf47038, 4178 )
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/items/weapondrop1.wav, 0x17ba42d52038, 12694 )
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/player/sprayer.wav, 0x17ba74899038, 10128 )
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/player/pl_fallpain2.wav, 0x17ba74899038, 11080 )
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/player/pl_fallpain3.wav, 0x17ba4bf47038, 7308 )
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/player/pl_step1.wav, 0x17ba1ff45858, 3064 )
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/player/pl_step2.wav, 0x17ba1ff45858, 2556 )
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/player/pl_step3.wav, 0x17ba1ff45858, 2344 )
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/player/pl_step4.wav, 0x17ba1ff45858, 2948 )
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/common/npc_step1.wav, 0x17ba1ff45858, 3064 )
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/common/npc_step2.wav, 0x17ba1ff45858, 2556 )
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/common/npc_step3.wav, 0x17ba1ff45858, 2344 )
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/common/npc_step4.wav, 0x17ba1ff45858, 2948 )
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/player/pl_metal1.wav, 0x17ba4bf47038, 6546 )
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/player/pl_metal2.wav, 0x17ba4bf47038, 6216 )
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/player/pl_metal3.wav, 0x17ba4bf47038, 6808 )
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/player/pl_metal4.wav, 0x17ba4bf47038, 6190 )
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/player/pl_dirt1.wav, 0x17ba1ff45858, 3894 )
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/player/pl_dirt2.wav, 0x17ba1ff45858, 3368 )
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/player/pl_dirt3.wav, 0x17ba4bf47038, 4234 )
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/player/pl_dirt4.wav, 0x17ba4bf47038, 5060 )
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/player/pl_duct1.wav, 0x17ba5c497038, 9500 )
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/player/pl_duct2.wav, 0x17ba5c497038, 9532 )
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/player/pl_duct3.wav, 0x17ba5c497038, 10184 )
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/player/pl_duct4.wav, 0x17ba5c497038, 9160 )
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/player/pl_grate1.wav, 0x17ba5c497038, 9188 )
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/player/pl_grate2.wav, 0x17ba5c497038, 9618 )
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/player/pl_grate3.wav, 0x17ba5c497038, 9342 )
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/player/pl_grate4.wav, 0x17ba5c497038, 10314 )
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/player/pl_slosh1.wav, 0x17ba5c497038, 9892 )
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/player/pl_slosh2.wav, 0x17ba5c497038, 9440 )
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/player/pl_slosh3.wav, 0x17ba5c497038, 8990 )
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/player/pl_slosh4.wav, 0x17ba4bf47038, 7688 )
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/player/pl_tile1.wav, 0x17ba1ff45858, 2636 )
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/player/pl_tile2.wav, 0x17ba1ff45858, 2626 )
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/player/pl_tile3.wav, 0x17ba1ff45858, 2990 )
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/player/pl_tile4.wav, 0x17ba1ff45858, 2840 )
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/player/pl_tile5.wav, 0x17ba1ff45858, 3554 )
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/player/pl_swim1.wav, 0x17ba4bf47038, 6794 )
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/player/pl_swim2.wav, 0x17ba807f3038, 15992 )
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/player/pl_swim3.wav, 0x17ba807f3038, 8758 )
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/player/pl_swim4.wav, 0x17ba807f3038, 10044 )
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/player/pl_ladder1.wav, 0x17ba4bf47038, 4098 )
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/player/pl_ladder2.wav, 0x17ba1ff45858, 4054 )
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/player/pl_ladder3.wav, 0x17ba4bf47038, 5006 )
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/player/pl_ladder4.wav, 0x17ba4bf47038, 4910 )
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/player/pl_wade1.wav, 0x17ba4e8dc038, 26620 )
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/player/pl_wade2.wav, 0x17ba4e8dc038, 19910 )
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/player/pl_wade3.wav, 0x17ba6b24e038, 26100 )
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/player/pl_wade4.wav, 0x17ba6b24e038, 25814 )
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/debris/wood1.wav, 0x17ba4bf47038, 6328 )
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/debris/wood2.wav, 0x17ba4bf47038, 6528 )
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/debris/wood3.wav, 0x17ba4bf47038, 6116 )
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/plats/train_use1.wav, 0x17ba6b24e038, 9912 )
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/buttons/spark5.wav, 0x17ba1ff45858, 4062 )
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/buttons/spark6.wav, 0x17ba4bf47038, 4374 )
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/debris/glass1.wav, 0x17ba4bf47038, 5576 )
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/debris/glass2.wav, 0x17ba67857038, 9426 )
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/debris/glass3.wav, 0x17ba67857038, 8534 )
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/items/flashlight1.wav, 0x17ba1ff45858, 866 )
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/player/pl_pain2.wav, 0x17ba4bf47038, 6504 )
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/player/pl_pain4.wav, 0x17ba1ff45858, 3950 )
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/player/pl_pain5.wav, 0x17ba1ff45858, 3412 )
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/player/pl_pain6.wav, 0x17ba4bf47038, 4866 )
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/player/pl_pain7.wav, 0x17ba4bf47038, 4420 )
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/common/wpn_hudoff.wav, 0x17ba4bf47038, 5218 )
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/common/wpn_hudon.wav, 0x17ba565a9038, 14800 )
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/common/wpn_moveselect.wav, 0x17ba4bf47038, 5040 )
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/common/wpn_select.wav, 0x17ba1ff45858, 2986 )
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/common/wpn_denyselect.wav, 0x17ba1ff45858, 3826 )
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/player/geiger6.wav, 0x17ba1ff45858, 3872 )
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/player/geiger5.wav, 0x17ba1ff45858, 2240 )
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/player/geiger4.wav, 0x17ba1ff45858, 2068 )
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/player/geiger3.wav, 0x17ba1ff45858, 3310 )
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/player/geiger2.wav, 0x17ba1ff45858, 3250 )
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/player/geiger1.wav, 0x17ba1ff45858, 566 )
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/common/null.wav, 0x17ba1ff45858, 1244 )
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/items/suitchargeok1.wav, 0x17b9f0865038, 16412 )
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/common/bodydrop3.wav, 0x17b9f0865038, 9124 )
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/common/bodydrop4.wav, 0x17ba565ab038, 4890 )
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/weapons/ric1.wav, 0x17ba565ab038, 6124 )
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/weapons/ric2.wav, 0x17ba565ab038, 7052 )
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/weapons/ric3.wav, 0x17ba565ab038, 5440 )
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/weapons/ric4.wav, 0x17ba565ab038, 6596 )
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/weapons/ric5.wav, 0x17ba565ab038, 5352 )
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/debris/pushbox1.wav, 0x17b99e589038, 13020 )
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/debris/pushbox2.wav, 0x17b99e589038, 13224 )
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/debris/pushbox3.wav, 0x17b99e589038, 13236 )
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/debris/bustcrate1.wav, 0x17ba565ab038, 6766 )
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/debris/bustcrate2.wav, 0x17ba565ab038, 5544 )
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/items/suitcharge1.wav, 0x17ba0653d038, 22974 )
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/items/suitchargeno1.wav, 0x17ba565ab038, 6724 )
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/items/smallmedkit1.wav, 0x17ba11b23038, 16942 )
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/items/medshot4.wav, 0x17ba0653f038, 15588 )
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/items/medshotno1.wav, 0x17ba1ff45858, 3856 )
[2016:06:18|00:03:58] Sound_LoadWAV: ( sound/items/medcharge4.wav, 0x17ba42964038, 17916 )
[2016:06:18|00:03:58] CL_PrepVideo: boot_camp
[2016:06:18|00:03:58] ucmd->begin()
[2016:06:18|00:03:58] server(ai): Firing: (game_playerjoin)
[2016:06:18|00:03:58] server(ai): Firing: (game_playerspawn)
[2016:06:18|00:03:58] ^1Error:^7 Decal has invalid texture!
[2016:06:18|00:03:58] ^1Error:^7 Decal has invalid texture!
[2016:06:18|00:03:58] UTIL_FindEntityInMap: expected {
[2016:06:18|00:03:58] UTIL_FindEntityInMap: expected {
[2016:06:18|00:03:58] UTIL_FindEntityInMap: expected {
[2016:06:18|00:03:58] UTIL_FindEntityInMap: expected {
[2016:06:18|00:03:58] UTIL_FindEntityInMap: expected {
[2016:06:18|00:03:58] UTIL_FindEntityInMap: expected {
[2016:06:18|00:03:58] UTIL_FindEntityInMap: expected {
[2016:06:18|00:03:58] UTIL_FindEntityInMap: expected {

full backtrace:

00:05 ryan@iddqd:~/games/xash3d$ gdb xash3d xash3d.core
GNU gdb 6.3
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "amd64-unknown-openbsd6.0"...
Core was generated by `xash3d'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/lib/libpthread.so.22.0...done.
Loaded symbols for /usr/lib/libpthread.so.22.0
Loaded symbols for /home/ryan/games/xash3d/xash3d
Reading symbols from /usr/local/lib/libSDL2.so.0.2...done.
Loaded symbols for /usr/local/lib/libSDL2.so.0.2
Symbols already loaded for /usr/lib/libpthread.so.22.0
Reading symbols from /usr/lib/libc.so.87.0...done.
Loaded symbols for /usr/lib/libc.so.87.0
Reading symbols from /usr/lib/libm.so.9.0...done.
Loaded symbols for /usr/lib/libm.so.9.0
Reading symbols from /usr/lib/libsndio.so.6.1...done.
Loaded symbols for /usr/lib/libsndio.so.6.1
Reading symbols from /usr/lib/libusbhid.so.7.0...done.
Loaded symbols for /usr/lib/libusbhid.so.7.0
Reading symbols from /usr/libexec/ld.so...done.
Loaded symbols for /usr/libexec/ld.so
Reading symbols from /home/ryan/games/xash3d/libxash.so...done.
Loaded symbols for /home/ryan/games/xash3d/libxash.so
Reading symbols from /usr/X11R6/lib/libX11.so.16.1...done.
Loaded symbols for /usr/X11R6/lib/libX11.so.16.1
Reading symbols from /usr/X11R6/lib/libxcb.so.3.2...done.
Loaded symbols for /usr/X11R6/lib/libxcb.so.3.2
Reading symbols from /usr/X11R6/lib/libpthread-stubs.so.2.0...done.
Loaded symbols for /usr/X11R6/lib/libpthread-stubs.so.2.0
Reading symbols from /usr/X11R6/lib/libXau.so.10.0...done.
Loaded symbols for /usr/X11R6/lib/libXau.so.10.0
Reading symbols from /usr/X11R6/lib/libXdmcp.so.11.0...done.
Loaded symbols for /usr/X11R6/lib/libXdmcp.so.11.0
Reading symbols from /usr/X11R6/lib/libXext.so.13.0...done.
Loaded symbols for /usr/X11R6/lib/libXext.so.13.0
Reading symbols from /usr/X11R6/lib/libXcursor.so.5.0...done.
Loaded symbols for /usr/X11R6/lib/libXcursor.so.5.0
Reading symbols from /usr/X11R6/lib/libXrender.so.6.0...done.
Loaded symbols for /usr/X11R6/lib/libXrender.so.6.0
Reading symbols from /usr/X11R6/lib/libXfixes.so.6.0...done.
Loaded symbols for /usr/X11R6/lib/libXfixes.so.6.0
Reading symbols from /usr/X11R6/lib/libXinerama.so.6.0...done.
Loaded symbols for /usr/X11R6/lib/libXinerama.so.6.0
Reading symbols from /usr/X11R6/lib/libXi.so.12.1...done.
Loaded symbols for /usr/X11R6/lib/libXi.so.12.1
Reading symbols from /usr/X11R6/lib/libXrandr.so.7.1...done.
Loaded symbols for /usr/X11R6/lib/libXrandr.so.7.1
Reading symbols from /usr/X11R6/lib/libXss.so.6.0...done.
Loaded symbols for /usr/X11R6/lib/libXss.so.6.0
Reading symbols from /usr/X11R6/lib/libXxf86vm.so.6.0...done.
Loaded symbols for /usr/X11R6/lib/libXxf86vm.so.6.0
Reading symbols from /usr/X11R6/lib/libGL.so.16.0...done.
Loaded symbols for /usr/X11R6/lib/libGL.so.16.0
Reading symbols from /usr/lib/libexpat.so.11.0...done.
Loaded symbols for /usr/lib/libexpat.so.11.0
Reading symbols from /usr/X11R6/lib/libglapi.so.0.1...done.
Loaded symbols for /usr/X11R6/lib/libglapi.so.0.1
Reading symbols from /usr/X11R6/lib/libXdamage.so.4.0...done.
Loaded symbols for /usr/X11R6/lib/libXdamage.so.4.0
Reading symbols from /usr/X11R6/lib/libX11-xcb.so.2.0...done.
Loaded symbols for /usr/X11R6/lib/libX11-xcb.so.2.0
Reading symbols from /usr/X11R6/lib/libxcb-glx.so.1.0...done.
Loaded symbols for /usr/X11R6/lib/libxcb-glx.so.1.0
Reading symbols from /usr/X11R6/lib/libxcb-dri2.so.1.1...done.
Loaded symbols for /usr/X11R6/lib/libxcb-dri2.so.1.1
Reading symbols from /usr/X11R6/lib/libdrm.so.7.1...done.
Loaded symbols for /usr/X11R6/lib/libdrm.so.7.1
Reading symbols from /usr/X11R6/lib/modules/dri/r600_dri.so...done.
Loaded symbols for /usr/X11R6/lib/modules/dri/r600_dri.so
Reading symbols from /usr/X11R6/lib/libdrm_radeon.so.4.0...done.
Loaded symbols for /usr/X11R6/lib/libdrm_radeon.so.4.0
Reading symbols from /usr/lib/libstdc++.so.57.0...done.
Loaded symbols for /usr/lib/libstdc++.so.57.0
Reading symbols from /usr/X11R6/lib/libtxc_dxtn.so.0.0...done.
Loaded symbols for /usr/X11R6/lib/libtxc_dxtn.so.0.0
Reading symbols from /home/ryan/games/xash3d/valve/cl_dlls/libxashmenu.so...done.
Loaded symbols for valve/cl_dlls/libxashmenu.so
Reading symbols from /usr/local/lib/libestdc++.so.17.0...done.
Loaded symbols for /usr/local/lib/libestdc++.so.17.0
Reading symbols from /home/ryan/games/xash3d/valve/cl_dlls/client.so...done.
Loaded symbols for valve/cl_dlls/client.so
Reading symbols from /home/ryan/games/xash3d/valve/dlls/hl.so...done.
Loaded symbols for valve/dlls/hl.so
#0  0x000017b9ff7a05c1 in CStudioModelRenderer::StudioCalcBoneQuaterion (
    this=0x17b9ffbed500, frame=0, s=0, pbone=0x17ba57ff112c, 
    panim=0x17bad163811e, adj=0x7f7fffff1960, q=0x17b9ffbf3800)
    at StudioModelRenderer.cpp:182
182                     if (panim->offset[j+3] == 0)
(gdb) bt full
#0  0x000017b9ff7a05c1 in CStudioModelRenderer::StudioCalcBoneQuaterion (
    this=0x17b9ffbed500, frame=0, s=0, pbone=0x17ba57ff112c, 
    panim=0x17bad163811e, adj=0x7f7fffff1960, q=0x17b9ffbf3800)
    at StudioModelRenderer.cpp:182
        k = -1008703352
        q1 = {-5.69287563e+23, 8.51008557e-42, -nan(0x7f1960), 4.57369806e-41}
        angle1 = {x = 0, y = 0, z = 0}
        panimvalue = (mstudioanimvalue_t *) 0x0
        j = 0
        q2 = {-nan(0x7f1900), 1, -nan(0x3ed500), 8.51008557e-42}
        angle2 = {x = 0, y = 0, z = 0}
#1  0x000017b9ff7a2006 in CStudioModelRenderer::StudioCalcRotations (
    this=0x17b9ffbed500, pos=0x17b9ffbf3200, q=0x17b9ffbf3800, 
    pseqdesc=0x17ba57ff11f8, panim=0x17bad163811e, f=0)
    at StudioModelRenderer.cpp:619
        i = 0
        frame = 0
        s = 0
        adj = {8.96831017e-44, 0, 5.60905281e+14, 8.51148687e-42, 
  3.1745409e+10, 8.51148687e-42, -nan(0x3ed500), 8.51008557e-42}
        pbone = (mstudiobone_t *) 0x17ba57ff112c
        dadt = 1
#2  0x000017b9ff7a28b8 in CStudioModelRenderer::StudioSetupBones (
    this=0x17b9ffbed500) at StudioModelRenderer.cpp:804
        pbones = (mstudiobone_t *) 0x7f7fffff19ec
        pos = {{0, 0, 0} <repeats 128 times>}
        q = {{0, 0, 0, 0} <repeats 128 times>}
        pos2 = {{0, 0, 0} <repeats 128 times>}
        q4 = {{0, 0, 0, 0} <repeats 128 times>}
        bonematrix = {{-5.69259028e+23, 8.51008557e-42, 0, -416}, {656, 256, 
    -7.31261696e+26, 1.39504725e+16}, {-nan(0x7f1a20), 4.57369806e-41, 
    2.0280375e+09, 8.51148687e-42}}
        q2 = {{0, 0, 0, 0} <repeats 128 times>}
        pos3 = {{0, 0, 0} <repeats 128 times>}
        i = -420407504
        f = 0
        pseqdesc = (mstudioseqdesc_t *) 0x17ba57ff11f8
        panim = (mstudioanim_t *) 0x17bad163811e
        q3 = {{0, 0, 0, 0} <repeats 128 times>}
        pos4 = {{0, 0, 0} <repeats 128 times>}
#3  0x000017b9ff7a41d7 in CStudioModelRenderer::StudioDrawModel (
    this=0x17b9ffbed500, flags=3) at StudioModelRenderer.cpp:1129
        lighting = {ambientlight = -1271354720, shadelight = 6073, color = {
    x = 0, y = 0, z = 0}, plightvec = 0x30}
        dir = {x = 0, y = 0, z = 0}
#4  0x000017b9ff78b608 in R_StudioDrawModel (flags=3)
    at GameStudioModelRenderer.cpp:73
No locals.
#5  0x000017ba4ef17f86 in R_DrawStudioModelInternal (e=0x17b9e6f11730, 
    follow_entity=false)
    at /home/ryan/git/xash3d/engine/client/gl_studio.c:3575
        i = 1130430464
        flags = 3
        result = -991961088
        prevFrame = 0
#6  0x000017ba4ef18db7 in R_DrawStudioModel (e=0x17b9e6f11730)
    at /home/ryan/git/xash3d/engine/client/gl_studio.c:3606
No locals.
#7  0x000017ba4eef8b2c in R_DrawEntitiesOnList ()
    at /home/ryan/git/xash3d/engine/client/gl_rmain.c:1113
        i = 5
#8  0x000017ba4eef8eb3 in R_RenderScene (fd=0x17ba51423780)
    at /home/ryan/git/xash3d/engine/client/gl_rmain.c:1218
---Type <return> to continue, or q <return> to quit--- 
No locals.
#9  0x000017ba4eef9f95 in R_RenderFrame (fd=0x17ba51423780, drawWorld=true)
    at /home/ryan/git/xash3d/engine/client/gl_rmain.c:1330
No locals.
#10 0x000017ba4eed9d41 in V_CalcRefDef ()
    at /home/ryan/git/xash3d/engine/client/cl_view.c:311
No locals.
#11 0x000017ba4eed9e54 in V_RenderView ()
    at /home/ryan/git/xash3d/engine/client/cl_view.c:344
No locals.
#12 0x000017ba4eecdde0 in SCR_UpdateScreen ()
    at /home/ryan/git/xash3d/engine/client/cl_scrn.c:476
No locals.
#13 0x000017ba4eebfa7c in Host_ClientFrame ()
    at /home/ryan/git/xash3d/engine/client/cl_main.c:1856
No locals.
#14 0x000017ba4ef5b740 in Host_Frame (time=0.34663263)
    at /home/ryan/git/xash3d/engine/common/host.c:617
No locals.
#15 0x000017ba4ef5ce70 in Host_Main (argc=4, argv=0x7f7fffff1e98, 
    progname=0x17b78ef01184 "valve", bChangeGame=0, 
    func=0x17b78ee00f60 <Sys_ChangeGame>)
    at /home/ryan/git/xash3d/engine/common/host.c:1126
        oldtime = 16.76403973
        newtime = 17.110672349000001
        event = {type = 1024, common = {type = 1024, timestamp = 17374}, 
  window = {type = 1024, timestamp = 17374, windowID = 1, event = 0 '\0', 
    padding1 = 0 '\0', padding2 = 0 '\0', padding3 = 0 '\0', data1 = 0, 
    data2 = 512}, key = {type = 1024, timestamp = 17374, windowID = 1, 
    state = 0 '\0', repeat = 0 '\0', padding2 = 0 '\0', padding3 = 0 '\0', 
    keysym = {scancode = SDL_SCANCODE_UNKNOWN, sym = 512, mod = 384, 
      unused = 401}}, edit = {type = 1024, timestamp = 17374, windowID = 1, 
    text = 0x7f7fffff1dec "", start = 6073, length = 384}, text = {
    type = 1024, timestamp = 17374, windowID = 1, text = 0x7f7fffff1dec ""}, 
  motion = {type = 1024, timestamp = 17374, windowID = 1, which = 0, 
    state = 0, x = 512, y = 384, xrel = 401, yrel = 85}, button = {
    type = 1024, timestamp = 17374, windowID = 1, which = 0, button = 0 '\0', 
    state = 0 '\0', clicks = 0 '\0', padding1 = 0 '\0', x = 512, y = 384}, 
  wheel = {type = 1024, timestamp = 17374, windowID = 1, which = 0, x = 0, 
    y = 512, direction = 384}, jaxis = {type = 1024, timestamp = 17374, 
    which = 1, axis = 0 '\0', padding1 = 0 '\0', padding2 = 0 '\0', 
    padding3 = 0 '\0', value = 0, padding4 = 0}, jball = {type = 1024, 
    timestamp = 17374, which = 1, ball = 0 '\0', padding1 = 0 '\0', 
    padding2 = 0 '\0', padding3 = 0 '\0', xrel = 0, yrel = 0}, jhat = {
    type = 1024, timestamp = 17374, which = 1, hat = 0 '\0', value = 0 '\0', 
    padding1 = 0 '\0', padding2 = 0 '\0'}, jbutton = {type = 1024, 
    timestamp = 17374, which = 1, button = 0 '\0', state = 0 '\0', 
    padding1 = 0 '\0', padding2 = 0 '\0'}, jdevice = {type = 1024, 
    timestamp = 17374, which = 1}, caxis = {type = 1024, timestamp = 17374, 
    which = 1, axis = 0 '\0', padding1 = 0 '\0', padding2 = 0 '\0', 
    padding3 = 0 '\0', value = 0, padding4 = 0}, cbutton = {type = 1024, 
    timestamp = 17374, which = 1, button = 0 '\0', state = 0 '\0', 
    padding1 = 0 '\0', padding2 = 0 '\0'}, cdevice = {type = 1024, 
    timestamp = 17374, which = 1}, adevice = {type = 1024, timestamp = 17374, 
    which = 1, iscapture = 0 '\0', padding1 = 0 '\0', padding2 = 0 '\0', 
    padding3 = 0 '\0'}, quit = {type = 1024, timestamp = 17374}, user = {
    type = 1024, timestamp = 17374, windowID = 1, code = 0, 
    data1 = 0x20000000000, data2 = 0x19100000180}, syswm = {type = 1024, 
    timestamp = 17374, msg = 0x1}, tfinger = {type = 1024, timestamp = 17374, 
    touchId = 1, fingerId = 2199023255552, x = 5.3809861e-43, 
    y = 5.61920684e-43, dx = 1.19110369e-43, dy = -2.03537676e+33, 
    pressure = -7.04371423e-18}, mgesture = {type = 1024, timestamp = 17374, 
    touchId = 1, dTheta = 0, dDist = 7.17464814e-43, x = 5.3809861e-43, 
---Type <return> to continue, or q <return> to quit---
    y = 5.61920684e-43, numFingers = 85, padding = 0}, dgesture = {
    type = 1024, timestamp = 17374, touchId = 1, gestureId = 2199023255552, 
    numFingers = 384, error = 5.61920684e-43, x = 1.19110369e-43, 
    y = -2.03537676e+33}, drop = {type = 1024, timestamp = 17374, 
    file = 0x1 <Address 0x1 out of bounds>}, padding = 0x7f7fffff1de0 ""}
#16 0x000017b78ee010af in main (argc=4, argv=0x7f7fffff1e98)
    at /home/ryan/git/xash3d/game_launch/xash.c:149
No locals.
Current language:  auto; currently c++
(gdb) 
a1batross commented 8 years ago

Did you built amd64 fixed client library?

We have a "special" version of HLSDK, with some fixes by Uncle Mike for his engine and with our patches. It's located in "hlsdk-xash3d" repository.

a1batross commented 8 years ago

Also, As Far As I Know, amd64 can't run a local server without dirty hacks. So you can only connect to existing servers.

mittorn commented 8 years ago

Amd64 does not work without some pathes. It seems that you are using unpatched client version. Look at this commit: https://github.com/SDLash3D/hlsdk-xash3d/commit/d287ed446332e615ab5fb25ca81b99fa14d18a73

ryan-sg commented 8 years ago

aha, i do have hlsdk-xash3d checked out, its what i build my hl.so server library from :-) However, I didn't build the client library from there, and instead built from hlsdk-client repo.

So, i managed to build a new client.so via hlsdk-xash3d, and it made a small difference! Now I can use multiplayer in the menu to start a new local server, and the console starts to move up showing me actual game rendering (but doesn't finish disappearing) before a new segfault. I now presume i am hitting the wall that a1batross speaks of, in that amd64 can't run local server w/o dirty hacks.

awesome progress though to all involved, never thought i'd see the day where i might run half-life natively on my openbsd workstation :-) i can post another backtrace of the newest crash if you like!

edit: anyone running a server I can try and connect to?

nekonomicon commented 8 years ago

i can post another backtrace of the newest crash if you like

Look my reports: https://github.com/SDLash3D/xash3d/issues/92 (last post)

https://github.com/SDLash3D/hlsdk-xash3d/issues/2

ryan-sg commented 8 years ago

looks like you are all over it nekonomicon! i feel silly about my edit above asking about servers -- i didn't expect the find internet games feature to actually work. running around a RPI2-powered server in the snark pit now, hooray gameplay! :D

nekonomicon commented 8 years ago

Use commands: internetservers connect <server ip address: port>

ryan-sg commented 8 years ago

hey guys, I noticed mittorn's post announcing 0.18 so i fired everything up to see a new trace: (client still works here, but server crash is slightly different and seemingly a bit more consistent now?)

14:44 ryan@iddqd:xash3d$ egdb xash xash.core 
GNU gdb (GDB) 7.11
Copyright (C) 2016 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 "x86_64-unknown-openbsd6.0".
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"...
Reading symbols from xash...done.
[New process 83036]
[New process 47316]
[New process 2102]
[New process 31329]
Core was generated by `xash'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x0000175c0a110d38 in Q_stricmp (
    s2=0x7f80146fff80 <error: Cannot access memory at address 0x7f80146fff80>, 
    s1=0x175e0b96c460 <READ_STRING()::string> "T0A0TITLE")
    at common/crtlib_inline.h:789
789                     register unsigned int c1 = *p1, c2 = *p2;
[Current thread is 1 (process 83036)]
(gdb) bt
#0  0x0000175c0a110d38 in Q_stricmp (
    s2=0x7f80146fff80 <error: Cannot access memory at address 0x7f80146fff80>, 
    s1=0x175e0b96c460 <READ_STRING()::string> "T0A0TITLE")
    at common/crtlib_inline.h:789
#1  CL_TextMessageGet (
    pName=0x175e0b96c460 <READ_STRING()::string> "T0A0TITLE")
    at client/cl_game.c:1671
#2  0x0000175e0b51b6b0 in TextMessageGet (
    pName=0x175e0b96c460 <READ_STRING()::string> "T0A0TITLE") at cl_util.h:97
#3  0x0000175e0b51a3dd in CHudMessage::MessageAdd (
    this=0x175e0b9666f8 <gHUD+6584>, 
    pName=0x175e0b96c460 <READ_STRING()::string> "T0A0TITLE", time=1.28031659)
    at message.cpp:422
#4  0x0000175e0b51a727 in CHudMessage::MsgFunc_HudText (
    this=0x175e0b9666f8 <gHUD+6584>, 
    pszName=0x175c0c456978 <clgame+3256> "HudText", iSize=10, 
    pbuf=0x7f7fffff5d30) at message.cpp:479
#5  0x0000175e0b51a797 in __MsgFunc_HudText (
    pszName=0x175c0c456978 <clgame+3256> "HudText", iSize=10, 
    pbuf=0x7f7fffff5d30) at message.cpp:27
#6  0x0000175c0a0f3fc7 in CL_ParseUserMessage (
    msg=msg@entry=0x175c0c428b60 <net_message>, svc_num=<optimized out>)
    at client/cl_parse.c:1410
---Type <return> to continue, or q <return> to quit--- 
#7  0x0000175c0a0f4b52 in CL_ParseServerMessage (
    msg=msg@entry=0x175c0c428b60 <net_message>) at client/cl_parse.c:1676
#8  0x0000175c0a10444c in CL_ReadNetMessage () at client/cl_main.c:1471
#9  0x0000175c0a104679 in CL_ReadPackets () at client/cl_main.c:1498
#10 0x0000175c0a10535b in Host_ClientFrame () at client/cl_main.c:1795
#11 0x0000175c0a08d70b in Host_Frame (time=0.0198473763) at common/host.c:626
#12 0x0000175c0a08eeb6 in Host_Main (argc=<optimized out>, 
    argv=<optimized out>, progname=<optimized out>, 
    bChangeGame=<optimized out>, func=<optimized out>) at common/host.c:1137
#13 0x0000175c0a011c62 in _start ()
mittorn commented 8 years ago

Disable XASH_FASTSTR macron on amd64. It is 32bit-only.

ryan-sg commented 8 years ago

I believe since I am using the cmake build these days, that macro isn't turned on at all anyhow... grep seems to indicate it is in the Android.mk, Makefile.linux, and a few various other build tools but not cmake.

EDIT: I found the option XASH_SKIPCRTLIB in common/crtlib_inline.h and noticed it seemed to ifdef the entire file. so i turned it on. still crashes tho, just with a reference to libc rather than xash's inline crtlib

EDIT2: I also noticed the Makefile.linux seems to get more attention than the CMakeLists.txt, is it preferred these days? Or am I really just getting the colour text console and single binary options by default there rather than having to turn em on myself with cmake?

#0  0x000008d0e92c45bf in *_libc_strcasecmp (
    s1=s1@entry=0x8d1c102c800 <READ_STRING()::string> "FORGET ABOUT FREEMAN!", 
    s2=0x7f7f94fd3f80 <error: Cannot access memory at address 0x7f7f94fd3f80>)
    at /usr/src/lib/libc/string/strcasecmp.c:83
#1  0x000008cec32d7475 in Q_stricmp (s2=<optimized out>, 
    s1=0x8d1c102c800 <READ_STRING()::string> "FORGET ABOUT FREEMAN!")
    at common/crtlib.h:224
#2  CL_TextMessageGet (
    pName=0x8d1c102c800 <READ_STRING()::string> "FORGET ABOUT FREEMAN!")
    at client/cl_game.c:1671
#3  0x000008d1c0bd4666 in TextMessageGet(char const*) ()
   from valve/cl_dlls/client64.so
#4  0x000008d1c0bd4166 in CHudMessage::MessageAdd(char const*, float) ()
   from valve/cl_dlls/client64.so
#5  0x000008d1c0bd44e6 in CHudMessage::MsgFunc_HudText(char const*, int, void*)
    () from valve/cl_dlls/client64.so
#6  0x000008d1c0bd2aac in __MsgFunc_HudText(char const*, int, void*) ()
   from valve/cl_dlls/client64.so
#7  0x000008cec32bdc79 in CL_ParseUserMessage (
    msg=msg@entry=0x8cec55ea4e0 <net_message>, svc_num=<optimized out>)
    at client/cl_parse.c:1410
#8  0x000008cec32be452 in CL_ParseServerMessage (
    msg=msg@entry=0x8cec55ea4e0 <net_message>) at client/cl_parse.c:1676
---Type <return> to continue, or q <return> to quit---
#9  0x000008cec32cbf5c in CL_ReadNetMessage () at client/cl_main.c:1471
#10 0x000008cec32cc189 in CL_ReadPackets () at client/cl_main.c:1498
#11 0x000008cec32cce6b in Host_ClientFrame () at client/cl_main.c:1795
#12 0x000008cec326a4db in Host_Frame (time=0.0184302367) at common/host.c:626
#13 0x000008cec326b4b6 in Host_Main (argc=<optimized out>, 
    argv=<optimized out>, progname=<optimized out>, 
    bChangeGame=<optimized out>, func=<optimized out>) at common/host.c:1137
#14 0x000008cec32120a2 in _start ()
mittorn commented 8 years ago

I'm using Makefile.linux, a1batross using cmake. cmake is more universal, but it was not tested for 64bit builds at all (i think it need some changes in configuration). I'm using Makefile.linux with next changes for 64bit build: LBITS commented out to prevent adding -m32 to compiler options XASH_FASTSTR and XASH_SKIPCRTLIB disabled, non-optimized crtlib used Maybe you need to do same things in cmake.

ryan-sg commented 8 years ago

I've combed thru the CMakeLists.txt files and there is no cases where it sets XASH_FASTSTR and XASH_SKIPCRTLIB. In fact i need the least amount of changes for the cmake stuff rather than the GNU makefile. I tend to just comment out the block that adds -m32 in the CMakeLists.txt and thats it.

Seems to work good on the hlsdk-xash3d side as well, cmake is reliably building a libserver.so and libclient.so without much poking around.

Anyway, to not confuse people into thinking i'm having trouble building, the only thing still not working is singleplayer, hazard course, and certain multiplayer maps (lambda bunker causes the engine to crash before the console can finish scrolling away, so i only see a small bit of the gamescreen). I've built successfully with CMake and Makefile.linux methods, and playing around with XASH_SKIPCRTLIB to see if it made a difference. Always using gcc-4.9.3 or clang 3.8.0.

Outside of that, i can create a lan server on a map such as datacore just fine. I can join multiplayer servers just fine too :-) I can also sometimes manually call a single player map (c1a2b or whatnot) and spawn into the actual game with monsters and everything! but as soon as i walk more than 10 feet it crashes hehe. Oh, and i've tried xash3d -dedicated in one terminal window then connecting to it with another xash3d client process, and that worked too! :D

Thanks for your efforts guys, always getting better!

nekonomicon commented 8 years ago

It seems this string into titles.c causes crash: clgame.titles[i].pName += nameOffset;

nekonomicon commented 8 years ago

@ryan-sg, Try this patch: http://pastebin.com/nPWpSqAe

ryan-sg commented 8 years ago

wow! single player starts now! it doesn't get too far before hitting another crash, but this is cool progress! Thanks @nekonomicon! :+1:

I'd say i get just past where a Barney is trying to get in a door, just coming around the bend to the next open area and poof. for the curious:

Core was generated by `xash'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x0000071690d6cb5f in CGraph::FindNearestNode(Vector const&, int) ()
   from valve/dlls/hl.so
[Current thread is 1 (process 55497)]
(gdb) bt
#0  0x0000071690d6cb5f in CGraph::FindNearestNode(Vector const&, int) ()
   from valve/dlls/hl.so
#1  0x0000071690d6c800 in CGraph::FindNearestNode(Vector const&, CBaseEntity*)
    () from valve/dlls/hl.so
#2  0x0000071690d5ad02 in CBaseMonster::FGetNodeRoute(Vector) ()
   from valve/dlls/hl.so
#3  0x0000071690d57a10 in CBaseMonster::BuildRoute(Vector const&, int, CBaseEntity*) () from valve/dlls/hl.so
#4  0x0000071690d55948 in CBaseMonster::FRefreshRoute() ()
   from valve/dlls/hl.so
#5  0x0000071690d55a9e in CBaseMonster::MoveToTarget(Activity, float) ()
   from valve/dlls/hl.so
#6  0x0000071690d977b6 in CBaseMonster::StartTask(Task_t*) ()
   from valve/dlls/hl.so
#7  0x0000071690dac0f2 in CTalkMonster::StartTask(Task_t*) ()
   from valve/dlls/hl.so
#8  0x0000071690d9957b in CScientist::StartTask(Task_t*) ()
   from valve/dlls/hl.so
#9  0x0000071690d95c6c in CBaseMonster::MaintainSchedule() ()
   from valve/dlls/hl.so
#10 0x0000071690d5d0f8 in CBaseMonster::RunAI() () from valve/dlls/hl.so
#11 0x0000071690d554cd in CBaseMonster::MonsterThink() () from valve/dlls/hl.so
#12 0x0000071690d5ce29 in CBaseMonster::CallMonsterThink() ()
---Type <return> to continue, or q <return> to quit--- 
   from valve/dlls/hl.so
#13 0x0000071690cde623 in CBaseEntity::Think() () from valve/dlls/hl.so
#14 0x0000071690cfb7f4 in DispatchThink(edict_s*) () from valve/dlls/hl.so
#15 0x00000713a6f2fc60 in SV_RunThink (ent=0x7160cc3e7d8)
    at server/sv_phys.c:205
#16 SV_Physics_Step (ent=0x7160cc3e7d8) at server/sv_phys.c:1655
#17 0x00000713a6f30029 in SV_Physics_Entity (ent=<optimized out>)
    at server/sv_phys.c:1712
#18 SV_Physics () at server/sv_phys.c:1765
#19 0x00000713a6f33aaf in SV_RunGameFrame () at server/sv_main.c:602
#20 Host_ServerFrame () at server/sv_main.c:643
#21 0x00000713a6f6dacc in Host_Frame (time=0.0198227149) at common/host.c:624
#22 0x00000713a6f6ebee in Host_Main (argc=<optimized out>, 
    argv=<optimized out>, progname=<optimized out>, 
    bChangeGame=<optimized out>, func=<optimized out>) at common/host.c:1137
#23 0x00000713a6f12872 in _start ()
(gdb) 
(gdb) bt full
#0  0x0000071690d6cb5f in CGraph::FindNearestNode(Vector const&, int) ()
   from valve/dlls/hl.so
No symbol table info available.
#1  0x0000071690d6c800 in CGraph::FindNearestNode(Vector const&, CBaseEntity*)
    () from valve/dlls/hl.so
No symbol table info available.
#2  0x0000071690d5ad02 in CBaseMonster::FGetNodeRoute(Vector) ()
   from valve/dlls/hl.so
No symbol table info available.
#3  0x0000071690d57a10 in CBaseMonster::BuildRoute(Vector const&, int, CBaseEntity*) () from valve/dlls/hl.so
No symbol table info available.
#4  0x0000071690d55948 in CBaseMonster::FRefreshRoute() ()
   from valve/dlls/hl.so
No symbol table info available.
#5  0x0000071690d55a9e in CBaseMonster::MoveToTarget(Activity, float) ()
   from valve/dlls/hl.so
No symbol table info available.
#6  0x0000071690d977b6 in CBaseMonster::StartTask(Task_t*) ()
   from valve/dlls/hl.so
No symbol table info available.
#7  0x0000071690dac0f2 in CTalkMonster::StartTask(Task_t*) ()
   from valve/dlls/hl.so
---Type <return> to continue, or q <return> to quit---
No symbol table info available.
#8  0x0000071690d9957b in CScientist::StartTask(Task_t*) ()
   from valve/dlls/hl.so
No symbol table info available.
#9  0x0000071690d95c6c in CBaseMonster::MaintainSchedule() ()
   from valve/dlls/hl.so
No symbol table info available.
#10 0x0000071690d5d0f8 in CBaseMonster::RunAI() () from valve/dlls/hl.so
No symbol table info available.
#11 0x0000071690d554cd in CBaseMonster::MonsterThink() () from valve/dlls/hl.so
No symbol table info available.
#12 0x0000071690d5ce29 in CBaseMonster::CallMonsterThink() ()
   from valve/dlls/hl.so
No symbol table info available.
#13 0x0000071690cde623 in CBaseEntity::Think() () from valve/dlls/hl.so
No symbol table info available.
#14 0x0000071690cfb7f4 in DispatchThink(edict_s*) () from valve/dlls/hl.so
No symbol table info available.
#15 0x00000713a6f2fc60 in SV_RunThink (ent=0x7160cc3e7d8)
    at server/sv_phys.c:205
        thinktime = 0
#16 SV_Physics_Step (ent=0x7160cc3e7d8) at server/sv_phys.c:1655
        point = {2.54195541e-42, -nan(0x7de100), 4.57369806e-41}
---Type <return> to continue, or q <return> to quit---
        wasonground = <optimized out>
        inwater = false
        mins = <optimized out>
        x = <error reading variable x (Cannot access memory at address 0x1)>
        trace = <optimized out>
#17 0x00000713a6f30029 in SV_Physics_Entity (ent=<optimized out>)
    at server/sv_phys.c:1712
No locals.
#18 SV_Physics () at server/sv_phys.c:1765
No locals.
#19 0x00000713a6f33aaf in SV_RunGameFrame () at server/sv_main.c:602
No locals.
#20 Host_ServerFrame () at server/sv_main.c:643
No locals.
#21 0x00000713a6f6dacc in Host_Frame (time=0.0198227149) at common/host.c:624
No locals.
#22 0x00000713a6f6ebee in Host_Main (argc=<optimized out>, 
    argv=<optimized out>, progname=<optimized out>, 
    bChangeGame=<optimized out>, func=<optimized out>) at common/host.c:1137
        oldtime = 26.803455045
        newtime = 26.82327776
        event = <optimized out>
#23 0x00000713a6f12872 in _start ()
---Type <return> to continue, or q <return> to quit---
No symbol table info available.

EDIT: heres one more from the hazard course. I made it all the way to map change before crash, so perhaps that was what i hit above too, can't remmber when the levels load during intro sequence anymore :-)

Reading symbols from xash...done.
[New process 28014]
[New process 86647]
[New process 64186]
[New process 6355]
Core was generated by `xash'.
Program terminated with signal SIGBUS, Bus error.
#0  strlen () at /usr/src/lib/libc/arch/amd64/string/strlen.S:152
152             movq    (%rax),%rdx             /* first data in high bytes */
[Current thread is 1 (process 28014)]
(gdb) bt
#0  strlen () at /usr/src/lib/libc/arch/amd64/string/strlen.S:152
#1  0x0000148dee4dabfa in CSave::WriteFunction(char const*, int const*, int) ()
   from valve/dlls/hl.so
#2  0x0000148dee4db482 in CSave::WriteFields(char const*, void*, TYPEDESCRIPTION*, int) () from valve/dlls/hl.so
#3  0x0000148dee411922 in CBaseEntity::Save(CSave&) () from valve/dlls/hl.so
#4  0x0000148dee4bf5cf in CBaseDelay::Save(CSave&) () from valve/dlls/hl.so
#5  0x0000148dee3f6fb3 in CBaseAnimating::Save(CSave&) () from valve/dlls/hl.so
#6  0x0000148dee4bfe5b in CBaseToggle::Save(CSave&) () from valve/dlls/hl.so
#7  0x0000148dee425493 in CBaseDoor::Save(CSave&) () from valve/dlls/hl.so
#8  0x0000148dee4109ce in DispatchSave(edict_s*, saverestore_s*) ()
   from valve/dlls/hl.so
#9  0x0000148bd4339e92 in SV_SaveGameState () at server/sv_save.c:1467
#10 0x0000148bd433b2f0 in SV_ChangeLevel (loadfromsavedgame=true, 
    mapname=<optimized out>, start=<optimized out>) at server/sv_save.c:1945
#11 0x0000148bd4372c7a in Cmd_ExecuteString (text=<optimized out>, 
    src=<optimized out>) at common/cmd.c:965
#12 0x0000148bd4372952 in Cbuf_Execute () at common/cmd.c:217
#13 0x0000148bd436b499 in Host_InputFrame () at common/input.c:685
#14 0x0000148bd436da9f in Host_Frame (time=0.0200887397) at common/host.c:620
#15 0x0000148bd436ebee in Host_Main (argc=<optimized out>, 
    argv=<optimized out>, progname=<optimized out>, 
    bChangeGame=<optimized out>, func=<optimized out>) at common/host.c:1137
---Type <return> to continue, or q <return> to quit---
#16 0x0000148bd4312872 in _start ()
(gdb) bt full
#0  strlen () at /usr/src/lib/libc/arch/amd64/string/strlen.S:152
No locals.
#1  0x0000148dee4dabfa in CSave::WriteFunction(char const*, int const*, int) ()
   from valve/dlls/hl.so
No symbol table info available.
#2  0x0000148dee4db482 in CSave::WriteFields(char const*, void*, TYPEDESCRIPTION*, int) () from valve/dlls/hl.so
No symbol table info available.
#3  0x0000148dee411922 in CBaseEntity::Save(CSave&) () from valve/dlls/hl.so
No symbol table info available.
#4  0x0000148dee4bf5cf in CBaseDelay::Save(CSave&) () from valve/dlls/hl.so
No symbol table info available.
#5  0x0000148dee3f6fb3 in CBaseAnimating::Save(CSave&) () from valve/dlls/hl.so
No symbol table info available.
#6  0x0000148dee4bfe5b in CBaseToggle::Save(CSave&) () from valve/dlls/hl.so
No symbol table info available.
#7  0x0000148dee425493 in CBaseDoor::Save(CSave&) () from valve/dlls/hl.so
No symbol table info available.
#8  0x0000148dee4109ce in DispatchSave(edict_s*, saverestore_s*) ()
   from valve/dlls/hl.so
No symbol table info available.
#9  0x0000148bd4339e92 in SV_SaveGameState () at server/sv_save.c:1467
        pent = 0x148ea586c8b8
---Type <return> to continue, or q <return> to quit---
        pSaveData = <optimized out>
        sections = <error reading variable sections (access outside bounds of object referenced via synthetic pointer)>
        pFile = <optimized out>
#10 0x0000148bd433b2f0 in SV_ChangeLevel (loadfromsavedgame=true, 
    mapname=<optimized out>, start=<optimized out>) at server/sv_save.c:1945
        level = "t0a0a\000\000\000 1\232\221\216\024\000\000\000\217 \217\216\024\000\000\000\260\356͎\024\000\000\022!\000\000\000\000\000\000\352\314\340Ď\024", '\000' <repeats 14 times>, "\213\024\000\000\000\000\000\000\000\000\000\000\200\253n\211\216\024\000\000\000\323\356͎\024\000\000\000\274;Ս\024\000\000\002\000\000\003\000\000\000\000\025?\341Ď\024", '\000' <repeats 26 times>, "G\230u\\:\302\370\365Ұ!D\017\275\aBȬ\255\326\213\024\000\000\000\276\374\377\177\177\000\000\000\000\000\000\000\000\000\000\r\000\000\000\000\000\000\000\260,t\326\213\024\000\000\000\000\000\000\000\000\000\000\265\350?ԋ\024\000\000\237\377\377\377"...
        oldlevel = "t0a0\000\000\000\000 :\260\021\216\024\000\000\000;\361Ŏ\024\000\000\250\274\374\377\177\177\000\000\000\000\000\000\000\000\000\000eL\331\351\215\024\000\000\000\000\000\000\000\000\000\000~R\003l\216\024\000\000\000\000\361\360\215\024\000\000Uf\000\000\000\000\000\000\250\274\374\377\177\177\000\000\225K\003l\216\024\000\000\250\274\374\377\177\177\000\000\260\274\374\377\177\177\000\000\000\000\361\360\215\024\000\000zW\003l\216\024\000\000Uf\000\000\000\000\000\000m.\331\351\215\024\000\000\370\252e\021\216\024\000\000m.\331\351\215\024\000\000\340\244\031\352\215\024\000\000 1\232\221\216\024\000\000\300\2---Type <return> to continue, or q <return> to quit---
03\031\352\215\024\000\000\311M\331\351\215\024\000\000 1\232\221\216\024\000\000`"...
        _startspot = "t0a0t0a0a\000\031\352\215\024\000\000\020\000\000\000\000\000\000\000 :\260\021\216\024\000\000 \000\000\000\000\000\000\000 :\260\021\216\024\000\000\340\244\031\352\215\024\000\000\300\203\031\352\215\024\000\000@\000\000\000\000\000\000\000\207\255\035\336\375\003\276頹pɎ\024\000\000\207\255\035\336\375\003\276\351\340\244\031\352\215\024\000\000\000;\361Ŏ\024\000\000\000\000\000\000\000\000\000\000 :\260\021\216\024\000\000\260\261\307h\216\024\000\000m.\331\351\215\024\000\000\340\244\031\352\215\024\000\000m.\331\351\215\024\000\000 \332\360\261\216\024\000\000m.\331\351\215\024\000\000\340\244\031\352\215\024\000\000\060r\336C\216\024\000\000\300\203\031\352\215\024\000\000\207\255\035\336"...
        pSaveData = 0x0
#11 0x0000148bd4372c7a in Cmd_ExecuteString (text=<optimized out>, 
    src=<optimized out>) at common/cmd.c:965
        command = "\300\341)B\216\024\000\000\353T\331\351\215\024\000\000\300\341)B\216\024\000\000m.\331\351\215\024\000\000\340\244\031\352\215\024\000\000\000\000\000\000\000\000\000\000\300\341)B\216\024\000\000\311M\331\351\215\024\000\000\037:Qԋ\024\000\000\205\230\060\224\216\024\000\000\027:Qԋ\024\000\000\000\260\356͎\024\000\000\000\000\000\000\000\000\000\000\070\316\060\224\216\024\000\000X\313\374\377\177\177\000\000iȤ\207\216\024\000\000\000\260\356͎\024\000\000X\313\374\377\177\177\000\000\000\260\356͎\024\000\000Oȫm\216\024", '\000' <repeats 50 times>...
---Type <return> to continue, or q <return> to quit---
        len = <optimized out>
        pcmd = <optimized out>
#12 0x0000148bd4372952 in Cbuf_Execute () at common/cmd.c:217
        line = "changelevel t0a0a t0a0t0a0a\000\000\000\000\000#\000\000\000\000\000\000\000Pf", '\000' <repeats 15 times>, "\260\356͎\024\000\000\203\000\000\000\021", '\000' <repeats 19 times>, "\322\300\257Z\000\000\000\000\350\003\000\000\345\001\000\000\350\003\000\000\345\001\000\000\000\000\000\000\000\000\000\000\001\000\000\000", '\277' <repeats 100 times>...
        i = <optimized out>
        text = <optimized out>
        comment = <optimized out>
#13 0x0000148bd436b499 in Host_InputFrame () at common/input.c:685
        forward = <optimized out>
        shutdownMouse = <error reading variable shutdownMouse (Cannot access memory at address 0x0)>
        side = <optimized out>
        pitch = <optimized out>
        yaw = <optimized out>
#14 0x0000148bd436da9f in Host_Frame (time=0.0200887397) at common/host.c:620
No locals.
#15 0x0000148bd436ebee in Host_Main (argc=<optimized out>, 
    argv=<optimized out>, progname=<optimized out>, 
    bChangeGame=<optimized out>, func=<optimized out>) at common/host.c:1137
---Type <return> to continue, or q <return> to quit---
        oldtime = 170.214642798
        newtime = 170.23473153800001
        event = <optimized out>
#16 0x0000148bd4312872 in _start ()
No symbol table info available.
(gdb) 
mittorn commented 8 years ago

Try remove maps/graphs It is incompatible between platforms

nekonomicon commented 8 years ago

@mittorn, but 64-bit server can't read *.nod.

mittorn commented 8 years ago

@nekonomicon, why? When i first time built it for amd64, it crashed untilll i removed graph nodes.

nekonomicon commented 8 years ago

@mittorn, FLoadGraph() always return NULL, because CGraph and CLink have different size on different archs.

ryan-sg commented 7 years ago

any progress in the direction of making CGraph and CLink 64bit clean?

nekonomicon commented 7 years ago

@ryan-sg, we not tried fix it yet. I ported some mods on this sdk.

nekonomicon commented 7 years ago

@ryan-sg, @mittorn fixed several crashes on amd64. If you want to test, you must build engine from xash3d/0.19.x branch and gamelibs from hlsdk-xash3d/master branch(client build broken, but it's easy to fix). Solution for nodes: Increment GRAPH_VERSION into nodes.h.

ryan-sg commented 7 years ago

@nekonomicon thank you for the heads up. thanks to @mittorn for looking into it, I am eager to give this a try when I get home today! :+1:

Well, the xash3d/0.19.x branch built just fine for me but not hlsdk-xash3d/master :( I get pretty much the same errors I notice on Github from Travis-CI: https://travis-ci.org/FWGS/hlsdk-xash3d/jobs/251547780

nekonomicon commented 7 years ago

@ryan-sg, try this patch: https://pastebin.com/ruAe7uXZ Also, you can try build parabot from this repo: https://github.com/nekonomicon/Parabot (Remove -m32 flag from Makefile)

ryan-sg commented 7 years ago

@nekonomicon that patch fixed the build. I managed to finish the full tram ride in, get to the test chamber, and get to unforseen consequences. Around where you pick up the crow bar I was headed back to steal Barney's pistol and xash3d crashed, but this is huge progress for me. Thank you very much for letting me know of the fixes!

As for Parabot, the files build fine but I'm experiencing an odd issue during linking (undefined reference to __stack_smash_handler, among many other). I'll report back any findings there. Going to go back to single player game and see if I can make it further :D

ryan-sg commented 7 years ago

For the crash, it seems the process doesn't actually finish. It was stillrunning but the game window disappeared. See this in the console log:

[19:37:57] server: GAME SKILL LEVEL:2
[19:37:57] ED_AllocEdict: no free edicts

full console log here: https://pastebin.com/pRebFdVQ

EDIT: made it to just before the office complex i think (right after doing the jumps down the suspended crates), the next level load after that causes same error as above and I can't seem to go further. For the first crash, I could also reproduce it by reloading the save game I had and trying to go back to steal barney's pistol again. At least it seems reproducible and not totally random!

EDIT 2: I found that editing valve/gameinfo.txt and increasing max_edicts to 2047 changed the issue for the last spot I was having issues. However, now after the 'loading' message it dumps me back at the game menu. console indicates a Host_Error: Level transition ERROR:

[21:40:08] server: GAME SKILL LEVEL:2
[21:40:08] server: *Graph Loaded!
[21:40:08] Host_Error: Level transition ERROR
Can't find connection to c1a1d from c1a1c
[21:40:23] Shutting down...
[21:40:23] execing game.cfg
[21:40:23] CL_Shutdown()
[21:40:23] Shutting down audio.

================================================================================
        Xash3D FWGS (build 832) stopped at Jul11 2017 [21:40.23]
================================================================================
mittorn commented 7 years ago

I fixed this, try again

ryan-sg commented 7 years ago

thanks @mittorn, works great! played all the way to "Power Up" now with no issue. Fantastic!

ryan-sg commented 7 years ago

With this, I can pretty much create an OpenBSD package of Xash3D and the half-life game libraries for people to play out of the box here. Is that okay to the authors?

a1batross commented 7 years ago

Yes, of course. :)

On Jul 17, 2017 22:25, "ryan-sg" notifications@github.com wrote:

With this, I can pretty much create an OpenBSD package of Xash3D and the half-life game libraries for people to play out of the box here. Is that okay to the authors?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/FWGS/xash3d/issues/147#issuecomment-315798123, or mute the thread https://github.com/notifications/unsubscribe-auth/ADEJgXwc9NZI7YrMUcF5VyiS0aJaHkRbks5sO4nNgaJpZM4I446a .

nekonomicon commented 7 years ago

As for Parabot, the files build fine but I'm experiencing an odd issue during linking

@ryan-sg, I updated Makefile, try download and build again.

mittorn commented 6 years ago

Seems to work now