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

Bogus corruption report of page_compressed table, and a crash

    XMLWordPrintable

Details

    • Can result in hang or crash

    Description

      Assertion found on release build of 10.11

      origin/10.11 080d92a6217a757300b629360cacf625f3c7ea60

      # 2025-12-04T07:14:08 [2986982] | 2025-12-04 07:13:53 0x501a72d936c0  InnoDB: Assertion failure in file /data/Server/10.11G/storage/innobase/row/row0log.cc line 3848
      # 2025-12-04T07:14:08 [2986982] | InnoDB: Failing assertion: found
      

      StackTrace

      # 2025-12-04T07:16:58 [2986982] | Thread 3 (Thread 2991141.3005086 (mariadbd)):
      # 2025-12-04T07:16:58 [2986982] | #0  __pthread_kill_implementation (no_tid=0, signo=6, threadid=<optimized out>) at ./nptl/pthread_kill.c:44
      # 2025-12-04T07:16:58 [2986982] | #1  __pthread_kill_internal (signo=6, threadid=<optimized out>) at ./nptl/pthread_kill.c:78
      # 2025-12-04T07:16:58 [2986982] | #2  __GI___pthread_kill (threadid=<optimized out>, signo=signo@entry=6) at ./nptl/pthread_kill.c:89
      # 2025-12-04T07:16:58 [2986982] | #3  0x00006d0f35f1126e in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
      # 2025-12-04T07:16:58 [2986982] | #4  0x00006d0f35ef48ff in __GI_abort () at ./stdlib/abort.c:79
      # 2025-12-04T07:16:58 [2986982] | #5  0x00005f39b84495e2 in ut_dbg_assertion_failed (expr=expr@entry=0x5f39b8df68dc "found", file=file@entry=0x5f39b8e4fe00 "/data/Server/10.11G/storage/innobase/row/row0log.cc", line=line@entry=3848) at /data/Server/10.11G/storage/innobase/ut/ut0dbg.cc:60
      # 2025-12-04T07:16:58 [2986982] | #6  0x00005f39b843ea7e in UndorecApplier::get_old_rec (this=this@entry=0x501a72d90be8, tuple=..., index=index@entry=0x501a74057548, clust_rec=clust_rec@entry=0x501a72d908c0, offsets=offsets@entry=0x501a72d908b8) at /data/Server/10.11G/storage/innobase/row/row0log.cc:3848
      # 2025-12-04T07:16:58 [2986982] | #7  0x00005f39b8ac5343 in UndorecApplier::log_insert (this=this@entry=0x501a72d90be8, tuple=..., clust_index=clust_index@entry=0x501a74057548) at /data/Server/10.11G/storage/innobase/row/row0log.cc:3928
      # 2025-12-04T07:16:58 [2986982] | #8  0x00005f39b8afe645 in UndorecApplier::apply_undo_rec (this=this@entry=0x501a72d90be8, rec=<optimized out>, offset=offset@entry=272) at /data/Server/10.11G/storage/innobase/trx/trx0undo.cc:325
      # 2025-12-04T07:16:58 [2986982] | #9  0x00005f39b8449244 in trx_t::apply_log (this=this@entry=0x2484150eeb80) at /data/Server/10.11G/storage/innobase/trx/trx0undo.cc:371
      # 2025-12-04T07:16:58 [2986982] | #10 0x00005f39b8448e03 in trx_t::commit_low (this=this@entry=0x2484150eeb80, mtr=0x501a72d91010) at /data/Server/10.11G/storage/innobase/trx/trx0trx.cc:1565
      # 2025-12-04T07:16:58 [2986982] | #11 0x00005f39b8af83f2 in trx_t::commit_persist (this=this@entry=0x2484150eeb80) at /data/Server/10.11G/storage/innobase/trx/trx0trx.cc:1606
      # 2025-12-04T07:16:58 [2986982] | #12 0x00005f39b8af849f in trx_t::commit (this=0x2484150eeb80) at /data/Server/10.11G/storage/innobase/trx/trx0trx.cc:1615
      # 2025-12-04T07:16:58 [2986982] | #13 trx_commit_for_mysql (trx=0x2484150eeb80) at /data/Server/10.11G/storage/innobase/trx/trx0trx.cc:1730
      # 2025-12-04T07:16:58 [2986982] | #14 0x00005f39b8a1ffe5 in innobase_commit_ordered_2 (trx=trx@entry=0x2484150eeb80, thd=thd@entry=0x470710000c68) at /data/Server/10.11G/storage/innobase/handler/ha_innodb.cc:4386
      # 2025-12-04T07:16:58 [2986982] | #15 0x00005f39b8a20203 in innobase_commit (hton=<optimized out>, thd=0x470710000c68, commit_trx=<optimized out>) at /data/Server/10.11G/storage/innobase/handler/ha_innodb.cc:4536
      # 2025-12-04T07:16:58 [2986982] | #16 0x00005f39b87e36af in commit_one_phase_2 (thd=thd@entry=0x470710000c68, all=false, trans=0x470710004528, is_real_trans=true) at /data/Server/10.11G/sql/handler.cc:2190
      # 2025-12-04T07:16:58 [2986982] | #17 0x00005f39b87e386b in ha_commit_one_phase (thd=thd@entry=0x470710000c68, all=all@entry=false) at /data/Server/10.11G/sql/handler.cc:2139
      # 2025-12-04T07:16:58 [2986982] | #18 0x00005f39b87e4967 in ha_commit_trans (thd=thd@entry=0x470710000c68, all=all@entry=false) at /data/Server/10.11G/sql/handler.cc:1929
      # 2025-12-04T07:16:58 [2986982] | #19 0x00005f39b86d0b15 in trans_commit_stmt (thd=thd@entry=0x470710000c68) at /data/Server/10.11G/sql/transaction.cc:501
      # 2025-12-04T07:16:58 [2986982] | #20 0x00005f39b85a614c in mysql_execute_command (thd=thd@entry=0x470710000c68, is_called_from_prepared_stmt=is_called_from_prepared_stmt@entry=false) at /data/Server/10.11G/sql/sql_parse.cc:6265
      # 2025-12-04T07:16:58 [2986982] | #21 0x00005f39b85ab2f3 in mysql_parse (thd=0x470710000c68, rawbuf=<optimized out>, length=<optimized out>, parser_state=<optimized out>) at /data/Server/10.11G/sql/sql_parse.cc:8229
      # 2025-12-04T07:16:58 [2986982] | #22 0x00005f39b85ad082 in dispatch_command (command=command@entry=COM_QUERY, thd=thd@entry=0x470710000c68, packet=packet@entry=0x4707100084f9 "INSERT IGNORE INTO `t4` ( `id`, `c` ) VALUES ( NULL, 't' ) /* E_R Thread4 QNO 8 CON_ID 20 */ ", packet_length=packet_length@entry=93, blocking=blocking@entry=true) at /data/Server/10.11G/sql/sql_parse.cc:2020
      # 2025-12-04T07:16:58 [2986982] | #23 0x00005f39b85aece5 in do_command (thd=thd@entry=0x470710000c68, blocking=blocking@entry=true) at /data/Server/10.11G/sql/sql_parse.cc:1434
      # 2025-12-04T07:16:58 [2986982] | #24 0x00005f39b86c0c0d in do_handle_one_connection (connect=<optimized out>, put_in_cache=true) at /data/Server/10.11G/sql/sql_connect.cc:1475
      # 2025-12-04T07:16:58 [2986982] | #25 0x00005f39b86c0efd in handle_one_connection (arg=0x5f39ba6ce568) at /data/Server/10.11G/sql/sql_connect.cc:1387
      # 2025-12-04T07:16:58 [2986982] | #26 0x00006d0f35f68a94 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:447
      # 2025-12-04T07:16:58 [2986982] | #27 0x00006d0f35ff5a34 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:100
      

      RR trace is present on SDP:-
      /data/results/1764835651/TBR-1491

      Attachments

        Issue Links

          Activity

            People

              thiru Thirunarayanan Balathandayuthapani
              saahil Saahil Alam
              Thirunarayanan Balathandayuthapani Thirunarayanan Balathandayuthapani
              Marko Mäkelä Marko Mäkelä
              Saahil Alam Saahil Alam
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.