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

Assertion `table->get_ref_count() > 0 || !table->can_be_evicted' in lock0lock.cc:3243

    XMLWordPrintable

Details

    Description

      origin/10.6 ab0190101b0587e0e03b2d75a967050b9a85fd1b 2022-10-21T10:02:54+03:00
       
      mysqld: /data/Server/10.6C/storage/innobase/lock/lock0lock.cc:3243: ib_lock_t* lock_table_create(dict_table_t*, unsigned int, trx_t*, ib_lock_t*): Assertion `table->get_ref_count() > 0 || !table->can_be_evicted' failed.
       
      (rr) bt
      #0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
      #1  0x00007d8a7a8d8859 in __GI_abort () at abort.c:79
      #2  0x00007d8a7a8d8729 in __assert_fail_base (fmt=0x7d8a7aa6e588 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=0x55bec785dd60 "table->get_ref_count() > 0 || !table->can_be_evicted", 
          file=0x55bec7858cc0 "/data/Server/10.6C/storage/innobase/lock/lock0lock.cc", line=3243, function=<optimized out>) at assert.c:92
      #3  0x00007d8a7a8e9f36 in __GI___assert_fail (assertion=0x55bec785dd60 "table->get_ref_count() > 0 || !table->can_be_evicted", file=0x55bec7858cc0 "/data/Server/10.6C/storage/innobase/lock/lock0lock.cc", line=3243, 
          function=0x55bec785db40 "ib_lock_t* lock_table_create(dict_table_t*, unsigned int, trx_t*, ib_lock_t*)") at assert.c:101
      #4  0x000055bec656bafa in lock_table_create (table=0x61800016bd08, type_mode=0, trx=0x5a2d47a43940, c_lock=0x0) at /data/Server/10.6C/storage/innobase/lock/lock0lock.cc:3243
      #5  0x000055bec656d9c4 in lock_table_low (table=0x61800016bd08, mode=LOCK_IS, thr=0x624000274188, trx=0x5a2d47a43940) at /data/Server/10.6C/storage/innobase/lock/lock0lock.cc:3498
      #6  0x000055bec656dedd in lock_table (table=0x61800016bd08, fktable=0x616005929c30, mode=LOCK_IS, thr=0x624000274188) at /data/Server/10.6C/storage/innobase/lock/lock0lock.cc:3557
      #7  0x000055bec6727753 in row_ins_check_foreign_constraint (check_ref=0, foreign=0x616005929c08, table=0x618000090908, entry=0x61600590f528, thr=0x624000274188) at /data/Server/10.6C/storage/innobase/row/row0ins.cc:1558
      #8  0x000055bec680c44f in row_upd_check_references_constraints (node=0x6200001d1b68, pcur=0x61100009be00, table=0x618000090908, index=0x616001dac708, offsets=0x19ce5046b690, thr=0x624000274188, mtr=0x19ce5046bd40)
          at /data/Server/10.6C/storage/innobase/row/row0upd.cc:252
      #9  0x000055bec6818c2c in row_upd_clust_rec_by_insert (node=0x6200001d1b68, index=0x616001dac708, thr=0x624000274188, referenced=true, foreign=false, mtr=0x19ce5046bd40) at /data/Server/10.6C/storage/innobase/row/row0upd.cc:2275
      #10 0x000055bec681b5c8 in row_upd_clust_step (node=0x6200001d1b68, thr=0x624000274188) at /data/Server/10.6C/storage/innobase/row/row0upd.cc:2676
      #11 0x000055bec681bc33 in row_upd (node=0x6200001d1b68, thr=0x624000274188) at /data/Server/10.6C/storage/innobase/row/row0upd.cc:2752
      #12 0x000055bec681c735 in row_upd_step (thr=0x624000274188) at /data/Server/10.6C/storage/innobase/row/row0upd.cc:2894
      #13 0x000055bec6775179 in row_update_for_mysql (prebuilt=0x6200001d1108) at /data/Server/10.6C/storage/innobase/row/row0mysql.cc:1690
      #14 0x000055bec63ebee6 in ha_innobase::update_row (this=0x61d0007ad0b8, old_row=0x6190004227d0 "\377A\002", new_row=0x6190004227c8 "\377\235\004") at /data/Server/10.6C/storage/innobase/handler/ha_innodb.cc:8662
      #15 0x000055bec5b37eeb in handler::ha_update_row (this=0x61d0007ad0b8, old_data=0x6190004227d0 "\377A\002", new_data=0x6190004227c8 "\377\235\004") at /data/Server/10.6C/sql/handler.cc:7634
      #16 0x000055bec56200a5 in mysql_update (thd=0x62b00010a218, table_list=0x62b000111388, fields=..., values=..., conds=0x0, order_num=0, order=0x0, limit=18446744073709551614, ignore=false, found_return=0x19ce5046d170, 
          updated_return=0x19ce5046d190) at /data/Server/10.6C/sql/sql_update.cc:1087
      #17 0x000055bec534393f in mysql_execute_command (thd=0x62b00010a218, is_called_from_prepared_stmt=false) at /data/Server/10.6C/sql/sql_parse.cc:4408
      #18 0x000055bec535b7d1 in mysql_parse (thd=0x62b00010a218, rawbuf=0x62b000111238 "UPDATE parent SET a = 1181 /* E_R Thread2 QNO 239 CON_ID 16 */", length=62, parser_state=0x19ce5046d9b0)
          at /data/Server/10.6C/sql/sql_parse.cc:8016
      #19 0x000055bec53342b4 in dispatch_command (command=COM_QUERY, thd=0x62b00010a218, packet=0x629000bfe219 "UPDATE parent SET a = 1181 /* E_R Thread2 QNO 239 CON_ID 16 */ ", packet_length=63, blocking=true)
          at /data/Server/10.6C/sql/sql_parse.cc:1896
      #20 0x000055bec5331815 in do_command (thd=0x62b00010a218, blocking=true) at /data/Server/10.6C/sql/sql_parse.cc:1409
      #21 0x000055bec572be66 in do_handle_one_connection (connect=0x608000003238, put_in_cache=true) at /data/Server/10.6C/sql/sql_connect.cc:1416
      #22 0x000055bec572b7ee in handle_one_connection (arg=0x608000003238) at /data/Server/10.6C/sql/sql_connect.cc:1318
      #23 0x0000656a32d27609 in start_thread (arg=<optimized out>) at pthread_create.c:477
      #24 0x00007d8a7a9d5293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
      (rr)
       
      pluto:/data/results/1666380844/TBR-1204$ _RR_TRACE_DIR=./1/rr/ rr replay --mark-stdio
      

      Attachments

        1. TBR-1600.cfg
          45 kB
        2. TBR-1600.yy
          0.7 kB
        3. TBR-1600.zz
          1 kB

        Issue Links

          Activity

            People

              marko Marko Mäkelä
              mleich Matthias Leich
              Votes:
              1 Vote for this issue
              Watchers:
              4 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.