Bug #89433 | NULL dereference in dd::tables::DD_properties:unchecked_get | ||
---|---|---|---|
Submitted: | 26 Jan 2018 9:05 | Modified: | 2 Feb 2018 18:27 |
Reporter: | Laurynas Biveinis (OCA) | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Data Dictionary | Severity: | S2 (Serious) |
Version: | 8.0.4 | OS: | Any |
Assigned to: | CPU Architecture: | Any | |
Tags: | data dictionary |
[26 Jan 2018 9:05]
Laurynas Biveinis
[26 Jan 2018 13:12]
MySQL Verification Team
Thank you for the bug report. miguel:mysql-test miguel$ ./mtr --debug-server dd_bootstrap_debug --big-test Logging: ./mtr --debug-server dd_bootstrap_debug --big-test 2018-01-26T13:07:34.371156Z 0 [System] [MY-010116] /Users/miguel/Downloads/mysql-8.0.4-rc/runtime_output_directory/mysqld (mysqld 8.0.4-rc-debug-log-asan) starting as process 16006 ... MySQL Version 8.0.4 Checking supported features... - SSL connections supported - binaries are debug compiled Collecting tests... Removing old var directory... Creating var directory '/Users/miguel/Downloads/mysql-8.0.4-rc/mysql-test/var'... Installing system database... Using parallel: 1 ============================================================================== TEST RESULT TIME (ms) or COMMENT -------------------------------------------------------------------------- worker[1] Using MTR_BUILD_THREAD 300, with reserved ports 13000..13009 main.dd_bootstrap_debug [ fail ] Test ended at 2018-01-26 11:09:27 CURRENT_TEST: main.dd_bootstrap_debug
[1 Feb 2018 14:25]
Sivert Sørumgård
Posted by developer: This bug has already been fixed by the following commit (see second bullet in the commit message): Author: Sivert Sorumgard <sivert.sorumgaard@oracle.com> Date: Mon Dec 11 13:34:10 2017 +0100 WL#9553: Upgrading the transactional data dictionary tables. Post-push fix: - There was a small window during InnoDB initialization where the DDSE table definitions were initialized, but not yet added to the System_tables registry. If there was a failure in this window causing server abort, ASAN would report a memory leak. This patch clsoes this window. - The 'big'-test dd_bootstrap_debug failed due to a bug in the handling of the DD properties table in situations where the table contained data that could not be parsed. This patch implements handling of this situation.
[2 Feb 2018 18:27]
Daniel Price
Posted by developer: Fixed as of the upcoming 8.0.5, 9.0.0 release, and here's the changelog entry: A server exit during InnoDB initialization caused AddressSanitizer (ASan) to report a memory leak. The patch also implements proper handling of the data dictionary properties table in cases where the table contains data that cannot be parsed.