Bug #59061 | innodb_monitor crashes the server sporadically | ||
---|---|---|---|
Submitted: | 20 Dec 2010 16:14 | Modified: | 7 Dec 2011 16:04 |
Reporter: | Alexander Nozdrin | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: InnoDB storage engine | Severity: | S1 (Critical) |
Version: | 5.6 | OS: | Any |
Assigned to: | Jimmy Yang | CPU Architecture: | Any |
[20 Dec 2010 16:14]
Alexander Nozdrin
[21 Dec 2010 2:14]
Jimmy Yang
We could do buffer page read/write activity monitoring if the monitor is turned on. In DEBUG version, there is an assertion "ut_a(block->page.buf_fix_count > 0)" in buf_block_get_frame() that asserts buf_fix_count > 0. However, we do the monitoring after IO complete, so it is possible the buf_fix_count is zero, thus the failure. Fix is to skip the assertion, and directly get the frame.
[21 Dec 2010 9:38]
Alexander Nozdrin
Pushed to mysql-trunk-innodb, merged to mysql-trunk-bugfixing.