Details
-
Bug
-
Status: Open (View Workflow)
-
Major
-
Resolution: Unresolved
-
None
-
None
-
Can result in hang or crash
Description
Assertion found while testing MDEV-28730
|
origin/main-MDEV-28730 241874e9dfdf2eaf56d893de2f4d8678fde0fa7d |
# 2025-11-27T15:23:36 [2736567] | mariadbd: /data/Server/MDEV-28730A/storage/innobase/trx/trx0rec.cc:515: const byte* trx_undo_rec_get_pars(const trx_undo_rec_t*, byte*, byte*, bool*, undo_no_t*, table_id_t*): Assertion `*type >= TRX_UNDO_RENAME_TABLE' failed.
|
|
StackTrace |
# 2025-11-27T15:23:54 [2736567] | Thread 2 (Thread 2887459.2888427 (one_connection)):
|
# 2025-11-27T15:23:54 [2736567] | #0 __pthread_kill_implementation (no_tid=0, signo=6, threadid=<optimized out>) at ./nptl/pthread_kill.c:44
|
# 2025-11-27T15:23:54 [2736567] | #1 __pthread_kill_internal (signo=6, threadid=<optimized out>) at ./nptl/pthread_kill.c:78
|
# 2025-11-27T15:23:54 [2736567] | #2 __GI___pthread_kill (threadid=<optimized out>, signo=signo@entry=6) at ./nptl/pthread_kill.c:89
|
# 2025-11-27T15:23:54 [2736567] | #3 0x00007c2264c4526e in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
|
# 2025-11-27T15:23:54 [2736567] | #4 0x00007c2264c288ff in __GI_abort () at ./stdlib/abort.c:79
|
# 2025-11-27T15:23:54 [2736567] | #5 0x00007c2264c2881b in __assert_fail_base (fmt=0x7c2264dd01e8 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=assertion@entry=0x62412fab6e90 "*type >= TRX_UNDO_RENAME_TABLE", file=file@entry=0x62412fab6bf0 "/data/Server/MDEV-28730A/storage/innobase/trx/trx0rec.cc", line=line@entry=515, function=function@entry=0x62412fab6eb0 "const byte* trx_undo_rec_get_pars(const trx_undo_rec_t*, byte*, byte*, bool*, undo_no_t*, table_id_t*)") at ./assert/assert.c:94
|
# 2025-11-27T15:23:54 [2736567] | #6 0x00007c2264c3b507 in __assert_fail (assertion=0x62412fab6e90 "*type >= TRX_UNDO_RENAME_TABLE", file=0x62412fab6bf0 "/data/Server/MDEV-28730A/storage/innobase/trx/trx0rec.cc", line=515, function=0x62412fab6eb0 "const byte* trx_undo_rec_get_pars(const trx_undo_rec_t*, byte*, byte*, bool*, undo_no_t*, table_id_t*)") at ./assert/assert.c:103
|
# 2025-11-27T15:23:54 [2736567] | #7 0x000062412f6cf995 in trx_undo_rec_get_pars (undo_rec=undo_rec@entry=0x7c2261a3044b "33333", type=type@entry=0x7c2263fb1804 "\003", cmpl_info=cmpl_info@entry=0x7c2263fb1805 "", updated_extern=updated_extern@entry=0x7c2263fb1806, undo_no=undo_no@entry=0x7c2263fb1808, table_id=table_id@entry=0x7c2263fb1810) at /data/Server/MDEV-28730A/storage/innobase/trx/trx0rec.cc:515
|
# 2025-11-27T15:23:54 [2736567] | #8 0x000062412f6d3b0d in trx_undo_prev_version (rec=rec@entry=0x7c2261a0e885 "\200", index=index@entry=0x7c22248d7808, offsets=offsets@entry=0x7c2224008708, heap=<optimized out>, heap@entry=0x7c22248ea3d0, old_vers=old_vers@entry=0x7c2263fb1c28, check=..., v_status=0, v_heap=0x0, vrow=0x0, undo_rec=0x7c2261a3044b "33333") at /data/Server/MDEV-28730A/storage/innobase/trx/trx0rec.cc:2181
|
# 2025-11-27T15:23:54 [2736567] | #9 0x000062412f6d478f in trx_undo_prev_version_build (rec=rec@entry=0x7c2261a0e885 "\200", index=index@entry=0x7c22248d7808, offsets=offsets@entry=0x7c2224008708, heap=heap@entry=0x7c22248ea3d0, old_vers=old_vers@entry=0x7c2263fb1c28, mtr=mtr@entry=0x7c2263fb20a0, v_status=0, v_heap=0x0, vrow=0x0) at /data/Server/MDEV-28730A/storage/innobase/trx/trx0rec.cc:2158
|
# 2025-11-27T15:23:54 [2736567] | #10 0x000062412f69b857 in row_check_index (prebuilt=<optimized out>, n_rows=n_rows@entry=0x7c2263fb2488) at /data/Server/MDEV-28730A/storage/innobase/row/row0sel.cc:6613
|
# 2025-11-27T15:23:54 [2736567] | #11 0x000062412f53eb67 in ha_innobase::check (this=0x7c22248df128, thd=0x7c22240013f8, check_opt=0x7c2224006ba0) at /data/Server/MDEV-28730A/storage/innobase/handler/ha_innodb.cc:15472
|
# 2025-11-27T15:23:54 [2736567] | #12 0x000062412f2d15e1 in handler::ha_check (this=0x7c22248df128, thd=thd@entry=0x7c22240013f8, check_opt=check_opt@entry=0x7c2224006ba0) at /data/Server/MDEV-28730A/sql/handler.cc:5443
|
# 2025-11-27T15:23:54 [2736567] | #13 0x000062412f167ea8 in mysql_admin_table (thd=thd@entry=0x7c22240013f8, tables=tables@entry=0x7c22240187b0, check_opt=check_opt@entry=0x7c2224006ba0, operator_name=operator_name@entry=0x62413025c780 <msg_check>, lock_type=lock_type@entry=TL_READ_NO_INSERT, org_open_for_modify=org_open_for_modify@entry=false, no_errors_from_open=false, extra_open_options=32, prepare_func=0x0, operator_func=<optimized out>, view_operator_func=0x62412f10e135 <view_check(THD*, TABLE_LIST*, st_ha_check_opt*)>, is_cmd_replicated=false) at /data/Server/MDEV-28730A/sql/sql_admin.cc:949
|
# 2025-11-27T15:23:54 [2736567] | #14 0x000062412f1699bd in Sql_cmd_check_table::execute (this=<optimized out>, thd=0x7c22240013f8) at /data/Server/MDEV-28730A/sql/sql_admin.cc:1679
|
# 2025-11-27T15:23:54 [2736567] | #15 0x000062412f01fc5f in mysql_execute_command (thd=thd@entry=0x7c22240013f8, is_called_from_prepared_stmt=is_called_from_prepared_stmt@entry=false) at /data/Server/MDEV-28730A/sql/sql_parse.cc:5861
|
# 2025-11-27T15:23:54 [2736567] | #16 0x000062412f02080b in mysql_parse (thd=thd@entry=0x7c22240013f8, rawbuf=<optimized out>, length=<optimized out>, parser_state=parser_state@entry=0x7c2263fb33d0) at /data/Server/MDEV-28730A/sql/sql_parse.cc:7888
|
# 2025-11-27T15:23:54 [2736567] | #17 0x000062412f021ded in dispatch_command (command=command@entry=COM_QUERY, thd=thd@entry=0x7c22240013f8, packet=packet@entry=0x7c222400ba59 "", packet_length=packet_length@entry=77, blocking=blocking@entry=true) at /data/Server/MDEV-28730A/sql/sql_parse.cc:1878
|
# 2025-11-27T15:23:54 [2736567] | #18 0x000062412f023343 in do_command (thd=thd@entry=0x7c22240013f8, blocking=blocking@entry=true) at /data/Server/MDEV-28730A/sql/sql_parse.cc:1417
|
# 2025-11-27T15:23:54 [2736567] | #19 0x000062412f157c0f in do_handle_one_connection (connect=<optimized out>, connect@entry=0x6241334954e8, put_in_cache=put_in_cache@entry=true) at /data/Server/MDEV-28730A/sql/sql_connect.cc:1503
|
# 2025-11-27T15:23:54 [2736567] | #20 0x000062412f157e2c in handle_one_connection (arg=0x6241334954e8) at /data/Server/MDEV-28730A/sql/sql_connect.cc:1415
|
# 2025-11-27T15:23:54 [2736567] | #21 0x00007c2264c9ca94 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:447
|
# 2025-11-27T15:23:54 [2736567] | #22 0x00007c2264d29a34 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:100
|
RR trace is present on SDP:-
/data/results/1764272948/TBR-2345