2026-03-15 9:33:58 0 [Note] InnoDB: Opened 3 undo tablespaces 2026-03-15 9:33:58 0 [Note] InnoDB: 128 rollback segments in 3 undo tablespaces are active. 2026-03-15 9:33:58 0 [Note] InnoDB: Removed temporary tablespace data file: "./ibtmp1" 2026-03-15 9:33:58 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... 2026-03-15 9:33:58 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. 2026-03-15 9:33:58 0 [Note] InnoDB: log sequence number 126549690; transaction id 51980 2026-03-15 9:33:58 0 [Note] InnoDB: Loading buffer pool(s) from /home/fuzzysql/llmsql/fuzz/mariadbdata/ib_buffer_pool 2026-03-15 9:33:58 0 [Note] Plugin 'FEEDBACK' is disabled. 2026-03-15 9:33:58 0 [Note] Plugin 'wsrep-provider' is disabled. 2026-03-15 9:33:58 0 [Note] InnoDB: Buffer pool(s) load completed at 260315 9:33:58 2026-03-15 9:33:58 0 [Note] Recovering after a crash using tc.log 2026-03-15 9:33:58 0 [Note] Starting table crash recovery... 2026-03-15 9:33:58 0 [Note] Crash table recovery finished. 2026-03-15 9:33:58 0 [Note] Server socket created on IP: '0.0.0.0'. 2026-03-15 9:33:58 0 [Note] Server socket created on IP: '::'. 2026-03-15 9:33:58 0 [Note] mariadbd: Event Scheduler: Loaded 0 events 2026-03-15 9:33:58 0 [Note] /usr/local/mysql/bin/mariadbd: ready for connections. Version: '11.8.1-MariaDB-debug' socket: '/tmp/mysql.sock' port: 3306 Source distribution mariadbd: /home/mariadb/sql/table_cache.cc:1281: void TDC_element::flush(THD *, bool): Assertion `thd->mdl_context.is_lock_owner(MDL_key::TABLE, share->db.str, share->table_name.str, MDL_EXCLUSIVE)' failed. 260315 9:34:01 [ERROR] /usr/local/mysql/bin/mariadbd got signal 6 ; Sorry, we probably made a mistake, and this is a bug. Your assistance in bug reporting will enable us to fix this for the next release. To report this bug, see https://mariadb.com/kb/en/reporting-bugs about how to report a bug on https://jira.mariadb.org/. Please include the information from the server start above, to the end of the information below. Server version: 11.8.1-MariaDB-debug source revision: 1c4aed7c680c0402d6e97e097f03815c0e9bf4c5 The information page at https://mariadb.com/kb/en/how-to-produce-a-full-stack-trace-for-mariadbd/ contains instructions to obtain a better version of the backtrace below. Following these instructions will help MariaDB developers provide a fix quicker. Attempting backtrace. Include this in the bug report. (note: Retrieving this information may fail) Thread pointer: 0x62c0001e0288 stack_bottom = 0x7fffceddd000 thread_stack 0x49000 addr2line: DWARF error: invalid or unhandled FORM value: 0x25 /usr/local/mysql/bin/mariadbd(__interceptor_backtrace+0x5b)[0x555555f30feb] /usr/local/mysql/bin/mariadbd(my_print_stacktrace+0x127)[0x5555578409a7] /usr/local/mysql/bin/mariadbd(handle_fatal_signal+0x29f)[0x55555681e11f] /lib/x86_64-linux-gnu/libpthread.so.0(+0x14420)[0x7ffff7c26420] /lib/x86_64-linux-gnu/libc.so.6(gsignal+0xcb)[0x7ffff770b00b] /lib/x86_64-linux-gnu/libc.so.6(abort+0x12b)[0x7ffff76ea859] /lib/x86_64-linux-gnu/libc.so.6(+0x22729)[0x7ffff76ea729] /lib/x86_64-linux-gnu/libc.so.6(+0x33fd6)[0x7ffff76fbfd6] addr2line: DWARF error: invalid or unhandled FORM value: 0x25 /usr/local/mysql/bin/mariadbd(+0x11a2093)[0x5555566f6093] /usr/local/mysql/bin/mariadbd(_Z34mysql_discard_or_import_tablespaceP3THDP10TABLE_LISTb+0x6de)[0x5555563fefbe] /usr/local/mysql/bin/mariadbd(_ZN33Sql_cmd_discard_import_tablespace7executeEP3THD+0x105)[0x55555653d6c5] /usr/local/mysql/bin/mariadbd(_Z21mysql_execute_commandP3THDb+0x4c9d)[0x555556241a7d] /usr/local/mysql/bin/mariadbd(_Z11mysql_parseP3THDPcjP12Parser_state+0x528)[0x555556231bc8] /usr/local/mysql/bin/mariadbd(_Z16dispatch_command19enum_server_commandP3THDPcjb+0x2080)[0x55555622d210] /usr/local/mysql/bin/mariadbd(_Z10do_commandP3THDb+0x7c3)[0x555556232a13] /usr/local/mysql/bin/mariadbd(_Z24do_handle_one_connectionP7CONNECTb+0x324)[0x55555652b574] /usr/local/mysql/bin/mariadbd(handle_one_connection+0x19d)[0x55555652b15d] /usr/local/mysql/bin/mariadbd(pfs_spawn_thread+0xff)[0x555556f059cf] /lib/x86_64-linux-gnu/libpthread.so.0(+0x8609)[0x7ffff7c1a609] /lib/x86_64-linux-gnu/libc.so.6(clone+0x43)[0x7ffff77e7353] Connection ID (thread ID): 3 Status: NOT_KILLED Query (0x62d0003d44a8): ALTER TABLE t0 DISCARD TABLESPACE Optimizer switch: index_merge=on,index_merge_union=on,index_merge_sort_union=on,index_merge_intersection=on,index_merge_sort_intersection=off,index_condition_pushdown=on,derived_merge=on,derived_with_keys=on,firstmatch=on,loosescan=on,materialization=on,in_to_exists=on,semijoin=on,partial_match_rowid_merge=on,partial_match_table_scan=on,subquery_cache=on,mrr=off,mrr_cost_based=off,mrr_sort_keys=off,outer_join_with_cache=on,semijoin_with_cache=on,join_cache_incremental=on,join_cache_hashed=on,join_cache_bka=on,optimize_join_buffer_size=on,table_elimination=on,extended_keys=on,exists_to_in=on,orderby_uses_equalities=on,condition_pushdown_for_derived=on,split_materialized=on,condition_pushdown_for_subquery=on,rowid_filter=on,condition_pushdown_from_having=on,not_null_range_scan=off,hash_join_cardinality=on,cset_narrowing=on,sargable_casefold=on Writing a core file... Working directory at /home/fuzzysql/llmsql/fuzz/mariadbdata Resource Limits (excludes unlimited resources): Limit Soft Limit Hard Limit Units Max stack size 8388608 unlimited bytes Max core file size 0 unlimited bytes Max open files 1048576 1048576 files Max locked memory 65536 65536 bytes Max pending signals 1029288 1029288 signals Max msgqueue size 819200 819200 bytes Max nice priority 0 0 Max realtime priority 0 0 Core pattern: core Kernel version: Linux version 5.15.0-119-generic (buildd@lcy02-amd64-068) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #129~20.04.1-Ubuntu SMP Wed Aug 7 13:07:13 UTC 2024 2026-03-15 9:34:01 0 [Note] Starting MariaDB 11.8.1-MariaDB-debug source revision 1c4aed7c680c0402d6e97e097f03815c0e9bf4c5 server_uid w4t3zVyPMupQjkMu1bsMP24iETc= as process 704806 2026-03-15 9:34:01 0 [Note] InnoDB: !!!!!!!! UNIV_DEBUG switched on !!!!!!!!! 2026-03-15 9:34:01 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 2026-03-15 9:34:01 0 [Note] InnoDB: Number of transaction pools: 1 2026-03-15 9:34:01 0 [Note] InnoDB: Using AVX512 instructions 2026-03-15 9:34:01 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) 2026-03-15 9:34:01 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB 2026-03-15 9:34:01 0 [Note] InnoDB: Completed initialization of buffer pool 2026-03-15 9:34:01 0 [Note] InnoDB: Buffered log writes (block size=512 bytes) 2026-03-15 9:34:01 0 [Note] InnoDB: Starting crash recovery from checkpoint LSN=123687163 2026-03-15 9:34:01 0 [Note] InnoDB: End of log at LSN=126576570 2026-03-15 9:34:01 0 [Note] InnoDB: To recover: 162 pages