Bug #41294 | Object services do not clean error reporting context. | ||
---|---|---|---|
Submitted: | 8 Dec 2008 11:01 | Modified: | 8 Apr 2009 0:25 |
Reporter: | Rafal Somla | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Backup | Severity: | S3 (Non-critical) |
Version: | 6.0-backup | OS: | Any |
Assigned to: | Jørgen Løland | CPU Architecture: | Any |
[8 Dec 2008 11:01]
Rafal Somla
[6 Jan 2009 13:11]
Jørgen Løland
The code was added because si_objects did not clean statement execution context properly. si_objects has since been completely refactored. I'm unable to reproduce any ASSERT when I remove the lines shown in the original posting. Rafal and I are pretty sure that the new si_objects code does not have the described problem. The patch for this bug will therefore remove the lines in kernel.cc. Should the problem ever occur again, a proper fix needs to be implemented in sql/si_objects.[cc|h], not in kernel.cc.
[6 Jan 2009 13:19]
Bugs System
A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/commits/62525 2746 Jorgen Loland 2009-01-06 Bug#41294 - Object services do not clean error reporting context. Backup kernel uses the object services (si_objects) to read objects metadata and create objects from the metadata. The old si_objects did not clean the error reporting context, which could cause ASSERTS. si_objects has since been completely refactored, and the ASSERT is no longer reproducible. This patch therefore removes the cleanup code from kernel.cc. If the ASSERT is encountered later, a fix should be implemented in si_objects.[cc|h], not in kernel.cc
[6 Jan 2009 14:30]
Jørgen Løland
Removed one more occurrence of the temporary fix. The ASSERT is now reproducible with the old si_objects but not with the refactored one.
[6 Jan 2009 14:34]
Bugs System
A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/commits/62530 2746 Jorgen Loland 2009-01-06 Bug#41294 - Object services do not clean error reporting context. Backup kernel uses the object services (si_objects) to read objects metadata and create objects from the metadata. The old si_objects did not clean the error reporting context, which could cause ASSERTS. si_objects has since been completely refactored, and the ASSERT is no longer reproducible. This patch therefore removes the cleanup code from kernel.cc. If the ASSERT is encountered later, a fix should be implemented in si_objects.[cc|h], not in kernel.cc. Note that the ASSERT *is* reproducible if the old si_objects code is used instead of the refactored one.
[7 Jan 2009 11:03]
Rafal Somla
Good to push.
[8 Jan 2009 12:56]
Øystein Grøvlen
Good to push.
[26 Mar 2009 15:17]
Jørgen Løland
Pushed into 6.0.11-alpha
[8 Apr 2009 0:25]
Paul DuBois
Noted in 6.0.11 changelog. Several resource leaks were corrected in the error-handling code for the MySQL Backup library.