[MDEV-23378] Memory leak in sys_vars.thread_pool_size_high Created: 2020-08-03  Updated: 2020-10-06  Resolved: 2020-08-10

Status: Closed
Project: MariaDB Server
Component/s: Server
Affects Version/s: 10.2, 10.5
Fix Version/s: 10.2.33, 10.3.24, 10.4.16, 10.5.7

Type: Bug Priority: Major
Reporter: Marko Mäkelä Assignee: Vladislav Vaintroub
Resolution: Fixed Votes: 0
Labels: "leak"

Issue Links:
Relates
relates to MDEV-22592 Travis-CI broken for 10.5 in recent c... Closed

 Description   

I think that I have seen this error in http://buildbot.askmonty.org but for some reason, my attempts to find it in the cross-reference were unsuccessful. Here is a 10.2 failure on Travis CI:

10.2 dc716da4571465af3adadcd2c471f11fef3a2191

Warnings generated in error logs during shutdown after running tests: sys_vars.thread_pool_size_high
 
Warning: Memory not freed: 38408
The servers were restarted 364 times
Spent 1232.291 of 389 seconds executing testcases
Completed: All 1963 tests were successful.
Errors/warnings were found in logfiles during server shutdown after running the
following sequence(s) of tests:
    sys_vars.thread_pool_size_high
270 tests were skipped, 67 by the test itself.
mysql-test-run: *** ERROR: There where errors/warnings in server logs after running test cases.

Apparently, such errors are kind of ignored on buildbot, because cross-reference will not find them. I did not find any references to "Memory not freed" for the branches 10.2, 10.3, 10.4, 10.5, but I did see them in some staging branches, probably for tests that restart the server themselves. If the server is being restarted between tests, shutdown warning messages could be ignored.



 Comments   
Comment by Marko Mäkelä [ 2020-08-04 ]

This failure is not limited to the Travis CI environment: https://buildbot.mariadb.org/#/builders/36/builds/3259

Generated at Thu Feb 08 09:21:57 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.