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

wolfssl might crash at startup when both SSL and encryption plugin are enabled

    XMLWordPrintable

    Details

      Description

      stacktraces, provided by Marko, show that
      both the main thread and one of the innodb threads are doing something encryption (main thread for the SSL, innodb for encryption) at the same time.

      The suspected problem is that SSL_library_init() in WolfSSL, and suspicion is that there were 2 WolfSSL_Init() running in parallel close to the crash.

      I have seen it also in the past on a Windows build, for which I do not have stacktraces anymore.

      The proposed solution is to do SSL initialization when encryption plugin is loaded.

        Attachments

          Activity

            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: