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

Embedded - encrypting a database crashes host process when background encryption gets ready while no connection is established to that database [CORE5326] #5602

Closed
firebird-automations opened this issue Aug 10, 2016 · 5 comments

Comments

@firebird-automations
Copy link
Collaborator

Submitted by: Ralf Jansen (ralf jansen)

When the background encryption ends and there is no connection to that database open when it end the hosting process of the embedded client will crash.

Behaviour can be replicated with Flamerobin as host for example.

- open a not to small Database (so that encryption will take some time) with Flamerobin via an embedded FB Client library having the used crypt plugin in the plugin folder.
- Start encryption via "ALTER DATABASE ENCRYPT WITH MyLovelyCryptPlugin KEY MyLovelyKeyHolder"
- disconnect/unregister from the database from within flamerobin but don't end the Flamerobin process
- monitor encryption progress with "gstat -e"
- see Flamerobin crash when background encryption is ready

Commits: 1f32346 19bc36c f75d77a 4156615

@firebird-automations
Copy link
Collaborator Author

Modified by: @AlexPeshkoff

assignee: Alexander Peshkov [ alexpeshkoff ]

@firebird-automations
Copy link
Collaborator Author

Commented by: @AlexPeshkoff

Reproduced

@firebird-automations
Copy link
Collaborator Author

Commented by: @AlexPeshkoff

This also affected SS when it had no connections to database at the end of crypt process

@firebird-automations
Copy link
Collaborator Author

Modified by: @AlexPeshkoff

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

resolution: Fixed [ 1 ]

Fix Version: 3.0.1 [ 10730 ]

Fix Version: 4.0 Alpha 1 [ 10731 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @pavel-zotov

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

QA Status: No test => Cannot be tested

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