-
Elżbieta Babij authored
Bug #24603431 [ERROR] INNODB: ASSERTION FAILURE: MEM0MEM.IC:157:BLOCK->MAGIC_N == MEM_BLOCK_MA This patch does not fix the bugs, but merely tries to deploy a scheme to nail them down easier. - Changed offending assert to manual check with more verbose fatal error. - Introduced 2*16B no man's land in debug version * checks on top free or block free that no mans land on boundary is not overwritten, as a way to check some buffer under/overflows during writes. * on valgrind makes no mans land non-accessible, to efficiently check buffer under/overflow on both writes and reads. - Improved managing of non-accessible memory checks in valgrind. - Increased debug filename storage from 8B to 16B in memory block header. - Removed old workaround to problem that is not reproducible anymore (at least on MTR). RB #14997 Reviewed by Vasil and Kevin
Elżbieta Babij authoredBug #24603431 [ERROR] INNODB: ASSERTION FAILURE: MEM0MEM.IC:157:BLOCK->MAGIC_N == MEM_BLOCK_MA This patch does not fix the bugs, but merely tries to deploy a scheme to nail them down easier. - Changed offending assert to manual check with more verbose fatal error. - Introduced 2*16B no man's land in debug version * checks on top free or block free that no mans land on boundary is not overwritten, as a way to check some buffer under/overflows during writes. * on valgrind makes no mans land non-accessible, to efficiently check buffer under/overflow on both writes and reads. - Improved managing of non-accessible memory checks in valgrind. - Increased debug filename storage from 8B to 16B in memory block header. - Removed old workaround to problem that is not reproducible anymore (at least on MTR). RB #14997 Reviewed by Vasil and Kevin
Loading