Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-361

ha_innodb.dll leaks handles on Windows

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.5.25
    • Component/s: None
    • 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.

        Gliffy Diagrams

          Attachments

            Activity

            Hide
            sbester1 sbester1 added a comment -
            Show
            sbester1 sbester1 added a comment - Fix of this caused https://mariadb.atlassian.net/browse/MDEV-7403

              People

              • Assignee:
                wlad Vladislav Vaintroub
                Reporter:
                wlad Vladislav Vaintroub
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 2 hours
                  2h