FWGS / xash3d-fwgs

Xash3D FWGS engine.
1.51k stars 225 forks source link

Xash3D keeps crashing #1731

Closed Vad1mCSO2 closed 1 month ago

Vad1mCSO2 commented 1 month ago

image

Vladislav4KZ commented 1 month ago

Where and when does it crash? Any details?

Vad1mCSO2 commented 1 month ago

When starting or joining MP servers

Vladislav4KZ commented 1 month ago

Did you install some custom client.dll? Where did Half-Life download from? Which version?

Vad1mCSO2 commented 1 month ago

Elinsrc's client and 25th anniversary version

Vad1mCSO2 commented 1 month ago

in old version of xash3d works fine

Vladislav4KZ commented 1 month ago

I also encountered an engine crash when connecting to a server or creating one.

Xash3D FWGS for Android uses hlsdk-portable, on which the Elinsrc client is also based.

Ver: Xash3D FWGS 0.20 (build 3399-7a469fb, android-arm64)
Crash: signal 11 errno 0 with code 1 at 0x0 0x0
[2024:07:21|14:14:59] Ver: Xash3D FWGS 0.20 (build 3399-7a469fb, android-arm64)
Crash: signal 11 errno 0 with code 1 at 0x0 0x0

Engine log: engine.log

Tested on: Xash3D FWGS v49/0.20 Build number: 3399 Platform: android-arm64 Commit: https://github.com/FWGS/xash3d-fwgs/commit/7a469fb481d9bdb62923868f1acdff65d9058e6e Branch: master

Device: Samsung Galaxy A52 (SM-A525F) OS: Android 14 (OneUI 6.1)

Vladislav4KZ commented 1 month ago

Just yesterday or the day before yesterday there were no crashes on Android yet.

Vladislav4KZ commented 1 month ago

This crash starts reproducing from this commit: https://github.com/FWGS/xash3d-fwgs/commit/982e32d108cde862fe7013458e2e49bb1014638b

This crash cannot be reproduced with game libraries which are compiled from code based on original HLSDK by Valve. It only reproduces with game libraries which are compiled from hlsdk-portable and mods based on it.

Vladislav4KZ commented 1 month ago

This crash also occurs when starting a new singleplayer game.

a1batross commented 1 month ago

Added yet another hack in 790f9bde54fa4af59c55255753a5dd723bb06b9d