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

Inrecoverable InnoDB/XtraDB database after power failure (hard crash)



    • Bug
    • Status: Closed (View Workflow)
    • Critical
    • Resolution: Cannot Reproduce
    • 10.1.7
    • N/A


      After a power loss, the InnoDB/XtraDB database is not recoverable.

      2015-09-30 20:17:29 140193769776992 [Note] /opt/mariadb-10.1.7-linux-x86_64/bin/mysqld (mysqld 10.1.7-MariaDB-log) starting as process 2319 ...
      2015-09-30 20:17:29 140193769776992 [Note] InnoDB: Using mutexes to ref count buffer pool pages
      2015-09-30 20:17:29 140193769776992 [Note] InnoDB: The InnoDB memory heap is disabled
      2015-09-30 20:17:29 140193769776992 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
      2015-09-30 20:17:29 140193769776992 [Note] InnoDB: Memory barrier is not used
      2015-09-30 20:17:29 140193769776992 [Note] InnoDB: Compressed tables use zlib 1.2.3
      2015-09-30 20:17:29 140193769776992 [Note] InnoDB: Not using CPU crc32 instructions
      2015-09-30 20:17:29 140193769776992 [Note] InnoDB: Initializing buffer pool, size = 256.0M
      2015-09-30 20:17:29 140193769776992 [Note] InnoDB: Completed initialization of buffer pool
      2015-09-30 20:17:29 140193769776992 [Note] InnoDB: Highest supported file format is Barracuda.
      2015-09-30 20:17:29 140193769776992 [Note] InnoDB: Log scan progressed past the checkpoint lsn 84533366099
      2015-09-30 20:17:29 140193769776992 [Note] InnoDB: Database was not shutdown normally!
      2015-09-30 20:17:29 140193769776992 [Note] InnoDB: Starting crash recovery.
      2015-09-30 20:17:29 140193769776992 [Note] InnoDB: Reading tablespace information from the .ibd files...
      2015-09-30 20:17:29 140193769776992 [Note] InnoDB: Restoring possible half-written data pages
      2015-09-30 20:17:29 140193769776992 [Note] InnoDB: from the doublewrite buffer...
      InnoDB: Doing recovery: scanned up to log sequence number 84538608640
      InnoDB: Doing recovery: scanned up to log sequence number 84543851520
      InnoDB: Doing recovery: scanned up to log sequence number 84549094400
      InnoDB: Set innodb_force_recovery to ignore this error.
      2015-09-30 20:17:30 7f8167d8e760 InnoDB: Assertion failure in thread 140193769776992 in file log0recv.cc line 2846
      InnoDB: We intentionally generate a memory trap.
      InnoDB: Submit a detailed bug report to http://bugs.mysql.com.
      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: http://dev.mysql.com/doc/refman/5.6/en/forcing-innodb-recovery.html
      InnoDB: about forcing recovery.
      150930 20:17:30 [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 http://kb.askmonty.org/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.1.7-MariaDB-log
      It is possible that mysqld could use up to
      key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 371998 K bytes of memory
      Hope that's ok; if not, decrease some variables in the equation.

      Thread pointer: 0x0x0
      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 0x48000
      log/log0recv.cc:2846(recv_scan_log_recs(unsigned long, unsigned long, unsigned char const*, unsigned long, unsigned long, unsigned long*, unsigned long*, dberr_t*))[0x93f15f]
      sql/sql_plugin.cc:1684(plugin_init(int*, char**, int))[0x5bc5c2]
      sql/mysqld.cc:5758(mysqld_main(int, char**))[0x51a7f4]
      The manual page at http://dev.mysql.com/doc/mysql/en/crashing.html contains
      information that should help you find out what is causing the crash.


        Issue Links



              jplindst Jan Lindström (Inactive)
              Norbert van Nobelen Norbert van Nobelen
              0 Vote for this issue
              4 Start watching this issue



                Git Integration

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