-
Notifications
You must be signed in to change notification settings - Fork 89
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
runtime error when parsing demo file #162
Comments
Thanks for bringing this to my attention @marksamman. I'm not sure if this is really related to any update. I think it's just a fairly strange demo in general. Anyway, I've filed #163 which should fix this issue. Please verify if it helps and I will merge it asap. |
we just assume it's a bot since all human players were parsed correctly in the demo where this problem was encountered.
we just assume it's a bot since all human players were parsed correctly in the demo where this problem was encountered.
It has happened more than once in demo files from the past two days, so I'm not sure what else it would be if not for an update. I've processed about 20TB of demo files in the past without this happening. Either way, your fix addresses the problem. Thanks! |
Experiencing a different crash now:
|
Demo file available here: https://www.dropbox.com/s/9w0fsx68go4yfry/mrec_19_11_16_37_56.dem?dl=0 |
Hmm, this is looking bad ... I hope my fix won't just end up suppressing things that should be parsed correctly. From which service are these demos being recorded? (PopFlash, FaceIt etc.) |
It's part of the demo transmission pipeline on Esportal (https://beta.esportal.se/) running on servers using Sourcemod, so broken demo files are currently not uploaded to the service. We download demo files from servers over FTP after a match ends, extract chat logs using this package and upload both the demo file and the chat logs to cloud storage and mark demo file as available for download. |
Hmm. Has there maybe also been any change besides the CS:GO update? For example in the way players connect to the server, game rules, bots, plugin changes/updates or anything of the sort that you're aware of? Not trying to shift the blame as this is either way a bug in the library (since GOTV works), but just trying to figure out what might cause it. From what I can tell MM demos still seem to be doing fine for instance, even after the update. |
We updated to the latest version of Sourcemod recently (Wednesday), from "1.10.0.6432" to "1.11.0.6469". Other changes (we started tracking weapon hit accuracy and clutch attempts from our Sourcemod plugin) were at least a week before the issue started happening, so unlikely to be related. |
Thanks. But yeah it doesn't look like that would be related. Could you send me the following:
I will look into adding these plus the ones you already sent me to the regression suite (or at least some of them) once this is fixed. |
One thing I'm observing in GOTV is that these players that are 'missing' are named 'unconnected' even though they are real players (judging by the movement etc.). Could you have a look at the first two rounds of https://www.dropbox.com/s/9w0fsx68go4yfry/mrec_19_11_16_37_56.dem?dl=0 ? I see the knife round is 1v1 and the pistol round has 4 bots in each team and then the player connect. I also translated some of the chat and it seems like something has gone wrong in the match setup ( Anyway, what I think I will do is try to handle these players as |
Apologies for the late response, I don't have CS:GO installed and have tried to ask other people involved in Esportal development for more information but haven't received anything helpful yet unfortunately. We've had an issue reported since Nov 17 where some users are not firing a disconnect event in our Sourcemod plugin when they disconnect. Our plugin developer claims that the users are timing out and that the plugin isn't notified for an unknown reason. We haven't been able to address that issue yet. It could be that these users are also causing the unexpected data in the demo file, although the demo file of a match where such an issue happened was successfully processed: https://s3.eu-central-1.wasabisys.com/demo-production/1333267.dem Here's a demo file that was successfully processed from Wednesday evening: I'll revert the attempted fix and get you a demo file that works with v1.5.1 later today. |
Here's a demo that was processed without any issues using v1.5.1: https://s3.eu-central-1.wasabisys.com/demo-production/1349541.dem |
we just assume it's a bot since all human players were parsed correctly in the demo where this problem was encountered.
we just assume it's a bot since all human players were parsed correctly in the demo where this problem was encountered.
This should be fixed with If it works I will merge to master and do a proper release. PS: sorry for dropping the ball on this, was a hectic week at work. |
one more thing @marksamman - is it ok if I add esportal.se to this list? |
It seems to work. Thank you!
Yeah, that's OK :) |
Awesome, thanks! And I've added the site to the list 😄 |
…#163) we just assume it's a bot since all human players were parsed correctly in the demo where this problem was encountered.
Describe the bug
This started happening in the past 24 hours, probably related to recent CS:GO update. New demo files are causing the parser to crash. Trace:
To Reproduce
Download link to an affected demo: https://www.dropbox.com/s/wom10hgr218yn3r/mrec_19_11_22_37_39.dem?dl=0
Code:
Expected behavior
Parser shouldn't crash.
Library version
v1.5.1
The text was updated successfully, but these errors were encountered: