Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-11007

Embedded server crashes in ha_mroonga::generic_ft_init_ext_select and other places

    XMLWordPrintable

    Details

      Description

      perl ./mtr mroonga/storage.fulltext_two_inner_join --embedded
      

      Stack trace from 10.1 f35e918989

      #2  0x00007f60d6426d34 in signal_handler (sig=11) at /data/src/10.1-bug3/client/mysqltest.cc:8790
      #3  <signal handler called>
      #4  0x00007f60d2e722d5 in ha_mroonga::generic_ft_init_ext_select (this=0x7f60a40658a8, flags=3, key_nr=1, key=0x7f60d99541c8) at /data/src/10.1-bug3/storage/mroonga/ha_mroonga.cpp:8172
      #5  0x00007f60d2e72a3d in ha_mroonga::generic_ft_init_ext (this=0x7f60a40658a8, flags=3, key_nr=1, key=0x7f60d99541c8) at /data/src/10.1-bug3/storage/mroonga/ha_mroonga.cpp:8242
      #6  0x00007f60d2e73172 in ha_mroonga::storage_ft_init_ext (this=0x7f60a40658a8, flags=3, key_nr=1, key=0x7f60d99541c8) at /data/src/10.1-bug3/storage/mroonga/ha_mroonga.cpp:8307
      #7  0x00007f60d2e733e8 in ha_mroonga::ft_init_ext (this=0x7f60a40658a8, flags=3, key_nr=1, key=0x7f60d99541c8) at /data/src/10.1-bug3/storage/mroonga/ha_mroonga.cpp:8333
      #8  0x00007f60d658e9b9 in Item_func_match::init_search (this=0x7f60d9954230, thd=0x7f60d95979b0, no_order=false) at /data/src/10.1-bug3/sql/item_func.cc:6139
      #9  0x00007f60d671c909 in init_ftfuncs (thd=0x7f60d95979b0, select_lex=0x7f60d959b9b8, no_order=false) at /data/src/10.1-bug3/sql/sql_base.cc:9211
      #10 0x00007f60d67441a5 in JOIN::optimize_inner (this=0x7f60d9956100) at /data/src/10.1-bug3/sql/sql_select.cc:1802
      #11 0x00007f60d67416b2 in JOIN::optimize (this=0x7f60d9956100) at /data/src/10.1-bug3/sql/sql_select.cc:1040
      #12 0x00007f60d6749cee in mysql_select (thd=0x7f60d95979b0, rref_pointer_array=0x7f60d959bc30, tables=0x7f60d9953050, wild_num=1, fields=..., conds=0x0, og_num=0, order=0x0, group=0x0, having=0x0, proc_param=0x0, select_options=2147748608, result=0x7f60d99560e0, unit=0x7f60d959b2b8, select_lex=0x7f60d959b9b8) at /data/src/10.1-bug3/sql/sql_select.cc:3424
      #13 0x00007f60d673f872 in handle_select (thd=0x7f60d95979b0, lex=0x7f60d959b1f0, result=0x7f60d99560e0, setup_tables_done_option=0) at /data/src/10.1-bug3/sql/sql_select.cc:384
      #14 0x00007f60d64818b6 in execute_sqlcom_select (thd=0x7f60d95979b0, all_tables=0x7f60d9953050) at /data/src/10.1-bug3/sql/sql_parse.cc:5895
      #15 0x00007f60d647b887 in mysql_execute_command (thd=0x7f60d95979b0) at /data/src/10.1-bug3/sql/sql_parse.cc:2961
      #16 0x00007f60d64833a5 in mysql_parse (thd=0x7f60d95979b0, rawbuf=0x7f60d9952cf8 "SELECT *\nFROM comments\nINNER JOIN posts\nON posts.id = comments.post_id AND\nMATCH (posts.content) AGAINST (\"Hello!\" IN BOOLEAN MODE)\nINNER JOIN users\nON users.id = comments.user_id AND\nusers.name = \"Al"..., length=204, parser_state=0x7f60d0301a80) at /data/src/10.1-bug3/sql/sql_parse.cc:7318
      #17 0x00007f60d64785a9 in dispatch_command (command=COM_QUERY, thd=0x7f60d95979b0, packet=0x7f60d996a760 "SELECT *\nFROM comments\nINNER JOIN posts\nON posts.id = comments.post_id AND\nMATCH (posts.content) AGAINST (\"Hello!\" IN BOOLEAN MODE)\nINNER JOIN users\nON users.id = comments.user_id AND\nusers.name = \"Al"..., packet_length=204) at /data/src/10.1-bug3/sql/sql_parse.cc:1487
      #18 0x00007f60d646a213 in emb_advanced_command (mysql=0x7f60d990bc80, command=COM_QUERY, header=0x0, header_length=0, arg=0x7f60d996a760 "SELECT *\nFROM comments\nINNER JOIN posts\nON posts.id = comments.post_id AND\nMATCH (posts.content) AGAINST (\"Hello!\" IN BOOLEAN MODE)\nINNER JOIN users\nON users.id = comments.user_id AND\nusers.name = \"Al"..., arg_length=204, skip_check=1 '\001', stmt=0x0) at /data/src/10.1-bug3/libmysqld/lib_sql.cc:168
      #19 0x00007f60d654ca3f in mysql_send_query (mysql=0x7f60d990bc80, query=0x7f60d996a760 "SELECT *\nFROM comments\nINNER JOIN posts\nON posts.id = comments.post_id AND\nMATCH (posts.content) AGAINST (\"Hello!\" IN BOOLEAN MODE)\nINNER JOIN users\nON users.id = comments.user_id AND\nusers.name = \"Al"..., length=204) at /data/src/10.1-bug3/sql-common/client.c:4067
      #20 0x00007f60d64158bd in connection_thread (arg=0x7f60d9095340) at /data/src/10.1-bug3/client/mysqltest.cc:880
      #21 0x00007f60d5bef0a4 in start_thread (arg=0x7f60d0302b00) at pthread_create.c:309
      #22 0x00007f60d3ddc87d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
      

      perl ./mtr --embedded mroonga/storage.optimization_count_skip_index_view
      

      #2  0x00007f7c89617d34 in signal_handler (sig=11) at /data/src/10.1-bug3/client/mysqltest.cc:8790
      #3  <signal handler called>
      #4  ha_mroonga::storage_index_read_map (this=0x7f7c4c03b988, buf=0x7f7c4c0633e8 '\217' <repeats 144 times>, '\245' <repeats 56 times>..., key=0x7f7c8cdfdc48 "\002", keypart_map=1, find_flag=HA_READ_KEY_EXACT) at /data/src/10.1-bug3/storage/mroonga/ha_mroonga.cpp:7122
      #5  0x00007f7c8605d44c in ha_mroonga::index_read_map (this=0x7f7c4c03b988, buf=0x7f7c4c0633e8 '\217' <repeats 144 times>, '\245' <repeats 56 times>..., key=0x7f7c8cdfdc48 "\002", keypart_map=1, find_flag=HA_READ_KEY_EXACT) at /data/src/10.1-bug3/storage/mroonga/ha_mroonga.cpp:7146
      #6  0x00007f7c89a01839 in handler::ha_index_read_map (this=0x7f7c4c03b988, buf=0x7f7c4c0633e8 '\217' <repeats 144 times>, '\245' <repeats 56 times>..., key=0x7f7c8cdfdc48 "\002", keypart_map=1, find_flag=HA_READ_KEY_EXACT) at /data/src/10.1-bug3/sql/handler.cc:2622
      #7  0x00007f7c89961988 in join_read_always_key (tab=0x7f7c4c06f450) at /data/src/10.1-bug3/sql/sql_select.cc:19074
      #8  0x00007f7c8995ff2e in sub_select (join=0x7f7c8cdfbdf8, join_tab=0x7f7c4c06f450, end_of_records=false) at /data/src/10.1-bug3/sql/sql_select.cc:18311
      #9  0x00007f7c89960672 in evaluate_join_record (join=0x7f7c8cdfbdf8, join_tab=0x7f7c4c06f108, error=0) at /data/src/10.1-bug3/sql/sql_select.cc:18539
      #10 0x00007f7c8995ff90 in sub_select (join=0x7f7c8cdfbdf8, join_tab=0x7f7c4c06f108, end_of_records=false) at /data/src/10.1-bug3/sql/sql_select.cc:18314
      #11 0x00007f7c8995f804 in do_select (join=0x7f7c8cdfbdf8, fields=0x7f7c8cdfc1e8, table=0x0, procedure=0x0) at /data/src/10.1-bug3/sql/sql_select.cc:17969
      #12 0x00007f7c8993a569 in JOIN::exec_inner (this=0x7f7c8cdfbdf8) at /data/src/10.1-bug3/sql/sql_select.cc:3215
      #13 0x00007f7c89937813 in JOIN::exec (this=0x7f7c8cdfbdf8) at /data/src/10.1-bug3/sql/sql_select.cc:2505
      #14 0x00007f7c8993ad81 in mysql_select (thd=0x7f7c8ca3c9c0, rref_pointer_array=0x7f7c8ca40c40, tables=0x7f7c8cdf8008, wild_num=0, fields=..., conds=0x7f7c8cdf87a0, og_num=0, order=0x0, group=0x0, having=0x0, proc_param=0x0, select_options=2147748608, result=0x7f7c8cdfbdd8, unit=0x7f7c8ca402c8, select_lex=0x7f7c8ca409c8) at /data/src/10.1-bug3/sql/sql_select.cc:3438
      #15 0x00007f7c89930872 in handle_select (thd=0x7f7c8ca3c9c0, lex=0x7f7c8ca40200, result=0x7f7c8cdfbdd8, setup_tables_done_option=0) at /data/src/10.1-bug3/sql/sql_select.cc:384
      #16 0x00007f7c896728b6 in execute_sqlcom_select (thd=0x7f7c8ca3c9c0, all_tables=0x7f7c8cdf8008) at /data/src/10.1-bug3/sql/sql_parse.cc:5895
      #17 0x00007f7c8966c887 in mysql_execute_command (thd=0x7f7c8ca3c9c0) at /data/src/10.1-bug3/sql/sql_parse.cc:2961
      #18 0x00007f7c896743a5 in mysql_parse (thd=0x7f7c8ca3c9c0, rawbuf=0x7f7c8cdf7d08 "SELECT COUNT(*) FROM articles WHERE name = 'Bob'", length=48, parser_state=0x7f7c8415aa80) at /data/src/10.1-bug3/sql/sql_parse.cc:7318
      #19 0x00007f7c896695a9 in dispatch_command (command=COM_QUERY, thd=0x7f7c8ca3c9c0, packet=0x7f7c8ce0f5a0 "SELECT COUNT(*) FROM articles WHERE name = 'Bob'", packet_length=48) at /data/src/10.1-bug3/sql/sql_parse.cc:1487
      #20 0x00007f7c8965b213 in emb_advanced_command (mysql=0x7f7c8cdb0c90, command=COM_QUERY, header=0x0, header_length=0, arg=0x7f7c8ce0f5a0 "SELECT COUNT(*) FROM articles WHERE name = 'Bob'", arg_length=48, skip_check=1 '\001', stmt=0x0) at /data/src/10.1-bug3/libmysqld/lib_sql.cc:168
      #21 0x00007f7c8973da3f in mysql_send_query (mysql=0x7f7c8cdb0c90, query=0x7f7c8ce0f5a0 "SELECT COUNT(*) FROM articles WHERE name = 'Bob'", length=48) at /data/src/10.1-bug3/sql-common/client.c:4067
      #22 0x00007f7c896068bd in connection_thread (arg=0x7f7c8c53a350) at /data/src/10.1-bug3/client/mysqltest.cc:880
      #23 0x00007f7c88de00a4 in start_thread (arg=0x7f7c8415bb00) at pthread_create.c:309
      #24 0x00007f7c86fcd87d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
      

      perl ./mtr --embedded mroonga/storage.alter_table_change_column_have_index
      

      #2  0x00007fb9fac3bd34 in signal_handler (sig=11) at /data/src/10.1-bug3/client/mysqltest.cc:8790
      #3  <signal handler called>
      #4  0x00007fb9f7d3a0da in ha_mroonga::storage_inplace_alter_table_index (this=0x7fb9e807d588, altered_table=0x7fb9e8082690, ha_alter_info=0x7fb9f5b304e0) at /data/src/10.1-bug3/storage/mroonga/ha_mroonga.cpp:14378
      #5  0x00007fb9f7d3bcef in ha_mroonga::storage_inplace_alter_table (this=0x7fb9e807d588, altered_table=0x7fb9e8082690, ha_alter_info=0x7fb9f5b304e0) at /data/src/10.1-bug3/storage/mroonga/ha_mroonga.cpp:14748
      #6  0x00007fb9f7d3bfc4 in ha_mroonga::inplace_alter_table (this=0x7fb9e807d588, altered_table=0x7fb9e8082690, ha_alter_info=0x7fb9f5b304e0) at /data/src/10.1-bug3/storage/mroonga/ha_mroonga.cpp:14784
      #7  0x00007fb9faccef4b in handler::ha_inplace_alter_table (this=0x7fb9e807d588, altered_table=0x7fb9e8082690, ha_alter_info=0x7fb9f5b304e0) at /data/src/10.1-bug3/sql/handler.h:3704
      #8  0x00007fb9facc6a66 in mysql_inplace_alter_table (thd=0x7fb9fcbefea0, table_list=0x7fb9fcc3a2e0, table=0x7fb9e807c940, altered_table=0x7fb9e8082690, ha_alter_info=0x7fb9f5b304e0, inplace_supported=HA_ALTER_INPLACE_EXCLUSIVE_LOCK, target_mdl_request=0x7fb9f5b30550, alter_ctx=0x7fb9f5b310f0) at /data/src/10.1-bug3/sql/sql_table.cc:7124
      #9  0x00007fb9faccb206 in mysql_alter_table (thd=0x7fb9fcbefea0, new_db=0x7fb9fcc3a8d0 "test", new_name=0x0, create_info=0x7fb9f5b31ce0, table_list=0x7fb9fcc3a2e0, alter_info=0x7fb9f5b31c50, order_num=0, order=0x0, ignore=false) at /data/src/10.1-bug3/sql/sql_table.cc:8936
      #10 0x00007fb9fad592a8 in Sql_cmd_alter_table::execute (this=0x7fb9fcc3a9d0, thd=0x7fb9fcbefea0) at /data/src/10.1-bug3/sql/sql_alter.cc:325
      #11 0x00007fb9fac95e83 in mysql_execute_command (thd=0x7fb9fcbefea0) at /data/src/10.1-bug3/sql/sql_parse.cc:5670
      #12 0x00007fb9fac983a5 in mysql_parse (thd=0x7fb9fcbefea0, rawbuf=0x7fb9fcc3a1c8 "ALTER TABLE bugs CHANGE COLUMN title title VARCHAR(64)", length=54, parser_state=0x7fb9f5b32a80) at /data/src/10.1-bug3/sql/sql_parse.cc:7318
      #13 0x00007fb9fac8d5a9 in dispatch_command (command=COM_QUERY, thd=0x7fb9fcbefea0, packet=0x7fb9fcc51490 "ALTER TABLE bugs CHANGE COLUMN title title VARCHAR(64)", packet_length=54) at /data/src/10.1-bug3/sql/sql_parse.cc:1487
      #14 0x00007fb9fac7f213 in emb_advanced_command (mysql=0x7fb9fcc27760, command=COM_QUERY, header=0x0, header_length=0, arg=0x7fb9fcc51490 "ALTER TABLE bugs CHANGE COLUMN title title VARCHAR(64)", arg_length=54, skip_check=1 '\001', stmt=0x0) at /data/src/10.1-bug3/libmysqld/lib_sql.cc:168
      #15 0x00007fb9fad61a3f in mysql_send_query (mysql=0x7fb9fcc27760, query=0x7fb9fcc51490 "ALTER TABLE bugs CHANGE COLUMN title title VARCHAR(64)", length=54) at /data/src/10.1-bug3/sql-common/client.c:4067
      #16 0x00007fb9fac2a8bd in connection_thread (arg=0x7fb9fc7d3a90) at /data/src/10.1-bug3/client/mysqltest.cc:880
      #17 0x00007fb9fa4040a4 in start_thread (arg=0x7fb9f5b33b00) at pthread_create.c:309
      #18 0x00007fb9f85f187d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
      

      perl ./mtr --embedded mroonga/storage.alter_table_disable_keys_fulltext_table
      

      #2  0x00007f7834320d34 in signal_handler (sig=11) at /data/src/10.1-bug3/client/mysqltest.cc:8790
      #3  <signal handler called>
      #4  0x00007f7831416dca in ha_mroonga::storage_disable_indexes (this=0x7f7820022ce8, mode=2) at /data/src/10.1-bug3/storage/mroonga/ha_mroonga.cpp:13184
      #5  0x00007f78314170e9 in ha_mroonga::disable_indexes (this=0x7f7820022ce8, mode=2) at /data/src/10.1-bug3/storage/mroonga/ha_mroonga.cpp:13218
      #6  0x00007f783470dadb in handler::ha_disable_indexes (this=0x7f7820022ce8, mode=2) at /data/src/10.1-bug3/sql/handler.cc:4125
      #7  0x00007f78343ab350 in alter_table_manage_keys (table=0x7f7820012890, indexes_were_disabled=0, keys_onoff=Alter_info::DISABLE) at /data/src/10.1-bug3/sql/sql_table.cc:6861
      #8  0x00007f78343ae57c in simple_rename_or_index_change (thd=0x7f783813eea0, table_list=0x7f78381892b0, keys_onoff=Alter_info::DISABLE, alter_ctx=0x7f782f2160f0) at /data/src/10.1-bug3/sql/sql_table.cc:8188
      #9  0x00007f78343af5a4 in mysql_alter_table (thd=0x7f783813eea0, new_db=0x7f78381898a0 "test", new_name=0x0, create_info=0x7f782f216ce0, table_list=0x7f78381892b0, alter_info=0x7f782f216c50, order_num=0, order=0x0, ignore=false) at /data/src/10.1-bug3/sql/sql_table.cc:8581
      #10 0x00007f783443e2a8 in Sql_cmd_alter_table::execute (this=0x7f78381898a8, thd=0x7f783813eea0) at /data/src/10.1-bug3/sql/sql_alter.cc:325
      #11 0x00007f783437ae83 in mysql_execute_command (thd=0x7f783813eea0) at /data/src/10.1-bug3/sql/sql_parse.cc:5670
      #12 0x00007f783437d3a5 in mysql_parse (thd=0x7f783813eea0, rawbuf=0x7f78381891c8 "ALTER TABLE memos DISABLE KEYS", length=30, parser_state=0x7f782f217a80) at /data/src/10.1-bug3/sql/sql_parse.cc:7318
      #13 0x00007f78343725a9 in dispatch_command (command=COM_QUERY, thd=0x7f783813eea0, packet=0x7f783819ac20 "ALTER TABLE memos DISABLE KEYS", packet_length=30) at /data/src/10.1-bug3/sql/sql_parse.cc:1487
      #14 0x00007f7834364213 in emb_advanced_command (mysql=0x7f7838176760, command=COM_QUERY, header=0x0, header_length=0, arg=0x7f783819ac20 "ALTER TABLE memos DISABLE KEYS", arg_length=30, skip_check=1 '\001', stmt=0x0) at /data/src/10.1-bug3/libmysqld/lib_sql.cc:168
      #15 0x00007f7834446a3f in mysql_send_query (mysql=0x7f7838176760, query=0x7f783819ac20 "ALTER TABLE memos DISABLE KEYS", length=30) at /data/src/10.1-bug3/sql-common/client.c:4067
      #16 0x00007f783430f8bd in connection_thread (arg=0x7f7837d22a90) at /data/src/10.1-bug3/client/mysqltest.cc:880
      #17 0x00007f7833ae90a4 in start_thread (arg=0x7f782f218b00) at pthread_create.c:309
      #18 0x00007f7831cd687d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
      

      perl ./mtr --embedded mroonga/storage.alter_table_disable_keys_multiple_column
      

      #2  0x00007f9dff4d4d34 in signal_handler (sig=11) at /data/src/10.1-bug3/client/mysqltest.cc:8790
      #3  <signal handler called>
      #4  0x00007f9dfc59bda2 in ha_mroonga::storage_write_row_multiple_column_indexes (this=0x7f9dec07d878, buf=0x7f9dec080f38 "\374\001", record_id=1) at /data/src/10.1-bug3/storage/mroonga/ha_mroonga.cpp:5658
      #5  0x00007f9dfc59b1ce in ha_mroonga::storage_write_row (this=0x7f9dec07d878, buf=0x7f9dec080f38 "\374\001") at /data/src/10.1-bug3/storage/mroonga/ha_mroonga.cpp:5546
      #6  0x00007f9dfc59cb62 in ha_mroonga::write_row (this=0x7f9dec07d878, buf=0x7f9dec080f38 "\374\001") at /data/src/10.1-bug3/storage/mroonga/ha_mroonga.cpp:5820
      #7  0x00007f9dff8c59ad in handler::ha_write_row (this=0x7f9dec07d878, buf=0x7f9dec080f38 "\374\001") at /data/src/10.1-bug3/sql/handler.cc:5915
      #8  0x00007f9dff601a01 in write_record (thd=0x7f9e01d82ea0, table=0x7f9dec07c1b0, info=0x7f9dfa3cb2f0) at /data/src/10.1-bug3/sql/sql_insert.cc:1882
      #9  0x00007f9dff5ff5a0 in mysql_insert (thd=0x7f9e01d82ea0, table_list=0x7f9e01dcd2f0, fields=..., values_list=..., update_fields=..., update_values=..., duplic=DUP_ERROR, ignore=false) at /data/src/10.1-bug3/sql/sql_insert.cc:991
      #10 0x00007f9dff52b1aa in mysql_execute_command (thd=0x7f9e01d82ea0) at /data/src/10.1-bug3/sql/sql_parse.cc:3897
      #11 0x00007f9dff5313a5 in mysql_parse (thd=0x7f9e01d82ea0, rawbuf=0x7f9e01dcd1c8 "INSERT INTO diaries VALUES (1, \"Hello\", \"2012-04-30 20:00:00\")", length=62, parser_state=0x7f9dfa3cba80) at /data/src/10.1-bug3/sql/sql_parse.cc:7318
      #12 0x00007f9dff5265a9 in dispatch_command (command=COM_QUERY, thd=0x7f9e01d82ea0, packet=0x7f9e01de47c0 "INSERT INTO diaries VALUES (1, \"Hello\", \"2012-04-30 20:00:00\")", packet_length=62) at /data/src/10.1-bug3/sql/sql_parse.cc:1487
      #13 0x00007f9dff518213 in emb_advanced_command (mysql=0x7f9e01dba760, command=COM_QUERY, header=0x0, header_length=0, arg=0x7f9e01de47c0 "INSERT INTO diaries VALUES (1, \"Hello\", \"2012-04-30 20:00:00\")", arg_length=62, skip_check=1 '\001', stmt=0x0) at /data/src/10.1-bug3/libmysqld/lib_sql.cc:168
      #14 0x00007f9dff5faa3f in mysql_send_query (mysql=0x7f9e01dba760, query=0x7f9e01de47c0 "INSERT INTO diaries VALUES (1, \"Hello\", \"2012-04-30 20:00:00\")", length=62) at /data/src/10.1-bug3/sql-common/client.c:4067
      #15 0x00007f9dff4c38bd in connection_thread (arg=0x7f9e01966a90) at /data/src/10.1-bug3/client/mysqltest.cc:880
      #16 0x00007f9dfec9d0a4 in start_thread (arg=0x7f9dfa3ccb00) at pthread_create.c:309
      #17 0x00007f9dfce8a87d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
      

      perl ./mtr --embedded mroonga/storage.alter_table_disable_keys_normal
      

      #2  0x00007f199f520d34 in signal_handler (sig=11) at /data/src/10.1-bug3/client/mysqltest.cc:8790
      #3  <signal handler called>
      #4  ha_mroonga::storage_records_in_range (this=0x7f198c07d8b8, key_nr=1, range_min=0x7f199a414ec0, range_max=0x7f199a414ee0) at /data/src/10.1-bug3/storage/mroonga/ha_mroonga.cpp:6797
      #5  0x00007f199c5ef5c5 in ha_mroonga::records_in_range (this=0x7f198c07d8b8, key_nr=1, range_min=0x7f199a414ec0, range_max=0x7f199a414ee0) at /data/src/10.1-bug3/storage/mroonga/ha_mroonga.cpp:6850
      #6  0x00007f199f9f7ef7 in handler::multi_range_read_info_const (this=0x7f198c07d8b8, keyno=1, seq=0x7f199a415900, seq_init_param=0x7f199a415930, n_ranges_arg=0, bufsz=0x7f199a415ec0, flags=0x7f199a415ebc, cost=0x7f199a415f30) at /data/src/10.1-bug3/sql/multi_range_read.cc:94
      #7  0x00007f199c60e5f5 in ha_mroonga::storage_multi_range_read_info_const (this=0x7f198c07d8b8, keyno=1, seq=0x7f199a415900, seq_init_param=0x7f199a415930, n_ranges=0, bufsz=0x7f199a415ec0, flags=0x7f199a415ebc, cost=0x7f199a415f30) at /data/src/10.1-bug3/storage/mroonga/ha_mroonga.cpp:11893
      #8  0x00007f199c60e84b in ha_mroonga::multi_range_read_info_const (this=0x7f198c07d8b8, keyno=1, seq=0x7f199a415900, seq_init_param=0x7f199a415930, n_ranges=0, bufsz=0x7f199a415ec0, flags=0x7f199a415ebc, cost=0x7f199a415f30) at /data/src/10.1-bug3/storage/mroonga/ha_mroonga.cpp:11913
      #9  0x00007f199f8983cc in check_quick_select (param=0x7f199a4160e0, idx=0, index_only=false, tree=0x7f198c04df88, update_tbl_stats=true, mrr_flags=0x7f199a415ebc, bufsize=0x7f199a415ec0, cost=0x7f199a415f30) at /data/src/10.1-bug3/sql/opt_range.cc:10098
      #10 0x00007f199f890e0e in get_key_scans_params (param=0x7f199a4160e0, tree=0x7f198c04df00, index_read_must_be_used=false, update_tbl_stats=true, read_time=1.7976931348623157e+308) at /data/src/10.1-bug3/sql/opt_range.cc:6779
      #11 0x00007f199f887ac7 in SQL_SELECT::test_quick_select (this=0x7f19a26cebb8, thd=0x7f19a2681ea0, keys_to_use=..., prev_tables=0, limit=18446744073709551615, force_quick_range=false, ordered_output=false, remove_false_parts_of_where=true) at /data/src/10.1-bug3/sql/opt_range.cc:2596
      #12 0x00007f199f843f6b in get_quick_record_count (thd=0x7f19a2681ea0, select=0x7f19a26cebb8, table=0x7f198c07c1f0, keys=0x7f19a26cdc70, limit=18446744073709551615) at /data/src/10.1-bug3/sql/sql_select.cc:3475
      #13 0x00007f199f8463e9 in make_join_statistics (join=0x7f19a26cce88, tables_list=..., keyuse_array=0x7f19a26cd1b8) at /data/src/10.1-bug3/sql/sql_select.cc:4095
      #14 0x00007f199f83c7c7 in JOIN::optimize_inner (this=0x7f19a26cce88) at /data/src/10.1-bug3/sql/sql_select.cc:1361
      #15 0x00007f199f83b6b2 in JOIN::optimize (this=0x7f19a26cce88) at /data/src/10.1-bug3/sql/sql_select.cc:1040
      #16 0x00007f199f843cee in mysql_select (thd=0x7f19a2681ea0, rref_pointer_array=0x7f19a2686120, tables=0x7f19a26cc488, wild_num=1, fields=..., conds=0x7f19a26ccc40, og_num=0, order=0x0, group=0x0, having=0x0, proc_param=0x0, select_options=2147748608, result=0x7f19a26cce68, unit=0x7f19a26857a8, select_lex=0x7f19a2685ea8) at /data/src/10.1-bug3/sql/sql_select.cc:3424
      #17 0x00007f199f839872 in handle_select (thd=0x7f19a2681ea0, lex=0x7f19a26856e0, result=0x7f19a26cce68, setup_tables_done_option=0) at /data/src/10.1-bug3/sql/sql_select.cc:384
      #18 0x00007f199f57b8b6 in execute_sqlcom_select (thd=0x7f19a2681ea0, all_tables=0x7f19a26cc488) at /data/src/10.1-bug3/sql/sql_parse.cc:5895
      #19 0x00007f199f575887 in mysql_execute_command (thd=0x7f19a2681ea0) at /data/src/10.1-bug3/sql/sql_parse.cc:2961
      #20 0x00007f199f57d3a5 in mysql_parse (thd=0x7f19a2681ea0, rawbuf=0x7f19a26cc1c8 "SELECT *\nFROM diaries\nFORCE INDEX (created_at_index)\nWHERE created_at = \"2012-04-30 20:00:00\"", length=93, parser_state=0x7f199a417a80) at /data/src/10.1-bug3/sql/sql_parse.cc:7318
      #21 0x00007f199f5725a9 in dispatch_command (command=COM_QUERY, thd=0x7f19a2681ea0, packet=0x7f19a26e3e50 "SELECT *\nFROM diaries\nFORCE INDEX (created_at_index)\nWHERE created_at = \"2012-04-30 20:00:00\"", packet_length=93) at /data/src/10.1-bug3/sql/sql_parse.cc:1487
      #22 0x00007f199f564213 in emb_advanced_command (mysql=0x7f19a26b9760, command=COM_QUERY, header=0x0, header_length=0, arg=0x7f19a26e3e50 "SELECT *\nFROM diaries\nFORCE INDEX (created_at_index)\nWHERE created_at = \"2012-04-30 20:00:00\"", arg_length=93, skip_check=1 '\001', stmt=0x0) at /data/src/10.1-bug3/libmysqld/lib_sql.cc:168
      #23 0x00007f199f646a3f in mysql_send_query (mysql=0x7f19a26b9760, query=0x7f19a26e3e50 "SELECT *\nFROM diaries\nFORCE INDEX (created_at_index)\nWHERE created_at = \"2012-04-30 20:00:00\"", length=93) at /data/src/10.1-bug3/sql-common/client.c:4067
      #24 0x00007f199f50f8bd in connection_thread (arg=0x7f19a2265a90) at /data/src/10.1-bug3/client/mysqltest.cc:880
      #25 0x00007f199ece90a4 in start_thread (arg=0x7f199a418b00) at pthread_create.c:309
      #26 0x00007f199ced687d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
      

      perl ./mtr --embedded mroonga/storage.auto_increment_TODO_SPLIT_ME
      

      #2  0x00007f1b5ec93d34 in signal_handler (sig=11) at /data/src/10.1-bug3/client/mysqltest.cc:8790
      #3  <signal handler called>
      #4  ha_mroonga::storage_index_last (this=0x7f1b4c076448, buf=0x7f1b4c02d5f8 "\377", '\245' <repeats 15 times>, " \326\002L\033\177") at /data/src/10.1-bug3/storage/mroonga/ha_mroonga.cpp:7441
      #5  0x00007f1b5bd660ce in ha_mroonga::index_last (this=0x7f1b4c076448, buf=0x7f1b4c02d5f8 "\377", '\245' <repeats 15 times>, " \326\002L\033\177") at /data/src/10.1-bug3/storage/mroonga/ha_mroonga.cpp:7462
      #6  0x00007f1b5f07df85 in handler::ha_index_last (this=0x7f1b4c076448, buf=0x7f1b4c02d5f8 "\377", '\245' <repeats 15 times>, " \326\002L\033\177") at /data/src/10.1-bug3/sql/handler.cc:2715
      #7  0x00007f1b5f07eab7 in handler::get_auto_increment (this=0x7f1b4c076448, offset=1, increment=1, nb_desired_values=1, first_value=0x7f1b59b87d80, nb_reserved_values=0x7f1b59b87d88) at /data/src/10.1-bug3/sql/handler.cc:3210
      #8  0x00007f1b5bd95c6e in ha_mroonga::storage_get_auto_increment (this=0x7f1b4c076448, offset=1, increment=1, nb_desired_values=1, first_value=0x7f1b59b87d80, nb_reserved_values=0x7f1b59b87d88) at /data/src/10.1-bug3/storage/mroonga/ha_mroonga.cpp:15433
      #9  0x00007f1b5bd95f40 in ha_mroonga::get_auto_increment (this=0x7f1b4c076448, offset=1, increment=1, nb_desired_values=1, first_value=0x7f1b59b87d80, nb_reserved_values=0x7f1b59b87d88) at /data/src/10.1-bug3/storage/mroonga/ha_mroonga.cpp:15460
      #10 0x00007f1b5f07e64e in handler::update_auto_increment (this=0x7f1b4c076448) at /data/src/10.1-bug3/sql/handler.cc:3058
      #11 0x00007f1b5bd95060 in ha_mroonga::storage_update_auto_increment (this=0x7f1b4c076448) at /data/src/10.1-bug3/storage/mroonga/ha_mroonga.cpp:15351
      #12 0x00007f1b5bd95260 in ha_mroonga::update_auto_increment (this=0x7f1b4c076448) at /data/src/10.1-bug3/storage/mroonga/ha_mroonga.cpp:15365
      #13 0x00007f1b5bd5956d in ha_mroonga::storage_write_row (this=0x7f1b4c076448, buf=0x7f1b4c02d5e8 "\377\001") at /data/src/10.1-bug3/storage/mroonga/ha_mroonga.cpp:5397
      #14 0x00007f1b5bd5bb62 in ha_mroonga::write_row (this=0x7f1b4c076448, buf=0x7f1b4c02d5e8 "\377\001") at /data/src/10.1-bug3/storage/mroonga/ha_mroonga.cpp:5820
      #15 0x00007f1b5f0849ad in handler::ha_write_row (this=0x7f1b4c076448, buf=0x7f1b4c02d5e8 "\377\001") at /data/src/10.1-bug3/sql/handler.cc:5915
      #16 0x00007f1b5edc0a01 in write_record (thd=0x7f1b612c7ea0, table=0x7f1b4c075800, info=0x7f1b59b8a2f0) at /data/src/10.1-bug3/sql/sql_insert.cc:1882
      #17 0x00007f1b5edbe5a0 in mysql_insert (thd=0x7f1b612c7ea0, table_list=0x7f1b613122b0, fields=..., values_list=..., update_fields=..., update_values=..., duplic=DUP_ERROR, ignore=false) at /data/src/10.1-bug3/sql/sql_insert.cc:991
      #18 0x00007f1b5ecea1aa in mysql_execute_command (thd=0x7f1b612c7ea0) at /data/src/10.1-bug3/sql/sql_parse.cc:3897
      #19 0x00007f1b5ecf03a5 in mysql_parse (thd=0x7f1b612c7ea0, rawbuf=0x7f1b613121c8 "insert into t1 values(1, null)", length=30, parser_state=0x7f1b59b8aa80) at /data/src/10.1-bug3/sql/sql_parse.cc:7318
      #20 0x00007f1b5ece55a9 in dispatch_command (command=COM_QUERY, thd=0x7f1b612c7ea0, packet=0x7f1b6132b220 "insert into t1 values(1, null)", packet_length=30) at /data/src/10.1-bug3/sql/sql_parse.cc:1487
      #21 0x00007f1b5ecd7213 in emb_advanced_command (mysql=0x7f1b612ff760, command=COM_QUERY, header=0x0, header_length=0, arg=0x7f1b6132b220 "insert into t1 values(1, null)", arg_length=30, skip_check=1 '\001', stmt=0x0) at /data/src/10.1-bug3/libmysqld/lib_sql.cc:168
      #22 0x00007f1b5edb9a3f in mysql_send_query (mysql=0x7f1b612ff760, query=0x7f1b6132b220 "insert into t1 values(1, null)", length=30) at /data/src/10.1-bug3/sql-common/client.c:4067
      #23 0x00007f1b5ec828bd in connection_thread (arg=0x7f1b60eaba90) at /data/src/10.1-bug3/client/mysqltest.cc:880
      #24 0x00007f1b5e45c0a4 in start_thread (arg=0x7f1b59b8bb00) at pthread_create.c:309
      #25 0x00007f1b5c64987d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
      

      perl ./mtr --embedded mroonga/storage.column_datetime_zero_date_strict
      

      mysqltest_embedded: /data/src/10.1-bug3/sql/sql_error.cc:378: void Diagnostics_area::set_ok_status(ulonglong, ulonglong, const char*): Assertion `! is_set()' failed.
      mysqltest got signal 6
       
      #7  0x00007ff572a42312 in __GI___assert_fail (assertion=0x7ff575bbbd55 "! is_set()", file=0x7ff575bbbc88 "/data/src/10.1-bug3/sql/sql_error.cc", line=378, function=0x7ff575bbc100 <Diagnostics_area::set_ok_status(unsigned long long, unsigned long long, char const*)::__PRETTY_FUNCTION__> "void Diagnostics_area::set_ok_status(ulonglong, ulonglong, const char*)") at assert.c:101
      #8  0x00007ff5755bd932 in Diagnostics_area::set_ok_status (this=0x7ff577465b68, affected_rows=1, last_insert_id=1, message=0x0) at /data/src/10.1-bug3/sql/sql_error.cc:378
      #9  0x00007ff57518e692 in my_ok (thd=0x7ff577460ea0, affected_rows=1, id=1, message=0x0) at /data/src/10.1-bug3/libmysqld/../sql/sql_class.h:4080
      #10 0x00007ff575271c79 in mysql_insert (thd=0x7ff577460ea0, table_list=0x7ff5774ab308, fields=..., values_list=..., update_fields=..., update_values=..., duplic=DUP_ERROR, ignore=false) at /data/src/10.1-bug3/sql/sql_insert.cc:1148
      #11 0x00007ff57519d1aa in mysql_execute_command (thd=0x7ff577460ea0) at /data/src/10.1-bug3/sql/sql_parse.cc:3897
      #12 0x00007ff5751a33a5 in mysql_parse (thd=0x7ff577460ea0, rawbuf=0x7ff5774ab1c8 "INSERT INTO timestamps (create_dt) VALUES (\"0000-00-00 00:00:00\")", length=65, parser_state=0x7ff56bffda80) at /data/src/10.1-bug3/sql/sql_parse.cc:7318
      #13 0x00007ff5751985a9 in dispatch_command (command=COM_QUERY, thd=0x7ff577460ea0, packet=0x7ff5774c28b0 "INSERT INTO timestamps (create_dt) VALUES (\"0000-00-00 00:00:00\")", packet_length=65) at /data/src/10.1-bug3/sql/sql_parse.cc:1487
      #14 0x00007ff57518a213 in emb_advanced_command (mysql=0x7ff577498760, command=COM_QUERY, header=0x0, header_length=0, arg=0x7ff5774c28b0 "INSERT INTO timestamps (create_dt) VALUES (\"0000-00-00 00:00:00\")", arg_length=65, skip_check=1 '\001', stmt=0x0) at /data/src/10.1-bug3/libmysqld/lib_sql.cc:168
      #15 0x00007ff57526ca3f in mysql_send_query (mysql=0x7ff577498760, query=0x7ff5774c28b0 "INSERT INTO timestamps (create_dt) VALUES (\"0000-00-00 00:00:00\")", length=65) at /data/src/10.1-bug3/sql-common/client.c:4067
      #16 0x00007ff5751358bd in connection_thread (arg=0x7ff577044a90) at /data/src/10.1-bug3/client/mysqltest.cc:880
      #17 0x00007ff57490f0a4 in start_thread (arg=0x7ff56bffeb00) at pthread_create.c:309
      #18 0x00007ff572afc87d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
      

      perl ./mtr --embedded mroonga/storage.delete_index_btree_many_records
      

      #2  0x00007f613a583d34 in signal_handler (sig=11) at /data/src/10.1-bug3/client/mysqltest.cc:8790
      #3  <signal handler called>
      #4  ha_mroonga::storage_index_first (this=0x7f612802e338, buf=0x7f6128055a98 "\377\217\217\217\217\245\245\245\377\245\245\245\245\245\245\245\270Z\005(a\177") at /data/src/10.1-bug3/storage/mroonga/ha_mroonga.cpp:7376
      #5  0x00007f6137655893 in ha_mroonga::index_first (this=0x7f612802e338, buf=0x7f6128055a98 "\377\217\217\217\217\245\245\245\377\245\245\245\245\245\245\245\270Z\005(a\177") at /data/src/10.1-bug3/storage/mroonga/ha_mroonga.cpp:7397
      #6  0x00007f613a96de41 in handler::ha_index_first (this=0x7f612802e338, buf=0x7f6128055a98 "\377\217\217\217\217\245\245\245\377\245\245\245\245\245\245\245\270Z\005(a\177") at /data/src/10.1-bug3/sql/handler.cc:2699
      #7  0x00007f613a8ce262 in join_read_first (tab=0x7f613e1dbcf0) at /data/src/10.1-bug3/sql/sql_select.cc:19270
      #8  0x00007f613a8cbf2e in sub_select (join=0x7f613e1dabe0, join_tab=0x7f613e1dbcf0, end_of_records=false) at /data/src/10.1-bug3/sql/sql_select.cc:18311
      #9  0x00007f613a8cb804 in do_select (join=0x7f613e1dabe0, fields=0x7f613e193fc0, table=0x0, procedure=0x0) at /data/src/10.1-bug3/sql/sql_select.cc:17969
      #10 0x00007f613a8a6569 in JOIN::exec_inner (this=0x7f613e1dabe0) at /data/src/10.1-bug3/sql/sql_select.cc:3215
      #11 0x00007f613a8a3813 in JOIN::exec (this=0x7f613e1dabe0) at /data/src/10.1-bug3/sql/sql_select.cc:2505
      #12 0x00007f613a8a6d81 in mysql_select (thd=0x7f613e18fea0, rref_pointer_array=0x7f613e194120, tables=0x7f613e1da3b0, wild_num=1, fields=..., conds=0x0, og_num=1, order=0x7f613e1daab0, group=0x0, having=0x0, proc_param=0x0, select_options=2147748608, result=0x7f613e1dabc0, unit=0x7f613e1937a8, select_lex=0x7f613e193ea8) at /data/src/10.1-bug3/sql/sql_select.cc:3438
      #13 0x00007f613a89c872 in handle_select (thd=0x7f613e18fea0, lex=0x7f613e1936e0, result=0x7f613e1dabc0, setup_tables_done_option=0) at /data/src/10.1-bug3/sql/sql_select.cc:384
      #14 0x00007f613a5de8b6 in execute_sqlcom_select (thd=0x7f613e18fea0, all_tables=0x7f613e1da3b0) at /data/src/10.1-bug3/sql/sql_parse.cc:5895
      #15 0x00007f613a5d8887 in mysql_execute_command (thd=0x7f613e18fea0) at /data/src/10.1-bug3/sql/sql_parse.cc:2961
      #16 0x00007f613a5e03a5 in mysql_parse (thd=0x7f613e18fea0, rawbuf=0x7f613e1da1c8 "SELECT * FROM ids ORDER BY id", length=29, parser_state=0x7f613547aa80) at /data/src/10.1-bug3/sql/sql_parse.cc:7318
      #17 0x00007f613a5d55a9 in dispatch_command (command=COM_QUERY, thd=0x7f613e18fea0, packet=0x7f613e1f1d80 "SELECT * FROM ids ORDER BY id", packet_length=29) at /data/src/10.1-bug3/sql/sql_parse.cc:1487
      #18 0x00007f613a5c7213 in emb_advanced_command (mysql=0x7f613e1c7760, command=COM_QUERY, header=0x0, header_length=0, arg=0x7f613e1f1d80 "SELECT * FROM ids ORDER BY id", arg_length=29, skip_check=1 '\001', stmt=0x0) at /data/src/10.1-bug3/libmysqld/lib_sql.cc:168
      #19 0x00007f613a6a9a3f in mysql_send_query (mysql=0x7f613e1c7760, query=0x7f613e1f1d80 "SELECT * FROM ids ORDER BY id", length=29) at /data/src/10.1-bug3/sql-common/client.c:4067
      #20 0x00007f613a5728bd in connection_thread (arg=0x7f613dd73a90) at /data/src/10.1-bug3/client/mysqltest.cc:880
      #21 0x00007f6139d4c0a4 in start_thread (arg=0x7f613547bb00) at pthread_create.c:309
      #22 0x00007f6137f3987d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
      

      etc.

        Attachments

          Activity

            People

            Assignee:
            kou Kouhei Sutou
            Reporter:
            elenst Elena Stepanova
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:

                Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.