Closed jptrzy closed 1 year ago
Run it through the debugger, please
I think it is connected with death animation/ragdoll or something like this.
I don't know it it would help in anythink, but I found where it bugs out:
For now I will just stop using mimalloc and compile xray-16 engine without it.
cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DMEMORY_ALLOCATOR=standard
@jptrzy can you test it now? It should be fixed by #863
I assume this should be fixed with #863.
After mimalloc update and using branch 1193-fix-game-crash-after-mimalloc-update games starts normally, but when I kill a humanoid enemy game crashes.
Logs error report
Logs
``` ! Couldn't create surface from image: Parameter 'src' is invalid OpenXRay Release Master Gold build 8745, Jan 16 2023 (Linux 64-bit, shared) Custom build from commit[096c38a5dc80cddd424c2726daddd4a5b7acd55c] branch[1193-fix-game-crash-after-mimalloc-update] command line -fsltx /home/jp3/Games/STALKER_Call_of_Pripyat/S.T.A.L.K.E.R._Call_of_Pripyat/fsgame.ltx * CPU features: RDTSC, MMX, SSE, AVX * CPU threads: 4 Initializing File System... $fs_root$ = /home/jp3/Games/STALKER_Call_of_Pripyat/S.T.A.L.K.E.R._Call_of_Pripyat using fs-ltx /home/jp3/Games/STALKER_Call_of_Pripyat/S.T.A.L.K.E.R._Call_of_Pripyat/fsgame.ltx FS: 42737 files cached 32 archives, 5Kb memory used. Init FileSystem 0.515143 sec -----loading \home\jp3\Games\STALKER_Call_of_Pripyat\S.T.A.L.K.E.R._Call_of_Pripyat\gamedata\configs\system.ltx -----loading \home\jp3\Games\STALKER_Call_of_Pripyat\S.T.A.L.K.E.R._Call_of_Pripyat\gamedata\configs\system.ltx ! Failed to determine on which monitor the game is launched. ! SDL: Invalid window Starting INPUT device... Loading module: xrRender_GL Available render modes[1]: renderer_rgl Executing config-script "user.ltx"... [\home\jp3\Games\STALKER_Call_of_Pripyat\S.T.A.L.K.E.R._Call_of_Pripyat\_appdata_\user.ltx] successfully loaded. Selected renderer: renderer_rgl Loading module: xrGame Initializing Engine... SOUND: OpenAL: system default sound device name is OpenAL Soft Executing config-script "\home\jp3\Games\STALKER_Call_of_Pripyat\S.T.A.L.K.E.R._Call_of_Pripyat\gamedata\configs\default_controls.ltx"... [\home\jp3\Games\STALKER_Call_of_Pripyat\S.T.A.L.K.E.R._Call_of_Pripyat\gamedata\configs\default_controls.ltx] successfully loaded. Executing config-script "user.ltx"... Executing config-script "\home\jp3\Games\STALKER_Call_of_Pripyat\S.T.A.L.K.E.R._Call_of_Pripyat\gamedata\configs\rspec_default.ltx"... [\home\jp3\Games\STALKER_Call_of_Pripyat\S.T.A.L.K.E.R._Call_of_Pripyat\gamedata\configs\rspec_default.ltx] successfully loaded. Executing config-script "\home\jp3\Games\STALKER_Call_of_Pripyat\S.T.A.L.K.E.R._Call_of_Pripyat\gamedata\configs\default_controls.ltx"... [\home\jp3\Games\STALKER_Call_of_Pripyat\S.T.A.L.K.E.R._Call_of_Pripyat\gamedata\configs\default_controls.ltx] successfully loaded. ~ Invalid syntax in call to 'sv_adm_menu_ban_time' ~ Valid arguments: ui_mp_am_10_minutes/ui_mp_am_30_minutes/ui_mp_am_1_hour/ui_mp_am_6_hours/ui_mp_am_1_day/ui_mp_am_1_week/ui_mp_am_1_month/ui_mp_am_3_monthes/ui_mp_am_forever ~ Invalid syntax in call to 'sv_suspicious_actions_ban_time' ~ Valid arguments: ui_mp_am_10_minutes/ui_mp_am_30_minutes/ui_mp_am_1_hour/ui_mp_am_6_hours/ui_mp_am_1_day/ui_mp_am_1_week/ui_mp_am_1_month/ui_mp_am_3_monthes/ui_mp_am_forever [\home\jp3\Games\STALKER_Call_of_Pripyat\S.T.A.L.K.E.R._Call_of_Pripyat\_appdata_\user.ltx] successfully loaded. SOUND: Selected device is OpenAL Soft * SOUND: EFX extension: present * sound : cache: 65537 kb, 4856 lines, 13820 bpl Starting RENDER device... * GPU vendor: [NVIDIA Corporation] device: [NVIDIA GeForce GTX 1070/PCIe/SSE2] * GPU OpenGL version: 4.1.0 NVIDIA 525.78.01 * GPU OpenGL shading language version: 4.10 NVIDIA via Cg compiler * GPU OpenGL VTF units: [32] CTI units: [192] * DVB created: 4096K * DIB created: 512K ! Renderer doesn't support blender 'effects\shadow_world' * HWDST/PCF supported and used Starting engine... * [ Linux ]: free[1654600 K], reserved[60168 K], committed[14688564 K] * [ Render ]: textures[4149 K] * [ x-ray ]: process heap[248 K] * [ x-ray ]: economy: strings[7916 K], smem[0 K] -fsltx /home/jp3/Games/STALKER_Call_of_Pripyat/S.T.A.L.K.E.R._Call_of_Pripyat/fsgame.ltx * phase time: 0 ms * phase cmem: 282 K Loading sounds... Loading objects... Loading models... Loading textures... * [prefetch] time: 2523 ms * [prefetch] memory: 562 Kb * phase time: 2541 ms * phase cmem: 846 K * phase time: 56 ms * phase cmem: 852 K * phase time: 0 ms * phase cmem: 852 K * Loading spawn registry... * 6464 spawn points are successfully loaded * Loading objects... * 12018 objects are successfully loaded * Game jp3 - quicksave is successfully loaded from file '\home\jp3\Games\STALKER_Call_of_Pripyat\S.T.A.L.K.E.R._Call_of_Pripyat\_appdata_\savedgames\jp3 - quicksave.scop' (0.780s) * phase time: 779 ms * phase cmem: 1181 K * phase time: 11 ms * phase cmem: 1181 K * phase time: 0 ms * phase cmem: 1181 K * client : connection accepted -System info
uname -or
)Related threads
1193
1216
Btw. This is my first issue with this engine, so I could miss some info/logs that I should share.