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

Assertion failure during lock_cancel_waiting_and_release

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 10.0.7-galera
    • Fix Version/s: 10.0.7-galera
    • Component/s: None
    • Labels:

      Description

      On mariadb_patches RQG fork and run :

      ./runall-new.pl --basedir=./maria/testing/10.0-galera/install
      --gendata=conf/engines/engine_stress.zz
      --grammar=conf/engines/engine_stress.yy

      Backtrace :
      #2 0x08a37937 in my_write_core (sig=6)
      at /home/nirbhay/project/repo/maria/testing/10.0-galera/mysys/stacktrace.c:457
      #3 0x084654af in handle_fatal_signal (sig=6)
      at /home/nirbhay/project/repo/maria/testing/10.0-galera/sql/signal_handler.cc:262
      #4 <signal handler called>
      #5 0xb76e2424 in __kernel_vsyscall ()
      #6 0xb71aa1df in __GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
      #7 0xb71ad825 in __GI_abort () at abort.c:91
      #8 0x086a53da in lock_cancel_waiting_and_release (lock=0x9ceefda0)
      at /home/nirbhay/project/repo/maria/testing/10.0-galera/storage/innobase/lock/lock0lock.cc:7035
      #9 0x0869ee6c in lock_table_create (c_lock=0x9ceefda0, table=0xb3b8ab40, type_mode=260, trx=0x8e258440)
      at /home/nirbhay/project/repo/maria/testing/10.0-galera/storage/innobase/lock/lock0lock.cc:4371
      #10 0x0869f710 in lock_table_enqueue_waiting (c_lock=0x9ceefda0, mode=4, table=0xb3b8ab40, thr=0x8e3bf040)
      at /home/nirbhay/project/repo/maria/testing/10.0-galera/storage/innobase/lock/lock0lock.cc:4583
      #11 0x0869fb74 in lock_table (flags=0, table=0xb3b8ab40, mode=LOCK_AUTO_INC, thr=0x8e3bf040)
      at /home/nirbhay/project/repo/maria/testing/10.0-galera/storage/innobase/lock/lock0lock.cc:4736
      #12 0x087353c2 in row_lock_table_autoinc_for_mysql (prebuilt=0x8dccd240)
      at /home/nirbhay/project/repo/maria/testing/10.0-galera/storage/innobase/row/row0mysql.cc:1117
      #13 0x0864b36a in ha_innobase::innobase_lock_autoinc (this=0x8e051048)
      at /home/nirbhay/project/repo/maria/testing/10.0-galera/storage/innobase/handler/ha_innodb.cc:7125
      #14 0x0865a4ff in ha_innobase::innobase_get_autoinc (this=0x8e051048, value=0xb5e45f68)
      at /home/nirbhay/project/repo/maria/testing/10.0-galera/storage/innobase/handler/ha_innodb.cc:14282
      #15 0x0865a6f1 in ha_innobase::get_auto_increment (this=0x8e051048, offset=1, increment=1, nb_desired_values=2,
      first_value=0xb5e46028, nb_reserved_values=0xb5e46030)
      at /home/nirbhay/project/repo/maria/testing/10.0-galera/storage/innobase/handler/ha_innodb.cc:14353
      #16 0x0846c4e6 in handler::update_auto_increment (this=0x8e051048)
      at /home/nirbhay/project/repo/maria/testing/10.0-galera/sql/handler.cc:3001
      #17 0x0864bbc5 in ha_innobase::write_row (this=0x8e051048, record=0x8dae2f48 <incomplete sequence \363>)
      at /home/nirbhay/project/repo/maria/testing/10.0-galera/storage/innobase/handler/ha_innodb.cc:7351
      #18 0x08472cb9 in handler::ha_write_row (this=0x8e051048, buf=0x8dae2f48 <incomplete sequence \363>)
      at /home/nirbhay/project/repo/maria/testing/10.0-galera/sql/handler.cc:5913
      #19 0x08248f24 in write_record (thd=0x8dd20038, table=0x8de5b838, info=0xb5e466c8)
      at /home/nirbhay/project/repo/maria/testing/10.0-galera/sql/sql_insert.cc:1617
      #20 0x08246d63 in mysql_insert (thd=0x8dd20038, table_list=0x8e0e9210, fields=..., values_list=...,
      update_fields=..., update_values=..., duplic=DUP_REPLACE, ignore=false)
      --Type <return> to continue, or q <return> to quit--
      at /home/nirbhay/project/repo/maria/testing/10.0-galera/sql/sql_insert.cc:1001
      #21 0x08267ca6 in mysql_execute_command (thd=0x8dd20038)
      at /home/nirbhay/project/repo/maria/testing/10.0-galera/sql/sql_parse.cc:3748
      #22 0x082721ae in mysql_parse (thd=0x8dd20038,
      rawbuf=0x8e0e9048 "REPLACE LOW_PRIORITY INTO `table1_int_autoinc` ( `col_int_key` , `col_char_12` ) VALUES ( 'j' , 89 ) , ( 'k' , 3338797056 )", length=123, parser_state=0xb5e4775c)
      at /home/nirbhay/project/repo/maria/testing/10.0-galera/sql/sql_parse.cc:6949
      #23 0x08271977 in wsrep_mysql_parse (thd=0x8dd20038,
      rawbuf=0x8e0e9048 "REPLACE LOW_PRIORITY INTO `table1_int_autoinc` ( `col_int_key` , `col_char_12` ) VALUES ( 'j' , 89 ) , ( 'k' , 3338797056 )", length=123, parser_state=0xb5e4775c)
      at /home/nirbhay/project/repo/maria/testing/10.0-galera/sql/sql_parse.cc:6771
      #24 0x0826223b in dispatch_command (command=COM_QUERY, thd=0x8dd20038,
      packet=0x8dc86039 "REPLACE LOW_PRIORITY INTO `table1_int_autoinc` ( `col_int_key` , `col_char_12` ) VALUES ( 'j' , 89 ) , ( 'k' , 3338797056 )", packet_length=123)
      at /home/nirbhay/project/repo/maria/testing/10.0-galera/sql/sql_parse.cc:1473
      #25 0x08260fd9 in do_command (thd=0x8dd20038)
      at /home/nirbhay/project/repo/maria/testing/10.0-galera/sql/sql_parse.cc:1078
      #26 0x0837c411 in do_handle_one_connection (thd_arg=0x8dd20038)
      at /home/nirbhay/project/repo/maria/testing/10.0-galera/sql/sql_connect.cc:1404
      #27 0x0837c15c in handle_one_connection (arg=0x8dd20038)
      at /home/nirbhay/project/repo/maria/testing/10.0-galera/sql/sql_connect.cc:1311
      #28 0x086321a1 in pfs_spawn_thread (arg=0x9cc88198)

        Attachments

          Activity

            People

            Assignee:
            jplindst Jan Lindström
            Reporter:
            nirbhay_c Nirbhay Choubey (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Git Integration