Details

      Description

      10.0 fails in valgrind like

      innodb.innodb 'innodb_plugin'            w6 [ fail ]  Found warnings/errors in server log file!
              Test ended at 2014-09-18 19:41:40
      line
      ==10503== Thread 19:
      ==10503== Invalid free() / delete / delete[] / realloc()
      ==10503==    at 0x4C257D8: free (vg_replace_malloc.c:446)
      ==10503==    by 0xA25EDF: mem_area_free(void*, mem_pool_t*) (mem0pool.cc:519)
      ==10503==    by 0xA2528F: mem_heap_block_free(mem_block_info_t*, mem_block_info_t*) (mem0mem.cc:521)
      ==10503==    by 0xB7FBDA: mem_heap_free_func(mem_block_info_t*, char const*, unsigned long) (mem0mem.ic:510)
      ==10503==    by 0xB91317: dict_foreign_remove_partial std::for_each<std::_Rb_tree_const_iterator<dict_foreign_t*>, dict_foreign_remove_partial>(std::_Rb_tree_const_iterator<dict_foreign_t*>, std::_Rb_tree_const_iterator<dict_foreign_t*>, dict_foreign_remove_partial) (dict0mem.h:804)
      ==10503==    by 0xBFF4450: dict_table_rename_in_cache(dict_table_t*, char const*, unsigned long) (dict0dict.cc:1664)
      ==10503==    by 0xC089A56: commit_cache_rebuild(ha_innobase_inplace_ctx*) (handler0alter.cc:5027)
      ==10503==    by 0xC0817D0: ha_innodb::commit_inplace_alter_table(TABLE*, Alter_inplace_info*, bool) (handler0alter.cc:5705)
      ==10503==    by 0x686E19: mysql_inplace_alter_table(THD*, TABLE_LIST*, TABLE*, TABLE*, Alter_inplace_info*, enum_alter_inplace_result, MDL_request*, Alter_table_ctx*) (sql_table.cc:7054)
      ==10503==    by 0x68A460: mysql_alter_table(THD*, char*, char*, HA_CREATE_INFO*, TABLE_LIST*, Alter_info*, unsigned int, st_order*, bool) (sql_table.cc:8803)
      ==10503==    by 0x5EC4D2: mysql_execute_command(THD*) (sql_parse.cc:3078)
      ==10503==    by 0x5EDBD9: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:6415)
      ==10503==    by 0x5EF5EB: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1307)
      ==10503==    by 0x5F0DD1: do_command(THD*) (sql_parse.cc:1004)
      ==10503==    by 0x6E025E: do_handle_one_connection(THD*) (sql_connect.cc:1379)
      ==10503==    by 0x6E0384: handle_one_connection (sql_connect.cc:1293)
      ==10503==  Address 0xc90a478 is 623,672 bytes inside a block of size 8,388,640 alloc'd
      ==10503==    at 0x4C25DD6: malloc (vg_replace_malloc.c:270)
      ==10503==    by 0xC1BE9F6: ut_malloc_low(unsigned long, unsigned long) (ut0mem.cc:117)
      ==10503==    by 0xC0CD027: mem_pool_create(unsigned long) (mem0pool.cc:231)
      ==10503==    by 0xC0CBD3B: mem_init(unsigned long) (mem0dbg.cc:177)
      ==10503==    by 0xC184280: srv_boot() (srv0srv.cc:1033)
      ==10503==    by 0xC18B4DA: innobase_start_or_create_for_mysql() (srv0start.cc:1823)
      ==10503==    by 0xC06845B: innobase_init(void*) (ha_innodb.cc:3369)
      ==10503==    by 0x7A099B: ha_initialize_handlerton(st_plugin_int*) (handler.cc:502)
      ==10503==    by 0x5F83A9: plugin_initialize(st_mem_root*, st_plugin_int*, int*, char**, bool) (sql_plugin.cc:1378)
      ==10503==    by 0x5FA3AB: plugin_init(int*, char**, int) (sql_plugin.cc:1665)
      ==10503==    by 0x53C6D4: init_server_components() (mysqld.cc:4811)
      ==10503==    by 0x53D39D: mysqld_main(int, char**) (mysqld.cc:5405)
      ==10503==    by 0x6242585: (below main) (in /lib64/libc-2.9.so)
      ^ Found warnings in /dev/shm/var_auto_HweU/6/log/mysqld.1.err
      ok

      All tests below fail in a very similar fashion:

      innodb.innodb 'innodb_plugin'
      innodb.innodb-index 'innodb_plugin'
      innodb.innodb_bug12902967 'innodb_plugin'
      innodb.innodb_bug47621 'innodb_plugin'
      main.alter_table 'innodb_plugin'
      main.subselect2 'innodb_plugin'
      vcol.vcol_ins_upd_innodb 'innodb_plugin'

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jplindst Jan Lindström
                Reporter:
                serg Sergei Golubchik
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: