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

Segfault when gfix requests for database page buffer more memory than available from OS [CORE6509] #6738

Closed
firebird-automations opened this issue Mar 9, 2021 · 6 comments

Comments

@firebird-automations
Copy link
Collaborator

Submitted by: @AlexPeshkoff

gfix -buf {huge-value} any.fdb
causes segfault

Commits: e17dfa6

====== Test Details ======

Crash occurs also on Windows, so test has attribute platform = 'All'.

@firebird-automations
Copy link
Collaborator Author

Modified by: @AlexPeshkoff

description: gfix -buf {huge-value} any.fdb
cause segfault

=>

gfix -buf {huge-value} any.fdb
causes segfault

@firebird-automations
Copy link
Collaborator Author

Modified by: @AlexPeshkoff

assignee: Alexander Peshkov [ alexpeshkoff ]

@firebird-automations
Copy link
Collaborator Author

Commented by: @AlexPeshkoff

I've applied minimal fix - there are plans to rework cache page memory management (including use of huge pages), therefore serious reworking of existing code does not make much sense.

@firebird-automations
Copy link
Collaborator Author

Modified by: @AlexPeshkoff

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

resolution: Fixed [ 1 ]

Fix Version: 4.0.0 [ 10931 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @pavel-zotov

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

QA Status: No test => Done successfully

Test Details: Crash occurs also on Windows, so test has attribute platform = 'All'.

@firebird-automations
Copy link
Collaborator Author

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
Development

No branches or pull requests

2 participants