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

Windows fails to build iwth updated WolfSSL (Aria bootstrap)

    XMLWordPrintable

Details

    • Not for Release Notes

    Description

      noted on bb-13.2-release branch

      Starting at the merge commit:
      https://github.com/MariaDB/server/commit/a23ed0dfc64c4ec89ee2331adb5bc9e60b1b6336

      https://buildbot.mariadb.org/#/builders/239/builds/48370/steps/9/logs/stdio

       
       
          31>CustomBuild:
               input file bootstrap.sql, current directory C:/buildbot/workers/prod/amd64-windows-packages/build/sql/data
          46>ClCompile:
               fmdlex.c
               osutil.c
               rcmsg.c
               unzip.c
               ioapi.c
          17>Link:
               archive.vcxproj -> C:\buildbot\workers\prod\amd64-windows-packages\build\storage\archive\RelWithDebInfo\ha_archive.dll
             PostBuildEvent:
               setlocal
               C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -noprofile -executionpolicy Bypass -file C:/vcpkg/scripts/buildsystems/msbuild/applocal.ps1 -targetBinary C:/buildbot/workers/prod/amd64-windows-packages/build/storage/archive/RelWithDebInfo/ha_archive.dll -installedDir C:/buildbot/workers/prod/amd64-windows-packages/build/vcpkg_installed/x64-windows/bin -OutVariable out
               if %errorlevel% neq 0 goto :cmEnd
               :cmEnd
               endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone
               :cmErrorLevel
               exit /b %1
               :cmDone
               if %errorlevel% neq 0 goto :VCEnd
               :VCEnd
          46>ClCompile:
               zip.c
               C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.44.35207\bin\HostX64\x64\CL.exe /c /I"C:\buildbot\workers\prod\amd64-windows-packages\build\include" /I"C:\buildbot\workers\prod\amd64-windows-packages\build\include\providers" /I"C:\buildbot\workers\prod\amd64-windows-packages\build\storage\connect\..\..\include\mysql" /I"C:\buildbot\workers\prod\amd64-windows-packages\build\sql" /I"C:\buildbot\workers\prod\amd64-windows-packages\build\extra\wolfssl" /I"C:\buildbot\workers\prod\amd64-windows-packages\build\extra\wolfssl\wolfssl" /I"C:\buildbot\workers\prod\amd64-windows-packages\build\extra\wolfssl\wolfssl\wolfssl" /I"C:\buildbot\workers\prod\amd64-windows-packages\build\zlib" /I"C:\Program Files\OpenJDK\jdk-22.0.2\include" /I"C:\Program Files\OpenJDK\jdk-22.0.2\include\win32" /Zi /nologo /W3 /WX /diagnostics:caret /O2 /D _WINDLL /D _MBCS /D WIN32 /D _WINDOWS /D NDEBUG /D DBUG_OFF /D MYSQL_DYNAMIC_PLUGIN /D "PLUGIN_NAME=\"connect\"" /D PLUGIN_LICENSE=PLUGIN_LICENSE_GPL /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_WARNINGS /D _WIN32_WINNT=0x0A00 /D NOMINMAX /D NOSERVICE /D WIN32_LEAN_AND_MEAN /D HAVE_CONFIG_H /D MARIADB /D connect_EXPORTS /D HUGE_SUPPORT /D GZ_SUPPORT /D BSON_SUPPORT /D VCT_SUPPORT /D MSX6 /D DOMDOC_SUPPORT /D ODBC_SUPPORT /D JAVA_SUPPORT /D MONGO_SUPPORT /D ZIP_SUPPORT /D NOCRYPT /D REST_SUPPORT /D XMAP /D "CMAKE_INTDIR=\"RelWithDebInfo\"" /EHsc /MD /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /GR /std:c++17 /permissive- /Fo"connect.dir\RelWithDebInfo\\" /Fd"connect.dir\RelWithDebInfo\vc143.pdb" /external:W3 /Gd /TP /wd4267 /wd4996 /errorReport:queue /we4099 /we4700 /we4311 /we4477 /we4302 /we4090  /Gw /utf-8 /d2OptimizeHugeFunctions "C:\buildbot\workers\prod\amd64-windows-packages\build\storage\connect\domdoc.cpp"
          31>CustomBuild:
               CMake Error at C:/buildbot/workers/prod/amd64-windows-packages/build/cmake/create_initial_db.cmake:74 (MESSAGE):
                 Could not create initial database, result: Access violation
               
                 stdout:
               
               
               
                 stderr:
               
                 2026-10-27 23:15:14 0 [Note] Starting MariaDB 13.2.0-MariaDB source
                 revision c483f8aadb887204e6ed6738386cce8c0e7f4bf1 server_uid
                 Or8zdSpe/hkR8GuJLb2JBZFG2PE= as process 18720
               
                 2026-10-27 23:15:14 0 [Note] Help others discover MariaDB.  Star it on
                 GitHub: https://github.com/MariaDB/server
               
                 261027 23:15:14 [ERROR]
                 C:/buildbot/workers/prod/amd64-windows-packages/build/sql/RelWithDebInfo/mariadbd.exe
                 got exception 0xc0000005 ;
               
                 Sorry, we probably made a mistake, and this is a bug.
               
               
               
                 Your assistance in bug reporting will enable us to fix this for the next
                 release.
               
                 To report this bug, see
                 https://mariadb.com/docs/general-resources/community/community/bug-tracking/reporting-bugs
                 about how to report
               
                 a bug on https://jira.mariadb.org/.
               
               
               
                 Please include the information from the server start above, to the end of
                 the
               
                 information below.
               
               
               
                 Server version: 13.2.0-MariaDB source revision:
                 c483f8aadb887204e6ed6738386cce8c0e7f4bf1
               
               
               
                 The information page at
                 https://mariadb.com/docs/server/reference/product-development/mariadb-fault-finding/how-to-produce-a-full-stack-trace-for-mariadbd
               
                 contains instructions to obtain a better version of the backtrace below.
               
                 Following these instructions will help MariaDB developers provide a fix
                 quicker.
               
               
               
                 Attempting backtrace.  Include this in the bug report.
               
                 (note: Retrieving this information may fail)
               
               
               
                 Thread pointer: 0x0
               
                 ntdll.dll!RtlQueryEnvironmentVariable()
               
                 ntdll.dll!RtlEnterCriticalSection()
               
                 server.dll!wolfSSL_RefWithMutexLock()[wc_port.c:3255]
               
                 server.dll!_InitRng()[random.c:2999]
               
                 server.dll!wc_InitRng()[random.c:3519]
               
                 server.dll!wolfSSL_RAND_bytes()[ssl_crypto.c:4164]
               
                 server.dll!my_random_bytes()[my_crypt.cc:376]
               
                 server.dll!ma_control_file_open()[ma_control_file.c:311]
               
                 server.dll!ha_maria_init()[ha_maria.cc:3972]
               
                 server.dll!ha_initialize_handlerton()[handler.cc:742]
               
                 server.dll!plugin_do_initialize()[sql_plugin.cc:1527]
               
                 server.dll!plugin_initialize()[sql_plugin.cc:1581]
               
                 server.dll!plugin_init()[sql_plugin.cc:1834]
               
                 server.dll!init_server_components()[mysqld.cc:5610]
               
                 server.dll!mysqld_main()[mysqld.cc:6417]
               
                 server.dll!mysqld_win_main()[winmain.cc:270]
               
                 mariadbd.exe!__scrt_common_main_seh()[exe_common.inl:288]
               
                 KERNEL32.DLL!BaseThreadInitThunk()
               
                 ntdll.dll!RtlUserThreadStart()
               
                 Writing a core file at
                 C:\buildbot\workers\prod\amd64-windows-packages\build\sql\data
               
                 Minidump written to
                 C:\buildbot\workers\prod\amd64-windows-packages\build\sql\data\mariadbd.dmp
      

      Attachments

        Activity

          People

            sanja Oleksandr Byelkin
            danblack Daniel Black
            Daniel Black Daniel Black
            Oleksandr Byelkin Oleksandr Byelkin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 0d
                0d
                Remaining:
                Remaining Estimate - 0d
                0d
                Logged:
                Time Spent - 1h
                1h

                Git Integration

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