Bug #27564 | Valgrind: UDF does not cleanup correctly | ||
---|---|---|---|
Submitted: | 31 Mar 2007 17:43 | Modified: | 7 Jul 2007 18:43 |
Reporter: | Lars Thalmann | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: User-defined functions ( UDF ) | Severity: | S3 (Non-critical) |
Version: | 5.1 Source | OS: | Any |
Assigned to: | Sergey Vojtovich | CPU Architecture: | Any |
[31 Mar 2007 17:43]
Lars Thalmann
[21 Jun 2007 7:36]
Lars Thalmann
This is not fixed. Visible in PB: Date: Wed Jun 20 19:17:02 2007 lthalmann Tree: mysql-5.1-new-rpl See also: BUG#28993.
[3 Jul 2007 15:14]
Sergey Vojtovich
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/30172 ChangeSet@1.2660, 2007-07-03 22:14:35+05:00, svoj@mysql.com +1 -0 BUG#27564 - Valgrind: UDF does not cleanup correctly Dropping an user defined function may cause server crash in case this function is still in use by another thread. The problem was that our hash implementation didn't update hash link list properly when hash_update() was called.
[5 Jul 2007 7:42]
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/30350 ChangeSet@1.2670, 2007-07-05 11:45:14+05:00, svoj@mysql.com +1 -0 BUG#27564 - Valgrind: UDF does not cleanup correctly Dropping an user defined function may cause server crash in case this function is still in use by another thread. The problem was that our hash implementation didn't update hash link list properly when hash_update() was called.
[5 Jul 2007 8:45]
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/30354 ChangeSet@1.2529, 2007-07-05 12:48:11+05:00, svoj@mysql.com +1 -0 BUG#27564 - Valgrind: UDF does not cleanup correctly Enabling rpl_udf test.
[7 Jul 2007 16:34]
Bugs System
Pushed into 5.1.21-beta
[7 Jul 2007 16:35]
Bugs System
Pushed into 5.0.46
[7 Jul 2007 16:37]
Bugs System
Pushed into 4.1.24
[7 Jul 2007 18:43]
Paul DuBois
Noted in 4.1.24, 5.0.46, 5.1.21 changelogs. Dropping a user-defined function could cause a server crash if the function was still in use by another thread.