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

InnoDB: Plugin initialization aborted with error I/O error - EINVAL, O_DIRECT, overlayfs

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Not a Bug
    • 10.9.2
    • N/A
    • None
    • Singularity container.
      Ubuntu 22.04 Jammy

    Description

      I get the following error when I try to run the following in a singularity Ubuntu 22.04 containers:

      sudo mysqld --verbose --user=root --innodb_use_native_aio=0 --innodb_force_recovery=1

      ERRORS:

      2022-09-15 18:54:43 0 [Note] mysqld (server 10.9.2-MariaDB-1:10.9.2+maria~ubu2204) starting as process 162465 ...
      2022-09-15 18:54:43 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
      2022-09-15 18:54:43 0 [Note] InnoDB: Number of transaction pools: 1
      2022-09-15 18:54:43 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions
      2022-09-15 18:54:43 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB
      2022-09-15 18:54:43 0 [Note] InnoDB: Completed initialization of buffer pool
      2022-09-15 18:54:43 0 [ERROR] InnoDB: Plugin initialization aborted with error I/O error
      2022-09-15 18:54:43 0 [Note] InnoDB: Starting shutdown...
      2022-09-15 18:54:43 0 [ERROR] InnoDB: Operating system error number 22 in a file operation.
      2022-09-15 18:54:43 0 [ERROR] InnoDB: Error number 22 means 'Invalid argument'
      2022-09-15 18:54:43 0 [Note] InnoDB: Some operating system error numbers are described at https://mariadb.com/kb/en/library/operating-system-error-codes/
      2022-09-15 18:54:43 0 [ERROR] InnoDB: File (unknown): 'close' returned OS error 222. Cannot continue operation
      220915 18:54:43 [ERROR] mysqld got signal 6 ;
      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.9.2-MariaDB-1:10.9.2+maria~ubu2204
      key_buffer_size=134217728
      read_buffer_size=131072
      max_used_connections=0
      max_threads=153
      thread_count=0
      It is possible that mysqld could use up to
      key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 468006 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...
      stack_bottom = 0x0 thread_stack 0x49000
      2022-09-15 18:54:43 0 [ERROR] InnoDB: Operating system error number 9 in a file operation.
      2022-09-15 18:54:43 0 [ERROR] InnoDB: Error number 9 means 'Bad file descriptor'
      2022-09-15 18:54:43 0 [Note] InnoDB: Some operating system error numbers are described at https://mariadb.com/kb/en/library/operating-system-error-codes/
      2022-09-15 18:54:43 0 [ERROR] InnoDB: File (unknown): 'close' returned OS error 209. Cannot continue operation
      Printing to addr2line failed
      mysqld(my_print_stacktrace+0x32)[0x55c61b027f12]
      mysqld(handle_fatal_signal+0x478)[0x55c61aafbfa8]
      2022-09-15 18:54:43 0 [ERROR] InnoDB: Operating system error number 9 in a file operation.
      2022-09-15 18:54:43 0 [ERROR] InnoDB: Error number 9 means 'Bad file descriptor'
      2022-09-15 18:54:43 0 [Note] InnoDB: Some operating system error numbers are described at https://mariadb.com/kb/en/library/operating-system-error-codes/
      2022-09-15 18:54:43 0 [ERROR] InnoDB: File (unknown): 'close' returned OS error 209. Cannot continue operation
      /lib/x86_64-linux-gnu/libc.so.6(+0x42520)[0x7f4e68c11520]
      /lib/x86_64-linux-gnu/libc.so.6(pthread_kill+0x12c)[0x7f4e68c65a7c]
      /lib/x86_64-linux-gnu/libc.so.6(raise+0x16)[0x7f4e68c11476]
      /lib/x86_64-linux-gnu/libc.so.6(abort+0xd3)[0x7f4e68bf77f3]
      2022-09-15 18:54:43 0 [ERROR] InnoDB: Operating system error number 9 in a file operation.
      2022-09-15 18:54:43 0 [ERROR] InnoDB: Error number 9 means 'Bad file descriptor'
      2022-09-15 18:54:43 0 [Note] InnoDB: Some operating system error numbers are described at https://mariadb.com/kb/en/library/operating-system-error-codes/
      2022-09-15 18:54:43 0 [ERROR] InnoDB: File (unknown): 'close' returned OS error 209. Cannot continue operation
      mysqld(+0x65e4a9)[0x55c61a7124a9]
      mysqld(+0xd91315)[0x55c61ae45315]
      mysqld(+0xec8038)[0x55c61af7c038]
      mysqld(+0xecabb0)[0x55c61af7ebb0]
      mysqld(+0xecbe05)[0x55c61af7fe05]
      mysqld(+0xe0d73f)[0x55c61aec173f]
      mysqld(+0xd32335)[0x55c61ade6335]
      mysqld(_Z24ha_initialize_handlertonP13st_plugin_int+0x82)[0x55c61aafedd2]
      mysqld(+0x812b36)[0x55c61a8c6b36]
      mysqld(_Z11plugin_initPiPPci+0x91d)[0x55c61a8c7d0d]
      mysqld(+0x6ea389)[0x55c61a79e389]
      mysqld(_Z11mysqld_mainiPPc+0x424)[0x55c61a7a3b14]
      2022-09-15 18:54:43 0 [ERROR] InnoDB: Operating system error number 9 in a file operation.
      2022-09-15 18:54:43 0 [ERROR] InnoDB: Error number 9 means 'Bad file descriptor'
      2022-09-15 18:54:43 0 [Note] InnoDB: Some operating system error numbers are described at https://mariadb.com/kb/en/library/operating-system-error-codes/
      2022-09-15 18:54:43 0 [ERROR] InnoDB: File (unknown): 'close' returned OS error 209. Cannot continue operation
      /lib/x86_64-linux-gnu/libc.so.6(+0x29d90)[0x7f4e68bf8d90]
      /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x80)[0x7f4e68bf8e40]
      2022-09-15 18:54:43 0 [ERROR] InnoDB: Operating system error number 9 in a file operation.
      2022-09-15 18:54:43 0 [ERROR] InnoDB: Error number 9 means 'Bad file descriptor'
      2022-09-15 18:54:43 0 [Note] InnoDB: Some operating system error numbers are described at https://mariadb.com/kb/en/library/operating-system-error-codes/
      2022-09-15 18:54:43 0 [ERROR] InnoDB: File (unknown): 'close' returned OS error 209. Cannot continue operation
      mysqld(_start+0x25)[0x55c61a7985d5]
      The manual page at https://mariadb.com/kb/en/how-to-produce-a-full-stack-trace-for-mysqld/ contains
      information that should help you find out what is causing the crash.
      Writing a core file...
      Working directory at /var/lib/mysql
      Resource Limits:
      Limit Soft Limit Hard Limit Units
      Max cpu time unlimited unlimited seconds
      Max file size unlimited unlimited bytes
      Max data size unlimited unlimited bytes
      Max stack size 8388608 unlimited bytes
      Max core file size 0 0 bytes
      Max resident set unlimited unlimited bytes
      Max processes 30721 30721 processes
      Max open files 32190 32190 files
      Max locked memory 1021026304 1021026304 bytes
      Max address space unlimited unlimited bytes
      Max file locks unlimited unlimited locks
      Max pending signals 30721 30721 signals
      Max msgqueue size 819200 819200 bytes
      Max nice priority 0 0
      Max realtime priority 0 0
      Max realtime timeout unlimited unlimited us
      Core pattern: |/usr/share/apport/apport -p%p -s%s -c%c -d%d -P%P -u%u -g%g – %E

      Kernel version: Linux version 5.15.0-47-generic (buildd@lcy02-amd64-060) (gcc (Ubuntu 11.2.0-19ubuntu1) 11.2.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #51-Ubuntu SMP Thu Aug 11 07:51:15 UTC 2022

      Attachments

        Issue Links

          Activity

            People

              danblack Daniel Black
              clemsoncoder Rick Ferreira
              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.