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

New binlog: InnoDB: Failing assertion: !err in chunk_data_cache::chunk_data_cache

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Critical
    • Resolution: Duplicate
    • N/A
    • N/A
    • Replication
    • None
    • Not for Release Notes

    Description

      knielsen_binlog_in_engine_12.3 bc5453998437e9b04fe4d8f0c53e90ff2fa015dd

      2026-01-13 04:39:22 0x7f9bfc13a6c0  InnoDB: Assertion failure in file /server/storage/innobase/handler/innodb_binlog.cc line 376
      InnoDB: Failing assertion: !err
       
      #6  0x0000558c2834a3bb in ut_dbg_assertion_failed (expr=expr@entry=0x558c28d22beb "!err", file=file@entry=0x558c28dade30 "/server/storage/innobase/handler/innodb_binlog.cc", line=line@entry=376) at /server/storage/innobase/ut/ut0dbg.cc:60
      #7  0x0000558c28a5bdfd in chunk_data_cache::chunk_data_cache (this=0x7f9bfc137d20, cache_arg=<optimized out>, binlog_info=0x7f9b80072a00) at /server/storage/innobase/handler/innodb_binlog.cc:376
      #8  0x0000558c28a5b109 in innodb_binlog_write_cache (cache=cache@entry=0x7f9b80072900, binlog_info=binlog_info@entry=0x7f9b80072a00, mtr=mtr@entry=0x7f9bfc137e00) at /server/storage/innobase/handler/innodb_binlog.cc:2833
      #9  0x0000558c28a5b4ae in innobase_binlog_write_direct_ordered (cache=0x7f9b80072900, binlog_info=0x7f9b80072a00, gtid=0x7f9b80007290) at /server/storage/innobase/handler/innodb_binlog.cc:4447
      #10 0x0000558c2887bce1 in MYSQL_BIN_LOG::trx_group_commit_with_engines (this=<optimized out>, leader=<optimized out>, tail=0x7f9bfc1384d0, commit_by_rotate=<optimized out>) at /server/sql/log.cc:11028
      #11 0x0000558c2887c493 in MYSQL_BIN_LOG::write_transaction_with_group_commit (this=this@entry=0x558c296bdc40 <mysql_bin_log>, entry=entry@entry=0x7f9bfc1384d0) at /server/sql/log.cc:10484
      #12 0x0000558c28882dab in MYSQL_BIN_LOG::write_transaction_to_binlog_events (this=this@entry=0x558c296bdc40 <mysql_bin_log>, entry=entry@entry=0x7f9bfc1384d0) at /server/sql/log.cc:10434
      #13 0x0000558c2887d06a in MYSQL_BIN_LOG::write_transaction_to_binlog (this=0x558c296bdc40 <mysql_bin_log>, thd=thd@entry=0x7f9b80000c68, cache_mngr=cache_mngr@entry=0x7f9b80072778, end_ev=end_ev@entry=0x7f9bfc138650, all=all@entry=true, using_stmt_cache=using_stmt_cache@entry=false, using_trx_cache=true, is_ro_1pc=false) at /server/sql/log.cc:10061
      #14 0x0000558c2887d1d6 in binlog_flush_cache (thd=thd@entry=0x7f9b80000c68, cache_mngr=cache_mngr@entry=0x7f9b80072778, end_ev=end_ev@entry=0x7f9bfc138650, all=all@entry=true, using_stmt=using_stmt@entry=false, using_trx=using_trx@entry=true, is_ro_1pc=false) at /server/sql/log.cc:2160
      #15 0x0000558c2887e3cb in binlog_commit_flush_trx_cache (thd=thd@entry=0x7f9b80000c68, all=all@entry=true, cache_mngr=cache_mngr@entry=0x7f9b80072778, ro_1pc=ro_1pc@entry=false) at /server/sql/log.cc:2331
      #16 0x0000558c2887e764 in binlog_commit (thd=thd@entry=0x7f9b80000c68, all=all@entry=true, ro_1pc=ro_1pc@entry=false) at /server/sql/log.cc:2836
      #17 0x0000558c2887edc0 in binlog_commit_by_xid (xid=xid@entry=0x558c5d48e2d8) at /server/sql/log.cc:2622
      #18 0x0000558c28742da1 in ha_commit_or_rollback_by_xid (xid=xid@entry=0x558c5d48e2d8, commit=<optimized out>) at /server/sql/handler.cc:2519
      #19 0x0000558c286c0867 in trans_xa_commit (thd=thd@entry=0x7f9b80000c68) at /server/sql/xa.cc:686
      #20 0x0000558c284bc7e1 in mysql_execute_command (thd=thd@entry=0x7f9b80000c68, is_called_from_prepared_stmt=is_called_from_prepared_stmt@entry=false) at /server/sql/sql_parse.cc:5733
      #21 0x0000558c284bf523 in mysql_parse (thd=0x7f9b80000c68, rawbuf=<optimized out>, length=<optimized out>, parser_state=<optimized out>) at /server/sql/sql_parse.cc:7894
      #22 0x0000558c284c1343 in dispatch_command (command=command@entry=COM_QUERY, thd=thd@entry=0x7f9b80000c68, packet=packet@entry=0x7f9b80008ad9 "/* WRK-1 QNO 122989 */  XA COMMIT 'xid8' ", packet_length=packet_length@entry=41, blocking=blocking@entry=true) at /server/sql/sql_parse.cc:1977
      #23 0x0000558c284c34f4 in do_command (thd=thd@entry=0x7f9b80000c68, blocking=blocking@entry=true) at /server/sql/sql_parse.cc:1417
      #24 0x0000558c285e93bd in do_handle_one_connection (connect=<optimized out>, connect@entry=0x558c5dae4fb8, put_in_cache=put_in_cache@entry=true) at /server/sql/sql_connect.cc:1503
      #25 0x0000558c285e9765 in handle_one_connection (arg=arg@entry=0x558c5dae4fb8) at /server/sql/sql_connect.cc:1415
      #26 0x0000558c28985ae0 in pfs_spawn_thread (arg=0x558c5d8ea6d8) at /server/storage/perfschema/pfs.cc:2198
      

      Attachments

        1. trial32.log
          226 kB
        2. threads_s1_core.80826_687587328.txt
          67 kB
        3. mysql.log.gz
          2.75 MB
        4. mysql.err
          121 kB

        Issue Links

          Activity

            People

              elenst Elena Stepanova
              elenst Elena Stepanova
              Votes:
              0 Vote for this issue
              Watchers:
              3 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.