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

segfaults on bootstrap on SLES 15.07 during install

    XMLWordPrintable

Details

    • Related to install and upgrade
    • Installing on SLES 15SP7 has added an explicit dependency on liburing-2.8 due to an earlier of SLES that had an ABI incompatible liburing-2.2. The later version now matches the built package.

    Description

      amd64-sles-1507-rpm-autobake-install failing for 9 months. Lots of only last month or so is there.

      [Example]https://buildbot.mariadb.org/#/builders/1028/builds/693/steps/3/logs/stdio]

      Checking for file conflicts: [.........done]
      ( 1/48) Installing: libltdl7-2.4.6-150000.3.8.1.x86_64 [..done]
      ( 2/48) Installing: libsnappy1-1.1.8-3.3.1.x86_64 [..done]
      ( 3/48) Installing: socat-1.8.0.0-150600.20.6.1.x86_64 [..done]
      ( 4/48) Installing: libodbc2-2.3.12-150600.1.4.x86_64 [..done]
      ( 5/48) Installing: libboost_program_options1_66_0-1.66.0-150200.12.7.1.x86_64 [..done]
      ( 6/48) Installing: libpcre2-posix3-10.42-150600.3.3.1.x86_64 [..done]
      ( 7/48) Installing: MariaDB-backup-debuginfo-11.8.9-1.x86_64 [..............................................................................done]
      ( 8/48) Installing: MariaDB-client-debuginfo-11.8.9-1.x86_64 [..........................................................................done]
      ( 9/48) Installing: MariaDB-common-11.8.9-1.x86_64 [..done]
      (10/48) Installing: MariaDB-common-debuginfo-11.8.9-1.x86_64 [..done]
      (11/48) Installing: MariaDB-connect-engine-debuginfo-11.8.9-1.x86_64 [.....done]
      (12/48) Installing: MariaDB-cracklib-password-check-debuginfo-11.8.9-1.x86_64 [..done]
      (13/48) Installing: MariaDB-devel-debuginfo-11.8.9-1.x86_64 [..done]
      (14/48) Installing: MariaDB-duckdb-engine-debuginfo-11.8.9-1.x86_64 [.........done]
      (15/48) Installing: MariaDB-gssapi-server-debuginfo-11.8.9-1.x86_64 [..done]
      (16/48) Installing: MariaDB-hashicorp-key-management-debuginfo-11.8.9-1.x86_64 [..done]
      (17/48) Installing: MariaDB-oqgraph-engine-debuginfo-11.8.9-1.x86_64 [...done]
      (18/48) Installing: MariaDB-provider-lz4-debuginfo-11.8.9-1.x86_64 [..done]
      (19/48) Installing: MariaDB-provider-lzma-debuginfo-11.8.9-1.x86_64 [..done]
      (20/48) Installing: MariaDB-provider-lzo-debuginfo-11.8.9-1.x86_64 [..done]
      (21/48) Installing: MariaDB-provider-snappy-debuginfo-11.8.9-1.x86_64 [..done]
      (22/48) Installing: MariaDB-rocksdb-engine-debuginfo-11.8.9-1.x86_64 [............................................................................done]
      (23/48) Installing: MariaDB-s3-engine-debuginfo-11.8.9-1.x86_64 [.......done]
      (24/48) Installing: MariaDB-server-debuginfo-11.8.9-1.x86_64 [..................................................................................................done]
      (25/48) Installing: MariaDB-shared-debuginfo-11.8.9-1.x86_64 [..done]
      (26/48) Installing: MariaDB-test-debuginfo-11.8.9-1.x86_64 [......................................................................................................done]
      (27/48) Installing: MariaDB-test-11.8.9-1.x86_64 [..........................................................done]
      (28/48) Installing: MariaDB-shared-11.8.9-1.x86_64 [..done]
      (29/48) Installing: MariaDB-client-11.8.9-1.x86_64 [............done]
      (30/48) Installing: MariaDB-client-compat-11.8.9-1.noarch [..done]
      (31/48) Installing: MariaDB-backup-11.8.9-1.x86_64 [.......done]
      (32/48) Installing: MariaDB-devel-11.8.9-1.x86_64 [......................................................................................................done]
      (33/48) Installing: libJudy1-1.0.5-1.2.x86_64 [..done]
      (34/48) Installing: galera-4-26.4.28-1.sle15.x86_64 [................
      warning: group man does not exist - using root
      .done]
      (35/48) Installing: MariaDB-server-11.8.9-1.x86_64 [..
      usermod: no changes
      usermod: no changes
      .................
      260929 19:54:22 [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/docs/general-resources/community/community/bug-tracking/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: 11.8.9-MariaDB source revision: 4bf178391e9f1aac333eb6f97fa3ab2a63288fa0
      The information page at https://mariadb.com/docs/server/reference/product-development/mariadb-fault-finding/how-to-produce-a-full-stack-trace-for-mariadbdcontains 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: 0x0
      stack_bottom = 0x0 thread_stack 0x49000
      /usr/sbin/mariadbd(my_print_stacktrace+0x2e)[0x5651ca42e97e]
      /usr/sbin/mariadbd(handle_fatal_signal+0x34d)[0x5651c9eeff1d]
      /lib64/libc.so.6(+0x57900)[0x7fd317257900]
      /usr/sbin/mariadbd(+0xfb9780)[0x5651ca3d0780]
      /usr/sbin/mariadbd(+0xdfe1e2)[0x5651ca2151e2]
      /usr/sbin/mariadbd(+0xf50713)[0x5651ca367713]
      /usr/sbin/mariadbd(+0xf155aa)[0x5651ca32c5aa]
      /usr/sbin/mariadbd(+0xf1719c)[0x5651ca32e19c]
      /usr/sbin/mariadbd(+0x7218c0)[0x5651c9b388c0]
      /usr/sbin/mariadbd(+0xf17da8)[0x5651ca32eda8]
      /usr/lib64/libstdc++.so.6(+0xe8964)[0x7fd3176e8964]
      /lib64/libc.so.6(+0xa6f6c)[0x7fd3172a6f6c]
      /lib64/libc.so.6(+0x12e338)[0x7fd31732e338]
      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 core file size        0                    0                    bytes     
      Max processes             7707                 7707                 processes 
      Max open files            32184                524288               files     
      Max locked memory         8388608              8388608              bytes     
      Max pending signals       7707                 7707                 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 6.4.0-150700.51-default (geeko@buildhost) (gcc (SUSE Linux) 7.5.0, GNU ld (GNU Binutils; SUSE Linux Enterprise 15) 2.43.1.20241209-150100.7.52) #1 SMP PREEMPT_DYNAMIC Wed Apr 30 21:35:43 UTC 2025 (6930611)
      /usr/bin/mariadb-install-db: line 567:  4113 Segmentation fault      "$mysqld_bootstrap" $defaults $defaults_group_suffix "$mysqld_opt" --bootstrap $silent_startup "--basedir=$basedir" "--datadir=$ldata" --log-warnings=0 --enforce-storage-engine="" "--plugin-dir=${plugindir}" $args --max_allowed_packet=8M --net_buffer_length=16K
      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/docs/server/clients-and-utilities/deployment-tools/mariadb-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
      done]
      (36/48) Installing: MariaDB-server-compat-11.8.9-1.noarch [..done]
      (37/48) Installing: MariaDB-s3-engine-11.8.9-1.x86_64 [...done]
      (38/48) Installing: MariaDB-rocksdb-engine-11.8.9-1.x86_64 [......done]
      (39/48) Installing: MariaDB-provider-snappy-11.8.9-1.x86_64 [..done]
      (40/48) Installing: MariaDB-provider-lzo-11.8.9-1.x86_64 [..done]
      (41/48) Installing: MariaDB-provider-lzma-11.8.9-1.x86_64 [..done]
      (42/48) Installing: MariaDB-provider-lz4-11.8.9-1.x86_64 [..done]
      (43/48) Installing: MariaDB-oqgraph-engine-11.8.9-1.x86_64 [..done]
      (44/48) Installing: MariaDB-hashicorp-key-management-11.8.9-1.x86_64 [..done]
      (45/48) Installing: MariaDB-gssapi-server-11.8.9-1.x86_64 [..done]
      (46/48) Installing: MariaDB-duckdb-engine-11.8.9-1.x86_64 [............done]
      (47/48) Installing: MariaDB-cracklib-password-check-11.8.9-1.x86_64 [..done]
      (48/48) Installing: MariaDB-connect-engine-11.8.9-1.x86_64 [..done]
      Running post-transaction scripts [.....done]
      + set -u
      + sh -c 'g=/usr/lib*/galera*/libgalera_smm.so; echo -e "[galera]\nwsrep_provider=$g"'
      + sudo tee /etc/my.cnf.d/galera.cnf
      [galera]
      wsrep_provider=/usr/lib*/galera*/libgalera_smm.so
      + case "$systemdCapability" in
      + sudo systemctl start mariadb
      Job for mariadb.service failed because a fatal signal was delivered causing the control process to dump core.
      See "systemctl status mariadb.service" and "journalctl -xeu mariadb.service" for details.
      + sudo journalctl -lxn 500 --no-pager -u mariadb.service
      Sep 29 19:54:52 bb-hz-bbw5-sles-1507-amd64 systemd[1]: Starting MariaDB 11.8.9 database server...
      â–‘â–‘ Subject: A start job for unit mariadb.service has begun execution
      â–‘â–‘ Defined-By: systemd
      â–‘â–‘ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
      â–‘â–‘ 
      â–‘â–‘ A start job for unit mariadb.service has begun execution.
      â–‘â–‘ 
      â–‘â–‘ The job identifier is 1636.
      Sep 29 19:54:52 bb-hz-bbw5-sles-1507-amd64 mariadbd[4228]: 2026-09-29 19:54:52 0 [Note] Starting MariaDB 11.8.9-MariaDB source revision 4bf178391e9f1aac333eb6f97fa3ab2a63288fa0 server_uid HTsPfH5wo1MLMi/nIt0c08ORTRI= as process 4228
      Sep 29 19:54:52 bb-hz-bbw5-sles-1507-amd64 mariadbd[4228]: 2026-09-29 19:54:52 0 [Warning] Plugin 'DUCKDB' is of maturity level gamma while the server is stable
      Sep 29 19:54:52 bb-hz-bbw5-sles-1507-amd64 mariadbd[4228]: 2026-09-29 19:54:52 0 [Warning] Plugin 'RUN_IN_DUCKDB' is of maturity level gamma while the server is stable
      Sep 29 19:54:52 bb-hz-bbw5-sles-1507-amd64 mariadbd[4228]: 2026-09-29 19:54:52 0 [Warning] Plugin 'OQGRAPH' is of maturity level gamma while the server is stable
      Sep 29 19:54:52 bb-hz-bbw5-sles-1507-amd64 mariadbd[4228]: 2026-09-29 19:54:52 0 [Note] RocksDB: Got ENOENT when listing column families
      Sep 29 19:54:52 bb-hz-bbw5-sles-1507-amd64 mariadbd[4228]: 2026-09-29 19:54:52 0 [Note] RocksDB:   assuming that we're creating a new database
      Sep 29 19:54:52 bb-hz-bbw5-sles-1507-amd64 mariadbd[4228]: 2026-09-29 19:54:52 0 [Note] RocksDB: Column Families at start:
      Sep 29 19:54:52 bb-hz-bbw5-sles-1507-amd64 mariadbd[4228]: 2026-09-29 19:54:52 0 [Note]   cf=default
      Sep 29 19:54:52 bb-hz-bbw5-sles-1507-amd64 mariadbd[4228]: 2026-09-29 19:54:52 0 [Note]     write_buffer_size=67108864
      Sep 29 19:54:52 bb-hz-bbw5-sles-1507-amd64 mariadbd[4228]: 2026-09-29 19:54:52 0 [Note]     target_file_size_base=67108864
      Sep 29 19:54:52 bb-hz-bbw5-sles-1507-amd64 mariadbd[4228]: 2026-09-29 19:54:52 0 [Note] RocksDB: creating a column family __system__
      Sep 29 19:54:52 bb-hz-bbw5-sles-1507-amd64 mariadbd[4228]: 2026-09-29 19:54:52 0 [Note]     write_buffer_size=67108864
      Sep 29 19:54:52 bb-hz-bbw5-sles-1507-amd64 mariadbd[4228]: 2026-09-29 19:54:52 0 [Note]     target_file_size_base=67108864
      Sep 29 19:54:52 bb-hz-bbw5-sles-1507-amd64 mariadbd[4228]: 2026-09-29 19:54:52 0 [Note] RocksDB: Table_store: loaded DDL data for 0 tables
      Sep 29 19:54:52 bb-hz-bbw5-sles-1507-amd64 mariadbd[4228]: 2026-09-29 19:54:52 0 [Note] RocksDB: global statistics using get_sched_indexer_t indexer
      Sep 29 19:54:52 bb-hz-bbw5-sles-1507-amd64 mariadbd[4228]: 2026-09-29 19:54:52 0 [Note] MyRocks storage engine plugin has been successfully initialized.
      Sep 29 19:54:52 bb-hz-bbw5-sles-1507-amd64 mariadbd[4228]: 2026-09-29 19:54:52 0 [Note] mariadbd: Aria engine: starting recovery
      Sep 29 19:54:52 bb-hz-bbw5-sles-1507-amd64 mariadbd[4228]: recovered pages: 0% 10% 20% 49% 59% 69% 79% 98% 100% (0.0 seconds); tables to flush: 6 5 4 3 2 1 0 (0.0 seconds);
      Sep 29 19:54:52 bb-hz-bbw5-sles-1507-amd64 mariadbd[4228]: 2026-09-29 19:54:52 0 [Note] mariadbd: Aria engine: recovery done
      Sep 29 19:54:52 bb-hz-bbw5-sles-1507-amd64 mariadbd[4228]: 2026-09-29 19:54:52 0 [Note] CONNECT: Version 1.07.0002 March 22, 2021
      Sep 29 19:54:52 bb-hz-bbw5-sles-1507-amd64 mariadbd[4228]: 2026-09-29 19:54:52 0 [Note] InnoDB: Compressed tables use zlib 1.2.13
      Sep 29 19:54:52 bb-hz-bbw5-sles-1507-amd64 mariadbd[4228]: 2026-09-29 19:54:52 0 [Note] InnoDB: Number of transaction pools: 1
      Sep 29 19:54:52 bb-hz-bbw5-sles-1507-amd64 mariadbd[4228]: 2026-09-29 19:54:52 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions
      Sep 29 19:54:52 bb-hz-bbw5-sles-1507-amd64 mariadbd[4228]: 2026-09-29 19:54:52 0 [Note] InnoDB: Using io_uring
      Sep 29 19:54:52 bb-hz-bbw5-sles-1507-amd64 mariadbd[4228]: 2026-09-29 19:54:52 0 [Note] InnoDB: innodb_buffer_pool_size_max=8388608m, innodb_buffer_pool_size=128m
      Sep 29 19:54:52 bb-hz-bbw5-sles-1507-amd64 mariadbd[4228]: 2026-09-29 19:54:52 0 [Note] InnoDB: Completed initialization of buffer pool
      Sep 29 19:54:52 bb-hz-bbw5-sles-1507-amd64 mariadbd[4228]: 2026-09-29 19:54:52 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes)
      Sep 29 19:54:52 bb-hz-bbw5-sles-1507-amd64 mariadbd[4228]: 2026-09-29 19:54:52 0 [Note] InnoDB: Header page consists of zero bytes in datafile: ./ibdata1, Space ID: 0, Flags: 0
      Sep 29 19:54:52 bb-hz-bbw5-sles-1507-amd64 mariadbd[4228]: 2026-09-29 19:54:52 0 [ERROR] InnoDB: The data file './ibdata1' has the wrong space ID. It should be 0, but 0 was found
      Sep 29 19:54:52 bb-hz-bbw5-sles-1507-amd64 mariadbd[4228]: 2026-09-29 19:54:52 0 [ERROR] InnoDB: Plugin initialization aborted with error Data structure corruption
      Sep 29 19:54:52 bb-hz-bbw5-sles-1507-amd64 mariadbd[4228]: 2026-09-29 19:54:52 0 [Note] InnoDB: Starting shutdown...
      Sep 29 19:54:52 bb-hz-bbw5-sles-1507-amd64 mariadbd[4228]: 260929 19:54:52 [ERROR] /usr/sbin/mariadbd got signal 11 ;
      Sep 29 19:54:52 bb-hz-bbw5-sles-1507-amd64 mariadbd[4228]: Sorry, we probably made a mistake, and this is a bug.
      Sep 29 19:54:52 bb-hz-bbw5-sles-1507-amd64 mariadbd[4228]: Your assistance in bug reporting will enable us to fix this for the next release.
      Sep 29 19:54:52 bb-hz-bbw5-sles-1507-amd64 mariadbd[4228]: To report this bug, see https://mariadb.com/docs/general-resources/community/community/bug-tracking/reporting-bugs about how to report
      Sep 29 19:54:52 bb-hz-bbw5-sles-1507-amd64 mariadbd[4228]: a bug on https://jira.mariadb.org/.
      Sep 29 19:54:52 bb-hz-bbw5-sles-1507-amd64 mariadbd[4228]: Please include the information from the server start above, to the end of the
      Sep 29 19:54:52 bb-hz-bbw5-sles-1507-amd64 mariadbd[4228]: information below.
      Sep 29 19:54:52 bb-hz-bbw5-sles-1507-amd64 mariadbd[4228]: Server version: 11.8.9-MariaDB source revision: 4bf178391e9f1aac333eb6f97fa3ab2a63288fa0
      Sep 29 19:54:52 bb-hz-bbw5-sles-1507-amd64 mariadbd[4228]: The information page at https://mariadb.com/docs/server/reference/product-development/mariadb-fault-finding/how-to-produce-a-full-stack-trace-for-mariadbdcontains instructions to obtain a better version of the backtrace below.
      Sep 29 19:54:52 bb-hz-bbw5-sles-1507-amd64 mariadbd[4228]: Following these instructions will help MariaDB developers provide a fix quicker.
      Sep 29 19:54:52 bb-hz-bbw5-sles-1507-amd64 mariadbd[4228]: Attempting backtrace. Include this in the bug report.
      Sep 29 19:54:52 bb-hz-bbw5-sles-1507-amd64 mariadbd[4228]: (note: Retrieving this information may fail)
      Sep 29 19:54:52 bb-hz-bbw5-sles-1507-amd64 mariadbd[4228]: Thread pointer: 0x0
      Sep 29 19:54:52 bb-hz-bbw5-sles-1507-amd64 mariadbd[4228]: stack_bottom = 0x0 thread_stack 0x49000
      Sep 29 19:54:57 bb-hz-bbw5-sles-1507-amd64 mariadbd[4228]: /usr/sbin/mariadbd(my_print_stacktrace+0x2e)[0x560c09fd997e]
      Sep 29 19:55:14 bb-hz-bbw5-sles-1507-amd64 mariadbd[4228]: /usr/sbin/mariadbd(handle_fatal_signal+0x34d)[0x560c09a9af1d]
      Sep 29 19:55:36 bb-hz-bbw5-sles-1507-amd64 mariadbd[4228]: /lib64/libc.so.6(+0x57900)[0x7f3337457900]
      Sep 29 19:55:41 bb-hz-bbw5-sles-1507-amd64 mariadbd[4228]: include/liburing.h:441((anonymous namespace)::aio_uring::~aio_uring())[0x560c09f7bc30]
      Sep 29 19:55:41 bb-hz-bbw5-sles-1507-amd64 mariadbd[4228]: os/os0file.cc:3176(os_aio_free())[0x560c09dbf934]
      ....
      

      Quite possibly one of the plugins installed during mariadb-install-db/bootstrap.

      Attachments

        Activity

          People

            danblack Daniel Black
            danblack Daniel Black
            Varzaru Razvan-Liviu Varzaru Razvan-Liviu
            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.