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

Fast double map change corrupt internal structure of shop data #107

Open
Kailo97 opened this issue Jul 27, 2021 · 0 comments
Open

Fast double map change corrupt internal structure of shop data #107

Kailo97 opened this issue Jul 27, 2021 · 0 comments
Assignees
Labels
Accepting Merge Requests You can help by contributing this project by making Pull Request with your changes. Bug

Comments

@Kailo97
Copy link

Kailo97 commented Jul 27, 2021

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
@TiBarification TiBarification added the Accepting Merge Requests You can help by contributing this project by making Pull Request with your changes. label Jan 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Accepting Merge Requests You can help by contributing this project by making Pull Request with your changes. Bug
Development

No branches or pull requests

2 participants