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 crashes preparing a query with both DISTINCT/ORDER BY and non-field expression in the select list [CORE5943] #6199

Closed
firebird-issue-importer opened this issue Oct 16, 2018 · 9 comments

Comments

@firebird-issue-importer

Submitted by: Robson Oliveira (robson_mcnsistemas.com.br)

When you run any query with the pattern below the service is stopped:

SELECT DISTINCT '0' AS CONSTANT, A.MON$SERVER_PID
FROM MON$ATTACHMENTS A
ORDER BY A.MON$SERVER_PID, A.MON$SERVER_PID

Commits: a97f76d db38f8c 96b9886

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Oct 16, 2018

Commented by: @mrotteveel

I can reproduce this on 3.0.4 (Windows 10, 64 bit); also reproducible on 3.0.3.

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Oct 16, 2018

Modified by: Robson Oliveira (robson_mcnsistemas.com.br)

Version: 3.0.3 [ 10810 ]

environment: OS: Windows Server 2012 R2 Standard => OS: Windows Server 2012 R2 Standard
Firebird SuperServer

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Oct 26, 2018

Modified by: @dyemanov

assignee: Dmitry Yemanov [ dimitr ]

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Oct 26, 2018

Modified by: @dyemanov

summary: Firebird service terminated abnormally (4294967295) => Server crashes preparing a query with both DISTINCT/ORDER BY and non-field expression in the select list

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Oct 26, 2018

Commented by: @dyemanov

v2.5 is also affected. It doesn' crash but accesses incorrect data in memory and thus theoretically may lead to wrong decisions.

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Oct 26, 2018

Modified by: @dyemanov

Fix Version: 4.0 Beta 1 [ 10750 ]

Fix Version: 2.5.9 [ 10862 ]

Fix Version: 3.0.5 [ 10885 ]

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Oct 26, 2018

Modified by: @dyemanov

status: Open [ 1 ] => Resolved [ 5 ]

resolution: Fixed [ 1 ]

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Dec 9, 2018

Modified by: @pavel-zotov

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

QA Status: No test => Done successfully

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Dec 9, 2018

Modified by: @pavel-zotov

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

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