==4086435==ERROR: AddressSanitizer: stack-buffer-overflow on address 0x7f16931c8522 at pc 0x55f2d11ac29b bp 0x7f16931c8430 sp 0x7f16931c8420
|
WRITE of size 1 at 0x7f16931c8522 thread T15
|
2021-01-28 0:23:00 139734809470720 [Note] Event Scheduler: Purging the queue. 0 events
|
#0 0x55f2d11ac29a in strmake /data/src/10.2/strings/strmake.c:66
|
#1 0x55f2d11491dc in my_strnxfrm_tis620 /data/src/10.2/strings/ctype-tis620.c:608
|
#2 0x55f2d0411b00 in innobase_strnxfrm(charset_info_st const*, unsigned char const*, unsigned long) /data/src/10.2/storage/innobase/handler/ha_innodb.cc:6794
|
#3 0x55f2d0af178b in fts_select_index_by_range /data/src/10.2/storage/innobase/include/fts0types.ic:140
|
#4 0x55f2d0af1c63 in fts_select_index /data/src/10.2/storage/innobase/include/fts0types.ic:215
|
#5 0x55f2d0b05af6 in fts_sync_write_words /data/src/10.2/storage/innobase/fts/fts0fts.cc:3998
|
#6 0x55f2d0b06b13 in fts_sync_index /data/src/10.2/storage/innobase/fts/fts0fts.cc:4107
|
#7 0x55f2d0b08224 in fts_sync /data/src/10.2/storage/innobase/fts/fts0fts.cc:4340
|
#8 0x55f2d0b08911 in fts_sync_table(dict_table_t*, bool) /data/src/10.2/storage/innobase/fts/fts0fts.cc:4417
|
#9 0x55f2d0b2aceb in fts_optimize_sync_table /data/src/10.2/storage/innobase/fts/fts0opt.cc:2773
|
#10 0x55f2d0b2b42b in fts_optimize_thread /data/src/10.2/storage/innobase/fts/fts0opt.cc:2893
|
#11 0x7f16a2a58608 in start_thread /build/glibc-ZN95T4/glibc-2.31/nptl/pthread_create.c:477
|
#12 0x7f16a2632292 in __clone (/lib/x86_64-linux-gnu/libc.so.6+0x122292)
|
|
Address 0x7f16931c8522 is located in stack of thread T15 at offset 34 in frame
|
#0 0x55f2d04119be in innobase_strnxfrm(charset_info_st const*, unsigned char const*, unsigned long) /data/src/10.2/storage/innobase/handler/ha_innodb.cc:6786
|
|
This frame has 1 object(s):
|
[32, 34) 'mystr' (line 6787) <== Memory access at offset 34 overflows this variable
|
HINT: this may be a false positive if your program uses some custom stack unwind mechanism, swapcontext or vfork
|
(longjmp and C++ exceptions *are* supported)
|
Thread T15 created by T0 here:
|
#0 0x7f16a2eec805 in pthread_create (/lib/x86_64-linux-gnu/libasan.so.5+0x3a805)
|
#1 0x55f2d05dd777 in os_thread_create_func(void* (*)(void*), void*, unsigned long*) /data/src/10.2/storage/innobase/os/os0thread.cc:138
|
#2 0x55f2d0b2b9a0 in fts_optimize_init() /data/src/10.2/storage/innobase/fts/fts0opt.cc:2959
|
#3 0x55f2d07dbbfb in innobase_start_or_create_for_mysql() /data/src/10.2/storage/innobase/srv/srv0start.cc:2639
|
#4 0x55f2d04055ae in innobase_init /data/src/10.2/storage/innobase/handler/ha_innodb.cc:4297
|
#5 0x55f2cfee531a in ha_initialize_handlerton(st_plugin_int*) /data/src/10.2/sql/handler.cc:555
|
#6 0x55f2cf8e0240 in plugin_initialize /data/src/10.2/sql/sql_plugin.cc:1417
|
#7 0x55f2cf8e1f77 in plugin_init(int*, char**, int) /data/src/10.2/sql/sql_plugin.cc:1698
|
#8 0x55f2cf65251a in init_server_components /data/src/10.2/sql/mysqld.cc:5387
|
#9 0x55f2cf654543 in mysqld_main(int, char**) /data/src/10.2/sql/mysqld.cc:5985
|
#10 0x55f2cf63c93c in main /data/src/10.2/sql/main.cc:25
|
#11 0x7f16a25370b2 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x270b2)
|
|
SUMMARY: AddressSanitizer: stack-buffer-overflow /data/src/10.2/strings/strmake.c:66 in strmake
|
Shadow bytes around the buggy address:
|
0x0fe352631050: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
0x0fe352631060: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
0x0fe352631070: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
0x0fe352631080: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
0x0fe352631090: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
=>0x0fe3526310a0: f1 f1 f1 f1[02]f3 f3 f3 00 00 00 00 00 00 00 00
|
0x0fe3526310b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
0x0fe3526310c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
0x0fe3526310d0: f1 f1 f1 f1 f1 f1 00 00 00 00 00 00 f2 f2 f2 f2
|
0x0fe3526310e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
0x0fe3526310f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
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
|
==4086435==ABORTING
|