nuclearsilo583 / zephyrus-store-preview-new-syntax

My rewritten zephyrus store
61 stars 40 forks source link

Not enough space on the stack #83

Closed laterre39 closed 2 years ago

laterre39 commented 2 years ago

Is this a server issue?

L 07/10/2022 - 10:31:36: [SM] Exception reported: Not enough space on the stack L 07/10/2022 - 10:31:36: [SM] Blaming: store_item_pet.smx L 07/10/2022 - 10:31:36: [SM] Call stack trace: L 07/10/2022 - 10:31:36: [SM] [1] Line 656, C:\Users\kk971\Downloads\sourcemod-1.11.0-git6905-linux\addons\sourcemod\scripting\store_item_pet.sp::Downloader_AddFileToDownloadsTable L 07/10/2022 - 10:31:36: [SM] [2] Line 695, C:\Users\kk971\Downloads\sourcemod-1.11.0-git6905-linux\addons\sourcemod\scripting\include\zephstocks.inc::Downloader_AddFileToDownloadsTable L 07/10/2022 - 10:31:36: [SM] [3] Line 681, C:\Users\kk971\Downloads\sourcemod-1.11.0-git6905-linux\addons\sourcemod\scripting\include\zephstocks.inc::Downloader_AddFileToDownloadsTable L 07/10/2022 - 10:31:36: [SM] [4] Line 134, C:\Users\kk971\Downloads\sourcemod-1.11.0-git6905-linux\addons\sourcemod\scripting\store_item_pet.sp::Pets_OnMapStart L 07/10/2022 - 10:31:36: [SM] [6] Call_Finish L 07/10/2022 - 10:31:36: [SM] [7] Line 784, C:\Users\kk971\Downloads\sourcemod-1.11.0-git6905-linux\addons\sourcemod\scripting\store.sp::OnMapStart

azalty commented 2 years ago

Seems like a memory leak caused by the store_item_pet plugin and the Downloader_AddFileToDownloadsTable function

Maybe you have invalid models, or maybe you just have too many of them and your server can't handle it

Line numbers don't seem to match, what version are you using?

laterre39 commented 2 years ago

This is a relatively recent version. Last time I left a problem with Rainbow cp issue. It's probably a file before the lootbox patch.

nuclearsilo583 commented 2 years ago

The problem occur with the stable SM 1.11 and the Downloader_AddFileToDownloadsTable table. I recommend you to remove all the code from 132-136 and install one of these plugin for precache model.

laterre39 commented 2 years ago

ok thx