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

MariaDB server startup crash

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Critical
    • Resolution: Incomplete
    • 10.5.12
    • N/A
    • Server
    • None
    • Debian Linux 11 Bullseye, package from backports 1:10.5.12-0+deb11u1

    Description

      MariaDB server crash on startup. Gdb output:

      2022-01-18 16:26:39 0 [Note] InnoDB: Starting in background the rollback of recovered transactions
      2022-01-18 16:26:39 0x7fff94ff9700 InnoDB: Assertion failure in file ./storage/innobase/include/fut0lst.h line 127
      InnoDB: Failing assertion: addr.page == FIL_NULL || addr.boffset >= FIL_PAGE_DATA
      InnoDB: We intentionally generate a memory trap.
      InnoDB: Submit a detailed bug report to https://jira.mariadb.org/
      InnoDB: If you get repeated assertion failures or crashes, even
      InnoDB: immediately after the mysqld startup, there may be
      InnoDB: corruption in the InnoDB tablespace. Please refer to
      InnoDB: https://mariadb.com/kb/en/library/innodb-recovery-modes/
      InnoDB: about forcing recovery.
      2022-01-18 16:26:39 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1"
      2022-01-18 16:26:39 0 [Note] InnoDB: Creating shared tablespace for temporary tables
      2022-01-18 16:26:39 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
      2022-01-18 16:26:39 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB.
      2022-01-18 16:26:39 0 [Note] InnoDB: 10.5.12 started; log sequence number 22269595570370; transaction id 796568243
      2022-01-18 16:26:39 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool
      2022-01-18 16:26:39 0 [Note] Plugin 'FEEDBACK' is disabled.

      Thread 23 "mysqld" received signal SIGABRT, Aborted.
      [Switching to Thread 0x7fff94ff9700 (LWP 918832)]
      __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
      50 ../sysdeps/unix/sysv/linux/raise.c: No such file or directory.
      (gdb) bt
      #0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
      #1 0x00007ffff7568537 in __GI_abort () at abort.c:79
      #2 0x0000555555b8370e in ut_dbg_assertion_failed (expr=expr@entry=0x5555565b3380 "addr.page == FIL_NULL || addr.boffset >= FIL_PAGE_DATA",
      file=file@entry=0x5555565b3358 "./storage/innobase/include/fut0lst.h", line=line@entry=127) at ./storage/innobase/ut/ut0dbg.cc:60
      #3 0x0000555555b9df1d in flst_read_addr (faddr=<optimized out>) at ./storage/innobase/include/fut0lst.h:127
      #4 0x0000555555b9dfb1 in flst_read_addr (faddr=<optimized out>) at ./storage/innobase/include/fut0lst.h:128
      #5 flst_get_first (base=<optimized out>) at ./storage/innobase/include/fut0lst.h:135
      #6 flst_add_first (base=<optimized out>, boffset=<optimized out>, add=0x7fffd4034d00, aoffset=<optimized out>, mtr=0x7fff94ff8570) at ./storage/innobase/fut/fut0lst.cc:284
      #7 0x0000555556252638 in trx_purge_add_undo_to_history (trx=trx@entry=0x7ffff43da0d0, undo=@0x7ffff43db0b0: 0x555557bbaa98, mtr=mtr@entry=0x7fff94ff8570) at ./storage/innobase/trx/trx0purge.cc:298
      #8 0x0000555556269016 in trx_write_serialisation_history (trx=0x7ffff43da0d0, mtr=0x7fff94ff8570) at ./storage/innobase/trx/trx0trx.cc:1093
      #9 0x00005555562692e2 in trx_t::commit_low (this=0x7ffff43da0d0, mtr=0x7fff94ff8570) at ./storage/innobase/trx/trx0trx.cc:1469
      #10 0x000055555626942f in trx_t::commit (this=this@entry=0x7ffff43da0d0) at ./storage/innobase/trx/trx0trx.cc:1507
      #11 0x0000555556260a92 in trx_t::rollback_finish (this=0x7ffff43da0d0) at ./storage/innobase/trx/trx0roll.cc:65
      #12 trx_rollback_active (trx=0x7ffff43da0d0) at ./storage/innobase/trx/trx0roll.cc:633
      #13 0x0000555556260ec9 in trx_rollback_recovered (all=true) at ./storage/innobase/trx/trx0roll.cc:783
      #14 0x0000555555b81b88 in trx_rollback_all_recovered () at ./storage/innobase/trx/trx0roll.cc:837
      #15 0x00007ffff7a29ea7 in start_thread (arg=<optimized out>) at pthread_create.c:477
      #16 0x00007ffff7640def in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
      (gdb)

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              ok1zia Ladislav Vaiz
              Votes:
              0 Vote for this issue
              Watchers:
              3 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.