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

LP:613418 - (M)aria recovery failure: ma_key_recover.c:981: _ma_apply_redo_index: Assertion `check_page_length == page_length' failed.

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • None
    • None
    • None

    Description

      When recovering from the rqg_maria_varchar test, which uses random DML statements with lengthy strings and multibyte character sets, (M)aria failed as follows:

      1. 2010-08-04T13:18:55 recovered pages: 0% 10% 20% 30% 40% 50% 60% 70% 80% 90%mysqld: ma_key_recover.c:981: _ma_apply_redo_index: Assertion `check_page_length == page_length' failed.
      2. 2010-08-04T13:18:55 100804 13:18:55 [ERROR] mysqld got signal 6 ;
      3. 2010-08-04T13:18:55 Recovery has apparently crashed.
      4. 2010-08-04T13:18:55 This could be because you hit a bug. It is also possible that this binary
      5. 2010-08-04T13:18:55 or one of the libraries it was linked against is corrupt, improperly built,
      6. 2010-08-04T13:18:55 Log message 'or one of the libraries it was linked against is corrupt, improperly built,' indicates database corruption
      7. 2010-08-04T13:18:55 or misconfigured. This error can also be caused by malfunctioning hardware.
      8. 2010-08-04T13:18:55 We will try our best to scrape up some info that will hopefully help diagnose
      9. 2010-08-04T13:18:55 the problem, but since we have already crashed, something is definitely wrong
      10. 2010-08-04T13:18:55 and this may fail.
      11. 2010-08-04T13:18:55
      12. 2010-08-04T13:18:55 key_buffer_size=0
      13. 2010-08-04T13:18:55 read_buffer_size=131072
      14. 2010-08-04T13:18:55 max_used_connections=0
      15. 2010-08-04T13:18:55 max_threads=153
      16. 2010-08-04T13:18:55 threads_connected=0
      17. 2010-08-04T13:18:55 It is possible that mysqld could use up to
      18. 2010-08-04T13:18:55 key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 334854 K
      19. 2010-08-04T13:18:55 bytes of memory
      20. 2010-08-04T13:18:55 Hope that's ok; if not, decrease some variables in the equation.
      21. 2010-08-04T13:18:55
      22. 2010-08-04T13:18:55 thd: 0x0
      23. 2010-08-04T13:18:55 Attempting backtrace. You can use the following information to find out
      24. 2010-08-04T13:18:55 where mysqld died. If you see no messages after this, something went
      25. 2010-08-04T13:18:55 terribly wrong...
      26. 2010-08-04T13:18:55 stack_bottom = (nil) thread_stack 0x48000
      27. 2010-08-04T13:18:55 /home/buildbot/rqg-buildbot-slave/rqg-perpush-mariaengine/build/mysql-test//../sql/mysqld(my_print_stacktrace+0x35) [0xb9375f]
      28. 2010-08-04T13:18:55 /home/buildbot/rqg-buildbot-slave/rqg-perpush-mariaengine/build/mysql-test//../sql/mysqld(handle_segfault+0x2ee) [0x6716bb]
      29. 2010-08-04T13:18:55 Recovery has apparently crashed.
      30. 2010-08-04T13:18:55 /lib64/libpthread.so.0() [0x307ba0f440]
      31. 2010-08-04T13:18:55 /lib64/libc.so.6(gsignal+0x35) [0x307b6329c5]
      32. 2010-08-04T13:18:55 /lib64/libc.so.6(abort+0x175) [0x307b6341a5]
      33. 2010-08-04T13:18:55 /lib64/libc.so.6(__assert_fail+0xf5) [0x307b62b945]
      34. 2010-08-04T13:18:55 /home/buildbot/rqg-buildbot-slave/rqg-perpush-mariaengine/build/mysql-test//../sql/mysqld(_ma_apply_redo_index+0xaf8) [0x982fe7]
      35. 2010-08-04T13:18:55 /home/buildbot/rqg-buildbot-slave/rqg-perpush-mariaengine/build/mysql-test//../sql/mysqld() [0x9ee6de]
      36. 2010-08-04T13:18:55 /home/buildbot/rqg-buildbot-slave/rqg-perpush-mariaengine/build/mysql-test//../sql/mysqld() [0x9ec155]
      37. 2010-08-04T13:18:55 /home/buildbot/rqg-buildbot-slave/rqg-perpush-mariaengine/build/mysql-test//../sql/mysqld() [0x9f0e38]
      38. 2010-08-04T13:18:55 /home/buildbot/rqg-buildbot-slave/rqg-perpush-mariaengine/build/mysql-test//../sql/mysqld(maria_apply_log+0x234) [0x9ebb15]
      39. 2010-08-04T13:18:55 /home/buildbot/rqg-buildbot-slave/rqg-perpush-mariaengine/build/mysql-test//../sql/mysqld(maria_recovery_from_log+0x10e) [0x9eb868]
      40. 2010-08-04T13:18:55 /home/buildbot/rqg-buildbot-slave/rqg-perpush-mariaengine/build/mysql-test//../sql/mysqld() [0x96ad38]
      41. 2010-08-04T13:18:55 /home/buildbot/rqg-buildbot-slave/rqg-perpush-mariaengine/build/mysql-test//../sql/mysqld(ha_initialize_handlerton(st_plugin_int*)+0xb5) [0x7c3bbc]
      42. 2010-08-04T13:18:55 /home/buildbot/rqg-buildbot-slave/rqg-perpush-mariaengine/build/mysql-test//../sql/mysqld() [0x8920a7]
      43. 2010-08-04T13:18:55 /home/buildbot/rqg-buildbot-slave/rqg-perpush-mariaengine/build/mysql-test//../sql/mysqld(plugin_init(int*, char**, int)+0x628) [0x89294e]
      44. 2010-08-04T13:18:55 /home/buildbot/rqg-buildbot-slave/rqg-perpush-mariaengine/build/mysql-test//../sql/mysqld() [0x6740a9]
      45. 2010-08-04T13:18:55 /home/buildbot/rqg-buildbot-slave/rqg-perpush-mariaengine/build/mysql-test//../sql/mysqld(main+0x259) [0x674bd5]
      46. 2010-08-04T13:18:55 /lib64/libc.so.6(__libc_start_main+0xfd) [0x307b61ec5d]
      47. 2010-08-04T13:18:55 /home/buildbot/rqg-buildbot-slave/rqg-perpush-mariaengine/build/mysql-test//../sql/mysqld() [0x57dcb9]

      The core, binary and such will be uploaded shortly.

      Attachments

        1. LPexportBug613418.xml
          27 kB
          Rasmus Johansson

        Activity

          People

            monty Michael Widenius
            philipstoev Philip Stoev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 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.