-
Notifications
You must be signed in to change notification settings - Fork 32
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
Random crash on 2.2 coming from streamer's DestroyPickup #141
Comments
Hello, thank you for reporting. Can you specify which version of the plugin/build you are using (i.e. normal, DL, static), and if you have built it yourself, can you attach the binary? |
I'm running 0.3.7 R2-2, no DL. The binary is from here - the releases section. I was the one who reported previously before 2.2 release that vehicle models array is being sent incorrectly and causes reflection problem on vehicles. I downloaded it right after you posted the linux release. |
I have browsed through the archive logs and unfortunately noticed that there were more crashes but nobody has reported them to me. This one's interesting because it shows no participation of Streamer plugin, just the raknet part of YSF
There are several more, but they are identical (no streamer in stack trace) |
This is strange – the crash would indicate that the pickup is being destroyed for a player that doesn't exist (or is somehow else corrupted). I have added a null check to that place. Could you test YSF.zip please? |
I've already put it on the server, will monitor the logs for anything new. But the frequency of those is so low that it may take some time. |
I have unfortunately experienced another crash running the new version:
Just to confirm that I am running the correct build:
Is it possible that it's a streamer bug and not caused by YSF? |
Hmm, the crash is definitely on this line. I think I might have got an idea, thanks to my recent experiments with actors (which work the same way in the streamer) – when I caused something that would destroy an actor in Is it possible we are facing a similar situation here? In that case the issue would be somewhere in your code, where you'd be destroying a pickup/player right in the middle of its callback. |
As far as I can see in streamer's include file there is no This is my plugins line: I try to keep my GM clean from garbage so I don't really use any external includes. The fixes2 plugin only has timer precision fixes inside IIRC - it's stripped of other "fixes". Streamer is the newest version v2.9.5 |
How to reproduce the problem. I created a topic and left until the solution in case you are in a hurry. |
Today for the first time I have received a crash coming from Streamer's (2.9.5 so newest) pickup streaming.
I think the problem lies in YSF itself so I post the issue here.
Here's the stack trace:
The text was updated successfully, but these errors were encountered: