Details
-
Bug
-
Status: Open (View Workflow)
-
Major
-
Resolution: Unresolved
-
10.4(EOL), 10.5, 10.6, 10.9(EOL), 10.10(EOL), 10.11, 11.0(EOL), 11.1(EOL)
-
None
Description
INSTALL SONAME 'ha_rocksdb'; |
|
CREATE TABLE t (f char(255)) ENGINE=RocksDB CHARACTER SET utf32; |
INSERT INTO t VALUES ('foo'),('bar'); # Optional, fails either way |
|
ANALYZE TABLE t PERSISTENT FOR ALL; |
SELECT * FROM t WHERE f = 'bug'; |
10.4 f5dceafd |
mysqld: /data/src/10.4/strings/ctype-ucs2.c:2611: my_fill_utf32: Assertion `(slen % 4) == 0' failed.
|
230619 19:08:40 [ERROR] mysqld got signal 6 ;
|
|
#9 0x00007fee3c453df2 in __GI___assert_fail (assertion=0x55c14f956e00 "(slen % 4) == 0", file=0x55c14f956240 "/data/src/10.4/strings/ctype-ucs2.c", line=2611, function=0x55c14f9585a0 <__PRETTY_FUNCTION__.25> "my_fill_utf32") at ./assert/assert.c:101
|
#10 0x000055c14ea69a31 in my_fill_utf32 (cs=0x55c1505fce80 <my_charset_utf32_general_ci>, s=0x6210000eba7d '\276' <repeats 200 times>..., slen=3, fill=32) at /data/src/10.4/strings/ctype-ucs2.c:2611
|
#11 0x000055c14d522b04 in Field_string::get_key_image (this=0x6190000b3bd0, buff=0x6210000eb781 "", length=767, type_arg=Field::itRAW) at /data/src/10.4/sql/field.cc:7668
|
#12 0x000055c14d96871f in Field::make_key_image (this=0x6190000b3bd0, mem_root=0x7fee347043c0, key_part=0x6210000eb128) at /data/src/10.4/sql/opt_range.cc:8828
|
#13 0x000055c14d96a7cf in Field::stored_field_make_mm_leaf (this=0x6190000b3bd0, param=0x7fee34704570, key_part=0x6210000eb128, op=SCALAR_CMP_EQ, value=0x62b000064790) at /data/src/10.4/sql/opt_range.cc:9028
|
#14 0x000055c14d969af5 in Field_str::get_mm_leaf (this=0x6190000b3bd0, prm=0x7fee34704570, key_part=0x6210000eb128, cond=0x62b000064880, op=SCALAR_CMP_EQ, value=0x62b000064790) at /data/src/10.4/sql/opt_range.cc:8942
|
#15 0x000055c14d96813a in Item_bool_func::get_mm_leaf (this=0x62b000064880, param=0x7fee34704570, field=0x6190000b3bd0, key_part=0x6210000eb128, functype=Item_func::EQ_FUNC, value=0x62b000064790) at /data/src/10.4/sql/opt_range.cc:8797
|
#16 0x000055c14d9662ee in Item_bool_func::get_mm_parts (this=0x62b000064880, param=0x7fee34704570, field=0x6190000b3bd0, type=Item_func::EQ_FUNC, value=0x62b000064790) at /data/src/10.4/sql/opt_range.cc:8631
|
#17 0x000055c14d9656a5 in Item_equal::get_mm_tree (this=0x62b000064880, param=0x7fee34704570, cond_ptr=0x62b000064278) at /data/src/10.4/sql/opt_range.cc:8554
|
#18 0x000055c14d943dfc in calculate_cond_selectivity_for_table (thd=0x62b00005b208, table=0x620000048088, cond=0x62b000064278) at /data/src/10.4/sql/opt_range.cc:3488
|
#19 0x000055c14ceba060 in make_join_statistics (join=0x62b000063e70, tables_list=..., keyuse_array=0x62b000064160) at /data/src/10.4/sql/sql_select.cc:5616
|
#20 0x000055c14ce987da in JOIN::optimize_inner (this=0x62b000063e70) at /data/src/10.4/sql/sql_select.cc:2368
|
#21 0x000055c14ce91791 in JOIN::optimize (this=0x62b000063e70) at /data/src/10.4/sql/sql_select.cc:1711
|
#22 0x000055c14ceb2665 in mysql_select (thd=0x62b00005b208, tables=0x62b000062918, wild_num=1, fields=..., conds=0x62b000063218, og_num=0, order=0x0, group=0x0, having=0x0, proc_param=0x0, select_options=2147748608, result=0x62b000063e40, unit=0x62b00005f140, select_lex=0x62b0000622d0) at /data/src/10.4/sql/sql_select.cc:4812
|
#23 0x000055c14ce83461 in handle_select (thd=0x62b00005b208, lex=0x62b00005f080, result=0x62b000063e40, setup_tables_done_option=0) at /data/src/10.4/sql/sql_select.cc:442
|
#24 0x000055c14cdf328b in execute_sqlcom_select (thd=0x62b00005b208, all_tables=0x62b000062918) at /data/src/10.4/sql/sql_parse.cc:6473
|
#25 0x000055c14cde07a0 in mysql_execute_command (thd=0x62b00005b208) at /data/src/10.4/sql/sql_parse.cc:3976
|
#26 0x000055c14cdfc463 in mysql_parse (thd=0x62b00005b208, rawbuf=0x62b000062228 "SELECT * FROM t WHERE f = 'bug'", length=31, parser_state=0x7fee34707860, is_com_multi=false, is_next_command=false) at /data/src/10.4/sql/sql_parse.cc:8008
|
#27 0x000055c14cdd27a6 in dispatch_command (command=COM_QUERY, thd=0x62b00005b208, packet=0x629000230209 "SELECT * FROM t WHERE f = 'bug'", packet_length=31, is_com_multi=false, is_next_command=false) at /data/src/10.4/sql/sql_parse.cc:1857
|
#28 0x000055c14cdcf315 in do_command (thd=0x62b00005b208) at /data/src/10.4/sql/sql_parse.cc:1378
|
#29 0x000055c14d1ce0ba in do_handle_one_connection (connect=0x6080000009a8) at /data/src/10.4/sql/sql_connect.cc:1420
|
#30 0x000055c14d1cd9d1 in handle_one_connection (arg=0x6080000009a8) at /data/src/10.4/sql/sql_connect.cc:1324
|
#31 0x000055c14de3aaee in pfs_spawn_thread (arg=0x615000003508) at /data/src/10.4/storage/perfschema/pfs.cc:1869
|
#32 0x00007fee3c4a7fd4 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
|
#33 0x00007fee3c5285bc in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
|
Extra frame charset_info_st::fill in 10.5+ (pasting for JIRA searching purposes)
10.5 841e905f |
mariadbd: /data/src/10.5/strings/ctype-ucs2.c:2613: my_fill_utf32: Assertion `(slen % 4) == 0' failed.
|
230619 19:11:17 [ERROR] mysqld got signal 6 ;
|
|
#9 0x00007f299da53df2 in __GI___assert_fail (assertion=0x5600c9442ee0 "(slen % 4) == 0", file=0x5600c9442360 "/data/src/10.5/strings/ctype-ucs2.c", line=2613, function=0x5600c9444600 <__PRETTY_FUNCTION__.25> "my_fill_utf32") at ./assert/assert.c:101
|
#10 0x00005600c81b0f86 in my_fill_utf32 (cs=0x5600ca5add60 <my_charset_utf32_general_ci>, s=0x6210000ece8d '\276' <repeats 200 times>..., slen=3, fill=32) at /data/src/10.5/strings/ctype-ucs2.c:2613
|
#11 0x00005600c6bae471 in charset_info_st::fill (this=0x5600ca5add60 <my_charset_utf32_general_ci>, to=0x6210000ece8d '\276' <repeats 200 times>..., len=3, ch=32) at /data/src/10.5/include/m_ctype.h:758
|
#12 0x00005600c6b8f431 in Field_string::get_key_image (this=0x6190000cc1f8, buff=0x6210000ecb91 "", length=767, ptr_arg=0x61d00026f2b9 "", type_arg=Field::itRAW) at /data/src/10.5/sql/field.cc:7729
|
#13 0x00005600c6783d19 in Field::get_key_image (this=0x6190000cc1f8, buff=0x6210000ecb91 "", length=767, type_arg=Field::itRAW) at /data/src/10.5/sql/field.h:1563
|
#14 0x00005600c6fff98c in Field::make_key_image (this=0x6190000cc1f8, mem_root=0x7f299630c650, key_part=0x6210000ec538) at /data/src/10.5/sql/opt_range.cc:8835
|
#15 0x00005600c7001a4d in Field::stored_field_make_mm_leaf (this=0x6190000cc1f8, param=0x7f299630c7f0, key_part=0x6210000ec538, op=SCALAR_CMP_EQ, value=0x62b00003a880) at /data/src/10.5/sql/opt_range.cc:9035
|
#16 0x00005600c7000d70 in Field_str::get_mm_leaf (this=0x6190000cc1f8, prm=0x7f299630c7f0, key_part=0x6210000ec538, cond=0x62b00003a978, op=SCALAR_CMP_EQ, value=0x62b00003a880) at /data/src/10.5/sql/opt_range.cc:8949
|
#17 0x00005600c6fff3fc in Item_bool_func::get_mm_leaf (this=0x62b00003a978, param=0x7f299630c7f0, field=0x6190000cc1f8, key_part=0x6210000ec538, functype=Item_func::EQ_FUNC, value=0x62b00003a880) at /data/src/10.5/sql/opt_range.cc:8804
|
#18 0x00005600c6ffd658 in Item_bool_func::get_mm_parts (this=0x62b00003a978, param=0x7f299630c7f0, field=0x6190000cc1f8, type=Item_func::EQ_FUNC, value=0x62b00003a880) at /data/src/10.5/sql/opt_range.cc:8639
|
#19 0x00005600c6ffca91 in Item_equal::get_mm_tree (this=0x62b00003a978, param=0x7f299630c7f0, cond_ptr=0x62b00003a328) at /data/src/10.5/sql/opt_range.cc:8568
|
#20 0x00005600c6fdb490 in calculate_cond_selectivity_for_table (thd=0x62b000069218, table=0x6190000cbc98, cond=0x62b00003a328) at /data/src/10.5/sql/opt_range.cc:3517
|
#21 0x00005600c64b9908 in make_join_statistics (join=0x62b000039f10, tables_list=..., keyuse_array=0x62b00003a208) at /data/src/10.5/sql/sql_select.cc:5658
|
#22 0x00005600c6497af3 in JOIN::optimize_inner (this=0x62b000039f10) at /data/src/10.5/sql/sql_select.cc:2363
|
#23 0x00005600c6490f67 in JOIN::optimize (this=0x62b000039f10) at /data/src/10.5/sql/sql_select.cc:1721
|
#24 0x00005600c64b1bcc in mysql_select (thd=0x62b000069218, tables=0x62b000038958, fields=..., conds=0x62b0000392a0, og_num=0, order=0x0, group=0x0, having=0x0, proc_param=0x0, select_options=2147748608, result=0x62b000039ee0, unit=0x62b00006d3c8, select_lex=0x62b0000382e0) at /data/src/10.5/sql/sql_select.cc:4845
|
#25 0x00005600c6482a52 in handle_select (thd=0x62b000069218, lex=0x62b00006d300, result=0x62b000039ee0, setup_tables_done_option=0) at /data/src/10.5/sql/sql_select.cc:450
|
#26 0x00005600c63ec34b in execute_sqlcom_select (thd=0x62b000069218, all_tables=0x62b000038958) at /data/src/10.5/sql/sql_parse.cc:6331
|
#27 0x00005600c63dae4d in mysql_execute_command (thd=0x62b000069218) at /data/src/10.5/sql/sql_parse.cc:4008
|
#28 0x00005600c63f7299 in mysql_parse (thd=0x62b000069218, rawbuf=0x62b000038238 "SELECT * FROM t WHERE f = 'bug'", length=31, parser_state=0x7f299630ec10, is_com_multi=false, is_next_command=false) at /data/src/10.5/sql/sql_parse.cc:8106
|
#29 0x00005600c63cce2a in dispatch_command (command=COM_QUERY, thd=0x62b000069218, packet=0x629000253219 "SELECT * FROM t WHERE f = 'bug'", packet_length=31, is_com_multi=false, is_next_command=false) at /data/src/10.5/sql/sql_parse.cc:1891
|
#30 0x00005600c63c97bd in do_command (thd=0x62b000069218) at /data/src/10.5/sql/sql_parse.cc:1375
|
#31 0x00005600c68169f7 in do_handle_one_connection (connect=0x608000002b38, put_in_cache=true) at /data/src/10.5/sql/sql_connect.cc:1416
|
#32 0x00005600c68163bf in handle_one_connection (arg=0x608000002ab8) at /data/src/10.5/sql/sql_connect.cc:1318
|
#33 0x00005600c746638a in pfs_spawn_thread (arg=0x615000005318) at /data/src/10.5/storage/perfschema/pfs.cc:2201
|
#34 0x00007f299daa7fd4 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
|
#35 0x00007f299db285bc in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
|