Bug #34424 query_cache_debug.test leads to valgrind warnings
| Submitted: | 8 Feb 2008 16:48 | Modified: | 16 Apr 2008 14:19 |
|---|---|---|---|
| Reporter: | Alexander Nozdrin | Email Updates: | |
| Status: | Closed | Impact on me: | |
| Category: | MySQL Server | Severity: | S1 (Critical) |
| Version: | 5.1, 6.0 | OS: | Any |
| Assigned to: | Davi Arnaut | CPU Architecture: | Any |
[8 Feb 2008 16:48]
Alexander Nozdrin
[8 Feb 2008 17:05]
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/41955 ChangeSet@1.2540, 2008-02-08 20:07:39+03:00, anozdrin@quad. +1 -0 Bug#34424: query_cache_debug.test leads to valgrind warnings Disable the test case.
[11 Feb 2008 13:26]
Davi Arnaut
It seems that the debug session variable leaks, other tests using the session debug variables have: --source include/not_valgrind.inc But it would be nice to track down this leak, it's important to run this test case under valgrind.
[11 Feb 2008 16:24]
Bugs System
Pushed into 5.1.24-rc
[11 Feb 2008 16:26]
Bugs System
Pushed into 6.0.5-alpha
[13 Feb 2008 22:13]
Omer Barnir
triage: valgrind
[18 Feb 2008 13:18]
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/42491 ChangeSet@1.2553, 2008-02-18 10:18:07-03:00, davi@mysql.com +4 -0 Bug#34424 query_cache_debug.test leads to valgrind warnings The problem is that the per-thread debugging settings stack wasn't being deallocated before the thread termination, leaking the stack memory. The solution is to free the per-thread debugging settings stack once the thread finishes.
[25 Feb 2008 10:39]
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/42927 ChangeSet@1.2578, 2008-02-25 07:39:20-03:00, davi@mysql.com +7 -0 Bug#34424 query_cache_debug.test leads to valgrind warnings Bug#34678 @@debug variable's incremental mode The problem is that the per-thread debugging settings stack wasn't being deallocated before the thread termination, leaking the stack memory. The chosen solution is to push a new state if the current is set to the initial settings and pop it (free) once the thread finishes.
[26 Feb 2008 15:05]
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/42996 ChangeSet@1.2580, 2008-02-26 12:03:59-03:00, davi@mysql.com +7 -0 Bug#34424 query_cache_debug.test leads to valgrind warnings Bug#34678 @@debug variable's incremental mode The problem is that the per-thread debugging settings stack wasn't being deallocated before the thread termination, leaking the stack memory. The chosen solution is to push a new state if the current is set to the initial settings and pop it (free) once the thread finishes.
[26 Feb 2008 15:13]
Davi Arnaut
Queued in 5.1-runtime
[3 Mar 2008 18:18]
Bugs System
Pushed into 5.1.24-rc
[3 Mar 2008 18:18]
Bugs System
Pushed into 6.0.5-alpha
[2 Apr 2008 19:49]
Jon Stephens
Pushed into 5.1.23-ndb-6.3.11.
[16 Apr 2008 14:14]
Paul DuBois
Noted in 5.1.24, 6.0.5 changelogs. The per-thread debugging settings stack was not being deallocated before thread termination, resulting in a stack memory leak.
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.071 sec. using MySQL 8.4.7-u6-cloud
Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the
respective copyright holders.
It is not reviewed in advance
by Oracle and does not necessarily represent the opinion of
Oracle or any other party.