[MDEV-361] ha_innodb.dll leaks handles on Windows Created: 2012-06-21 Updated: 2015-01-03 Resolved: 2012-06-21 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 5.5.25 |
| Type: | Bug | Priority: | Trivial |
| Reporter: | Vladislav Vaintroub | Assignee: | Vladislav Vaintroub |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Description |
|
When innodb creates threads using CreateThread() function, it does not close the handle returned by CreateThread(), nor it uses the handle anywhere in the code. Thus when innodb plugin is unloaded, the handle is leaked. application verifier does not like it, and crashes mysqld.exe because of leaked handle during unload of ha_innodb.dll when server shuts down. |
| Comments |
| Comment by sbester1 [ 2015-01-03 ] |
|
Fix of this caused https://mariadb.atlassian.net/browse/MDEV-7403 |