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
Server starts returning garbage when killing events connection attempt [CORE2272] #2698
Comments
Commented by: @cincuranet Run the application: First attempt will be successful (right IP and port), second returns random data. |
Modified by: @cincuranetAttachment: test.zip [ 11280 ] |
Modified by: @AlexPeshkoffassignee: Alexander Peshkov [ alexpeshkoff ] |
Commented by: @AlexPeshkoff Can you send me source code for it? |
Commented by: @cincuranet Tweaked sources with test app. are attached. |
Modified by: @cincuranetAttachment: CORE2272.7z [ 11291 ] |
Commented by: @AlexPeshkoff Jiri, I confirm the issue. But not only port number and IP is bad - the whole event delivery in second attach is broken, I get AVs, assertions, etc. Will investigate more. |
Modified by: @AlexPeshkoff |
Commented by: @AlexPeshkoff Jiri, after fixing CORE2437 I can't reproduce an issue. Without fixing also could not, but due to getting segfaults :)) Can you check it with HEAD? There were BOFs before fix (and they happened exactly when I tried to connect second time). Therefore I suppose current issue may be also gone now. Though problem may be also due to .Net client (I fixed only fbclient). I anyway plan to backport 2437 to 2.1 and 2.0, but wish to have your results first. |
Commented by: @cincuranet Hi Alex, looks like it's fixed. I'm not able to reproduce the error now. |
Commented by: @AlexPeshkoff Marked as resolved after fixing related issue. |
Modified by: @AlexPeshkoffstatus: Open [ 1 ] => Resolved [ 5 ] resolution: Fixed [ 1 ] Fix Version: 2.5 RC1 [ 10300 ] Fix Version: 2.1.3 [ 10302 ] Fix Version: 2.0.6 [ 10303 ] |
Modified by: @pcisarstatus: Resolved [ 5 ] => Closed [ 6 ] |
Modified by: @pavel-zotovQA Status: No test |
Submitted by: @cincuranet
Relate to CORE2437
Attachments:
test.zip
CORE-2272.7z
1. I configured my FB2.1 SuperServer events port to 32768.
2. I've connected to it. So far so good. In response right IP, right port.
3. I've connected again and between port reading and address reading
from response, I've killed the program.
4. From now, I'm getting back weird IPs and weird ports - probably
some numbers from wrong memory location.
The text was updated successfully, but these errors were encountered: