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

row0log.cc:3057: dberr_t row_log_table_apply_ops(que_thr_t*, row_merge_dup_t*, ut_stage_alter_t*): Assertion `0' failed.

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Cannot Reproduce
    • 10.4.2, 10.3.14
    • N/A
    • None
    • Linux Ubuntu 17

    Description

      Problem found during RQG testing on
      10.4 b7a784ae259c0fd8ed1adc88b84dcdaa2441987c 2019-01-23
      The problem was not reproducible on
      10.3 d4144c8e010b61a440d422d0f1ca5b066532d173 2019-01-21
       
      Version: '10.4.2-MariaDB-debug-log'  socket: 'bld_debug/mysql-test/var/tmp/mysqld.1.sock'  port: 16000  Source distribution
      mysqld: storage/innobase/row/row0log.cc:3057: dberr_t row_log_table_apply_ops(que_thr_t*, row_merge_dup_t*, ut_stage_alter_t*): Assertion `0' failed.
      190123 18:48:13 [ERROR] mysqld got signal 6 ;
      ...
      Query (0x7fe3b0013340): ALTER TABLE t4 MODIFY COLUMN col2 INT NOT NULL /* E_R Thread2 QNO 22 CON_ID 16 */
      Connection ID (thread ID): 11
      Status: NOT_KILLED
      ...
      #3  <signal handler called>
      #4  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
      #5  0x00007fe415a3ef5d in __GI_abort () at abort.c:90
      #6  0x00007fe415a34f17 in __assert_fail_base (fmt=<optimized out>, assertion=assertion@entry=0x55beb1bd1e71 "0", file=file@entry=0x55beb1bd36a8 "storage/innobase/row/row0log.cc", line=line@entry=3057, function=function@entry=0x55beb1bd7800 <row_log_table_apply_ops(que_thr_t*, row_merge_dup_t*, ut_stage_alter_t*)::__PRETTY_FUNCTION__> "dberr_t row_log_table_apply_ops(que_thr_t*, row_merge_dup_t*, ut_stage_alter_t*)") at assert.c:92
      #7  0x00007fe415a34fc2 in __GI___assert_fail (assertion=0x55beb1bd1e71 "0", file=0x55beb1bd36a8 "storage/innobase/row/row0log.cc", line=3057, function=0x55beb1bd7800 <row_log_table_apply_ops(que_thr_t*, row_merge_dup_t*, ut_stage_alter_t*)::__PRETTY_FUNCTION__> "dberr_t row_log_table_apply_ops(que_thr_t*, row_merge_dup_t*, ut_stage_alter_t*)") at assert.c:101
      #8  0x000055beb14362b7 in row_log_table_apply_ops (thr=0x7fe3b0055818, dup=0x7fe40ac810a0, stage=0x7fe3b0055d20) at storage/innobase/row/row0log.cc:3057
      #9  0x000055beb143666c in row_log_table_apply (thr=0x7fe3b0055818, old_table=0x7fe3b0026588, table=0x7fe3b005ad98, stage=0x7fe3b0055d20, new_table=0x7fe3b0020948) at storage/innobase/row/row0log.cc:3131
      #10 0x000055beb130a9c1 in commit_try_rebuild (ha_alter_info=0x7fe40ac825c0, ctx=0x7fe3b0015798, altered_table=0x7fe3b005ad98, old_table=0x7fe3b0042df8, trx=0x7fe410044390, table_name=0x7fe3b0041d25 "t4") at storage/innobase/handler/handler0alter.cc:9761
      #11 0x000055beb12fd99a in ha_innobase::commit_inplace_alter_table (this=0x7fe3b0055e30, altered_table=0x7fe3b005ad98, ha_alter_info=0x7fe40ac825c0, commit=true) at storage/innobase/handler/handler0alter.cc:10786
      #12 0x000055beb10976f3 in handler::ha_commit_inplace_alter_table (this=0x7fe3b0055e30, altered_table=0x7fe3b005ad98, ha_alter_info=0x7fe40ac825c0, commit=true) at sql/handler.cc:4666
      #13 0x000055beb0e39604 in mysql_inplace_alter_table (thd=0x7fe3b0000ce8, table_list=0x7fe3b0013490, table=0x7fe3b0042df8, altered_table=0x7fe3b005ad98, ha_alter_info=0x7fe40ac825c0, inplace_supported=HA_ALTER_INPLACE_COPY_NO_LOCK, target_mdl_request=0x7fe40ac826f0, alter_ctx=0x7fe40ac832e0) at sql/sql_table.cc:7578
      #14 0x000055beb0e3f442 in mysql_alter_table (thd=0x7fe3b0000ce8, new_db=0x7fe3b00053a8, new_name=0x7fe3b0005778, create_info=0x7fe40ac83ed0, table_list=0x7fe3b0013490, alter_info=0x7fe40ac83e10, order_num=0, order=0x0, ignore=false) at sql/sql_table.cc:9676
      #15 0x000055beb0eca299 in Sql_cmd_alter_table::execute (this=0x7fe3b0013be8, thd=0x7fe3b0000ce8) at sql/sql_alter.cc:493
      #16 0x000055beb0d67385 in mysql_execute_command (thd=0x7fe3b0000ce8) at sql/sql_parse.cc:6345
      #17 0x000055beb0d6c76a in mysql_parse (thd=0x7fe3b0000ce8, rawbuf=0x7fe3b0013340 "ALTER TABLE t4 MODIFY COLUMN col2 INT NOT NULL /* E_R Thread2 QNO 22 CON_ID 16 */", length=81, parser_state=0x7fe40ac851f0, is_com_multi=false, is_next_command=false) at sql/sql_parse.cc:8156
      #18 0x000055beb0d57cc2 in dispatch_command (command=COM_QUERY, thd=0x7fe3b0000ce8, packet=0x7fe3b000b019 "ALTER TABLE t4 MODIFY COLUMN col2 INT NOT NULL /* E_R Thread2 QNO 22 CON_ID 16 */ ", packet_length=82, is_com_multi=false, is_next_command=false) at sql/sql_parse.cc:1841
      #19 0x000055beb0d5660e in do_command (thd=0x7fe3b0000ce8) at sql/sql_parse.cc:1394
      #20 0x000055beb0ec41d7 in do_handle_one_connection (connect=0x55beb4815788) at sql/sql_connect.cc:1398
      #21 0x000055beb0ec3f45 in handle_one_connection (arg=0x55beb4815788) at sql/sql_connect.cc:1301
      #22 0x000055beb17e9676 in pfs_spawn_thread (arg=0x55beb4872798) at storage/perfschema/pfs.cc:1862
      #23 0x00007fe4168e47fc in start_thread (arg=0x7fe40ac86700) at pthread_create.c:465
      
      

      Attachments

        1. prt2
          58 kB
        2. ts_15.tgz
          2 kB

        Issue Links

          Activity

            People

              mleich Matthias Leich
              mleich Matthias Leich
              Votes:
              1 Vote for this issue
              Watchers:
              6 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.