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

mysqld got exception 0xc000000d

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 10.4.8
    • Fix Version/s: None
    • Component/s: Server
    • Labels:
      None
    • Environment:
      Windows Server 2008 R2

      Description

      At 01:01:51 today (November 4th, 2019 UTC-7:00) the exception occurred. Nothing special going on at that time - backups have all finished by 11am.

      Include the output from the MariaDB log below and attaching the status log file

      When we tried to stop and then retart teh mariadb service it complained the port was still in use - but netstat did not show a process listening on that port.

      Finally on the fourth try (around 8:35am) mariadb restarted.

      Thank you - Richard

      191104  1:01:51 [ERROR] mysqld got exception 0xc000000d ;
      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.4.8-MariaDB-log
      key_buffer_size=134217728
      read_buffer_size=131072
      max_used_connections=23
      max_threads=65537
      thread_count=24
      It is possible that mysqld could use up to 
      key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 136383 K  bytes of memory
      Hope that's ok; if not, decrease some variables in the equation.
       
      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...
      2019-11-04  1:01:51 4003 [Warning] Aborted connection 4003 to db: 'licmgmt' user: 'licmgmtrpt' host: 'web4.trumpetinc.local' (Got an error reading communication packets)
      ntdll.dll!longjmp()
      ntdll.dll!TpDisassociateCallback()
      ntdll.dll!DbgUiRemoteBreakin()
      kernel32.dll!BaseThreadInitThunk()
      ntdll.dll!RtlUserThreadStart()
      The manual page at http://dev.mysql.com/doc/mysql/en/crashing.html contains
      information that should help you find out what is causing the crash.
      Writing a core file at C:\Program Files\MariaDB 10.4\data\
      2019-11-04  1:01:51 4004 [Warning] Aborted connection 4004 to db: 'licmgmt' user: 'licmgmtrpt' host: 'web4.trumpetinc.local' (Got an error reading communication packets)
      2019-11-04  1:01:51 4005 [Warning] Aborted connection 4005 to db: 'licmgmt' user: 'licmgmtrpt' host: 'web4.trumpetinc.local' (Got timeout reading communication packets)
      2019-11-04  1:01:51 4006 [Warning] Aborted connection 4006 to db: 'licmgmt' user: 'licmgmtrpt' host: 'web4.trumpetinc.local' (Got timeout reading communication packets)
      InnoDB: using atomic writes.
      2019-11-04  8:15:32 0 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
      2019-11-04  8:15:32 0 [Note] InnoDB: Uses event mutexes
      2019-11-04  8:15:32 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
      2019-11-04  8:15:32 0 [Note] InnoDB: Number of pools: 1
      2019-11-04  8:15:32 0 [Note] InnoDB: Using SSE2 crc32 instructions
      2019-11-04  8:15:32 0 [Note] InnoDB: Initializing buffer pool, total size = 3G, instances = 8, chunk size = 128M
      2019-11-04  8:15:33 0 [Note] InnoDB: Completed initialization of buffer pool
      2019-11-04  8:15:33 0 [Note] InnoDB: Starting crash recovery from checkpoint LSN=304110771
      2019-11-04  8:15:33 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
      2019-11-04  8:15:33 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1"
      2019-11-04  8:15:33 0 [Note] InnoDB: Creating shared tablespace for temporary tables
      2019-11-04  8:15:33 0 [Note] InnoDB: Setting file '.\ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
      2019-11-04  8:15:33 0 [Note] InnoDB: File '.\ibtmp1' size is now 12 MB.
      2019-11-04  8:15:33 0 [Note] InnoDB: Waiting for purge to start
      2019-11-04  8:15:33 0 [Note] InnoDB: 10.4.8 started; log sequence number 304110780; transaction id 5179
      2019-11-04  8:15:33 0 [Note] InnoDB: Loading buffer pool(s) from C:\Program Files\MariaDB 10.4\data\ib_buffer_pool
      2019-11-04  8:15:33 0 [Note] Server socket created on IP: '::'.
      2019-11-04  8:15:33 0 [ERROR] Can't start server: Bind on TCP/IP port. Got error: 10048: Only one usage of each socket address (protocol/network address/port) is normally permitted.
       
       
      2019-11-04  8:15:33 0 [ERROR] Do you already have another mysqld server running on port: 3306 ?
      2019-11-04  8:15:33 0 [ERROR] Aborting
      InnoDB: using atomic writes.
      2019-11-04  8:19:03 0 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
      2019-11-04  8:19:03 0 [Note] InnoDB: Uses event mutexes
      2019-11-04  8:19:03 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
      2019-11-04  8:19:03 0 [Note] InnoDB: Number of pools: 1
      2019-11-04  8:19:03 0 [Note] InnoDB: Using SSE2 crc32 instructions
      2019-11-04  8:19:03 0 [Note] InnoDB: Initializing buffer pool, total size = 3G, instances = 8, chunk size = 128M
      2019-11-04  8:19:03 0 [Note] InnoDB: Completed initialization of buffer pool
      2019-11-04  8:19:04 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
      2019-11-04  8:19:04 0 [Note] InnoDB: Creating shared tablespace for temporary tables
      2019-11-04  8:19:04 0 [Note] InnoDB: Setting file '.\ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
      2019-11-04  8:19:04 0 [Note] InnoDB: File '.\ibtmp1' size is now 12 MB.
      2019-11-04  8:19:04 0 [Note] InnoDB: 10.4.8 started; log sequence number 304110789; transaction id 5179
      2019-11-04  8:19:04 0 [Note] InnoDB: Loading buffer pool(s) from C:\Program Files\MariaDB 10.4\data\ib_buffer_pool
      2019-11-04  8:19:04 0 [Note] Server socket created on IP: '::'.
      2019-11-04  8:19:04 0 [ERROR] Can't start server: Bind on TCP/IP port. Got error: 10048: Only one usage of each socket address (protocol/network address/port) is normally permitted.
       
       
      2019-11-04  8:19:04 0 [ERROR] Do you already have another mysqld server running on port: 3306 ?
      2019-11-04  8:19:04 0 [ERROR] Aborting
      InnoDB: using atomic writes.
      2019-11-04  8:23:48 0 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
      2019-11-04  8:23:48 0 [Note] InnoDB: Uses event mutexes
      2019-11-04  8:23:48 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
      2019-11-04  8:23:48 0 [Note] InnoDB: Number of pools: 1
      2019-11-04  8:23:48 0 [Note] InnoDB: Using SSE2 crc32 instructions
      2019-11-04  8:23:48 0 [Note] InnoDB: Initializing buffer pool, total size = 3G, instances = 8, chunk size = 128M
      2019-11-04  8:23:48 0 [Note] InnoDB: Completed initialization of buffer pool
      2019-11-04  8:23:49 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
      2019-11-04  8:23:49 0 [Note] InnoDB: Creating shared tablespace for temporary tables
      2019-11-04  8:23:49 0 [Note] InnoDB: Setting file '.\ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
      2019-11-04  8:23:49 0 [Note] InnoDB: File '.\ibtmp1' size is now 12 MB.
      2019-11-04  8:23:49 0 [Note] InnoDB: Waiting for purge to start
      2019-11-04  8:23:49 0 [Note] InnoDB: 10.4.8 started; log sequence number 304110798; transaction id 5179
      2019-11-04  8:23:49 0 [Note] InnoDB: Loading buffer pool(s) from C:\Program Files\MariaDB 10.4\data\ib_buffer_pool
      2019-11-04  8:23:49 0 [Note] Server socket created on IP: '::'.
      2019-11-04  8:23:49 0 [ERROR] Can't start server: Bind on TCP/IP port. Got error: 10048: Only one usage of each socket address (protocol/network address/port) is normally permitted.
       
       
      2019-11-04  8:23:49 0 [ERROR] Do you already have another mysqld server running on port: 3306 ?
      2019-11-04  8:23:49 0 [ERROR] Aborting
      InnoDB: using atomic writes.
      2019-11-04  8:30:59 0 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
      2019-11-04  8:30:59 0 [Note] InnoDB: Uses event mutexes
      2019-11-04  8:30:59 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
      2019-11-04  8:30:59 0 [Note] InnoDB: Number of pools: 1
      2019-11-04  8:30:59 0 [Note] InnoDB: Using SSE2 crc32 instructions
      2019-11-04  8:30:59 0 [Note] InnoDB: Initializing buffer pool, total size = 3G, instances = 8, chunk size = 128M
      2019-11-04  8:30:59 0 [Note] InnoDB: Completed initialization of buffer pool
      2019-11-04  8:31:00 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
      2019-11-04  8:31:00 0 [Note] InnoDB: Creating shared tablespace for temporary tables
      2019-11-04  8:31:00 0 [Note] InnoDB: Setting file '.\ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
      2019-11-04  8:31:00 0 [Note] InnoDB: File '.\ibtmp1' size is now 12 MB.
      2019-11-04  8:31:00 0 [Note] InnoDB: Waiting for purge to start
      2019-11-04  8:31:00 0 [Note] InnoDB: 10.4.8 started; log sequence number 304110807; transaction id 5179
      2019-11-04  8:31:00 0 [Note] InnoDB: Loading buffer pool(s) from C:\Program Files\MariaDB 10.4\data\ib_buffer_pool
      2019-11-04  8:31:00 0 [Note] Server socket created on IP: '::'.
      2019-11-04  8:31:00 7 [Note] Event Scheduler: scheduler thread started with id 7
      2019-11-04  8:31:00 0 [Note] Reading of all Master_info entries succeeded
      2019-11-04  8:31:00 0 [Note] Added new Master_info '' to hash table
      2019-11-04  8:31:00 0 [Note] C:\Program Files\MariaDB 10.4\bin\mysqld.exe: ready for connections.
      Version: '10.4.8-MariaDB-log'  socket: ''  port: 3306  mariadb.org binary distribution
      2019-11-04  8:31:05 0 [Note] InnoDB: Buffer pool(s) load completed at 191104  8:31:05
      2019-11-04  8:36:00 0 [Note] feedback plugin: report to 'https://mariadb.org/feedback_plugin/post' was sent
      2019-11-04  8:36:01 0 [Note] feedback plugin: server replied 'ok'
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              rnmixon Richard Mixon
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated: