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

Windows build crashes (OpenSSL)

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 11.4
    • 10.5.27
    • SSL
    • None

    Description

      Building 11.4 with OpenSSL on Windows results in a crash:

      How to repeat:

      cmake .. -DWITH_SSL=system -DOPENSSL_ROOT_DIR="c:\Program Files\OpenSSL" 
      

      ...
      -- Found OpenSSL: C:/Program Files/OpenSSL/lib/libcrypto.lib (found version "3.2.2")
      -- OPENSSL_INCLUDE_DIR = C:/Program Files/OpenSSL/include
      -- OPENSSL_SSL_LIBRARY = C:/Program Files/OpenSSL/lib/libssl.lib
      -- OPENSSL_CRYPTO_LIBRARY = C:/Program Files/OpenSSL/lib/libcrypto.lib
      -- OPENSSL_VERSION = 3.2.2
      -- SSL_LIBRARIES = C:/Program Files/OpenSSL/lib/libssl.lib;C:/Program Files/OpenSSL/lib/libcrypto.lib
      ...
      

      now

      cmake --build . --config Release
      

      crashes in check_openssl_compatibility:

      Stacktrace:

       	ucrtbased.dll!00007ffb437fcb8c()	Unbekannt
       	ucrtbased.dll!00007ffb43800335()	Unbekannt
       	ucrtbased.dll!00007ffb43800a48()	Unbekannt
       	libcrypto-3-x64.dll!00007ffb1c29c37f()	Unbekannt
       	libcrypto-3-x64.dll!00007ffb1c24db4d()	Unbekannt
      >	server.dll!check_openssl_compatibility(...) Zeile 62	C
       	server.dll!init_common_variables() Zeile 3902	C++
       	server.dll!mysqld_main(int argc, char * * argv) Zeile 5823	C++
       	server.dll!mysqld_win_main(int argc, char * * argv) Zeile 277	C++
       	[Inlineframe] mariadbd.exe!invoke_main() Zeile 78	C++
       	mariadbd.exe!__scrt_common_main_seh() Zeile 288	C++
       	kernel32.dll!00007ffb8f4e257d()	Unbekannt
       	ntdll.dll!00007ffb90b8af28()	Unbekannt
      

      Attachments

        Activity

          People

            wlad Vladislav Vaintroub
            georg Georg Richter
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.