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

Server starts returning garbage when killing events connection attempt [CORE2272] #2698

Closed
firebird-issue-importer opened this issue Jan 11, 2009 · 14 comments

Comments

@firebird-issue-importer

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.

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Jan 11, 2009

Commented by: @cincuranet

Run the application:
app.exe "hostname/port:database" "username" "password"

First attempt will be successful (right IP and port), second returns random data.

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Jan 11, 2009

Modified by: @cincuranet

Attachment: test.zip [ 11280 ]

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Jan 11, 2009

Modified by: @AlexPeshkoff

assignee: Alexander Peshkov [ alexpeshkoff ]

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Jan 12, 2009

Commented by: @AlexPeshkoff

Can you send me source code for it?
I can't start .Net under wine - it fails in x11 driver.

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Jan 15, 2009

Commented by: @cincuranet

Tweaked sources with test app. are attached.

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Jan 15, 2009

Modified by: @cincuranet

Attachment: CORE2272.7z [ 11291 ]

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Mar 13, 2009

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.

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Apr 17, 2009

Modified by: @AlexPeshkoff

Link: This issue relate to CORE2437 [ CORE2437 ]

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Apr 17, 2009

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.

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented May 3, 2009

Commented by: @cincuranet

Hi Alex, looks like it's fixed. I'm not able to reproduce the error now.

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented May 22, 2009

Commented by: @AlexPeshkoff

Marked as resolved after fixing related issue.

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented May 22, 2009

Modified by: @AlexPeshkoff

status: 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 ]

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Nov 12, 2009

Modified by: @pcisar

status: Resolved [ 5 ] => Closed [ 6 ]

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Jan 19, 2016

Modified by: @pavel-zotov

QA Status: No test

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants