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

[Draft] Assertion `fil_page_type_is_index(fil_page_get_type(page))' failed in rec_get_trx_id

    XMLWordPrintable

Details

    • Bug
    • Status: Open (View Workflow)
    • Major
    • Resolution: Unresolved
    • 10.3
    • None
    • None
    • None

    Description

      https://travis-ci.org/elenst/mariadb-tests/jobs/301707839

      10.3 e94c9d24f6e2942f473a59af271dbd5aff60e8b4

      mysqld: /home/travis/src/storage/innobase/rem/rem0rec.cc:2507: trx_id_t rec_get_trx_id(const rec_t*, const dict_index_t*): Assertion `fil_page_type_is_index(fil_page_get_type(page))' failed.
      171114 15:03:53 [ERROR] mysqld got signal 6 ;
       
      #5  0x00007ffaddcfa028 in __GI_abort () at abort.c:89
      #6  0x00007ffaddcefbf6 in __assert_fail_base (fmt=0x7ffadde44018 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=assertion@entry=0x6997839a58 "fil_page_type_is_index(fil_page_get_type(page))", file=file@entry=0x6997838638 "/home/travis/src/storage/innobase/rem/rem0rec.cc", line=line@entry=2507, function=function@entry=0x699783bbc0 <rec_get_trx_id(unsigned char const*, dict_index_t const*)::__PRETTY_FUNCTION__> "trx_id_t rec_get_trx_id(const rec_t*, const dict_index_t*)") at assert.c:92
      #7  0x00007ffaddcefca2 in __GI___assert_fail (assertion=0x6997839a58 "fil_page_type_is_index(fil_page_get_type(page))", file=0x6997838638 "/home/travis/src/storage/innobase/rem/rem0rec.cc", line=2507, function=0x699783bbc0 <rec_get_trx_id(unsigned char const*, dict_index_t const*)::__PRETTY_FUNCTION__> "trx_id_t rec_get_trx_id(const rec_t*, const dict_index_t*)") at assert.c:101
      #8  0x00000069971a8a1e in rec_get_trx_id (rec=0x7ffa7407b781 "", index=0x7ffa8809dc48) at /home/travis/src/storage/innobase/rem/rem0rec.cc:2507
      #9  0x0000006997222afa in row_sel_sec_rec_is_for_clust_rec (sec_rec=0x7ffabcfe007e "", sec_index=0x7ffa880acb98, clust_rec=0x7ffa7407b781 "", clust_index=0x7ffa8809dc48, thr=0x7ffa74253348) at /home/travis/src/storage/innobase/row/row0sel.cc:188
      #10 0x000000699722a344 in row_sel_get_clust_rec_for_mysql (prebuilt=0x7ffa74252808, sec_index=0x7ffa880acb98, rec=0x7ffabcfe007e "", thr=0x7ffa74253348, out_rec=0x7ffac8535a58, offsets=0x7ffac8535a78, offset_heap=0x7ffac8535a70, vrow=0x0, mtr=0x7ffac8536570) at /home/travis/src/storage/innobase/row/row0sel.cc:3544
      #11 0x000000699722eae4 in row_search_mvcc (buf=0x7ffa7440ce08 "\377\377", <incomplete sequence \357>, mode=PAGE_CUR_G, prebuilt=0x7ffa74252808, match_mode=0, direction=0) at /home/travis/src/storage/innobase/row/row0sel.cc:5305
      #12 0x00000069970969c1 in ha_innobase::index_read (this=0x7ffa74077268, buf=0x7ffa7440ce08 "\377\377", <incomplete sequence \357>, key_ptr=0x0, key_len=0, find_flag=HA_READ_AFTER_KEY) at /home/travis/src/storage/innobase/handler/ha_innodb.cc:9595
      #13 0x0000006997097dd2 in ha_innobase::index_first (this=0x7ffa74077268, buf=0x7ffa7440ce08 "\377\377", <incomplete sequence \357>) at /home/travis/src/storage/innobase/handler/ha_innodb.cc:10033
      #14 0x0000006996db63ad in handler::ha_index_first (this=0x7ffa74077268, buf=0x7ffa7440ce08 "\377\377", <incomplete sequence \357>) at /home/travis/src/sql/handler.cc:2734
      #15 0x0000006996b579e1 in join_read_first (tab=0x7ffa7402d300) at /home/travis/src/sql/sql_select.cc:19907
      #16 0x0000006996b55393 in sub_select (join=0x7ffa7402c328, join_tab=0x7ffa7402d300, end_of_records=false) at /home/travis/src/sql/sql_select.cc:18919
      #17 0x0000006996b54961 in do_select (join=0x7ffa7402c328, procedure=0x0) at /home/travis/src/sql/sql_select.cc:18462
      #18 0x0000006996b2d498 in JOIN::exec_inner (this=0x7ffa7402c328) at /home/travis/src/sql/sql_select.cc:3584
      #19 0x0000006996b2c938 in JOIN::exec (this=0x7ffa7402c328) at /home/travis/src/sql/sql_select.cc:3379
      #20 0x0000006996b2db4c in mysql_select (thd=0x7ffa74015240, tables=0x7ffa7402bc28, wild_num=0, fields=..., conds=0x0, og_num=0, order=0x0, group=0x0, having=0x0, proc_param=0x0, select_options=551903562496, result=0x7ffa7402c308, unit=0x7ffa74018f58, select_lex=0x7ffa74019690) at /home/travis/src/sql/sql_select.cc:3779
      #21 0x0000006996b21f34 in handle_select (thd=0x7ffa74015240, lex=0x7ffa74018e90, result=0x7ffa7402c308, setup_tables_done_option=0) at /home/travis/src/sql/sql_select.cc:378
      #22 0x0000006996aed340 in execute_sqlcom_select (thd=0x7ffa74015240, all_tables=0x7ffa7402bc28) at /home/travis/src/sql/sql_parse.cc:6477
      #23 0x0000006996ae3afb in mysql_execute_command (thd=0x7ffa74015240) at /home/travis/src/sql/sql_parse.cc:3740
      #24 0x0000006996af0c41 in mysql_parse (thd=0x7ffa74015240, rawbuf=0x7ffa7402b878 "SELECT `col_set_ucs2_key` FROM `table100_innodb_key_pk_parts_2_int_autoinc` /* QNO 865 CON_ID 16 */", length=99, parser_state=0x7ffac8538620, is_com_multi=false, is_next_command=false) at /home/travis/src/sql/sql_parse.cc:7933
      #25 0x0000006996ade658 in dispatch_command (command=COM_QUERY, thd=0x7ffa74015240, packet=0x7ffa74060571 "", packet_length=100, is_com_multi=false, is_next_command=false) at /home/travis/src/sql/sql_parse.cc:1828
      #26 0x0000006996add085 in do_command (thd=0x7ffa74015240) at /home/travis/src/sql/sql_parse.cc:1370
      #27 0x0000006996c353e4 in do_handle_one_connection (connect=0x6999b31d00) at /home/travis/src/sql/sql_connect.cc:1418
      #28 0x0000006996c35171 in handle_one_connection (arg=0x6999b31d00) at /home/travis/src/sql/sql_connect.cc:1324
      #29 0x00007ffade8b1184 in start_thread (arg=0x7ffac8539700) at pthread_create.c:312
      #30 0x00007ffadddbdffd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
      

      perl /home/travis/rqg/runall-new.pl --grammar=conf/engines/many_indexes.yy --gendata=conf/engines/many_indexes.zz --duration=600 --threads=6 --queries=100M --redefine=/home/travis/build/elenst/mariadb-tests/data/instant_alter.yy --mysqld=--max-statement-time=30 --reporters=Backtrace,ErrorLog,Deadlock,Restart --engine=InnoDB --seed=1510671787 --basedir=/home/travis/server --vardir=/home/travis/logs/vardir1_2
      

      Attachments

        Issue Links

          Activity

            People

              elenst Elena Stepanova
              elenst Elena Stepanova
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Git Integration

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