Version: '10.11.0-MariaDB-debug' socket: '/test/UBASAN_MD310822-mariadb-10.11.0-linux-x86_64-dbg/socket.sock' port: 10011 MariaDB Server
|
=================================================================
|
==45728==ERROR: AddressSanitizer: use-after-poison on address 0x14c381b10c10 at pc 0x5571a6803204 bp 0x14c389f9d790 sp 0x14c389f9d780
|
READ of size 8 at 0x14c381b10c10 thread T1
|
#0 0x5571a6803203 in innobase_kill_query /test/10.11_dbg_san/storage/innobase/handler/ha_innodb.cc:4969
|
#1 0x5571a4f6de4f in kill_handlerton /test/10.11_dbg_san/sql/handler.cc:923
|
#2 0x5571a3875468 in plugin_foreach_with_mask(THD*, char (*)(THD*, st_plugin_int**, void*), int, unsigned int, void*) /test/10.11_dbg_san/sql/sql_plugin.cc:2511
|
#3 0x5571a4f8659d in ha_kill_query(THD*, thd_kill_levels) /test/10.11_dbg_san/sql/handler.cc:930
|
#4 0x5571a34087d5 in THD::awake_no_mutex(killed_state) /test/10.11_dbg_san/sql/sql_class.cc:1899
|
#5 0x5571a3409762 in THD::awake(killed_state) /test/10.11_dbg_san/sql/sql_class.h:3769
|
#6 0x5571a3409762 in thd_kill_timeout /test/10.11_dbg_san/sql/sql_class.cc:628
|
#7 0x5571a79ca8b8 in process_timers /test/10.11_dbg_san/mysys/thr_timer.c:271
|
#8 0x5571a79ca8b8 in timer_handler /test/10.11_dbg_san/mysys/thr_timer.c:315
|
#9 0x14c38f541608 in start_thread /build/glibc-SzIz7B/glibc-2.31/nptl/pthread_create.c:477
|
#10 0x14c38e7b6132 in __clone (/lib/x86_64-linux-gnu/libc.so.6+0x11f132)
|
|
0x14c381b10c10 is located 5136 bytes inside of 4194304-byte region [0x14c381b0f800,0x14c381f0f800)
|
allocated by thread T0 here:
|
#0 0x5571a2dcaa55 in memalign (/test/UBASAN_MD310822-mariadb-10.11.0-linux-x86_64-dbg/bin/mariadbd+0x7ee2a55)
|
#1 0x5571a717e575 in aligned_malloc(unsigned long, unsigned long) /test/10.11_dbg_san/include/aligned.h:26
|
#2 0x5571a717e575 in Pool<trx_t, TrxFactory, TrxPoolLock>::Pool(unsigned long) /test/10.11_dbg_san/storage/innobase/include/ut0pool.h:68
|
#3 0x5571a717e575 in PoolManager<Pool<trx_t, TrxFactory, TrxPoolLock>, TrxPoolManagerLock>::add_pool(unsigned long) /test/10.11_dbg_san/storage/innobase/include/ut0pool.h:304
|
#4 0x5571a715af1b in PoolManager<Pool<trx_t, TrxFactory, TrxPoolLock>, TrxPoolManagerLock>::create() /test/10.11_dbg_san/storage/innobase/include/ut0pool.h:329
|
#5 0x5571a715af1b in PoolManager<Pool<trx_t, TrxFactory, TrxPoolLock>, TrxPoolManagerLock>::PoolManager(unsigned long) /test/10.11_dbg_san/storage/innobase/include/ut0pool.h:215
|
#6 0x5571a715af1b in trx_pool_init() /test/10.11_dbg_san/storage/innobase/trx/trx0trx.cc:305
|
#7 0x5571a703ea97 in srv_boot() /test/10.11_dbg_san/storage/innobase/srv/srv0srv.cc:670
|
#8 0x5571a705fa16 in srv_start(bool) /test/10.11_dbg_san/storage/innobase/srv/srv0start.cc:932
|
#9 0x5571a6895e01 in innodb_init /test/10.11_dbg_san/storage/innobase/handler/ha_innodb.cc:4231
|
#10 0x5571a4f84aeb in ha_initialize_handlerton(st_plugin_int*) /test/10.11_dbg_san/sql/handler.cc:649
|
#11 0x5571a388252e in plugin_initialize /test/10.11_dbg_san/sql/sql_plugin.cc:1464
|
#12 0x5571a388b82b in plugin_init(int*, char**, int) /test/10.11_dbg_san/sql/sql_plugin.cc:1757
|
#13 0x5571a2e210d1 in init_server_components /test/10.11_dbg_san/sql/mysqld.cc:5132
|
#14 0x5571a2e33e0f in mysqld_main(int, char**) /test/10.11_dbg_san/sql/mysqld.cc:5750
|
#15 0x5571a2e0b81a in main /test/10.11_dbg_san/sql/main.cc:34
|
#16 0x14c38e6bb082 in __libc_start_main ../csu/libc-start.c:308
|
Thread T1 created by T0 here:
|
#0 0x5571a2cf7295 in __interceptor_pthread_create (/test/UBASAN_MD310822-mariadb-10.11.0-linux-x86_64-dbg/bin/mariadbd+0x7e0f295)
|
#1 0x5571a79caeae in init_thr_timer /test/10.11_dbg_san/mysys/thr_timer.c:90
|
#2 0x5571a2e20029 in init_server_components /test/10.11_dbg_san/sql/mysqld.cc:4838
|
#3 0x5571a2e33e0f in mysqld_main(int, char**) /test/10.11_dbg_san/sql/mysqld.cc:5750
|
#4 0x5571a2e0b81a in main /test/10.11_dbg_san/sql/main.cc:34
|
#5 0x14c38e6bb082 in __libc_start_main ../csu/libc-start.c:308
|
|
SUMMARY: AddressSanitizer: use-after-poison /test/10.11_dbg_san/storage/innobase/handler/ha_innodb.cc:4969 in innobase_kill_query
|
Shadow bytes around the buggy address:
|
0x0298f035a130: f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7
|
0x0298f035a140: f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7
|
0x0298f035a150: f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7
|
0x0298f035a160: f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7
|
0x0298f035a170: 00 00 00 00 00 00 00 00 f7 00 f7 07 00 f7 00 f7
|
=>0x0298f035a180: f7 f7[f7]f7 f7 04 00 f7 f7 f7 f7 f7 f7 f7 f7 f7
|
0x0298f035a190: f7 f7 f7 f7 f7 f7 00 f7 f7 f7 00 f7 f7 04 f7 f7
|
0x0298f035a1a0: f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7
|
0x0298f035a1b0: f7 f7 f7 f7 f7 f7 f7 f7 f7 00 00 f7 00 00 00 00
|
0x0298f035a1c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
0x0298f035a1d0: 00 f7 00 00 00 00 00 00 f7 f7 f7 f7 f7 f7 f7 f7
|
Shadow byte legend (one shadow byte represents 8 application bytes):
|
Addressable: 00
|
Partially addressable: 01 02 03 04 05 06 07
|
Heap left redzone: fa
|
Freed heap region: fd
|
Stack left redzone: f1
|
Stack mid redzone: f2
|
Stack right redzone: f3
|
Stack after return: f5
|
Stack use after scope: f8
|
Global redzone: f9
|
Global init order: f6
|
Poisoned by user: f7
|
Container overflow: fc
|
Array cookie: ac
|
Intra object redzone: bb
|
ASan internal: fe
|
Left alloca redzone: ca
|
Right alloca redzone: cb
|
Shadow gap: cc
|
==45728==ABORTING
|
220831 9:23:51 [ERROR] mysqld got signal 6 ;
|
This could be because you hit a bug. It is also possible that this binary
|
or one of the libraries it was linked against is corrupt, improperly built,
|
or misconfigured. This error can also be caused by malfunctioning hardware.
|
|
To report this bug, see https://mariadb.com/kb/en/reporting-bugs
|
|
We will try our best to scrape up some info that will hopefully help
|
diagnose the problem, but since we have already crashed,
|
something is definitely wrong and this may fail.
|
|
Server version: 10.11.0-MariaDB-debug
|
key_buffer_size=134217728
|
read_buffer_size=131072
|
max_used_connections=2
|
max_threads=10002
|
thread_count=2
|
It is possible that mysqld could use up to
|
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 22162481 K bytes of memory
|
Hope that's ok; if not, decrease some variables in the equation.
|
|
Thread pointer: 0x0
|
Attempting backtrace. You can use the following information to find out
|
where mysqld died. If you see no messages after this, something went
|
terribly wrong...
|
stack_bottom = 0x0 thread_stack 0x100000
|
/test/UBASAN_MD310822-mariadb-10.11.0-linux-x86_64-dbg/bin/mysqld(+0x7e417c0)[0x5571a2d297c0]
|
asan_interceptors.o:0(__interceptor_backtrace.part.0)[0x5571a79b95b4]
|
mysys/stacktrace.c:212(my_print_stacktrace)[0x5571a4f66308]
|
sigaction.c:0(__restore_rt)[0x14c38f54d420]
|
addr2line: DWARF error: section .debug_info is larger than its filesize! (0x93ef57 vs 0x530ea0)
|
??:0(gsignal)[0x14c38e6da00b]
|
??:0(abort)[0x14c38e6b9859]
|
:0(__sanitizer::Abort())[0x5571a2de7d42]
|
:0(__sanitizer::Die())[0x5571a2df28ec]
|
:0(__asan::ScopedInErrorReport::~ScopedInErrorReport())[0x5571a2dd3f7c]
|
:0(__asan::ReportGenericError(unsigned long, unsigned long, unsigned long, unsigned long, bool, unsigned long, unsigned int, bool))[0x5571a2dd39f3]
|
??:0(__asan_report_load8)[0x5571a2dd483b]
|
handler/ha_innodb.cc:4969(innobase_kill_query(handlerton*, THD*, thd_kill_levels))[0x5571a6803204]
|
sql/handler.cc:925(kill_handlerton(THD*, st_plugin_int**, void*))[0x5571a4f6de50]
|
sql/sql_plugin.cc:2511(plugin_foreach_with_mask(THD*, char (*)(THD*, st_plugin_int**, void*), int, unsigned int, void*))[0x5571a3875469]
|
sql/handler.cc:928(ha_kill_query(THD*, thd_kill_levels))[0x5571a4f8659e]
|
sql/sql_class.cc:1899(THD::awake_no_mutex(killed_state))[0x5571a34087d6]
|
psi/mysql_thread.h:790(thd_kill_timeout)[0x5571a3409763]
|
mysys/thr_timer.c:277(process_timers)[0x5571a79ca8b9]
|
nptl/pthread_create.c:478(start_thread)[0x14c38f541609]
|
addr2line: DWARF error: section .debug_info is larger than its filesize! (0x93ef57 vs 0x530ea0)
|
??:0(clone)[0x14c38e7b6133]
|
The manual page at https://mariadb.com/kb/en/how-to-produce-a-full-stack-trace-for-mysqld/ contains
|
information that should help you find out what is causing the crash.
|
Writing a core file...
|
Working directory at /test/UBASAN_MD310822-mariadb-10.11.0-linux-x86_64-dbg/data
|
Resource Limits:
|
Limit Soft Limit Hard Limit Units
|
Max cpu time unlimited unlimited seconds
|
Max file size unlimited unlimited bytes
|
Max data size unlimited unlimited bytes
|
Max stack size unlimited unlimited bytes
|
Max core file size 0 0 bytes
|
Max resident set unlimited unlimited bytes
|
Max processes unlimited unlimited processes
|
Max open files 1048576 1048576 files
|
Max locked memory unlimited unlimited bytes
|
Max address space unlimited unlimited bytes
|
Max file locks unlimited unlimited locks
|
Max pending signals unlimited unlimited signals
|
Max msgqueue size unlimited unlimited bytes
|
Max nice priority 0 0
|
Max realtime priority 0 0
|
Max realtime timeout unlimited unlimited us
|
Core pattern: core
|
|
Kernel version: Linux version 5.15.0-1016-gcp (buildd@lcy02-amd64-087) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #21~20.04.1-Ubuntu SMP Fri Aug 5 12:53:07 UTC 2022
|