-
Notifications
You must be signed in to change notification settings - Fork 94
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
[bug] Streamer crashes the server if call samp Kick function from sampgdk #2
Comments
Could you see if this fixes it? https://github.com/samp-incognito/samp-streamer-plugin/releases/download/v2.7.1/streamer-plugin-2.7.1.zip That is compiled with the latest version of sampgdk, minus the |
I have checked this for ten times and seems like the problem is gone! However I still don't close this issue because I'm going to make sure it's not solved by random. |
Sorry I didn't work on project for a while, now again started developing and again this happened. |
I found another related info that seems like this happens more if player lost network connection for 1 sec(timeout) and get kicked as soon as his next try. Maybe because there is no delay or any timer issue ? |
It's something I can't really fix if sampgdk is causing it. I can't imagine any other reason why this would be happening. Perhaps try reporting it to Zeex? FYI: Compiling a debug version of streamer.dll and attaching the Visual Studio debugger to samp-server.exe will show you exactly where the first exception occurs in the code, which would be most helpful to anyone trying to fix this. |
I'm pretty sure there is no problem with sampgdk since whenever I unload the streamer and use default sa-mp natives for objects and etc this doesn't happen. Also visual studio reports that crash happens in streamer.dll. |
What I'm saying is that the crash is occurring inside of streamer.dll, yes, but the crash is probably originating inside of the sampgdk library, which is statically linked to streamer.dll. You can see for yourself, though: http://d-h.st/WGr#.U4jWYSiO5ak |
I'm using latest sampgdk version, the problem with calling callback OnPlayerDisconnect when using Kick is solved but sometimes now I get a exception of attempt to read/write protected memory!
It's like related to streamer..
Problem Event Name: APPCRASH
Application Name: samp-server.exe
Application Version: 0.3.6.0
Application Timestamp: 52fc71b4
Fault Module Name: streamer.DLL
Fault Module Version: 2.7.0.0
Fault Module Timestamp: 52e7f30f
Exception Code: c0000005
Exception Offset: 0000ebc1
OS Version: 6.2.9200.2.0.0.256.4
Locale ID: 1033
Additional Information 1: e00f
Additional Information 2: e00ff5d5afb09c9691538e3324d69a4d
Additional Information 3: d456
Additional Information 4: d45628be9c6c974490440abc7fb6534e
The text was updated successfully, but these errors were encountered: