main.sp-vars [ fail ] Test ended at 2010-06-29 01:56:20 CURRENT_TEST: main.sp-vars ==22125== Memcheck, a memory error detector. ==22125== Copyright (C) 2002-2006, and GNU GPL'd, by Julian Seward et al. ==22125== Using LibVEX rev 1658, a library for dynamic binary translation. ==22125== Copyright (C) 2004-2006, and GNU GPL'd, by OpenWorks LLP. ==22125== Using valgrind-3.2.1, a dynamic binary instrumentation framework. ==22125== Copyright (C) 2000-2006, and GNU GPL'd, by Julian Seward et al. ==22125== For more details, rerun with: -v ==22125== InnoDB: The InnoDB memory heap is disabled InnoDB: Mutexes and rw_locks use GCC atomic builtins InnoDB: Compressed tables use zlib 1.2.3 100629 2:56:08 InnoDB: highest supported file format is Barracuda. 100629 2:56:20 InnoDB: Assertion failure in thread 79821712 in file /export/home2/pb2/build/sb_1-1985020-1277706484.6/mysql-5.6.99-m4/storage/innobase/sync/sync0arr.c line 274 InnoDB: Failing assertion: arr->n_reserved == 0 InnoDB: We intentionally generate a memory trap. InnoDB: Submit a detailed bug report to http://bugs.mysql.com. InnoDB: If you get repeated assertion failures or crashes, even InnoDB: immediately after the mysqld startup, there may be InnoDB: corruption in the InnoDB tablespace. Please refer to InnoDB: http://dev.mysql.com/doc/refman/5.1/en/forcing-recovery.html InnoDB: about forcing recovery. mysqltest got signal 6 read_command_buf at 0x11db760 = ==22125== Invalid read of size 8 ==22125== at 0x52038B: dump_backtrace() (mysqltest.cc:7699) ==22125== by 0x52042F: signal_handler (mysqltest.cc:7720) ==22125== by 0x33EDA0DE6F: (within /lib64/libpthread-2.5.so) ==22125== Address 0x4C2E918 is 1,288 bytes inside a block of size 193,440 free'd ==22125== at 0x4A0541E: free (vg_replace_malloc.c:233) ==22125== by 0x55C6B2: my_no_flags_free (my_malloc.c:69) ==22125== by 0x520A05: close_connections() (mysqltest.cc:1111) ==22125== by 0x5214A7: free_used_memory() (mysqltest.cc:1153) ==22125== by 0x521625: cleanup_and_exit(int) (mysqltest.cc:1194) ==22125== by 0x52F933: main (mysqltest.cc:8420) { Memcheck:Addr8 fun:_Z14dump_backtracev fun:signal_handler obj:/lib64/libpthread-2.5.so obj:* obj:* obj:* obj:* } ==22125== ==22125== Invalid read of size 8 ==22125== at 0x520398: dump_backtrace() (mysqltest.cc:7699) ==22125== by 0x52042F: signal_handler (mysqltest.cc:7720) ==22125== by 0x33EDA0DE6F: (within /lib64/libpthread-2.5.so) ==22125== Address 0x4C2E910 is 1,280 bytes inside a block of size 193,440 free'd ==22125== at 0x4A0541E: free (vg_replace_malloc.c:233) ==22125== by 0x55C6B2: my_no_flags_free (my_malloc.c:69) ==22125== by 0x520A05: close_connections() (mysqltest.cc:1111) ==22125== by 0x5214A7: free_used_memory() (mysqltest.cc:1153) ==22125== by 0x521625: cleanup_and_exit(int) (mysqltest.cc:1194) ==22125== by 0x52F933: main (mysqltest.cc:8420) { Memcheck:Addr8 fun:_Z14dump_backtracev fun:signal_handler obj:/lib64/libpthread-2.5.so obj:* obj:* obj:* obj:* } conn->name at 0x4d09d20 is an invalid pointer ==22125== ==22125== Invalid read of size 4 ==22125== at 0x5203AF: dump_backtrace() (mysqltest.cc:7701) ==22125== by 0x52042F: signal_handler (mysqltest.cc:7720) ==22125== by 0x33EDA0DE6F: (within /lib64/libpthread-2.5.so) ==22125== Address 0x4C2E938 is 1,320 bytes inside a block of size 193,440 free'd ==22125== at 0x4A0541E: free (vg_replace_malloc.c:233) ==22125== by 0x55C6B2: my_no_flags_free (my_malloc.c:69) ==22125== by 0x520A05: close_connections() (mysqltest.cc:1111) ==22125== by 0x5214A7: free_used_memory() (mysqltest.cc:1153) ==22125== by 0x521625: cleanup_and_exit(int) (mysqltest.cc:1194) ==22125== by 0x52F933: main (mysqltest.cc:8420) { Memcheck:Addr4 fun:_Z14dump_backtracev fun:signal_handler obj:/lib64/libpthread-2.5.so obj:* obj:* obj:* obj:* } ==22125== ==22125== Invalid read of size 8 ==22125== at 0x5203B9: dump_backtrace() (mysqltest.cc:7701) ==22125== by 0x52042F: signal_handler (mysqltest.cc:7720) ==22125== by 0x33EDA0DE6F: (within /lib64/libpthread-2.5.so) ==22125== Address 0x4C2E930 is 1,312 bytes inside a block of size 193,440 free'd ==22125== at 0x4A0541E: free (vg_replace_malloc.c:233) ==22125== by 0x55C6B2: my_no_flags_free (my_malloc.c:69) ==22125== by 0x520A05: close_connections() (mysqltest.cc:1111) ==22125== by 0x5214A7: free_used_memory() (mysqltest.cc:1153) ==22125== by 0x521625: cleanup_and_exit(int) (mysqltest.cc:1194) ==22125== by 0x52F933: main (mysqltest.cc:8420) { Memcheck:Addr8 fun:_Z14dump_backtracev fun:signal_handler obj:/lib64/libpthread-2.5.so obj:* obj:* obj:* obj:* } conn->cur_query at (nil) is an invalid pointer Attempting backtrace... stack_bottom = (nil) thread_stack 0x40000 /export/home4/pb2/test/sb_3-1985122-1277712099.2/mysql-5.6.99-m4-linux-x86_64-test/bin/mysqltest_embedded(my_print_stacktrace+0x32)[0x5569a2] /export/home4/pb2/test/sb_3-1985122-1277712099.2/mysql-5.6.99-m4-linux-x86_64-test/bin/mysqltest_embedded[0x520400] /export/home4/pb2/test/sb_3-1985122-1277712099.2/mysql-5.6.99-m4-linux-x86_64-test/bin/mysqltest_embedded[0x520430] /lib64/libpthread.so.0[0x33eda0de70] /lib64/libc.so.6(gsignal+0x35)[0x33ece30155] /lib64/libc.so.6(abort+0x110)[0x33ece31bf0] /export/home4/pb2/test/sb_3-1985122-1277712099.2/mysql-5.6.99-m4-linux-x86_64-test/bin/mysqltest_embedded[0x989e72] /export/home4/pb2/test/sb_3-1985122-1277712099.2/mysql-5.6.99-m4-linux-x86_64-test/bin/mysqltest_embedded[0x9c044c] /export/home4/pb2/test/sb_3-1985122-1277712099.2/mysql-5.6.99-m4-linux-x86_64-test/bin/mysqltest_embedded[0x985d0c] /export/home4/pb2/test/sb_3-1985122-1277712099.2/mysql-5.6.99-m4-linux-x86_64-test/bin/mysqltest_embedded[0x91f26b] /export/home4/pb2/test/sb_3-1985122-1277712099.2/mysql-5.6.99-m4-linux-x86_64-test/bin/mysqltest_embedded(_Z22ha_finalize_handlertonP13st_plugin_int+0xbe)[0x61f77a] /export/home4/pb2/test/sb_3-1985122-1277712099.2/mysql-5.6.99-m4-linux-x86_64-test/bin/mysqltest_embedded[0x86a2ba] /export/home4/pb2/test/sb_3-1985122-1277712099.2/mysql-5.6.99-m4-linux-x86_64-test/bin/mysqltest_embedded[0x86a921] /export/home4/pb2/test/sb_3-1985122-1277712099.2/mysql-5.6.99-m4-linux-x86_64-test/bin/mysqltest_embedded(_Z15plugin_shutdownv+0x65)[0x86d7b5] /export/home4/pb2/test/sb_3-1985122-1277712099.2/mysql-5.6.99-m4-linux-x86_64-test/bin/mysqltest_embedded[0x5afcdc] /export/home4/pb2/test/sb_3-1985122-1277712099.2/mysql-5.6.99-m4-linux-x86_64-test/bin/mysqltest_embedded(end_embedded_server+0x2e)[0x5aff4e] /export/home4/pb2/test/sb_3-1985122-1277712099.2/mysql-5.6.99-m4-linux-x86_64-test/bin/mysqltest_embedded(mysql_server_end+0x19)[0x5a20e0] /export/home4/pb2/test/sb_3-1985122-1277712099.2/mysql-5.6.99-m4-linux-x86_64-test/bin/mysqltest_embedded(_Z16free_used_memoryv+0x1a4)[0x521614] /export/home4/pb2/test/sb_3-1985122-1277712099.2/mysql-5.6.99-m4-linux-x86_64-test/bin/mysqltest_embedded[0x521626] /export/home4/pb2/test/sb_3-1985122-1277712099.2/mysql-5.6.99-m4-linux-x86_64-test/bin/mysqltest_embedded(send_one_query+0x0)[0x52f934] /lib64/libc.so.6(__libc_start_main+0xf4)[0x33ece1d8b4] /export/home4/pb2/test/sb_3-1985122-1277712099.2/mysql-5.6.99-m4-linux-x86_64-test/bin/mysqltest_embedded[0x51d8d9] Writing a core file... ==22125== ==22125== ERROR SUMMARY: 4 errors from 4 contexts (suppressed: 5 from 1) ==22125== malloc/free: in use at exit: 9,714,915 bytes in 32,435 blocks. ==22125== malloc/free: 65,283 allocs, 32,848 frees, 48,284,845 bytes allocated. ==22125== For counts of detected errors, rerun with: -v ==22125== searching for pointers to 32,435 not-freed blocks. ==22125== checked 21,677,720 bytes. ==22125== ==22125== ==22125== 8 bytes in 1 blocks are still reachable in loss record 1 of 21 ==22125== at 0x4A05809: malloc (vg_replace_malloc.c:149) ==22125== by 0x982FCA: srv_parse_log_group_home_dirs (srv0start.c:423) ==22125== by 0x91E070: innobase_init(void*) (ha_innodb.cc:2226) ==22125== by 0x62407F: ha_initialize_handlerton(st_plugin_int*) (handler.cc:476) ==22125== by 0x86D045: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1052) ==22125== by 0x86E749: plugin_init(int*, char**, int) (sql_plugin.cc:1338) ==22125== by 0x5B57B5: init_server_components() (mysqld.cc:4328) ==22125== by 0x5B617C: init_embedded_server (lib_sql.cc:539) ==22125== by 0x5A20AB: mysql_server_init (libmysql.c:173) ==22125== by 0x52EAC5: main (mysqltest.cc:7894) { Memcheck:Leak fun:_vgrZU_libcZdsoZa_malloc fun:srv_parse_log_group_home_dirs fun:_Z13innobase_initPv fun:_Z24ha_initialize_handlertonP13st_plugin_int fun:_Z17plugin_initializeP13st_plugin_int fun:_Z11plugin_initPiPPci fun:_Z22init_server_componentsv fun:init_embedded_server fun:mysql_server_init fun:main } ==22125== ==22125== ==22125== 8 bytes in 1 blocks are still reachable in loss record 2 of 21 ==22125== at 0x4A05809: malloc (vg_replace_malloc.c:149) ==22125== by 0x982C13: srv_parse_data_file_paths_and_sizes (srv0start.c:292) ==22125== by 0x91E017: innobase_init(void*) (ha_innodb.cc:2196) ==22125== by 0x62407F: ha_initialize_handlerton(st_plugin_int*) (handler.cc:476) ==22125== by 0x86D045: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1052) ==22125== by 0x86E749: plugin_init(int*, char**, int) (sql_plugin.cc:1338) ==22125== by 0x5B57B5: init_server_components() (mysqld.cc:4328) ==22125== by 0x5B617C: init_embedded_server (lib_sql.cc:539) ==22125== by 0x5A20AB: mysql_server_init (libmysql.c:173) ==22125== by 0x52EAC5: main (mysqltest.cc:7894) { Memcheck:Leak fun:_vgrZU_libcZdsoZa_malloc fun:srv_parse_data_file_paths_and_sizes fun:_Z13innobase_initPv fun:_Z24ha_initialize_handlertonP13st_plugin_int fun:_Z17plugin_initializeP13st_plugin_int fun:_Z11plugin_initPiPPci fun:_Z22init_server_componentsv fun:init_embedded_server fun:mysql_server_init fun:main } ==22125== ==22125== ==22125== 8 bytes in 1 blocks are still reachable in loss record 3 of 21 ==22125== at 0x4A05809: malloc (vg_replace_malloc.c:149) ==22125== by 0x982BF5: srv_parse_data_file_paths_and_sizes (srv0start.c:291) ==22125== by 0x91E017: innobase_init(void*) (ha_innodb.cc:2196) ==22125== by 0x62407F: ha_initialize_handlerton(st_plugin_int*) (handler.cc:476) ==22125== by 0x86D045: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1052) ==22125== by 0x86E749: plugin_init(int*, char**, int) (sql_plugin.cc:1338) ==22125== by 0x5B57B5: init_server_components() (mysqld.cc:4328) ==22125== by 0x5B617C: init_embedded_server (lib_sql.cc:539) ==22125== by 0x5A20AB: mysql_server_init (libmysql.c:173) ==22125== by 0x52EAC5: main (mysqltest.cc:7894) { Memcheck:Leak fun:_vgrZU_libcZdsoZa_malloc fun:srv_parse_data_file_paths_and_sizes fun:_Z13innobase_initPv fun:_Z24ha_initialize_handlertonP13st_plugin_int fun:_Z17plugin_initializeP13st_plugin_int fun:_Z11plugin_initPiPPci fun:_Z22init_server_componentsv fun:init_embedded_server fun:mysql_server_init fun:main } ==22125== ==22125== ==22125== 8 bytes in 1 blocks are still reachable in loss record 4 of 21 ==22125== at 0x4A05809: malloc (vg_replace_malloc.c:149) ==22125== by 0x982BD7: srv_parse_data_file_paths_and_sizes (srv0start.c:290) ==22125== by 0x91E017: innobase_init(void*) (ha_innodb.cc:2196) ==22125== by 0x62407F: ha_initialize_handlerton(st_plugin_int*) (handler.cc:476) ==22125== by 0x86D045: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1052) ==22125== by 0x86E749: plugin_init(int*, char**, int) (sql_plugin.cc:1338) ==22125== by 0x5B57B5: init_server_components() (mysqld.cc:4328) ==22125== by 0x5B617C: init_embedded_server (lib_sql.cc:539) ==22125== by 0x5A20AB: mysql_server_init (libmysql.c:173) ==22125== by 0x52EAC5: main (mysqltest.cc:7894) { Memcheck:Leak fun:_vgrZU_libcZdsoZa_malloc fun:srv_parse_data_file_paths_and_sizes fun:_Z13innobase_initPv fun:_Z24ha_initialize_handlertonP13st_plugin_int fun:_Z17plugin_initializeP13st_plugin_int fun:_Z11plugin_initPiPPci fun:_Z22init_server_componentsv fun:init_embedded_server fun:mysql_server_init fun:main } ==22125== ==22125== ==22125== 88 bytes in 1 blocks are still reachable in loss record 8 of 21 ==22125== at 0x4A05809: malloc (vg_replace_malloc.c:149) ==22125== by 0x533CAB: DbugMalloc (dbug.c:2183) ==22125== by 0x5302AC: code_state (dbug.c:397) ==22125== by 0x532588: _db_enter_ (dbug.c:1152) ==22125== by 0x54F976: dirname_part (mf_dirname.c:70) ==22125== by 0x557F43: intern_filename (mf_pack.c:525) ==22125== by 0x555F65: my_basic_init (my_init.c:123) ==22125== by 0x555FAF: my_init (my_init.c:146) ==22125== by 0x52E675: main (mysqltest.cc:7803) { Memcheck:Leak fun:_vgrZU_libcZdsoZa_malloc fun:DbugMalloc fun:code_state fun:_db_enter_ fun:dirname_part fun:intern_filename fun:my_basic_init fun:my_init fun:main } ==22125== ==22125== ==22125== 280 bytes in 1 blocks are still reachable in loss record 9 of 21 ==22125== at 0x4A04B32: calloc (vg_replace_malloc.c:279) ==22125== by 0x54BA17: my_thread_init (my_thr_init.c:352) ==22125== by 0x54AEAB: my_thread_basic_global_init (my_thr_init.c:126) ==22125== by 0x54B272: my_thread_global_init (my_thr_init.c:185) ==22125== by 0x555F03: my_basic_init (my_init.c:103) ==22125== by 0x555FAF: my_init (my_init.c:146) ==22125== by 0x52E675: main (mysqltest.cc:7803) { Memcheck:Leak fun:_vgrZU_libcZdsoZa_calloc fun:my_thread_init fun:my_thread_basic_global_init fun:my_thread_global_init fun:my_basic_init fun:my_init fun:main } ==22125== ==22125== ==22125== 568 bytes in 1 blocks are still reachable in loss record 11 of 21 ==22125== at 0x4A05809: malloc (vg_replace_malloc.c:149) ==22125== by 0x33ECE60AB8: fdopen@@GLIBC_2.2.5 (in /lib64/libc-2.5.so) ==22125== by 0xA81F97: os_file_create_tmpfile (os0file.c:701) ==22125== by 0xA63512: dict_init (dict0dict.c:681) ==22125== by 0x98889F: dict_boot (dict0boot.c:257) ==22125== by 0x98515C: innobase_start_or_create_for_mysql (srv0start.c:1624) ==22125== by 0x91E5E1: innobase_init(void*) (ha_innodb.cc:2421) ==22125== by 0x62407F: ha_initialize_handlerton(st_plugin_int*) (handler.cc:476) ==22125== by 0x86D045: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1052) ==22125== by 0x86E749: plugin_init(int*, char**, int) (sql_plugin.cc:1338) ==22125== by 0x5B57B5: init_server_components() (mysqld.cc:4328) ==22125== by 0x5B617C: init_embedded_server (lib_sql.cc:539) ==22125== by 0x5A20AB: mysql_server_init (libmysql.c:173) ==22125== by 0x52EAC5: main (mysqltest.cc:7894) { Memcheck:Leak fun:_vgrZU_libcZdsoZa_malloc fun:fdopen@@GLIBC_2.2.5 fun:os_file_create_tmpfile fun:dict_init fun:dict_boot fun:innobase_start_or_create_for_mysql fun:_Z13innobase_initPv fun:_Z24ha_initialize_handlertonP13st_plugin_int fun:_Z17plugin_initializeP13st_plugin_int fun:_Z11plugin_initPiPPci fun:_Z22init_server_componentsv fun:init_embedded_server fun:mysql_server_init fun:main } ==22125== ==22125== ==22125== 2,676 (1,202 direct, 1,474 indirect) bytes in 15 blocks are definitely lost in loss record 13 of 21 ==22125== at 0x4A05809: malloc (vg_replace_malloc.c:149) ==22125== by 0x55C530: my_malloc (my_malloc.c:35) ==22125== by 0x54ECF9: alloc_root (my_alloc.c:166) ==22125== by 0x5AF05F: Protocol::send_result_set_metadata(List*, unsigned) (lib_sql.cc:917) ==22125== by 0x5CC281: select_send::send_result_set_metadata(List&, unsigned) (sql_class.cc:1726) ==22125== by 0x79EE31: JOIN::exec() (sql_select.cc:1812) ==22125== by 0x79BB74: mysql_select(THD*, Item***, TABLE_LIST*, unsigned, List&, Item*, unsigned, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:2549) ==22125== by 0x7A140E: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:290) ==22125== by 0x7A9A40: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4889) ==22125== by 0x7AA7FF: mysql_execute_command(THD*) (sql_parse.cc:2330) ==22125== by 0x7B0599: mysql_parse(THD*, char const*, unsigned, Parser_state*) (sql_parse.cc:5918) ==22125== by 0x7B1880: dispatch_command(enum_server_command, THD*, char*, unsigned) (sql_parse.cc:1136) ==22125== by 0x5AD593: emb_advanced_command (lib_sql.cc:139) ==22125== by 0x5C599C: mysql_send_query (client.c:3267) ==22125== by 0x522814: do_send_query(st_connection*, char const*, int, int) (mysqltest.cc:733) ==22125== by 0x52D275: run_query_normal(st_connection*, st_command*, int, char*, int, st_dynamic_string*, st_dynamic_string*) (mysqltest.cc:6707) { Memcheck:Leak fun:_vgrZU_libcZdsoZa_malloc fun:my_malloc fun:alloc_root fun:_ZN8Protocol24send_result_set_metadataEP4ListI4ItemEj fun:_ZN11select_send24send_result_set_metadataER4ListI4ItemEj fun:_ZN4JOIN4execEv fun:_Z12mysql_selectP3THDPPP4ItemP10TABLE_LISTjR4ListIS1_ES2_jP8st_orderSB_S2_SB_yP13select_resultP18st_select_lex_unitP13st_select_lex fun:_Z13handle_selectP3THDP3LEXP13select_resultm fun:_Z21execute_sqlcom_selectP3THDP10TABLE_LIST fun:_Z21mysql_execute_commandP3THD fun:_Z11mysql_parseP3THDPKcjP12Parser_state fun:_Z16dispatch_command19enum_server_commandP3THDPcj fun:emb_advanced_command fun:mysql_send_query fun:_Z13do_send_queryP13st_connectionPKcii fun:_Z16run_query_normalP13st_connectionP10st_commandiPciP17st_dynamic_stringS5_ } ==22125== ==22125== ==22125== 1,474 bytes in 49 blocks are indirectly lost in loss record 14 of 21 ==22125== at 0x4A05809: malloc (vg_replace_malloc.c:149) ==22125== by 0x55C530: my_malloc (my_malloc.c:35) ==22125== by 0x54ECF9: alloc_root (my_alloc.c:166) ==22125== by 0x5AEA81: dup_str_aux(st_mem_root*, char const*, unsigned, charset_info_st*, charset_info_st*) (lib_sql.cc:762) ==22125== by 0x5AF10D: Protocol::send_result_set_metadata(List*, unsigned) (lib_sql.cc:931) ==22125== by 0x5CC281: select_send::send_result_set_metadata(List&, unsigned) (sql_class.cc:1726) ==22125== by 0x79EE31: JOIN::exec() (sql_select.cc:1812) ==22125== by 0x79BB74: mysql_select(THD*, Item***, TABLE_LIST*, unsigned, List&, Item*, unsigned, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:2549) ==22125== by 0x7A140E: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:290) ==22125== by 0x7A9A40: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4889) ==22125== by 0x7AA7FF: mysql_execute_command(THD*) (sql_parse.cc:2330) ==22125== by 0x7B0599: mysql_parse(THD*, char const*, unsigned, Parser_state*) (sql_parse.cc:5918) ==22125== by 0x7B1880: dispatch_command(enum_server_command, THD*, char*, unsigned) (sql_parse.cc:1136) ==22125== by 0x5AD593: emb_advanced_command (lib_sql.cc:139) ==22125== by 0x5C599C: mysql_send_query (client.c:3267) ==22125== by 0x522814: do_send_query(st_connection*, char const*, int, int) (mysqltest.cc:733) { Memcheck:Leak fun:_vgrZU_libcZdsoZa_malloc fun:my_malloc fun:alloc_root fun:_Z11dup_str_auxP11st_mem_rootPKcjP15charset_info_stS4_ fun:_ZN8Protocol24send_result_set_metadataEP4ListI4ItemEj fun:_ZN11select_send24send_result_set_metadataER4ListI4ItemEj fun:_ZN4JOIN4execEv fun:_Z12mysql_selectP3THDPPP4ItemP10TABLE_LISTjR4ListIS1_ES2_jP8st_orderSB_S2_SB_yP13select_resultP18st_select_lex_unitP13st_select_lex fun:_Z13handle_selectP3THDP3LEXP13select_resultm fun:_Z21execute_sqlcom_selectP3THDP10TABLE_LIST fun:_Z21mysql_execute_commandP3THD fun:_Z11mysql_parseP3THDPKcjP12Parser_state fun:_Z16dispatch_command19enum_server_commandP3THDPcj fun:emb_advanced_command fun:mysql_send_query fun:_Z13do_send_queryP13st_connectionPKcii } ==22125== ==22125== ==22125== 3,120 bytes in 3 blocks are still reachable in loss record 15 of 21 ==22125== at 0x4A05809: malloc (vg_replace_malloc.c:149) ==22125== by 0x682D11: operator new(unsigned long) (my_new.cc:27) ==22125== by 0x710F52: LOGGER::init_base() (log.cc:770) ==22125== by 0x5B6052: init_embedded_server (lib_sql.cc:503) ==22125== by 0x5A20AB: mysql_server_init (libmysql.c:173) ==22125== by 0x52EAC5: main (mysqltest.cc:7894) { Memcheck:Leak fun:_vgrZU_libcZdsoZa_malloc fun:_Znwm fun:_ZN6LOGGER9init_baseEv fun:init_embedded_server fun:mysql_server_init fun:main } ==22125== ==22125== ==22125== 5,056 bytes in 2 blocks are still reachable in loss record 16 of 21 ==22125== at 0x4A0590B: realloc (vg_replace_malloc.c:306) ==22125== by 0x55BD4B: my_realloc (my_realloc.c:62) ==22125== by 0x54A839: alloc_dynamic (array.c:151) ==22125== by 0x551139: my_hash_insert (hash.c:384) ==22125== by 0x5DB6F9: mysql_add_sys_var_chain(sys_var*) (set_var.cc:410) ==22125== by 0x5DC8D4: sys_var_init() (set_var.cc:75) ==22125== by 0x5B60CE: init_embedded_server (lib_sql.cc:515) ==22125== by 0x5A20AB: mysql_server_init (libmysql.c:173) ==22125== by 0x52EAC5: main (mysqltest.cc:7894) { Memcheck:Leak fun:_vgrZU_libcZdsoZa_realloc fun:my_realloc fun:alloc_dynamic fun:my_hash_insert fun:_Z23mysql_add_sys_var_chainP7sys_var fun:_Z12sys_var_initv fun:init_embedded_server fun:mysql_server_init fun:main } ==22125== ==22125== ==22125== 13,520 bytes in 13 blocks are still reachable in loss record 17 of 21 ==22125== at 0x4A04B32: calloc (vg_replace_malloc.c:279) ==22125== by 0x33ECE3312F: __new_exitfn (in /lib64/libc-2.5.so) ==22125== by 0x33ECE33180: __cxa_atexit (in /lib64/libc-2.5.so) ==22125== by 0x6E7918: __static_initialization_and_destruction_0(int, int) (sys_vars.cc:144) ==22125== by 0x6F203A: _GLOBAL__I_bool_typelib (sys_vars.cc:3086) ==22125== by 0xAAD975: (within /export/home4/pb2/test/sb_3-1985122-1277712099.2/mysql-5.6.99-m4-linux-x86_64-test/bin/mysqltest_embedded) ==22125== by 0x51C93A: (within /export/home4/pb2/test/sb_3-1985122-1277712099.2/mysql-5.6.99-m4-linux-x86_64-test/bin/mysqltest_embedded) { Memcheck:Leak fun:_vgrZU_libcZdsoZa_calloc fun:__new_exitfn fun:__cxa_atexit fun:_Z41__static_initialization_and_destruction_0ii fun:_GLOBAL__I_bool_typelib obj:/export/home4/pb2/test/sb_3-1985122-1277712099.2/mysql-5.6.99-m4-linux-x86_64-test/bin/mysqltest_embedded obj:/export/home4/pb2/test/sb_3-1985122-1277712099.2/mysql-5.6.99-m4-linux-x86_64-test/bin/mysqltest_embedded obj:* obj:* obj:* obj:* } ==22125== ==22125== ==22125== 73,584 bytes in 18 blocks are still reachable in loss record 18 of 21 ==22125== at 0x4A05809: malloc (vg_replace_malloc.c:149) ==22125== by 0x555B57: my_once_alloc (my_once.c:62) ==22125== by 0x5534AC: init_state_maps (charset.c:62) ==22125== by 0x55483B: init_available_charsets (charset.c:453) ==22125== by 0x33EDA0B49C: pthread_once (in /lib64/libpthread-2.5.so) ==22125== by 0x5550E2: get_charset_by_csname (charset.c:640) ==22125== by 0x5B283A: init_common_variables() (mysqld.cc:3651) ==22125== by 0x5B60D3: init_embedded_server (lib_sql.cc:517) ==22125== by 0x5A20AB: mysql_server_init (libmysql.c:173) ==22125== by 0x52EAC5: main (mysqltest.cc:7894) { Memcheck:Leak fun:_vgrZU_libcZdsoZa_malloc fun:my_once_alloc fun:init_state_maps fun:init_available_charsets fun:pthread_once fun:get_charset_by_csname fun:_Z21init_common_variablesv fun:init_embedded_server fun:mysql_server_init fun:main } ==22125== ==22125== ==22125== 1,365,360 bytes in 16 blocks are still reachable in loss record 19 of 21 ==22125== at 0x4A05809: malloc (vg_replace_malloc.c:149) ==22125== by 0x92C4C0: mem_area_alloc (mem0pool.c:385) ==22125== by 0x936F72: mem_heap_create_block (mem0mem.c:333) ==22125== by 0xA50221: mem_heap_create_func (mem0mem.ic:443) ==22125== by 0xA50148: mem_alloc_func (mem0mem.ic:529) ==22125== by 0xA4FD23: srv_init (srv0srv.c:971) ==22125== by 0xA50CE4: srv_boot (srv0srv.c:1405) ==22125== by 0x9849DB: innobase_start_or_create_for_mysql (srv0start.c:1259) ==22125== by 0x91E5E1: innobase_init(void*) (ha_innodb.cc:2421) ==22125== by 0x62407F: ha_initialize_handlerton(st_plugin_int*) (handler.cc:476) ==22125== by 0x86D045: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1052) ==22125== by 0x86E749: plugin_init(int*, char**, int) (sql_plugin.cc:1338) ==22125== by 0x5B57B5: init_server_components() (mysqld.cc:4328) ==22125== by 0x5B617C: init_embedded_server (lib_sql.cc:539) ==22125== by 0x5A20AB: mysql_server_init (libmysql.c:173) ==22125== by 0x52EAC5: main (mysqltest.cc:7894) { Memcheck:Leak fun:_vgrZU_libcZdsoZa_malloc fun:mem_area_alloc fun:mem_heap_create_block fun:mem_heap_create_func fun:mem_alloc_func fun:srv_init fun:srv_boot fun:innobase_start_or_create_for_mysql fun:_Z13innobase_initPv fun:_Z24ha_initialize_handlertonP13st_plugin_int fun:_Z17plugin_initializeP13st_plugin_int fun:_Z11plugin_initPiPPci fun:_Z22init_server_componentsv fun:init_embedded_server fun:mysql_server_init fun:main } ==22125== ==22125== ==22125== 1,433,430 bytes in 683 blocks are still reachable in loss record 20 of 21 ==22125== at 0x4A05809: malloc (vg_replace_malloc.c:149) ==22125== by 0x55C530: my_malloc (my_malloc.c:35) ==22125== by 0x54ECF9: alloc_root (my_alloc.c:166) ==22125== by 0x8FA144: tree_insert (tree.c:238) ==22125== by 0x6AA81D: ft_add_stopword (ft_stopwords.c:47) ==22125== by 0x6AAA4E: ft_init_stopwords (ft_stopwords.c:102) ==22125== by 0x5B5F7E: init_server_components() (mysqld.cc:4528) ==22125== by 0x5B617C: init_embedded_server (lib_sql.cc:539) ==22125== by 0x5A20AB: mysql_server_init (libmysql.c:173) ==22125== by 0x52EAC5: main (mysqltest.cc:7894) { Memcheck:Leak fun:_vgrZU_libcZdsoZa_malloc fun:my_malloc fun:alloc_root fun:tree_insert fun:ft_add_stopword fun:ft_init_stopwords fun:_Z22init_server_componentsv fun:init_embedded_server fun:mysql_server_init fun:main } ==22125== ==22125== ==22125== 6,815,649 bytes in 31,624 blocks are still reachable in loss record 21 of 21 ==22125== at 0x4A05809: malloc (vg_replace_malloc.c:149) ==22125== by 0x9B579F: ut_malloc_low (ut0mem.c:106) ==22125== by 0x9B5A6D: ut_malloc (ut0mem.c:244) ==22125== by 0xA7CDA5: os_mutex_create (os0sync.c:512) ==22125== by 0xA7C6F5: os_sync_init (os0sync.c:92) ==22125== by 0xA5056B: srv_general_init (srv0srv.c:1070) ==22125== by 0xA50CDF: srv_boot (srv0srv.c:1401) ==22125== by 0x9849DB: innobase_start_or_create_for_mysql (srv0start.c:1259) ==22125== by 0x91E5E1: innobase_init(void*) (ha_innodb.cc:2421) ==22125== by 0x62407F: ha_initialize_handlerton(st_plugin_int*) (handler.cc:476) ==22125== by 0x86D045: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1052) ==22125== by 0x86E749: plugin_init(int*, char**, int) (sql_plugin.cc:1338) ==22125== by 0x5B57B5: init_server_components() (mysqld.cc:4328) ==22125== by 0x5B617C: init_embedded_server (lib_sql.cc:539) ==22125== by 0x5A20AB: mysql_server_init (libmysql.c:173) ==22125== by 0x52EAC5: main (mysqltest.cc:7894) { Memcheck:Leak fun:_vgrZU_libcZdsoZa_malloc fun:ut_malloc_low fun:ut_malloc fun:os_mutex_create fun:os_sync_init fun:srv_general_init fun:srv_boot fun:innobase_start_or_create_for_mysql fun:_Z13innobase_initPv fun:_Z24ha_initialize_handlertonP13st_plugin_int fun:_Z17plugin_initializeP13st_plugin_int fun:_Z11plugin_initPiPPci fun:_Z22init_server_componentsv fun:init_embedded_server fun:mysql_server_init fun:main } ==22125== ==22125== LEAK SUMMARY: ==22125== definitely lost: 1,202 bytes in 15 blocks. ==22125== indirectly lost: 1,474 bytes in 49 blocks. ==22125== possibly lost: 0 bytes in 0 blocks. ==22125== still reachable: 9,710,687 bytes in 32,366 blocks. ==22125== suppressed: 1,552 bytes in 5 blocks. - saving '/export/home4/pb2/test/sb_3-1985122-1277712099.2/mysql-5.6.99-m4-linux-x86_64-test/mysql-test/var-emebbed/log/main.sp-vars/' to '/export/home4/pb2/test/sb_3-1985122-1277712099.2/mysql-5.6.99-m4-linux-x86_64-test/mysql-test/var-emebbed/log/main.sp-vars/' Retrying test, attempt(2/3)... main.sp-vars [ retry-pass ] 8168 Retrying test, attempt(3/3)... main.sp-vars [ retry-pass ] 8160