Bug #27733 | Valgrind failures in remove_table_from_cache | ||
---|---|---|---|
Submitted: | 10 Apr 2007 14:45 | Modified: | 24 Apr 2007 1:00 |
Reporter: | Mads Martin Joergensen | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server | Severity: | S1 (Critical) |
Version: | 5.1 | OS: | Any |
Assigned to: | Konstantin Osipov | CPU Architecture: | Any |
[10 Apr 2007 14:45]
Mads Martin Joergensen
[10 Apr 2007 21:07]
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/24221 ChangeSet@1.2563, 2007-04-11 01:06:16+04:00, kostja@vajra.(none) +8 -0 An attempt to fix a sporadic valgrind memory leak in Event Scheduler: streamline the event worker thread work flow and try to eliminate possibilities for memory corruptions that might have been lurking in previous (complicated) code. This is to maybe fix Bug#27733 "Valgrind failures in remove_table_from_cache"
[13 Apr 2007 20:32]
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/24526 ChangeSet@1.2563, 2007-04-13 16:32:31-04:00, kostja@vajra.(none) +8 -0 An attempt to fix a sporadic valgrind memory leak in Event Scheduler: streamline the event worker thread work flow and try to eliminate possibilities for memory corruptions that might have been lurking in previous (complicated) code. This patch: * removes Event_job_data::compile that is now never used * cleans up Event_job_data::execute to minimize juggling with thread context and eliminate unneded code paths * Implements Security_context::change/restore_security_context to be able to re-use these methods in all stored programs This is to maybe fix Bug#27733 "Valgrind failures in remove_table_from_cache". Review comments applied.
[13 Apr 2007 20:39]
Konstantin Osipov
Reviewed by email and irc.
[13 Apr 2007 20:39]
Konstantin Osipov
Queued into 5.1-runtime
[23 Apr 2007 7:29]
Bugs System
Pushed into 5.1.18-beta
[24 Apr 2007 1:00]
Paul DuBois
Noted in 5.1.18 changelog. A memory leak in the event scheduler that was uncovered by Valgrind was fixed.