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

Sporadic Assertion failed: m_cache.size() == m_elements, file threadpool_winsockets.cc, line 118

    XMLWordPrintable

    Details

      Description

      Happens on server shutdown. e.g here

      http://buildbot.askmonty.org/buildbot/builders/winx64-debug/builds/32854/steps/test/logs/mysqld.1.err.3

      Assertion failed: m_cache.size() == m_elements, file D:\winx64-debug\build\src\sql\threadpool_winsockets.cc, line 118
      220630 17:44:46 [ERROR] mysqld got exception 0x80000003 ;
      This could be because you hit a bug. It is also possible that this binary
      or one of the libraries it was linked against is corrupt, improperly built,
      or misconfigured. This error can also be caused by malfunctioning hardware.
       
      To report this bug, see https://mariadb.com/kb/en/reporting-bugs
       
      We will try our best to scrape up some info that will hopefully help
      diagnose the problem, but since we have already crashed, 
      something is definitely wrong and this may fail.
       
      Server version: 10.6.9-MariaDB-debug-log
      read_buffer_size=131072
      max_used_connections=1
      max_threads=65537
      thread_count=0
      Thread pointer: 0x0
      Attempting backtrace. You can use the following information to find out
      where mysqld died. If you see no messages after this, something went
      terribly wrong...
      server.dll!my_sigabrt_handler()[my_thr_init.c:465]
      ucrtbase.dll!raise()
      ucrtbase.dll!abort()
      ucrtbase.dll!_get_wpgmptr()
      ucrtbase.dll!_wassert()
      server.dll!AIO_buffer_cache::clear()[threadpool_winsockets.cc:118]
      server.dll!destroy_win_aio_buffers()[threadpool_winsockets.cc:259]
      server.dll!tp_end()[threadpool_common.cc:561]
      server.dll!clean_up()[mysqld.cc:2004]
      server.dll!mysqld_main()[mysqld.cc:5899]
      server.dll!mysqld_win_main()[winmain.cc:257]
      mariadbd.exe!main()[main.cc:36]
      mariadbd.exe!__scrt_common_main_seh()[exe_common.inl:288]
      KERNEL32.DLL!BaseThreadInitThunk()
      ntdll.dll!RtlUserThreadStart()
      

        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:

                Git Integration

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