Details
-
Bug
-
Status: Closed (View Workflow)
-
Minor
-
Resolution: Won't Fix
-
10.0.9
-
None
-
None
Description
I put libtokufractaltree.so into plugin_dir (which apparently should not be there), and got the assertion failure on executing SELECT * FROM I_S.ALL_PLUGINS.
It does not happen every time though, so to get it, it should be run repeatedly, e.g.
while [ true ] ; do mysql -uroot test -e "SELECT * FROM INFORMATION_SCHEMA.ALL_PLUGINS" ; done
|
(even better to put many calls for it in a file and execute it, so that there is no reconnect every time)
10.0/storage/tokudb/ft-index/util/partitioned_counter.cc:198 pk_create: Assertion `r==0' failed (errno=2)
|
: No such file or directory
|
#5 0x00007f0a8e0206f0 in *__GI_abort () at abort.c:92
|
#6 0x00007f0a8c9a0e24 in toku_do_backtrace_abort () at 10.0/storage/tokudb/ft-index/portability/toku_assert.cc:191
|
#7 0x00007f0a8c9a0f13 in toku_do_assert_fail (expr_as_string=0x7f0a8ddacf0a "r==0", function=0x7f0a8ddad0d9 "pk_create", file=0x7f0a8ddacec0 "10.0/storage/tokudb/ft-index/util/partitioned_counter.cc", line=198, caller_errno=2) at 10.0/storage/tokudb/ft-index/portability/toku_assert.cc:212
|
#8 0x00007f0a8dd7249d in pk_create (key=0x7f0a8dfeadb0, destructor=0x7f0a8dd72538 <destroy_thread_local_part_of_partitioned_counters(void*)>) at 10.0/storage/tokudb/ft-index/util/partitioned_counter.cc:198
|
#9 0x00007f0a8dd72bad in partitioned_counters_init () at 10.0/storage/tokudb/ft-index/util/partitioned_counter.cc:437
|
#10 0x00007f0a8dd1c527 in toku_ft_layer_init () at 10.0/storage/tokudb/ft-index/ft/ft-ops.cc:6280
|
#11 0x00007f0a8dca0d17 in toku_ydb_init () at 10.0/storage/tokudb/ft-index/src/ydb.cc:241
|
#12 0x00007f0a8dca09db in libtokudb_init () at 10.0/storage/tokudb/ft-index/src/ydb_lib.cc:103
|
#13 0x00007f0a8fdddf80 in ?? () from /lib64/ld-linux-x86-64.so.2
|
#14 0x00007f0a8fdde077 in ?? () from /lib64/ld-linux-x86-64.so.2
|
#15 0x00007f0a8fde2363 in ?? () from /lib64/ld-linux-x86-64.so.2
|
#16 0x00007f0a8fdddbd6 in ?? () from /lib64/ld-linux-x86-64.so.2
|
#17 0x00007f0a8fde1b4a in ?? () from /lib64/ld-linux-x86-64.so.2
|
#18 0x00007f0a8eb14f66 in dlopen_doit (a=<optimized out>) at dlopen.c:67
|
#19 0x00007f0a8fdddbd6 in ?? () from /lib64/ld-linux-x86-64.so.2
|
#20 0x00007f0a8eb152ec in _dlerror_run (operate=0x7f0a8eb14f00 <dlopen_doit>, args=0x7f0a8fedab80) at dlerror.c:164
|
#21 0x00007f0a8eb14ee1 in __dlopen (file=<optimized out>, mode=<optimized out>) at dlopen.c:88
|
#22 0x00000000006852f0 in plugin_dl_add (dl=0x7f0a8fedb220, report=2) at 10.0/sql/sql_plugin.cc:739
|
#23 0x0000000000689f11 in plugin_dl_foreach (thd=0x7f0a6ffbb070, dl=0x7f0a8fedb220, func=0x6ebe58 <show_plugins(THD*, plugin_ref, void*)>, arg=0x7f0a61c61088) at 10.0/sql/sql_plugin.cc:2401
|
#24 0x00000000006ec9e3 in fill_all_plugins (thd=0x7f0a6ffbb070, tables=0x7f0a61c582c8, cond=0x0) at 10.0/sql/sql_show.cc:332
|
#25 0x0000000000705bbb in do_fill_table (thd=0x7f0a6ffbb070, table_list=0x7f0a61c582c8, join_table=0x7f0a61cb0b30) at 10.0/sql/sql_show.cc:8078
|
#26 0x0000000000705f34 in get_schema_tables_result (join=0x7f0a61c59958, executed_place=PROCESSED_BY_JOIN_EXEC) at 10.0/sql/sql_show.cc:8176
|
#27 0x00000000006ad5bd in JOIN::exec_inner (this=0x7f0a61c59958) at 10.0/sql/sql_select.cc:2520
|
#28 0x00000000006acb9c in JOIN::exec (this=0x7f0a61c59958) at 10.0/sql/sql_select.cc:2355
|
#29 0x00000000006aff1b in mysql_select (thd=0x7f0a6ffbb070, rref_pointer_array=0x7f0a6ffbf6d8, tables=0x7f0a61c582c8, wild_num=1, fields=..., conds=0x0, og_num=0, order=0x0, group=0x0, having=0x0, proc_param=0x0, select_options=2684619520, result=0x7f0a61c59938, unit=0x7f0a6ffbed78, select_lex=0x7f0a6ffbf460) at 10.0/sql/sql_select.cc:3292
|
#30 0x00000000006a664b in handle_select (thd=0x7f0a6ffbb070, lex=0x7f0a6ffbecb0, result=0x7f0a61c59938, setup_tables_done_option=0) at 10.0/sql/sql_select.cc:372
|
#31 0x000000000067b480 in execute_sqlcom_select (thd=0x7f0a6ffbb070, all_tables=0x7f0a61c582c8) at 10.0/sql/sql_parse.cc:5301
|
#32 0x000000000067382b in mysql_execute_command (thd=0x7f0a6ffbb070) at 10.0/sql/sql_parse.cc:2587
|
#33 0x000000000067dc0b in mysql_parse (thd=0x7f0a6ffbb070, rawbuf=0x7f0a61c58088 "SELECT * FROM INFORMATION_SCHEMA.ALL_PLUGINS", length=44, parser_state=0x7f0a8fedc610) at 10.0/sql/sql_parse.cc:6447
|
#34 0x00000000006709d8 in dispatch_command (command=COM_QUERY, thd=0x7f0a6ffbb070, packet=0x7f0a702a3071 "SELECT * FROM INFORMATION_SCHEMA.ALL_PLUGINS", packet_length=44) at 10.0/sql/sql_parse.cc:1308
|
#35 0x000000000066fd7a in do_command (thd=0x7f0a6ffbb070) at 10.0/sql/sql_parse.cc:1005
|
#36 0x000000000078a446 in do_handle_one_connection (thd_arg=0x7f0a6ffbb070) at 10.0/sql/sql_connect.cc:1379
|
#37 0x000000000078a199 in handle_one_connection (arg=0x7f0a6ffbb070) at 10.0/sql/sql_connect.cc:1293
|
#38 0x0000000000a2fbac in pfs_spawn_thread (arg=0x7f0a692ea210) at 10.0/storage/perfschema/pfs.cc:1853
|
#39 0x00007f0a8fbbab50 in start_thread (arg=<optimized out>) at pthread_create.c:304
|
#40 0x00007f0a8e0c5a7d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
|
revision-id: knielsen@knielsen-hq.org-20140324102216-bm4tclml30c7gvc4
|
date: 2014-03-24 11:22:16 +0100
|
build-date: 2014-03-25 19:17:18 +0400
|
revno: 4081
|
branch-nick: 10.0
|