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

InnoDB: Assertion failure ret < srv_page_size in page0page.ic line 904

    XMLWordPrintable

Details

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

    Description

      InnoDB: Assertion failure in thread 140257132218112 in file page0page.ic line 904
      InnoDB: Failing assertion: ret < srv_page_size

      #5  0x00007f903f439b0b in __GI_abort () at abort.c:92
      #6  0x0000000000a26bde in page_get_data_size (page=0x7f90361ec000 "") at storage/xtradb/include/page0page.ic:904
      #7  0x0000000000a2d846 in i_s_innodb_buffer_pool_pages_index_fill (thd=0x7f901c12f860, tables=0x4abef98, cond=0x0) at storage/xtradb/handler/i_s.cc:3918
      #8  0x0000000000694485 in do_fill_table (thd=0x7f901c12f860, table_list=0x4abef98, join_table=0x7f901c175ce0) at sql/sql_show.cc:7395
      #9  0x0000000000694897 in get_schema_tables_result (join=0x7f901c147838, executed_place=PROCESSED_BY_JOIN_EXEC) at sql/sql_show.cc:7502
      #10 0x00000000006404ae in JOIN::exec (this=0x7f901c147838) at sql/sql_select.cc:2286
      #11 0x0000000000642ead in mysql_select (thd=0x7f901c12f860, rref_pointer_array=0x7f901c132508, tables=0x4abef98, wild_num=1, fields=..., conds=0x4abfd98, og_num=0, order=0x0, group=0x0, having=0x0, proc_param=0x0, select_options=2684619520, result=0x4ac08f0, unit=0x7f901c131bd8, select_lex=0x7f901c1322b0) at sql/sql_select.cc:3027
      #12 0x0000000000639ba1 in handle_select (thd=0x7f901c12f860, lex=0x7f901c131b28, result=0x4ac08f0, setup_tables_done_option=0) at sql/sql_select.cc:311
      #13 0x0000000000612e84 in execute_sqlcom_select (thd=0x7f901c12f860, all_tables=0x4abef98) at sql/sql_parse.cc:4616
      #14 0x000000000060b9c9 in mysql_execute_command (thd=0x7f901c12f860) at sql/sql_parse.cc:2184
      #15 0x00000000006156eb in mysql_parse (thd=0x7f901c12f860, rawbuf=0x4abece8 "SELECT * FROM INFORMATION_SCHEMA.INNODB_BUFFER_POOL_PAGES_INDEX, A WHERE aa = page_no", length=85, parser_state=0x7f90288af550) at sql/sql_parse.cc:5731
      #16 0x0000000000608f8f in dispatch_command (command=COM_QUERY, thd=0x7f901c12f860, packet=0x7f901c134bd1 "SELECT * FROM INFORMATION_SCHEMA.INNODB_BUFFER_POOL_PAGES_INDEX, A WHERE aa = page_no", packet_length=85) at sql/sql_parse.cc:1055
      #17 0x0000000000608246 in do_command (thd=0x7f901c12f860) at sql/sql_parse.cc:794
      #18 0x0000000000708ef7 in do_handle_one_connection (thd_arg=0x7f901c12f860) at sql/sql_connect.cc:1253
      #19 0x00000000007088e2 in handle_one_connection (arg=0x7f901c12f860) at sql/sql_connect.cc:1168
      #20 0x00007f9040170efc in start_thread (arg=0x7f90288b0700) at pthread_create.c:304
      #21 0x00007f903f4e359d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
       
      Query (0x4abece8): SELECT * FROM INFORMATION_SCHEMA.INNODB_BUFFER_POOL_PAGES_INDEX, A WHERE aa = page_no
      Connection ID (thread ID): 6
      Status: NOT_KILLED

      maria/5.5
      bzr version-info

      revision-id: wlad@montyprogram.com-20120615163204-t3sd8jmgxm80y6ed
      date: 2012-06-15 18:32:04 +0200
      build-date: 2012-06-16 07:29:02 +0400
      revno: 3437

      Could not reproduce on maria/5.3, percona-server or mysql-trunk (maybe just less luck).

      RQG grammar (2.yy):

      thread1_init:
        DROP TABLE IF EXISTS A ; CREATE TABLE A ( aa INT ) ENGINE=InnoDB ; INSERT INTO A VALUES (7),(8);
       
      thread1:
        ALTER TABLE A ADD COLUMN _letter INT | ALTER TABLE A DROP COLUMN _letter ;
       
      query:
        SELECT * FROM INFORMATION_SCHEMA.INNODB_BUFFER_POOL_PAGES_INDEX, A WHERE aa = page_no ;

      Run as:

      perl runall.pl \
      --threads=2 \
      --duration=600 \
      --queries=100M \
      --skip-gendata \
      --grammar=2.yy \
      --basedir=<your basedir> --vardir=<your vardir>

      Always fails for me, usually within the first minute of the test, sometimes slightly longer.

      Attachments

        Issue Links

          Activity

            People

              wlad Vladislav Vaintroub
              elenst Elena Stepanova
              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.