/test/10.9_dbg_san/sql/opt_range.cc:8144:44: runtime error: downcast of address 0x629000122e70 which does not point to an object of type 'Item_row'
|
0x629000122e70: note: object is of type 'Item_cache_row'
|
be be be be 98 b5 d4 ca 2a 56 00 00 00 00 00 00 00 00 00 be e0 61 37 d3 2a 56 00 00 04 00 00 00
|
^~~~~~~~~~~~~~~~~~~~~~~
|
vptr for 'Item_cache_row'
|
#0 0x562ac4697329 in Item_func_in::get_func_row_mm_tree(RANGE_OPT_PARAM*, Item_row*) /test/10.9_dbg_san/sql/opt_range.cc:8144
|
#1 0x562ac469a679 in Item_func_in::get_mm_tree(RANGE_OPT_PARAM*, Item**) /test/10.9_dbg_san/sql/opt_range.cc:8533
|
#2 0x562ac46c20bd in SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool, bool, bool, bool) /test/10.9_dbg_san/sql/opt_range.cc:2886
|
#3 0x562ac52785f8 in make_join_select /test/10.9_dbg_san/sql/sql_select.cc:12093
|
#4 0x562ac5382026 in JOIN::optimize_stage2() /test/10.9_dbg_san/sql/sql_select.cc:2755
|
#5 0x562ac539e083 in JOIN::optimize_inner() /test/10.9_dbg_san/sql/sql_select.cc:2492
|
#6 0x562ac539fa30 in JOIN::optimize() /test/10.9_dbg_san/sql/sql_select.cc:1808
|
#7 0x562ac53a3260 in mysql_select(THD*, TABLE_LIST*, List<Item>&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) /test/10.9_dbg_san/sql/sql_select.cc:4993
|
#8 0x562ac53a4ef0 in handle_select(THD*, LEX*, select_result*, unsigned long) /test/10.9_dbg_san/sql/sql_select.cc:543
|
#9 0x562ac4f11fc2 in execute_sqlcom_select /test/10.9_dbg_san/sql/sql_parse.cc:6268
|
#10 0x562ac4f77216 in mysql_execute_command(THD*, bool) /test/10.9_dbg_san/sql/sql_parse.cc:3959
|
#11 0x562ac4ed9728 in mysql_parse(THD*, char*, unsigned int, Parser_state*) /test/10.9_dbg_san/sql/sql_parse.cc:8043
|
#12 0x562ac4f4f44e in dispatch_command(enum_server_command, THD*, char*, unsigned int, bool) /test/10.9_dbg_san/sql/sql_parse.cc:1910
|
#13 0x562ac4f65fa9 in do_command(THD*, bool) /test/10.9_dbg_san/sql/sql_parse.cc:1407
|
#14 0x562ac5a32c4b in do_handle_one_connection(CONNECT*, bool) /test/10.9_dbg_san/sql/sql_connect.cc:1418
|
#15 0x562ac5a35ae5 in handle_one_connection /test/10.9_dbg_san/sql/sql_connect.cc:1312
|
#16 0x562ac7f8ec62 in pfs_spawn_thread /test/10.9_dbg_san/storage/perfschema/pfs.cc:2201
|
#17 0x14a3ab3f7608 in start_thread /build/glibc-sMfBJT/glibc-2.31/nptl/pthread_create.c:477
|
#18 0x14a3aa66c162 in __clone (/lib/x86_64-linux-gnu/libc.so.6+0x11f162)
|
|
/test/10.9_dbg_san/sql/opt_range.cc:8154:50: runtime error: member call on address 0x629000122e70 which does not point to an object of type 'Item_row'
|
0x629000122e70: note: object is of type 'Item_cache_row'
|
be be be be 98 b5 d4 ca 2a 56 00 00 00 00 00 00 00 00 00 be e0 61 37 d3 2a 56 00 00 04 00 00 00
|
^~~~~~~~~~~~~~~~~~~~~~~
|
vptr for 'Item_cache_row'
|
#0 0x562ac46974dc in Item_func_in::get_func_row_mm_tree(RANGE_OPT_PARAM*, Item_row*) /test/10.9_dbg_san/sql/opt_range.cc:8154
|
#1 0x562ac469a679 in Item_func_in::get_mm_tree(RANGE_OPT_PARAM*, Item**) /test/10.9_dbg_san/sql/opt_range.cc:8533
|
#2 0x562ac46c20bd in SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool, bool, bool, bool) /test/10.9_dbg_san/sql/opt_range.cc:2886
|
#3 0x562ac52785f8 in make_join_select /test/10.9_dbg_san/sql/sql_select.cc:12093
|
#4 0x562ac5382026 in JOIN::optimize_stage2() /test/10.9_dbg_san/sql/sql_select.cc:2755
|
#5 0x562ac539e083 in JOIN::optimize_inner() /test/10.9_dbg_san/sql/sql_select.cc:2492
|
#6 0x562ac539fa30 in JOIN::optimize() /test/10.9_dbg_san/sql/sql_select.cc:1808
|
#7 0x562ac53a3260 in mysql_select(THD*, TABLE_LIST*, List<Item>&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) /test/10.9_dbg_san/sql/sql_select.cc:4993
|
#8 0x562ac53a4ef0 in handle_select(THD*, LEX*, select_result*, unsigned long) /test/10.9_dbg_san/sql/sql_select.cc:543
|
#9 0x562ac4f11fc2 in execute_sqlcom_select /test/10.9_dbg_san/sql/sql_parse.cc:6268
|
#10 0x562ac4f77216 in mysql_execute_command(THD*, bool) /test/10.9_dbg_san/sql/sql_parse.cc:3959
|
#11 0x562ac4ed9728 in mysql_parse(THD*, char*, unsigned int, Parser_state*) /test/10.9_dbg_san/sql/sql_parse.cc:8043
|
#12 0x562ac4f4f44e in dispatch_command(enum_server_command, THD*, char*, unsigned int, bool) /test/10.9_dbg_san/sql/sql_parse.cc:1910
|
#13 0x562ac4f65fa9 in do_command(THD*, bool) /test/10.9_dbg_san/sql/sql_parse.cc:1407
|
#14 0x562ac5a32c4b in do_handle_one_connection(CONNECT*, bool) /test/10.9_dbg_san/sql/sql_connect.cc:1418
|
#15 0x562ac5a35ae5 in handle_one_connection /test/10.9_dbg_san/sql/sql_connect.cc:1312
|
#16 0x562ac7f8ec62 in pfs_spawn_thread /test/10.9_dbg_san/storage/perfschema/pfs.cc:2201
|
#17 0x14a3ab3f7608 in start_thread /build/glibc-sMfBJT/glibc-2.31/nptl/pthread_create.c:477
|
#18 0x14a3aa66c162 in __clone (/lib/x86_64-linux-gnu/libc.so.6+0x11f162)
|
|
/test/10.9_dbg_san/sql/opt_range.cc:8171:40: runtime error: member call on address 0x629000122e70 which does not point to an object of type 'Item_row'
|
0x629000122e70: note: object is of type 'Item_cache_row'
|
be be be be 98 b5 d4 ca 2a 56 00 00 00 00 00 00 00 00 00 be e0 61 37 d3 2a 56 00 00 04 00 00 00
|
^~~~~~~~~~~~~~~~~~~~~~~
|
vptr for 'Item_cache_row'
|
#0 0x562ac4697bf1 in Item_func_in::get_func_row_mm_tree(RANGE_OPT_PARAM*, Item_row*) /test/10.9_dbg_san/sql/opt_range.cc:8171
|
#1 0x562ac469a679 in Item_func_in::get_mm_tree(RANGE_OPT_PARAM*, Item**) /test/10.9_dbg_san/sql/opt_range.cc:8533
|
#2 0x562ac46c20bd in SQL_SELECT::test_quick_select(THD*, Bitmap<64u>, unsigned long long, unsigned long long, bool, bool, bool, bool) /test/10.9_dbg_san/sql/opt_range.cc:2886
|
#3 0x562ac52785f8 in make_join_select /test/10.9_dbg_san/sql/sql_select.cc:12093
|
#4 0x562ac5382026 in JOIN::optimize_stage2() /test/10.9_dbg_san/sql/sql_select.cc:2755
|
#5 0x562ac539e083 in JOIN::optimize_inner() /test/10.9_dbg_san/sql/sql_select.cc:2492
|
#6 0x562ac539fa30 in JOIN::optimize() /test/10.9_dbg_san/sql/sql_select.cc:1808
|
#7 0x562ac53a3260 in mysql_select(THD*, TABLE_LIST*, List<Item>&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) /test/10.9_dbg_san/sql/sql_select.cc:4993
|
#8 0x562ac53a4ef0 in handle_select(THD*, LEX*, select_result*, unsigned long) /test/10.9_dbg_san/sql/sql_select.cc:543
|
#9 0x562ac4f11fc2 in execute_sqlcom_select /test/10.9_dbg_san/sql/sql_parse.cc:6268
|
#10 0x562ac4f77216 in mysql_execute_command(THD*, bool) /test/10.9_dbg_san/sql/sql_parse.cc:3959
|
#11 0x562ac4ed9728 in mysql_parse(THD*, char*, unsigned int, Parser_state*) /test/10.9_dbg_san/sql/sql_parse.cc:8043
|
#12 0x562ac4f4f44e in dispatch_command(enum_server_command, THD*, char*, unsigned int, bool) /test/10.9_dbg_san/sql/sql_parse.cc:1910
|
#13 0x562ac4f65fa9 in do_command(THD*, bool) /test/10.9_dbg_san/sql/sql_parse.cc:1407
|
#14 0x562ac5a32c4b in do_handle_one_connection(CONNECT*, bool) /test/10.9_dbg_san/sql/sql_connect.cc:1418
|
#15 0x562ac5a35ae5 in handle_one_connection /test/10.9_dbg_san/sql/sql_connect.cc:1312
|
#16 0x562ac7f8ec62 in pfs_spawn_thread /test/10.9_dbg_san/storage/perfschema/pfs.cc:2201
|
#17 0x14a3ab3f7608 in start_thread /build/glibc-sMfBJT/glibc-2.31/nptl/pthread_create.c:477
|
#18 0x14a3aa66c162 in __clone (/lib/x86_64-linux-gnu/libc.so.6+0x11f162)
|
|
2022-04-19 17:31:07 0 [Note] /test/UBASAN_MD090422-mariadb-10.9.0-linux-x86_64-dbg/bin/mysqld (initiated by: root[root] @ localhost []): Normal shutdown
|
2022-04-19 17:31:07 0 [Note] InnoDB: FTS optimize thread exiting.
|
2022-04-19 17:31:07 0 [Note] InnoDB: Starting shutdown...
|
2022-04-19 17:31:07 0 [Note] InnoDB: Dumping buffer pool(s) to /test/UBASAN_MD090422-mariadb-10.9.0-linux-x86_64-dbg/data/ib_buffer_pool
|
2022-04-19 17:31:07 0 [Note] InnoDB: Buffer pool(s) dump completed at 220419 17:31:07
|
2022-04-19 17:31:07 0 [Note] InnoDB: Removed temporary tablespace data file: "./ibtmp1"
|
2022-04-19 17:31:07 0 [Note] InnoDB: Shutdown completed; log sequence number 51948; transaction id 24
|
2022-04-19 17:31:07 0 [Note] /test/UBASAN_MD090422-mariadb-10.9.0-linux-x86_64-dbg/bin/mysqld: Shutdown complete
|
|
|
=================================================================
|
==1961114==ERROR: LeakSanitizer: detected memory leaks
|
|
Direct leak of 96 byte(s) in 6 object(s) allocated from:
|
#0 0x562ac44eb67e in __interceptor_realloc (/test/UBASAN_MD090422-mariadb-10.9.0-linux-x86_64-dbg/bin/mariadbd+0x849e67e)
|
#1 0x14a3ab2b39b2 (/usr/lib/x86_64-linux-gnu/libstdc++.so.6+0xac9b2)
|
|
SUMMARY: AddressSanitizer: 96 byte(s) leaked in 6 allocation(s).
|
220419 17:31:09 [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.9.0-MariaDB-debug
|
read_buffer_size=131072
|
max_used_connections=1
|
thread_count=0
|
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
|