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

federated.federated_bug_585688 failed in buildbot with valgrind

    XMLWordPrintable

    Details

      Description

      http://buildbot.askmonty.org/buildbot/builders/work-amd64-valgrind/builds/10064/steps/test/logs/stdio

      federated.federated_bug_585688 'X'       w4 [ fail ]  Found warnings/errors in server log file!
              Test ended at 2017-05-22 13:55:35
      line
      ==16640== Thread 7:
      ==16640== Invalid read of size 8
      ==16640==    at 0x5E0F1A: thd_increment_bytes_sent (sql_class.cc:4054)
      ==16640==    by 0x55B99E: net_real_write (net_serv.cc:710)
      ==16640==    by 0x55AE9B: net_flush (net_serv.cc:363)
      ==16640==    by 0x55B2B6: net_write_command (net_serv.cc:501)
      ==16640==    by 0x82AF42: cli_advanced_command (client.c:701)
      ==16640==    by 0x832064: mysql_close_slow_part (client.c:3949)
      ==16640==    by 0x8320D9: mysql_close (client.c:3961)
      ==16640==    by 0xBE72700: federatedx_io_mysql::~federatedx_io_mysql() (federatedx_io_mysql.cc:152)
      ==16640==    by 0xBE72767: federatedx_io_mysql::~federatedx_io_mysql() (federatedx_io_mysql.cc:156)
      ==16640==    by 0xBE70972: federatedx_txn::close(st_fedrated_server*) (federatedx_txn.cc:86)
      ==16640==    by 0xBE69228: free_server(federatedx_txn*, st_fedrated_server*) (ha_federatedx.cc:1662)
      ==16640==    by 0xBE6941C: free_share(federatedx_txn*, st_federatedx_share*) (ha_federatedx.cc:1701)
      ==16640==  Address 0xc939e30 is 4,352 bytes inside a block of size 21,944 free'd
      ==16640==    at 0x4C291ED: free (vg_replace_malloc.c:530)
      ==16640==    by 0xF1A3FA: my_free (my_malloc.c:217)
      ==16640==    by 0x55911B: ilink::operator delete(void*, unsigned long) (sql_list.h:638)
      ==16640==    by 0x5DA626: THD::~THD() (sql_class.cc:1707)
      ==16640==    by 0x54C898: unlink_thd(THD*) (mysqld.cc:2838)
      ==16640==    by 0x54CBFB: one_thread_per_connection_end(THD*, bool) (mysqld.cc:2951)
      ==16640==    by 0x756740: do_handle_one_connection(THD*) (sql_connect.cc:1368)
      ==16640==    by 0x756397: handle_one_connection (sql_connect.cc:1261)
      ==16640==    by 0xBB6ADF: pfs_spawn_thread (pfs.cc:1860)
      ==16640==    by 0x4E3C0DA: start_thread (in /lib64/libpthread-2.18.so)
      ==16640==    by 0x6B28E3C: clone (in /lib64/libc-2.18.so)
      ==16640==  Block was alloc'd at
      ==16640==    at 0x4C280F3: malloc (vg_replace_malloc.c:299)
      ==16640==    by 0xF19F0E: my_malloc (my_malloc.c:101)
      ==16640==    by 0x5590FD: ilink::operator new(unsigned long) (sql_list.h:634)
      ==16640==    by 0x553703: handle_connections_sockets() (mysqld.cc:6649)
      ==16640==    by 0x552318: mysqld_main(int, char**) (mysqld.cc:5913)
      ==16640==    by 0x5471C7: main (main.cc:25)
      ==16640== Invalid write of size 8
      ==16640==    at 0x5E0F2C: thd_increment_bytes_sent (sql_class.cc:4054)
      ==16640==    by 0x55B99E: net_real_write (net_serv.cc:710)
      ==16640==    by 0x55AE9B: net_flush (net_serv.cc:363)
      ==16640==    by 0x55B2B6: net_write_command (net_serv.cc:501)
      ==16640==    by 0x82AF42: cli_advanced_command (client.c:701)
      ==16640==    by 0x832064: mysql_close_slow_part (client.c:3949)
      ==16640==    by 0x8320D9: mysql_close (client.c:3961)
      ==16640==    by 0xBE72700: federatedx_io_mysql::~federatedx_io_mysql() (federatedx_io_mysql.cc:152)
      ==16640==    by 0xBE72767: federatedx_io_mysql::~federatedx_io_mysql() (federatedx_io_mysql.cc:156)
      ==16640==    by 0xBE70972: federatedx_txn::close(st_fedrated_server*) (federatedx_txn.cc:86)
      ==16640==    by 0xBE69228: free_server(federatedx_txn*, st_fedrated_server*) (ha_federatedx.cc:1662)
      ==16640==    by 0xBE6941C: free_share(federatedx_txn*, st_federatedx_share*) (ha_federatedx.cc:1701)
      ==16640==  Address 0xc939e30 is 4,352 bytes inside a block of size 21,944 free'd
      ==16640==    at 0x4C291ED: free (vg_replace_malloc.c:530)
      ==16640==    by 0xF1A3FA: my_free (my_malloc.c:217)
      ==16640==    by 0x55911B: ilink::operator delete(void*, unsigned long) (sql_list.h:638)
      ==16640==    by 0x5DA626: THD::~THD() (sql_class.cc:1707)
      ==16640==    by 0x54C898: unlink_thd(THD*) (mysqld.cc:2838)
      ==16640==    by 0x54CBFB: one_thread_per_connection_end(THD*, bool) (mysqld.cc:2951)
      ==16640==    by 0x756740: do_handle_one_connection(THD*) (sql_connect.cc:1368)
      ==16640==    by 0x756397: handle_one_connection (sql_connect.cc:1261)
      ==16640==    by 0xBB6ADF: pfs_spawn_thread (pfs.cc:1860)
      ==16640==    by 0x4E3C0DA: start_thread (in /lib64/libpthread-2.18.so)
      ==16640==    by 0x6B28E3C: clone (in /lib64/libc-2.18.so)
      ==16640==  Block was alloc'd at
      ==16640==    at 0x4C280F3: malloc (vg_replace_malloc.c:299)
      ==16640==    by 0xF19F0E: my_malloc (my_malloc.c:101)
      ==16640==    by 0x5590FD: ilink::operator new(unsigned long) (sql_list.h:634)
      ==16640==    by 0x553703: handle_connections_sockets() (mysqld.cc:6649)
      ==16640==    by 0x552318: mysqld_main(int, char**) (mysqld.cc:5913)
      ==16640==    by 0x5471C7: main (main.cc:25)
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              elenst Elena Stepanova
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:

                  Git Integration