Bug #25396 | Valgrind leak in closecon_handlerton | ||
---|---|---|---|
Submitted: | 3 Jan 2007 20:26 | Modified: | 24 Jan 2007 20:28 |
Reporter: | Mads Martin Joergensen | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server | Severity: | S1 (Critical) |
Version: | 5.1 | OS: | |
Assigned to: | Antony Curtis | CPU Architecture: | Any |
[3 Jan 2007 20:26]
Mads Martin Joergensen
[4 Jan 2007 21:22]
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/17642 ChangeSet@1.2371, 2007-01-04 13:22:10-08:00, acurtis@xiphis.org +2 -0 Bug#25396 "Valgrind leak in closecon_handlerton" Added a new plugin state to fix ndb shutdown issue found by valgrind
[4 Jan 2007 21:24]
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/17644 ChangeSet@1.2371, 2007-01-04 13:24:03-08:00, acurtis@xiphis.org +3 -0 Bug#25396 "Valgrind leak in closecon_handlerton" Added a new plugin state to fix ndb shutdown issue found by valgrind
[10 Jan 2007 10:43]
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/17840 ChangeSet@1.2379, 2007-01-10 02:42:37-08:00, acurtis@xiphis.org +2 -0 BUG#25396 "Valgrind leak in closecon_handlerton" Properly NULL pointers when freeing handlerton
[11 Jan 2007 22:31]
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/18001 ChangeSet@1.2379, 2007-01-11 14:31:20-08:00, acurtis@xiphis.org +3 -0 Bug#25396 "Valgrind leak in closecon_handlerton" plugin_shutdown() calls plugin_deinitialize() which calls ha_finalize_handlerton(). ndbcluster_end() fails to wait for the ndb utility thread to exit which results in the handlerton struct being freed before the ndb utility thread has destroyed it's THD but before the plugin has been marked as UNINITIALIZED Bug is caused by misuse of abort_loops variable and not locking mutex during calls to pthread condition variable functions.
[23 Jan 2007 11:28]
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/18612 ChangeSet@1.2379, 2007-01-23 03:27:46-08:00, acurtis@xiphis.org +3 -0 Bug#25396 "Valgrind leak in closecon_handlerton" plugin_shutdown() calls plugin_deinitialize() which calls ha_finalize_handlerton(). ndbcluster_end() fails to wait for the ndb utility thread to exit which results in the handlerton struct being freed before the ndb utility thread has destroyed it's THD but before the plugin has been marked as UNINITIALIZED Bug is caused by misuse of abort_loops variable and not locking mutex during calls to pthread condition variable functions causing a race in valgrind's pthread_cond_wait implementation.
[23 Jan 2007 13:09]
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/18622 ChangeSet@1.2379, 2007-01-23 05:09:14-08:00, acurtis@xiphis.org +3 -0 Bug#25396 "Valgrind leak in closecon_handlerton" plugin_shutdown() calls plugin_deinitialize() which calls ha_finalize_handlerton(). ndbcluster_end() fails to wait for the ndb utility thread to exit which results in the handlerton struct being freed before the ndb utility thread has destroyed it's THD but before the plugin has been marked as UNINITIALIZED Bug is caused by misuse of abort_loops variable and not locking mutex during calls to pthread condition variable functions causing a race in valgrind's pthread_cond_wait implementation.
[23 Jan 2007 16:37]
Antony Curtis
pushed to mysql-5.1-build tree
[24 Jan 2007 15:56]
Daniel Fischer
Pushed to 5.1.15.
[24 Jan 2007 20:28]
Paul DuBois
Noted in 5.1.15 changelog.