Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Segmentation fault in CHalfLifeMultiplay::PlayerThink(CBasePlayer*) #924

Open
jobmail opened this issue Jan 12, 2024 · 0 comments
Open

Segmentation fault in CHalfLifeMultiplay::PlayerThink(CBasePlayer*) #924

jobmail opened this issue Jan 12, 2024 · 0 comments

Comments

@jobmail
Copy link

jobmail commented Jan 12, 2024

https://github.com/s1lentq/ReGameDLL_CS/blob/e924a266b047d4bc866cf1e66ec9030b33fc85f7/regamedll/dlls/multiplay_gamerules.cpp#L2352

Завершаю раунд принудительно:
set_member_game(m_bCompleteReset, true);
rg_round_end(f_delay, WINSTATUS_DRAW, ROUND_GAME_RESTART, "TEST", _, true);

Если f_delay поставить 0.5 и менее, а Entities на карте было создано 500+, получаем различные вариации краша:

Program terminated with signal 11, Segmentation fault.
#0 0x00000000 in ?? ()
#0 0x00000000 in ?? ()
#1 0xb29dbb41 in CHalfLifeMultiplay::PlayerThink(CBasePlayer*) () from /home/server3367/game/cstrike/dlls/cs.so
#2 0x00000001 in ?? ()
#3 0x00000000 in ?? ()
No symbol table info available.

Program terminated with signal 11, Segmentation fault.
#0 0x00000000 in ?? ()
#0 0x00000000 in ?? ()
#1 0xb2a1d28b in UpdateClientData(edict_s const*, int, clientdata_s*) () from /home/server3367/game/cstrike/dlls/cs.so
#2 0xb1281494 in ?? ()
#3 0x00000014 in ?? ()
#4 0xb68442d5 in SV_WriteClientdataToMessage () from /home/server3367/game/engine_i486.so

jonathan-up added a commit to jonathan-up/ReGameDLL_CS that referenced this issue Aug 11, 2024
* Update workflows/build.yml
Fix temporarily testdemos

* Fix compiler warnings

* Fixed a bug in spectator move with no apply friction when stopped

* Update build.yml

* Add support IN_RUN key for +speed button in spectator/noclip and walk moves
Add cheat impulse for enable Noclip with air accelerate

* try fix a crash due to the deletion of an item in an unusual way
related rehlds#870, rehlds#752, rehlds#924, rehlds#957

* Extend KickBack functionalities (rehlds#980)

---------

Co-authored-by: s1lentq <s1lentsk@yandex.ru>
Co-authored-by: Francisco Muñoz <fjmunozpena@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant