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

[Draft] Server crashed in delete_tree_element

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 10.4
    • Fix Version/s: None
    • Component/s: Storage Engine - Aria
    • Labels:
      None

      Description

      https://travis-ci.org/elenst/travis-tests/jobs/480867205

      10.4 dd03cb3776

      #3  <signal handler called>
      #4  0x00005621bc86f67f in delete_tree_element (tree=0x7fb6ac1bcd68, element=0xb6ac119e7800015c, abort=0 '\000') at /home/travis/src/mysys/tree.c:212
      #5  0x00005621bc86f691 in delete_tree_element (tree=0x7fb6ac1bcd68, element=0x7fb6ac154268, abort=0 '\000') at /home/travis/src/mysys/tree.c:212
      #6  0x00005621bc86f54a in free_tree (tree=0x7fb6ac1bcd68, abort=0 '\000', free_flags=2) at /home/travis/src/mysys/tree.c:162
      #7  0x00005621bc86f647 in reset_tree (tree=0x7fb6ac1bcd68) at /home/travis/src/mysys/tree.c:202
      #8  0x00005621bc7a438f in mi_flush_bulk_insert (info=0x7fb6ac115ad0, inx=1) at /home/travis/src/storage/myisam/mi_write.c:1032
      #9  0x00005621bc7a0e73 in mi_write (info=0x7fb6ac115ad0, record=0x7fb6ac21a718 <incomplete sequence \375>) at /home/travis/src/storage/myisam/mi_write.c:188
      #10 0x00005621bc75c533 in ha_myisam::write_row (this=0x7fb6ac12e3b8, buf=0x7fb6ac21a718 <incomplete sequence \375>) at /home/travis/src/storage/myisam/ha_myisam.cc:947
      #11 0x00005621bc0b3b1a in handler::ha_write_row (this=0x7fb6ac12e3b8, buf=0x7fb6ac21a718 <incomplete sequence \375>) at /home/travis/src/sql/handler.cc:6273
      #12 0x00005621bbd51a15 in write_record (thd=0x7fb6ac000cd0, table=0x7fb6ac12d780, info=0x7fb6ac0148a0) at /home/travis/src/sql/sql_insert.cc:2022
      #13 0x00005621bbd56d5a in select_insert::send_data (this=0x7fb6ac014858, values=...) at /home/travis/src/sql/sql_insert.cc:3874
      #14 0x00005621bbe0ad4c in end_send (join=0x7fb6ac014908, join_tab=0x7fb6ac015da0, end_of_records=false) at /home/travis/src/sql/sql_select.cc:20574
      #15 0x00005621bbe0855a in evaluate_join_record (join=0x7fb6ac014908, join_tab=0x7fb6ac0159f0, error=0) at /home/travis/src/sql/sql_select.cc:19610
      #16 0x00005621bbe07ff5 in sub_select (join=0x7fb6ac014908, join_tab=0x7fb6ac0159f0, end_of_records=false) at /home/travis/src/sql/sql_select.cc:19429
      #17 0x00005621bbe0735c in do_select (join=0x7fb6ac014908, procedure=0x0) at /home/travis/src/sql/sql_select.cc:18930
      #18 0x00005621bbde01fb in JOIN::exec_inner (this=0x7fb6ac014908) at /home/travis/src/sql/sql_select.cc:4094
      #19 0x00005621bbddf63e in JOIN::exec (this=0x7fb6ac014908) at /home/travis/src/sql/sql_select.cc:3888
      #20 0x00005621bbde08f4 in mysql_select (thd=0x7fb6ac000cd0, tables=0x7fb6ac1b9108, wild_num=0, fields=..., conds=0x0, og_num=0, order=0x0, group=0x0, having=0x0, proc_param=0x0, select_options=3557034752, result=0x7fb6ac014858, unit=0x7fb6ac1b6af0, select_lex=0x7fb6ac1b8b58) at /home/travis/src/sql/sql_select.cc:4293
      #21 0x00005621bbdd2279 in handle_select (thd=0x7fb6ac000cd0, lex=0x7fb6ac1b6a28, result=0x7fb6ac014858, setup_tables_done_option=1073741824) at /home/travis/src/sql/sql_select.cc:385
      #22 0x00005621bbd9595a in mysql_execute_command (thd=0x7fb6ac000cd0) at /home/travis/src/sql/sql_parse.cc:4838
      #23 0x00005621bbdbe299 in Prepared_statement::execute (this=0x7fb6ac01deb0, expanded_query=0x7fb7500d8b10, open_cursor=false) at /home/travis/src/sql/sql_prepare.cc:4790
      #24 0x00005621bbdbc666 in Prepared_statement::execute_loop (this=0x7fb6ac01deb0, expanded_query=0x7fb7500d8b10, open_cursor=false, packet=0x0, packet_end=0x0) at /home/travis/src/sql/sql_prepare.cc:4218
      #25 0x00005621bbdbe82f in Prepared_statement::execute_immediate (this=0x7fb6ac01deb0, query=0x7fb6ac013fb0 " INSERT INTO testdb_S.t1_temp1_N SELECT * FROM test.table1_int_autoinc /* QNO 5346 CON_ID 17 */ ", query_len=96) at /home/travis/src/sql/sql_prepare.cc:4914
      #26 0x00005621bbdb9136 in mysql_sql_stmt_execute_immediate (thd=0x7fb6ac000cd0) at /home/travis/src/sql/sql_prepare.cc:2894
      #27 0x00005621bbd9267f in mysql_execute_command (thd=0x7fb6ac000cd0) at /home/travis/src/sql/sql_parse.cc:3783
      #28 0x00005621bbda020a in mysql_parse (thd=0x7fb6ac000cd0, rawbuf=0x7fb6ac013d78 "/* GenTest::Transform::ExecuteAsExecuteImmediate */ EXECUTE IMMEDIATE ' INSERT INTO testdb_S.t1_temp1_N SELECT * FROM test.table1_int_autoinc /* QNO 5346 CON_ID 17 */ ' /* TRANSFORM_OUTCOME_UNORDERED_"..., length=233, parser_state=0x7fb7500d9650, is_com_multi=false, is_next_command=false) at /home/travis/src/sql/sql_parse.cc:8116
      #29 0x00005621bbd8d055 in dispatch_command (command=COM_QUERY, thd=0x7fb6ac000cd0, packet=0x7fb6ac00b511 "/* GenTest::Transform::ExecuteAsExecuteImmediate */ EXECUTE IMMEDIATE ' INSERT INTO testdb_S.t1_temp1_N SELECT * FROM test.table1_int_autoinc /* QNO 5346 CON_ID 17 */ ' /* TRANSFORM_OUTCOME_UNORDERED_"..., packet_length=234, is_com_multi=false, is_next_command=false) at /home/travis/src/sql/sql_parse.cc:1852
      #30 0x00005621bbd8ba72 in do_command (thd=0x7fb6ac000cd0) at /home/travis/src/sql/sql_parse.cc:1397
      #31 0x00005621bbef7a72 in do_handle_one_connection (connect=0x5621cce0ae90) at /home/travis/src/sql/sql_connect.cc:1402
      #32 0x00005621bbef77c3 in handle_one_connection (arg=0x5621cce0ae90) at /home/travis/src/sql/sql_connect.cc:1308
      #33 0x00007fb7689926ba in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
      #34 0x00007fb767e2741d in clone () from /lib/x86_64-linux-gnu/libc.so.6
      

      elenst-dev 722f79bd3 Toolbox: 1ed229a96

      perl ./runall-new.pl --basedir=/home/travis/server --vardir=/home/travis/logs/vardir --duration=350 --threads=6 --seed=1547766634 --short-column-names --reporters=Backtrace,ErrorLog,Deadlock --validators=TransformerNoComparator --transformers=ExecuteAsExecuteImmediate,ExecuteAsInsertSelect,ExecuteAsUpdateDelete --redefine=conf/mariadb/alter_table.yy --redefine=conf/mariadb/instant_add.yy --redefine=conf/mariadb/modules/alter_table_columns.yy --redefine=conf/mariadb/modules/alter_table_indexes.yy --redefine=conf/mariadb/bulk_insert.yy --redefine=conf/mariadb/modules/admin.yy --redefine=conf/mariadb/modules/foreign_keys.yy -redefine=conf/mariadb/modules/locks.yy --redefine=conf/mariadb/modules/sql_mode.yy --redefine=conf/mariadb/redefine_temporary_tables.yy --redefine=conf/mariadb/versioning.yy --redefine=conf/mariadb/sequences.yy --mysqld=--log_output=FILE --mysqld=--max-statement-time=15 --mysqld=--lock-wait-timeout=10 --mysqld=--loose-innodb-lock-wait-timeout=5 --mysqld=--loose-debug_assert_on_not_freed_memory=0 --mysqld=--innodb-buffer-pool-size=2G --grammar=conf/runtime/WL5004_sql.yy --gendata=conf/runtime/WL5004_data.zz --filter=/home/travis/mariadb-toolbox/travis/10.4-combo-filter.ff --mysqld=--innodb-page-size=8K
      

      Not reproducible right away.
      Might be related to MDEV-9137.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated: