Raised This Month: $51 Target: $400
 12% 

[L4D2] Random entity crash on map start/map restart


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
VYRNACH_GAMING
Member
Join Date: Sep 2021
Old 12-02-2021 , 02:42   [L4D2] Random entity crash on map start/map restart
Reply With Quote #1

I've been getting these seemingly random occurring entity related crashes on the latest SM/MM on fresh map load/map restart on failure on a 18player server. Anyone also getting it? I'm not running any spawning plugins but it still happens totally randomly.

Most of the time it's exceeding the entity limit "ED_Alloc: no free edicts" and but sometimes it has random messages like
Quote:
models/w_models/weapons/w_sniper_military.mdl (2) at nan 2.5 -nan in contact with vdisp_0320 (2) at -5.0 1.8 -3.0, crash. dist = -1, minq = 100000002004087734272.000000
Quote:
219/ - weapon_ammo_spawn: UTIL_SetModel: not precached: models/props_unique/spawn_apartment/coffeeammo.mdl
Edit1: Not sure if it matters but I've already manually compiled all the plugins and updated their relevant gamedata
Edit2: Need help reading this full entity log for a "no free edicts" map restart crash: https://pastebin.com/CtNj6qs8
Edit3: Random crashlogs:
https://crash.limetech.org/32zcphwybwi5 - ED_Alloc: no free edicts
https://crash.limetech.org/ahgz7dozvug2 - unique crash - engine_srv.so!CFrameSnapshotManager::RemoveEn tityReference(int) + 0x16
https://crash.limetech.org/qmpfkqm5z5cp - models/w_models/weapons/w_sniper_military.mdl (2) at nan 2.5 -nan in contact with vdisp_0320 (2) at -5.0 1.8 -3.0, crash. dist = -1, minq = 100000002004087734272.000000
https://crash.limetech.org/xmnavz5zym2l - ED_Alloc: no free edicts
https://crash.limetech.org/r2g3bcqmya4t - ED_Alloc: no free edicts
https://crash.limetech.org/ydmhq5rtyxzb - ED_Alloc: no free edicts

Edit1: the new L4D2 update, recompiling all plugins using latest SM compiler and disable watchdog with -nowatchdog (may be a bad idea if you run many servers) has made most of the crashes disappear
__________________

Last edited by VYRNACH_GAMING; 12-10-2021 at 05:13. Reason: more info
VYRNACH_GAMING is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 12-02-2021 , 04:33   Re: [L4D2] Random entity crash on map start/map restart
Reply With Quote #2

Quote:
Originally Posted by VYRNACH_GAMING View Post
Most of the time it's exceeding the entity limit "ED_Alloc: no free edicts" and but sometimes it has random messages like
Some plugin is creating too many entities without destroying them probably. Or you have too many plugins running that are creating entities. There's nothing you can do but cut back on how much is being spawned. Maybe you can half the plugin list, and restore/remove half until you find the plugin creating so many entities without deleting them.



Quote:
Originally Posted by VYRNACH_GAMING View Post
models/w_models/weapons/w_sniper_military.mdl (2) at nan 2.5 -nan in contact with vdisp_0320 (2) at -5.0 1.8 -3.0, crash. dist = -1, minq = 100000002004087734272.000000
This is what happens when a plugin creates an entity, does "DispatchSpawn()" and then "TeleportEntity()", plugins should TeleportEntity first then DispatchSpawn to avoid this crash.





Quote:
Originally Posted by VYRNACH_GAMING View Post
219/ - weapon_ammo_spawn: UTIL_SetModel: not precached: models/props_unique/spawn_apartment/coffeeammo.mdl
This is a really bad oversight. The plugin creating the "coffeeammo" model should precache the model in OnMapStart. Which plugin are you using that has this? The "Coffee Ammo" plugin by "McFlurry" caches this correctly, you could use that to fix the issue but really whatever plugin is ccausing this should be identified and reported to and fixed by the author..
__________________
Silvers is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 00:20.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode