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

Mariadb 12 docker crash on RHEL 8

    XMLWordPrintable

Details

    • Bug
    • Status: Needs Feedback (View Workflow)
    • Major
    • Resolution: Unresolved
    • 12.0.2
    • None
    • Platform RedHat
    • None
    • Running docker on RHEL 8 using standard Mariadb 12 docker image

    Description

      2025-09-10 13:15:11+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:12.0.2+maria~ubu2404 started.
      2025-09-10 13:15:12+00:00 [Warn] [Entrypoint]: /sys/fs/cgroup/cpuset:/docker/6aa26b68c0b8abb8656cb1ba9e4748630bece3709215da25c71ff93a4f815f71
      11:freezer:/docker/6aa26b68c0b8abb8656cb1ba9e4748630bece3709215da25c71ff93a4f815f71
      10:pids:/docker/6aa26b68c0b8abb8656cb1ba9e4748630bece3709215da25c71ff93a4f815f71
      9:rdma:/docker/6aa26b68c0b8abb8656cb1ba9e4748630bece3709215da25c71ff93a4f815f71
      8:net_cls,net_prio:/docker/6aa26b68c0b8abb8656cb1ba9e4748630bece3709215da25c71ff93a4f815f71
      7:perf_event:/docker/6aa26b68c0b8abb8656cb1ba9e4748630bece3709215da25c71ff93a4f815f71
      6:hugetlb:/docker/6aa26b68c0b8abb8656cb1ba9e4748630bece3709215da25c71ff93a4f815f71
      5:cpu,cpuacct:/docker/6aa26b68c0b8abb8656cb1ba9e4748630bece3709215da25c71ff93a4f815f71
      4:devices:/docker/6aa26b68c0b8abb8656cb1ba9e4748630bece3709215da25c71ff93a4f815f71
      3:memory:/docker/6aa26b68c0b8abb8656cb1ba9e4748630bece3709215da25c71ff93a4f815f71
      2:blkio:/docker/6aa26b68c0b8abb8656cb1ba9e4748630bece3709215da25c71ff93a4f815f71
      1:name=systemd:/docker/6aa26b68c0b8abb8656cb1ba9e4748630bece3709215da25c71ff93a4f815f71/memory.pressure not writable, functionality unavailable to MariaDB
      2025-09-10 13:15:12+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql'
      2025-09-10 13:15:12+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:12.0.2+maria~ubu2404 started.
      2025-09-10 13:15:13+00:00 [Note] [Entrypoint]: Initializing database files
      2025-09-10 13:15:13 0 [Warning] mariadbd: io_uring_queue_init() failed with EPERM: sysctl kernel.io_uring_disabled has the value 2, or 1 and the user of the process is not a member of sysctl kernel.io_uring_group. (see man 2 io_uring_setup).
      create_uring failed: falling back to libaio
      250910 13:15:13 [ERROR] /usr/sbin/mariadbd got signal 11 ;
      Sorry, we probably made a mistake, and this is a bug.

      Your assistance in bug reporting will enable us to fix this for the next release.
      To report this bug, see https://mariadb.com/kb/en/reporting-bugs about how to report
      a bug on https://jira.mariadb.org/.

      Please include the information from the server start above, to the end of the
      information below.

      Server version: 12.0.2-MariaDB-ubu2404 source revision: aab83aecdca15738d114cf5a2f223f1d12e4e6bd

      The information page at https://mariadb.com/kb/en/how-to-produce-a-full-stack-trace-for-mariadbd/
      contains instructions to obtain a better version of the backtrace below.
      Following these instructions will help MariaDB developers provide a fix quicker.

      Attempting backtrace. Include this in the bug report.
      (note: Retrieving this information may fail)

      Thread pointer: 0x55d8a86f8488
      stack_bottom = 0x7ffc9c3a1000 thread_stack 0x49000
      Printing to addr2line failed
      /usr/sbin/mariadbd(my_print_stacktrace+0x30)[0x55d8a6914250]
      /usr/sbin/mariadbd(handle_fatal_signal+0x1f3)[0x55d8a6474463]
      /lib/x86_64-linux-gnu/libc.so.6(+0x45330)[0x7efca18c8330]

      Connection ID (thread ID): 1
      Status: NOT_KILLED
      Query (0x55d8a871a980): CREATE DEFINER='mariadb.sys'@'localhost' SQL SECURITY DEFINER VIEW IF NOT EXISTS user AS SELECT
      Host,
      User,
      IF(JSON_VALUE(Priv, '$.plugin') IN ('mysql_native_password', 'mysql_old_password'), IFNULL(JSON_VALUE(Priv, '$.authentication_string'), ''), '') AS Password,
      IF(JSON_VALUE(Priv, '$.access') & 1, 'Y', 'N') AS Select_priv,
      IF(JSON_VALUE(Priv, '$.access') & 2, 'Y', 'N') AS Insert_priv,
      IF(JSON_VALUE(Priv, '$.access') & 4, 'Y', 'N') AS Update_priv,
      IF(JSON_VALUE(Priv, '$.access') & 8, 'Y', 'N') AS Delete_priv,
      IF(JSON_VALUE(Priv, '$.access') & 16, 'Y', 'N') AS Create_priv,
      IF(JSON_VALUE(Priv, '$.access') & 32, 'Y', 'N') AS Drop_priv,
      IF(JSON_VALUE(Priv, '$.access') & 64, 'Y', 'N') AS Reload_priv,
      IF(JSON_VALUE(Priv, '$.access') & 128, 'Y', 'N') AS Shutdown_priv,
      IF(JSON_VALUE(Priv, '$.access') & 256, 'Y', 'N') AS Process_priv,
      IF(JSON_VALUE(Priv, '$.access') & 512, 'Y', 'N') AS File_priv,
      IF(JSON_VALUE(Priv, '$.access') & 1024, 'Y', 'N') AS Grant_priv,
      IF(JSON_VALUE(Priv, '$.access') & 2048, 'Y', 'N') AS References_priv,
      IF(JSON_VALUE(Priv, '$.access') & 4096, 'Y', 'N') AS Index_priv,
      IF(JSON_VALUE(Priv, '$.access') & 8192, 'Y', 'N') AS Alter_priv,
      IF(JSON_VALUE(Priv, '$.access') & 16384, 'Y', 'N') AS Show_db_priv,
      IF(JSON_VALUE(Priv, '$.access') & 32768, 'Y', 'N') AS Super_priv,
      IF(JSON_VALUE(Priv, '$.access') & 65536, 'Y', 'N') AS Create_tmp_table_priv,
      IF(JSON_VALUE(Priv, '$.access') & 131072, 'Y', 'N') AS Lock_tables_priv,
      IF(JSON_VALUE(Priv, '$.access') & 262144, 'Y', 'N') AS Execute_priv,
      IF(JSON_VALUE(Priv, '$.access') & 524288, 'Y', 'N') AS Repl_slave_priv,
      IF(JSON_VALUE(Priv, '$.access') & 1048576, 'Y', 'N') AS Repl_client_priv,
      IF(JSON_VALUE(Priv, '$.access') & 2097152, 'Y', 'N') AS Create_view_priv,
      IF(JSON_VALUE(Priv, '$.access') & 4194304, 'Y', 'N') AS Show_view_priv,
      IF(JSON_VALUE(Priv, '$.access') & 8388608, 'Y', 'N') AS Create_routine_priv,
      IF(JSON_VALUE(Priv, '$.access') & 16777216, 'Y', 'N') AS Alter_routine_priv,
      IF(JSON_VALUE(Priv, '$.access') & 33554432, 'Y', 'N') AS Create_user_priv,
      IF(JSON_VALUE(Priv, '$.access') & 67108864, 'Y', 'N') AS Event_priv,
      IF(JSON_VALUE(Priv, '$.access') & 134217728, 'Y', 'N') AS Trigger_priv,
      IF(JSON_VALUE(Priv, '$.access') & 268435456, 'Y', 'N') AS Create_tablespace_priv,
      IF(JSON_VALUE(Priv, '$.access') & 536870912, 'Y', 'N') AS Delete_history_priv,
      ELT(IFNULL(JSON_VALUE(Priv, '$.ssl_type'), 0) + 1, '', 'ANY','X509', 'SPECIFIED') AS ssl_type,
      IFNULL(JSON_VALUE(Priv, '$.ssl_cipher'), '') AS ssl_cipher,
      IFNULL(JSON_VALUE(Priv, '$.x509_issuer'), '') AS x509_issuer,
      IFNULL(JSON_VALUE(Priv, '$.x509_subject'), '') AS x509_subject,
      CAST(IFNULL(JSON_VALUE(Priv, '$.max_questions'), 0) AS UNSIGNED) AS max_questions,
      CAST(IFNULL(JSON_VALUE(Priv, '$.max_updates'), 0) AS UNSIGNED) AS max_updates,
      CAST(IFNULL(JSON_VALUE(Priv, '$.max_connections'), 0) AS UNSIGNED) AS max_connections,
      CAST(IFNULL(JSON_VALUE(Priv, '$.max_user_connections'), 0) AS SIGNED) AS max_user_connections,
      IFNULL(JSON_VALUE(Priv, '$.plugin'), '') AS plugin,
      IFNULL(JSON_VALUE(Priv, '$.authentication_string'), '') AS authentication_string,
      IF(IFNULL(JSON_VALUE(Priv, '$.password_last_changed'), 1) = 0, 'Y', 'N') AS password_expired,
      ELT(IFNULL(JSON_VALUE(Priv, '$.is_role'), 0) + 1, 'N', 'Y') AS is_role,
      IFNULL(JSON_VALUE(Priv, '$.default_role'), '') AS default_role,
      CAST(IFNULL(JSON_VALUE(Priv, '$.max_statement_time'), 0.0) AS DECIMAL(12,6)) AS max_statement_time
      FROM global_priv;

      Optimizer switch: index_merge=on,index_merge_union=on,index_merge_sort_union=on,index_merge_intersection=on,index_merge_sort_intersection=off,index_condition_pushdown=on,derived_merge=on,derived_with_keys=on,firstmatch=on,loosescan=on,duplicateweedout=on,materialization=on,in_to_exists=on,semijoin=on,partial_match_rowid_merge=on,partial_match_table_scan=on,subquery_cache=on,mrr=off,mrr_cost_based=off,mrr_sort_keys=off,outer_join_with_cache=on,semijoin_with_cache=on,join_cache_incremental=on,join_cache_hashed=on,join_cache_bka=on,optimize_join_buffer_size=on,table_elimination=on,extended_keys=on,exists_to_in=on,orderby_uses_equalities=on,condition_pushdown_for_derived=on,split_materialized=on,condition_pushdown_for_subquery=on,rowid_filter=on,condition_pushdown_from_having=on,not_null_range_scan=off,hash_join_cardinality=on,cset_narrowing=on,sargable_casefold=on

      Writing a core file...
      Working directory at /var/lib/mysql
      Resource Limits (excludes unlimited resources):
      Limit Soft Limit Hard Limit Units
      Max stack size 8388608 unlimited bytes
      Max open files 1048576 1048576 files
      Max locked memory 65536 65536 bytes
      Max pending signals 14117 14117 signals
      Max msgqueue size 819200 819200 bytes
      Max nice priority 0 0
      Max realtime priority 0 0
      Core pattern: |/bin/false

      Kernel version: Linux version 4.18.0-553.40.1.el8_10.x86_64 (mockbuild@x86-64-04.build.eng.rdu2.redhat.com) (gcc version 8.5.0 20210514 (Red Hat 8.5.0-22) (GCC)) #1 SMP Thu Feb 6 21:20:51 EST 2025

      Segmentation fault (core dumped)

      Installation of system tables failed! Examine the logs in
      /var/lib/mysql/ for more information.

      The problem could be conflicting information in an external
      my.cnf files. You can ignore these by doing:

      shell> /usr/bin/mariadb-install-db --defaults-file=~/.my.cnf

      You can also try to start the mariadbd daemon with:

      shell> /usr/sbin/mariadbd --skip-grant-tables --general-log &

      and use the command line tool /usr/bin/mariadb
      to connect to the mysql database and look at the grant tables:

      shell> /usr/bin/mariadb -u root mysql
      MariaDB> show tables;

      Try '/usr/sbin/mariadbd --help' if you have problems with paths. Using
      --general-log gives you a log in /var/lib/mysql/ that may be helpful.

      The latest information about mariadb-install-db is available at
      https://mariadb.com/kb/en/installing-system-tables-mysql_install_db
      You can find the latest source at https://downloads.mariadb.org and
      the MariaDB discuss email list at https://lists.mariadb.org/postorius/lists/discuss.lists.mariadb.org/

      Please check all of the above before submitting a bug report
      at https://mariadb.org/jira

      Attachments

        Activity

          People

            Unassigned Unassigned
            Sandra.M-CTR.Schoen Sandra Schoen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Git Integration

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