Segfault when shutting down database which got encrypted by another process
---------------------------------------------------------------------------
Key: CORE-6501
URL: http://tracker.firebirdsql.org/browse/CORE-6501
Project: Firebird Core
Issue Type: Bug
Components: Engine
Affects Versions: 4.0 RC 1, 3.0.7, 3.0.6, 4.0 Beta 2, 3.0.5, 4.0 Beta 1,
3.0.4, 3.0.3, 4.0 Alpha 1, 3.0.2, 3.0.1, 3.0.0, 4.0 Initial
Environment: Classic mode
Reporter: Alexander Peshkov
When database is shutting down header page should be fetched and next written
to database in order to update transaction numbers. If AST, causing change of
encryption state, arrived during DB shutdown right before TRA_update_counters()
database encryption manager is already missing environment required to load
encryption plugin (like attachment) and segfaults happens when plugin is tried
to be loaded.
Update of DB header does not require presence of database crypt plugin - it's
anyway not encrypted page. Therefore fix is ti check environment before attempt
to load plugin.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://tracker.firebirdsql.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
Firebird-Devel mailing list, web interface at
https://lists.sourceforge.net/lists/listinfo/firebird-devel