Issue Details (XML | Word | Printable)

Key: CORE-5326
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Alexander Peshkov
Reporter: Ralf Jansen
Votes: 0
Watchers: 0

If you were logged in you would be able to see more operations.
Firebird Core

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

Created: 10/Aug/16 03:44 PM   Updated: 25/May/17 08:20 PM
Component/s: Engine
Affects Version/s: 3.0.0
Fix Version/s: 3.0.1, 4.0 Alpha 1

Environment: Windows 8.1, Visual Studio 2015 Targetplattform Net. 4.5.2, Firebird Provider, Firebird x64 Snapshot build (29.07.2016) , Crypt Plugin build around the standard example

QA Status: Cannot be tested

 Description  « Hide
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

 All   Comments   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Alexander Peshkov added a comment - 11/Aug/16 07:46 AM

Alexander Peshkov added a comment - 15/Sep/16 02:40 PM
This also affected SS when it had no connections to database at the end of crypt process