Shop-Core icon indicating copy to clipboard operation
Shop-Core copied to clipboard

Fast double map change corrupt internal structure of shop data

Open Kailo97 opened this issue 4 years ago • 0 comments

Describe the bug this bug requires testing and confirmation Fast double map change corrupt internal structure of shop data. Sourcemod error logs start to spam

L 07/26/2021 - 21:51:01: [SM] Exception reported: Invalid Handle c710bab (error: 1)
L 07/26/2021 - 21:51:01: [SM] Blaming: shop/shop.smx
L 07/26/2021 - 21:51:01: [SM] Call stack trace:
L 07/26/2021 - 21:51:01: [SM]   [0] ArrayList.FindValue
L 07/26/2021 - 21:51:01: [SM]   [1] Line 659, addons/sourcemod/scripting/shop/item_manager.sp::ItemManager_OnItemRegistered

I looked at action SM log and found that in time of error starts spam map was changed twice in 2-4 seconds.

L 07/26/2021 - 21:51:00: -------- Mapchange to de_mirage --------
L 07/26/2021 - 21:51:02: -------- Mapchange to de_mirage --------

Full logs with two exmples here: (12:02:10 and 21:51:00) errors_20210726.log L20210726.log

To Reproduce Steps to reproduce the behavior:

  1. Change map once
  2. Change map again in next 2-4 seconds
  3. See error

Expected behavior No errors =)

Server (please complete the following information):

  • OS Linux
  • Sourcemod version 1.10.0.6502
  • Version 3.0E2

Kailo97 avatar Jul 27 '21 07:07 Kailo97