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

SIGSEGV on inserting into a key-less table

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 10.1.2
    • Fix Version/s: 10.1.3
    • Component/s: Galera
    • Labels:
      None

      Description

      (gdb)
      #0 0x0000555556211dbf in md5_init (context=0x7ffff7ece750)
      at /home/nirbhay/project/git-repo/maria/server/mysys_ssl/my_md5.cc:37
      #1 0x00005555562120aa in my_md5_init (context=0x7ffff7ece750)
      at /home/nirbhay/project/git-repo/maria/server/mysys_ssl/my_md5.cc:137
      #2 0x0000555555f4e276 in wsrep_calc_row_hash (digest=0x7ffff7ecfad0 "", row=0x7fffc73bb688 "\375\001",
      table=0x7ffff5dadc70, prebuilt=0x7ffff5daea78, thd=0x7fffcdeda070)
      at /home/nirbhay/project/git-repo/maria/server/storage/xtradb/handler/ha_innodb.cc:8673
      #3 0x0000555555f52ca3 in ha_innobase::wsrep_append_keys (this=0x7ffff5d5b888, thd=0x7fffcdeda070, shared=false,
      record0=0x7fffc73bb688 "\375\001", record1=0x0)
      at /home/nirbhay/project/git-repo/maria/server/storage/xtradb/handler/ha_innodb.cc:10556
      #4 0x0000555555f4d857 in ha_innobase::write_row (this=0x7ffff5d5b888, record=0x7fffc73bb688 "\375\001")
      at /home/nirbhay/project/git-repo/maria/server/storage/xtradb/handler/ha_innodb.cc:8354
      #5 0x0000555555c1e0f9 in handler::ha_write_row (this=0x7ffff5d5b888, buf=0x7fffc73bb688 "\375\001")
      at /home/nirbhay/project/git-repo/maria/server/sql/handler.cc:5871
      #6 0x00005555559ccb99 in write_record (thd=0x7fffcdeda070, table=0x7ffff5dadc70, info=0x7ffff7ed1030)
      at /home/nirbhay/project/git-repo/maria/server/sql/sql_insert.cc:1852
      #7 0x00005555559ca6d3 in mysql_insert (thd=0x7fffcdeda070, table_list=0x7fffcdf1d168, fields=..., values_list=...,
      update_fields=..., update_values=..., duplic=DUP_ERROR, ignore=false)
      at /home/nirbhay/project/git-repo/maria/server/sql/sql_insert.cc:962
      #8 0x00005555559ed263 in mysql_execute_command (thd=0x7fffcdeda070)
      at /home/nirbhay/project/git-repo/maria/server/sql/sql_parse.cc:3810
      #9 0x00005555559f7331 in mysql_parse (thd=0x7fffcdeda070, rawbuf=0x7fffcdf1d088 "insert into t1 values(1)",
      length=24, parser_state=0x7ffff7ed2220) at /home/nirbhay/project/git-repo/maria/server/sql/sql_parse.cc:7024
      #10 0x00005555559f6aa2 in wsrep_mysql_parse (thd=0x7fffcdeda070, rawbuf=0x7fffcdf1d088 "insert into t1 values(1)",
      length=24, parser_state=0x7ffff7ed2220) at /home/nirbhay/project/git-repo/maria/server/sql/sql_parse.cc:6847
      #11 0x00005555559e6e33 in dispatch_command (command=COM_QUERY, thd=0x7fffcdeda070,
      packet=0x7fffc7358071 "insert into t1 values(1)", packet_length=24)
      at /home/nirbhay/project/git-repo/maria/server/sql/sql_parse.cc:1456
      #12 0x00005555559e5ca5 in do_command (thd=0x7fffcdeda070)
      at /home/nirbhay/project/git-repo/maria/server/sql/sql_parse.cc:1089
      #13 0x0000555555b1486b in do_handle_one_connection (thd_arg=0x7fffcdeda070)
      at /home/nirbhay/project/git-repo/maria/server/sql/sql_connect.cc:1347
      #14 0x0000555555b145c3 in handle_one_connection (arg=0x7fffcdeda070)
      at /home/nirbhay/project/git-repo/maria/server/sql/sql_connect.cc:1258
      #15 0x00007ffff7138182 in start_thread (arg=0x7ffff7ed3700) at pthread_create.c:312
      #16 0x00007ffff685aefd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

        Attachments

          Activity

            People

            Assignee:
            nirbhay_c Nirbhay Choubey (Inactive)
            Reporter:
            nirbhay_c Nirbhay Choubey (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Git Integration