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

inline_mysql_socket_send: Assertion `mysql_socket.fd != -1' failed on shutdown

    XMLWordPrintable

    Details

      Description

      Seen with some regularity in [recent or 10.4] test runs;

      10.4.15 eae968f62d285de97ed607c87bc131cd863d5d03 (Debug)

      ... innodb monitor output ...
      2020-08-11 21:48:20 0 [Note] /test/MD110820-mariadb-10.4.15-linux-x86_64-dbg/bin/mysqld (initiated by: root[root] @ localhost []): Normal shutdown
      2020-08-11 21:48:20 0 [Note] WSREP: Shutdown replication
      2020-08-11 21:48:20 0 [Note] WSREP: killing local connection: 12
      mysqld: /test/10.4_dbg/include/mysql/psi/mysql_socket.h:744: inline_mysql_socket_send: Assertion `mysql_socket.fd != -1' failed.
      200811 21:48:20 [ERROR] mysqld got signal 6 ;  
      

      Jan Lindström any idea what happens here?

      Very hard to reproduce. Seems WSREP kills a connection and server does subsequently assert. I am attaching full details (full trial, core dump, data dir, logs). Core can be debugged as follows:

      mv mysqld ..   # mysqld bin copy + libs directory
      ./gdb 
      

      Or

      gdb ./mysqld/mysqld ./data/core
      

      Error log in log/master.err, used sql in default.node.tld_thread-0.sql (55k lines, not reducible as bug will not reproduce likely due to some 'required state' or 'timing' or 'os slicing' issue.

        Attachments

        1. galera_sr_cc_master.log
          0.7 kB
        2. mysqld.1.err
          210 kB
        3. mysqld.2.err
          675 kB

          Issue Links

            Activity

              People

              Assignee:
              jplindst Jan Lindström
              Reporter:
              Roel Roel Van de Paar
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: