Details
-
Bug
-
Status: Open (View Workflow)
-
Major
-
Resolution: Unresolved
-
10.6, 10.11, 11.4
Description
--source include/have_sequence.inc
|
|
SET SESSION aria_repair_threads=128; |
CREATE TABLE t (b TEXT) ROW_FORMAT=DYNAMIC ENGINE=Aria; |
INSERT t SELECT * FROM seq_1_to_128000; |
ALTER TABLE t ADD FULLTEXT INDEX (b); |
Leads to:
CS 11.4.9 7e76a58e0b35f8b126b4450fabdb165284b9b347 (Debug, Clang) Build 10/09/2025 |
mariadbd: /test/11.4_dbg/sql/mysqld.cc:3728: void my_malloc_size_cb_func(long long, my_bool): Assertion `!is_thread_specific || thd || !plugins_are_initialized' failed.
|
CS 11.4.9 7e76a58e0b35f8b126b4450fabdb165284b9b347 (Debug, Clang) Build 10/09/2025 |
Core was generated by `/test/MD100925-mariadb-11.4.9-linux-x86_64-dbg/bin/mariadbd --no-defaults --max'.
|
Program terminated with signal SIGABRT, Aborted.
|
#0 __pthread_kill_implementation (no_tid=0, signo=6, threadid=<optimized out>)at ./nptl/pthread_kill.c:44
|
|
[Current thread is 1 (LWP 1271747)]
|
(gdb) bt
|
#0 __pthread_kill_implementation (no_tid=0, signo=6, threadid=<optimized out>)at ./nptl/pthread_kill.c:44
|
#1 __pthread_kill_internal (signo=6, threadid=<optimized out>)at ./nptl/pthread_kill.c:78
|
#2 __GI___pthread_kill (threadid=<optimized out>, signo=signo@entry=6)at ./nptl/pthread_kill.c:89
|
#3 0x000075356d44527e in __GI_raise (sig=sig@entry=6)at ../sysdeps/posix/raise.c:26
|
#4 0x000075356d4288ff in __GI_abort () at ./stdlib/abort.c:79
|
#5 0x000075356d42881b in __assert_fail_base (fmt=0x75356d5d01e8 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=assertion@entry=0x5a398abb21ee "!is_thread_specific || thd || !plugins_are_initialized", file=file@entry=0x5a398abac4d3 "/test/11.4_dbg/sql/mysqld.cc", line=line@entry=3728, function=function@entry=0x5a398abb2225 "void my_malloc_size_cb_func(long long, my_bool)") at ./assert/assert.c:96
|
#6 0x000075356d43b517 in __assert_fail (assertion=0x5a398abb21ee "!is_thread_specific || thd || !plugins_are_initialized", file=0x5a398abac4d3 "/test/11.4_dbg/sql/mysqld.cc", line=3728, function=0x5a398abb2225 "void my_malloc_size_cb_func(long long, my_bool)")at ./assert/assert.c:105
|
#7 0x00005a3989a2d059 in my_malloc_size_cb_func (size=65528, is_thread_specific=1 '\001') at /test/11.4_dbg/sql/mysqld.cc:3728
|
#8 0x00005a398a8e9448 in my_malloc (key=0, size=65504, my_flags=69648)at /test/11.4_dbg/mysys/my_malloc.c:114
|
#9 0x00005a398a8d5fc7 in root_alloc (root=0x75168c0a2950, size=65504, alloced_size=0x753187cf9730, my_flags=4112)at /test/11.4_dbg/mysys/my_alloc.c:66
|
#10 0x00005a398a8d65c8 in alloc_root (mem_root=0x75168c0a2950, length=24)at /test/11.4_dbg/mysys/my_alloc.c:335
|
#11 0x00005a398a2650dc in maria_ft_linearize (wtree=0x753187cf97f0, mem_root=0x75168c0a2950) at /test/11.4_dbg/storage/maria/ma_ft_parser.c:62
|
#12 0x00005a398a30a06f in _ma_ft_parserecord (info=0x75168c08b368, keynr=0, record=0x75168c0a2c40 "\376\001", mem_root=0x75168c0a2950)at /test/11.4_dbg/storage/maria/ma_ft_update.c:133
|
#13 0x00005a398a302d5b in sort_maria_ft_key_read (sort_param=0x75168c0a2458, key=0x7516800fad68 '\245' <repeats 200 times>...)at /test/11.4_dbg/storage/maria/ma_check.c:4900
|
#14 0x00005a398a30c674 in _ma_thr_find_all_keys_exec (sort_param=0x75168c0a2458) at /test/11.4_dbg/storage/maria/ma_sort.c:491
|
#15 0x00005a398a30c052 in _ma_thr_find_all_keys (arg=0x75168c0a2458)at /test/11.4_dbg/storage/maria/ma_sort.c:546
|
#16 0x000075356d49caa4 in start_thread (arg=<optimized out>)at ./nptl/pthread_create.c:447
|
#17 0x000075356d529c3c in clone3 ()at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78
|
Bug Detection Matrix |
Rel o/d Build Commit UniqueID observed
|
CS 10.6 dbg 010925 d00e0f71a440cd22c995fcc38a0c07bc027c8383 !is_thread_specific || thd || !plugins_are_initialized|SIGABRT|my_malloc_size_cb_func|my_malloc|alloc_root|maria_ft_linearize
|
CS 10.6 opt 010925 d00e0f71a440cd22c995fcc38a0c07bc027c8383 No bug found
|
CS 10.11 dbg 020925 a1da6555fb4dc486ff463f8337eb497bd8820a1e !is_thread_specific || thd || !plugins_are_initialized|SIGABRT|my_malloc_size_cb_func|my_malloc|root_alloc|alloc_root
|
CS 10.11 opt 020925 a1da6555fb4dc486ff463f8337eb497bd8820a1e No bug found
|
CS 11.4 dbg 100925 7e76a58e0b35f8b126b4450fabdb165284b9b347 !is_thread_specific || thd || !plugins_are_initialized|SIGABRT|my_malloc_size_cb_func|my_malloc|root_alloc|alloc_root
|
CS 11.4 opt 100925 7e76a58e0b35f8b126b4450fabdb165284b9b347 No bug found
|
CS 11.8 dbg 100925 21868be177fd5015bafb25dbb070d9aab25adfdf No bug found
|
CS 11.8 opt 100925 21868be177fd5015bafb25dbb070d9aab25adfdf No bug found
|
CS 12.1 dbg 100925 5999a8de843929a48c4c4b0067d2594ecce46ac3 No bug found
|
CS 12.1 opt 100925 5999a8de843929a48c4c4b0067d2594ecce46ac3 No bug found
|
CS 12.2 dbg 130825 e02f4d7e311e214ea62ff2e59599849e229f4165 No bug found
|
CS 12.2 opt 130825 e02f4d7e311e214ea62ff2e59599849e229f4165 No bug found
|
ES 10.6 dbg 040825 9b794f34b48fb7eee490b6da44edc0f33a947447 !is_thread_specific || thd || !plugins_are_initialized|SIGABRT|my_malloc_size_cb_func|my_malloc|alloc_root|maria_ft_linearize
|
ES 10.6 opt 040825 9b794f34b48fb7eee490b6da44edc0f33a947447 No bug found
|
ES 11.4 dbg 040825 a1c03ccd54b582e75506687ee19b273ca897f261 No bug found
|
ES 11.4 opt 040825 a1c03ccd54b582e75506687ee19b273ca897f261 No bug found
|
No UB/ASAN issues observed.