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

[Draft] Server crashes in Field::make_field

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 10.2
    • Fix Version/s: None
    • Component/s: Server
    • Labels:
      None

      Description

      10.2 8f98835bb86550

      #3  <signal handler called>
      #4  0x000056437fec3485 in Field::make_field (this=0x7fb1f80bc9f0, field=0x7fb2645315f0) at /home/elenst/10.2/sql/field.cc:1954
      #5  0x000056437ff16c6e in Item_field::make_field (this=0x7fb1dc02da10, thd=0x7fb1dc000b00, tmp_field=0x7fb2645315f0) at /home/elenst/10.2/sql/item.cc:6296
      #6  0x000056437ff1c00d in Item_ref::make_field (this=0x7fb1dc039f90, thd=0x7fb1dc000b00, field=0x7fb2645315f0) at /home/elenst/10.2/sql/item.cc:8086
      #7  0x000056437fbba61f in Protocol::send_result_set_metadata (this=0x7fb1dc0010c0, list=0x7fb1dc004f08, flags=5) at /home/elenst/10.2/sql/protocol.cc:822
      #8  0x000056437fc3c56c in select_send::send_result_set_metadata (this=0x7fb1dc011f90, list=..., flags=5) at /home/elenst/10.2/sql/sql_class.cc:2745
      #9  0x00005643800893a2 in mysql_delete (thd=0x7fb1dc000b00, table_list=0x7fb1dc011490, conds=0x7fb1dc011c90, order_list=0x7fb1dc005040, limit=1, options=549755813888, result=0x7fb1dc011f90) at /home/elenst/10.2/sql/sql_delete.cc:550
      #10 0x000056437fc8605d in mysql_execute_command (thd=0x7fb1dc000b00) at /home/elenst/10.2/sql/sql_parse.cc:4613
      #11 0x000056437fc906fc in mysql_parse (thd=0x7fb1dc000b00, rawbuf=0x7fb1dc0111c8 "/* GenTest::Transform::ExecuteAsDeleteReturning */  DELETE FROM `view_table1_innodb_int_autoinc` WHERE `col_char_latin1_key` < 3 LIMIT 1  /* QNO 172 CON_ID 17 */  RETURNING * /* QNO 173 CON_ID 17 */", length=198, parser_state=0x7fb264533250, is_com_multi=false, is_next_command=false) at /home/elenst/10.2/sql/sql_parse.cc:7902
      #12 0x000056437fc7e386 in dispatch_command (command=COM_QUERY, thd=0x7fb1dc000b00, packet=0x7fb1dc008951 "", packet_length=199, is_com_multi=false, is_next_command=false) at /home/elenst/10.2/sql/sql_parse.cc:1806
      #13 0x000056437fc7cd22 in do_command (thd=0x7fb1dc000b00) at /home/elenst/10.2/sql/sql_parse.cc:1359
      #14 0x000056437fdca17d in do_handle_one_connection (connect=0x5643837bab50) at /home/elenst/10.2/sql/sql_connect.cc:1335
      #15 0x000056437fdc9efd in handle_one_connection (arg=0x5643837bab50) at /home/elenst/10.2/sql/sql_connect.cc:1241
      #16 0x00007fb267a626da in start_thread (arg=0x7fb264534700) at pthread_create.c:456
      #17 0x00007fb266ef4d7f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105
      

      perl ./runall-new.pl --duration=350 --threads=6 --seed=1520297961 --reporters=Backtrace,ErrorLog,Deadlock --validators=TransformerNoComparator --transformers=ExecuteAsCTE,ExecuteAsDeleteReturning,ExecuteAsExcept,ExecuteAsExecuteImmediate,ExecuteAsInsertSelect,ExecuteAsIntersect,ExecuteAsUnion,ExecuteAsUpdateDelete,ExecuteAsView,ExecuteAsPreparedTwice,ExecuteAsSPTwice --redefine=conf/mariadb/general-workarounds.yy --mysqld=--log_output=FILE --views --vcols --redefine=conf/mariadb/alter_table.yy --redefine=conf/mariadb/bulk_insert.yy --redefine=conf/mariadb/xa.yy --basedir=/home/elenst/10.2/debug --mysqld=--log_bin_trust_function_creators=1 --mysqld=--log-bin --mysqld=--max-statement-time=30 --mysqld=--loose-debug_assert_on_not_freed_memory=0 --grammar=conf/replication/replication.yy --gendata=conf/replication/replication-5.1.zz --engine=InnoDB --vardir=/dev/shm/vardir
      

      Not reproducible right away.

        Attachments

        1. mysql.log
          1.13 MB
        2. threads
          61 kB

          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: