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

MariaDB server crashes on startup after 10.9.3 on ARM

    XMLWordPrintable

Details

    Description

      After the update to 10.9.3, server doesn't start anymore.

      220923 12:27:28 mysqld_safe Starting mariadbd daemon with databases from /var/lib/mysql
      2022-09-23 12:27:28 0 [Note] /usr/bin/mariadbd (server 10.9.3-MariaDB) starting as process 20919 ...
      2022-09-23 12:27:28 0 [Note] InnoDB: Compressed tables use zlib 1.2.12
      2022-09-23 12:27:28 0 [Note] InnoDB: Number of transaction pools: 1
      2022-09-23 12:27:28 0 [Note] InnoDB: Using generic crc32 instructions
      2022-09-23 12:27:28 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB
      2022-09-23 12:27:28 0 [Note] InnoDB: Completed initialization of buffer pool
      2022-09-23 12:27:28 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes)
      2022-09-23 12:27:28 0 [Warning] InnoDB: Retry attempts for reading partial data failed.
      2022-09-23 12:27:28 0 [ERROR] InnoDB: Operating system error number 22 in a file operation.
      2022-09-23 12:27:28 0 [ERROR] InnoDB: Error number 22 means 'Invalid argument'
      2022-09-23 12:27:28 0 [Note] InnoDB: Some operating system error numbers are described at https://mariadb.com/kb/en/library/operating-system-error-codes/
      2022-09-23 12:27:28 0 [ERROR] InnoDB: File (unknown): 'read' returned OS error 222. Cannot continue operation
      220923 12:27:28 [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.3-MariaDB
      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 = 466613 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
      ??:0(my_print_stacktrace)[0x10881cc]
      ??:0(handle_fatal_signal)[0xb70b54]
      ??:0(__default_sa_restorer)[0xb6705d10]
      ??:0(pthread_key_delete)[0xb674e310]
      ??:0(raise)[0xb6704708]
      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             14864                14864                processes
      Max open files            32190                32190                files
      Max locked memory         8388608              8388608              bytes
      Max address space         unlimited            unlimited            bytes
      Max file locks            unlimited            unlimited            locks
      Max pending signals       14864                14864                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/lib/systemd/systemd-coredump %P %u %g %s %t %c %h
       
      Kernel version: Linux version 4.14.180-3-ARCH (builduser@leming) (gcc version 10.2.0 (GCC)) #1 SMP PREEMPT Sat Jun 5 22:29:47 UTC 2021
       
      220923 12:27:28 mysqld_safe mysqld from pid file /var/lib/mysql/alarm.pid ended
      

      I'm attaching strace file as well.
      Filesystem used: f2fs
      Tried innodb_flush_method = fsync and innodb_use_native_aio = 0. Didn't help.

      Attachments

        1. mariadbd.strace
          183 kB
          Piotr Witosławski

        Issue Links

          Activity

            People

              danblack Daniel Black
              witos Piotr Witosławski
              Votes:
              0 Vote for this issue
              Watchers:
              5 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.