CURRENT_TEST: main.1st ==20790== Memcheck, a memory error detector. ==20790== Copyright (C) 2002-2007, and GNU GPL'd, by Julian Seward et al. ==20790== Using LibVEX rev 1804, a library for dynamic binary translation. ==20790== Copyright (C) 2004-2007, and GNU GPL'd, by OpenWorks LLP. ==20790== Using valgrind-3.3.0-Debian, a dynamic binary instrumentation framework. ==20790== Copyright (C) 2000-2007, and GNU GPL'd, by Julian Seward et al. ==20790== For more details, rerun with: -v ==20790== 081023 23:59:45 [Warning] The syntax '--log' is deprecated and will be removed in MySQL 7.0. Please use '--general_log'/'--general_log_file' instead. 081023 23:59:45 [Warning] The syntax '--log_slow_queries' is deprecated and will be removed in MySQL 7.0. Please use '--slow_query_log'/'--slow_query_log_file' instead. InnoDB: The first specified data file ./ibdata1 did not exist: InnoDB: a new database to be created! 081023 23:59:49 InnoDB: Setting file ./ibdata1 size to 10 MB InnoDB: Database physically writes the file full: wait... 081023 23:59:49 InnoDB: Log file ./ib_logfile0 did not exist: new to be created InnoDB: Setting log file ./ib_logfile0 size to 5 MB InnoDB: Database physically writes the file full: wait... 081023 23:59:49 InnoDB: Log file ./ib_logfile1 did not exist: new to be created InnoDB: Setting log file ./ib_logfile1 size to 5 MB InnoDB: Database physically writes the file full: wait... InnoDB: Doublewrite buffer not found: creating new ==20790== Thread 5: ==20790== Syscall param pwrite64(buf) points to uninitialised byte(s) ==20790== at 0x4033EAB: do_pwrite64 (pwrite64.c:52) ==20790== by 0x4033F5F: pwrite64 (pwrite64.c:77) ==20790== by 0x857A0B0: os_file_pwrite (os0file.c:2089) ==20790== by 0x857A2D7: os_file_write (os0file.c:2547) ==20790== by 0x857B8F8: os_aio_simulated_handle (os0file.c:4110) ==20790== by 0x85571CB: fil_aio_wait (fil0fil.c:4246) ==20790== by 0x85A367F: io_handler_thread (srv0start.c:434) ==20790== by 0x402BFD9: start_thread (pthread_create.c:297) ==20790== by 0x41A592D: clone (in /usr/lib/debug/libc-2.7.so) ==20790== Address 0x783c000 is 15,280 bytes inside a block of size 753,680 alloc'd ==20790== at 0x4022AB8: malloc (vg_replace_malloc.c:207) ==20790== by 0x85B7EE1: ut_malloc_low (ut0mem.c:82) ==20790== by 0x85B807F: ut_malloc (ut0mem.c:189) ==20790== by 0x857B6FD: os_aio_simulated_handle (os0file.c:4058) ==20790== by 0x85571CB: fil_aio_wait (fil0fil.c:4246) ==20790== by 0x85A367F: io_handler_thread (srv0start.c:434) ==20790== by 0x402BFD9: start_thread (pthread_create.c:297) ==20790== by 0x41A592D: clone (in /usr/lib/debug/libc-2.7.so) InnoDB: Doublewrite buffer created InnoDB: Creating foreign key constraint system tables InnoDB: Foreign key constraint system tables created 081023 23:59:52 InnoDB: Started; log sequence number 0 0 081023 23:59:53 [Note] Event Scheduler: Loaded 0 events 081023 23:59:53 [Note] /home/cmiller/work/mysqlbzr/mysql-5.1-bugteam/sql/mysqld: ready for connections. Version: '5.1.30-debug-log' socket: '/home/cmiller/work/mysqlbzr/mysql-5.1-bugteam/mysql-test/var/tmp/master.sock' port: 33060 Source distribution ==20790== ==20790== Thread 10: ==20790== Invalid read of size 1 ==20790== at 0x878D7AB: TaoCrypt::Integer::Decode(unsigned char const*, unsigned, TaoCrypt::Integer::Signedness) (integer.cpp:2653) ==20790== by 0x878D8C4: TaoCrypt::Integer::Integer(unsigned char const*, unsigned, TaoCrypt::Integer::Signedness) (integer.cpp:2598) ==20790== by 0x877A296: TaoCrypt::EncodeDSA_Signature(unsigned char const*, unsigned char*) (asn.cpp:1008) ==20790== by 0x875EF02: yaSSL::DH_Server::build(yaSSL::SSL&) (yassl_imp.cpp:197) ==20790== by 0x8758A34: yaSSL::ServerKeyExchange::build(yaSSL::SSL&) (yassl_imp.cpp:1603) ==20790== by 0x8773C86: yaSSL::sendServerKeyExchange(yaSSL::SSL&, yaSSL::BufferOutput) (handshake.cpp:856) ==20790== by 0x8750623: yaSSL_accept (ssl.cpp:346) ==20790== by 0x86EE5C1: ssl_do (viossl.c:202) ==20790== by 0x86EE956: sslaccept (viossl.c:256) ==20790== by 0x82C799E: check_connection(THD*) (sql_connect.cc:805) ==20790== by 0x82C7FEC: login_connection(THD*) (sql_connect.cc:955) ==20790== by 0x82C81A7: handle_one_connection (sql_connect.cc:1107) ==20790== by 0x402BFD9: start_thread (pthread_create.c:297) ==20790== by 0x41A592D: clone (in /usr/lib/debug/libc-2.7.so) ==20790== Address 0x7e1a88c is 0 bytes after a block of size 12 alloc'd ==20790== at 0x4022AB8: malloc (vg_replace_malloc.c:207) ==20790== by 0x876578F: operator new(unsigned, yaSSL::new_t) (yassl_int.cpp:43) ==20790== by 0x8767348: operator new[](unsigned, yaSSL::new_t) (yassl_int.cpp:58) ==20790== by 0x875ECDB: yaSSL::DH_Server::build(yaSSL::SSL&) (yassl_imp.cpp:175) ==20790== by 0x8758A34: yaSSL::ServerKeyExchange::build(yaSSL::SSL&) (yassl_imp.cpp:1603) ==20790== by 0x8773C86: yaSSL::sendServerKeyExchange(yaSSL::SSL&, yaSSL::BufferOutput) (handshake.cpp:856) ==20790== by 0x8750623: yaSSL_accept (ssl.cpp:346) ==20790== by 0x86EE5C1: ssl_do (viossl.c:202) ==20790== by 0x86EE956: sslaccept (viossl.c:256) ==20790== by 0x82C799E: check_connection(THD*) (sql_connect.cc:805) ==20790== by 0x82C7FEC: login_connection(THD*) (sql_connect.cc:955) ==20790== by 0x82C81A7: handle_one_connection (sql_connect.cc:1107) ==20790== by 0x402BFD9: start_thread (pthread_create.c:297) ==20790== by 0x41A592D: clone (in /usr/lib/debug/libc-2.7.so) ==20790== ==20790== Invalid read of size 1 ==20790== at 0x878D715: TaoCrypt::Integer::Decode(unsigned char const*, unsigned, TaoCrypt::Integer::Signedness) (integer.cpp:2639) ==20790== by 0x878D8C4: TaoCrypt::Integer::Integer(unsigned char const*, unsigned, TaoCrypt::Integer::Signedness) (integer.cpp:2598) ==20790== by 0x877A2BB: TaoCrypt::EncodeDSA_Signature(unsigned char const*, unsigned char*) (asn.cpp:1009) ==20790== by 0x875EF02: yaSSL::DH_Server::build(yaSSL::SSL&) (yassl_imp.cpp:197) ==20790== by 0x8758A34: yaSSL::ServerKeyExchange::build(yaSSL::SSL&) (yassl_imp.cpp:1603) ==20790== by 0x8773C86: yaSSL::sendServerKeyExchange(yaSSL::SSL&, yaSSL::BufferOutput) (handshake.cpp:856) ==20790== by 0x8750623: yaSSL_accept (ssl.cpp:346) ==20790== by 0x86EE5C1: ssl_do (viossl.c:202) ==20790== by 0x86EE956: sslaccept (viossl.c:256) ==20790== by 0x82C799E: check_connection(THD*) (sql_connect.cc:805) ==20790== by 0x82C7FEC: login_connection(THD*) (sql_connect.cc:955) ==20790== by 0x82C81A7: handle_one_connection (sql_connect.cc:1107) ==20790== by 0x402BFD9: start_thread (pthread_create.c:297) ==20790== by 0x41A592D: clone (in /usr/lib/debug/libc-2.7.so) ==20790== Address 0x7e1a894 is 8 bytes after a block of size 12 alloc'd ==20790== at 0x4022AB8: malloc (vg_replace_malloc.c:207) ==20790== by 0x876578F: operator new(unsigned, yaSSL::new_t) (yassl_int.cpp:43) ==20790== by 0x8767348: operator new[](unsigned, yaSSL::new_t) (yassl_int.cpp:58) ==20790== by 0x875ECDB: yaSSL::DH_Server::build(yaSSL::SSL&) (yassl_imp.cpp:175) ==20790== by 0x8758A34: yaSSL::ServerKeyExchange::build(yaSSL::SSL&) (yassl_imp.cpp:1603) ==20790== by 0x8773C86: yaSSL::sendServerKeyExchange(yaSSL::SSL&, yaSSL::BufferOutput) (handshake.cpp:856) ==20790== by 0x8750623: yaSSL_accept (ssl.cpp:346) ==20790== by 0x86EE5C1: ssl_do (viossl.c:202) ==20790== by 0x86EE956: sslaccept (viossl.c:256) ==20790== by 0x82C799E: check_connection(THD*) (sql_connect.cc:805) ==20790== by 0x82C7FEC: login_connection(THD*) (sql_connect.cc:955) ==20790== by 0x82C81A7: handle_one_connection (sql_connect.cc:1107) ==20790== by 0x402BFD9: start_thread (pthread_create.c:297) ==20790== by 0x41A592D: clone (in /usr/lib/debug/libc-2.7.so) ==20790== ==20790== Invalid read of size 1 ==20790== at 0x878D752: TaoCrypt::Integer::Decode(unsigned char const*, unsigned, TaoCrypt::Integer::Signedness) (integer.cpp:2645) ==20790== by 0x878D8C4: TaoCrypt::Integer::Integer(unsigned char const*, unsigned, TaoCrypt::Integer::Signedness) (integer.cpp:2598) ==20790== by 0x877A2BB: TaoCrypt::EncodeDSA_Signature(unsigned char const*, unsigned char*) (asn.cpp:1009) ==20790== by 0x875EF02: yaSSL::DH_Server::build(yaSSL::SSL&) (yassl_imp.cpp:197) ==20790== by 0x8758A34: yaSSL::ServerKeyExchange::build(yaSSL::SSL&) (yassl_imp.cpp:1603) ==20790== by 0x8773C86: yaSSL::sendServerKeyExchange(yaSSL::SSL&, yaSSL::BufferOutput) (handshake.cpp:856) ==20790== by 0x8750623: yaSSL_accept (ssl.cpp:346) ==20790== by 0x86EE5C1: ssl_do (viossl.c:202) ==20790== by 0x86EE956: sslaccept (viossl.c:256) ==20790== by 0x82C799E: check_connection(THD*) (sql_connect.cc:805) ==20790== by 0x82C7FEC: login_connection(THD*) (sql_connect.cc:955) ==20790== by 0x82C81A7: handle_one_connection (sql_connect.cc:1107) ==20790== by 0x402BFD9: start_thread (pthread_create.c:297) ==20790== by 0x41A592D: clone (in /usr/lib/debug/libc-2.7.so) ==20790== Address 0x7e1a895 is 9 bytes after a block of size 12 alloc'd ==20790== at 0x4022AB8: malloc (vg_replace_malloc.c:207) ==20790== by 0x876578F: operator new(unsigned, yaSSL::new_t) (yassl_int.cpp:43) ==20790== by 0x8767348: operator new[](unsigned, yaSSL::new_t) (yassl_int.cpp:58) ==20790== by 0x875ECDB: yaSSL::DH_Server::build(yaSSL::SSL&) (yassl_imp.cpp:175) ==20790== by 0x8758A34: yaSSL::ServerKeyExchange::build(yaSSL::SSL&) (yassl_imp.cpp:1603) ==20790== by 0x8773C86: yaSSL::sendServerKeyExchange(yaSSL::SSL&, yaSSL::BufferOutput) (handshake.cpp:856) ==20790== by 0x8750623: yaSSL_accept (ssl.cpp:346) ==20790== by 0x86EE5C1: ssl_do (viossl.c:202) ==20790== by 0x86EE956: sslaccept (viossl.c:256) ==20790== by 0x82C799E: check_connection(THD*) (sql_connect.cc:805) ==20790== by 0x82C7FEC: login_connection(THD*) (sql_connect.cc:955) ==20790== by 0x82C81A7: handle_one_connection (sql_connect.cc:1107) ==20790== by 0x402BFD9: start_thread (pthread_create.c:297) ==20790== by 0x41A592D: clone (in /usr/lib/debug/libc-2.7.so) ==20790== ==20790== Invalid read of size 1 ==20790== at 0x878D7AB: TaoCrypt::Integer::Decode(unsigned char const*, unsigned, TaoCrypt::Integer::Signedness) (integer.cpp:2653) ==20790== by 0x878D8C4: TaoCrypt::Integer::Integer(unsigned char const*, unsigned, TaoCrypt::Integer::Signedness) (integer.cpp:2598) ==20790== by 0x877A2BB: TaoCrypt::EncodeDSA_Signature(unsigned char const*, unsigned char*) (asn.cpp:1009) ==20790== by 0x875EF02: yaSSL::DH_Server::build(yaSSL::SSL&) (yassl_imp.cpp:197) ==20790== by 0x8758A34: yaSSL::ServerKeyExchange::build(yaSSL::SSL&) (yassl_imp.cpp:1603) ==20790== by 0x8773C86: yaSSL::sendServerKeyExchange(yaSSL::SSL&, yaSSL::BufferOutput) (handshake.cpp:856) ==20790== by 0x8750623: yaSSL_accept (ssl.cpp:346) ==20790== by 0x86EE5C1: ssl_do (viossl.c:202) ==20790== by 0x86EE956: sslaccept (viossl.c:256) ==20790== by 0x82C799E: check_connection(THD*) (sql_connect.cc:805) ==20790== by 0x82C7FEC: login_connection(THD*) (sql_connect.cc:955) ==20790== by 0x82C81A7: handle_one_connection (sql_connect.cc:1107) ==20790== by 0x402BFD9: start_thread (pthread_create.c:297) ==20790== by 0x41A592D: clone (in /usr/lib/debug/libc-2.7.so) ==20790== Address 0x7e1a8a4 is not stack'd, malloc'd or (recently) free'd ==20790== ==20790== Invalid write of size 1 ==20790== at 0x4024BA8: memcpy (mc_replace_strmem.c:402) ==20790== by 0x875EF22: yaSSL::DH_Server::build(yaSSL::SSL&) (yassl_imp.cpp:198) ==20790== by 0x8758A34: yaSSL::ServerKeyExchange::build(yaSSL::SSL&) (yassl_imp.cpp:1603) ==20790== by 0x8773C86: yaSSL::sendServerKeyExchange(yaSSL::SSL&, yaSSL::BufferOutput) (handshake.cpp:856) ==20790== by 0x8750623: yaSSL_accept (ssl.cpp:346) ==20790== by 0x86EE5C1: ssl_do (viossl.c:202) ==20790== by 0x86EE956: sslaccept (viossl.c:256) ==20790== by 0x82C799E: check_connection(THD*) (sql_connect.cc:805) ==20790== by 0x82C7FEC: login_connection(THD*) (sql_connect.cc:955) ==20790== by 0x82C81A7: handle_one_connection (sql_connect.cc:1107) ==20790== by 0x402BFD9: start_thread (pthread_create.c:297) ==20790== by 0x41A592D: clone (in /usr/lib/debug/libc-2.7.so) ==20790== Address 0x7e1a88c is 0 bytes after a block of size 12 alloc'd ==20790== at 0x4022AB8: malloc (vg_replace_malloc.c:207) ==20790== by 0x876578F: operator new(unsigned, yaSSL::new_t) (yassl_int.cpp:43) ==20790== by 0x8767348: operator new[](unsigned, yaSSL::new_t) (yassl_int.cpp:58) ==20790== by 0x875ECDB: yaSSL::DH_Server::build(yaSSL::SSL&) (yassl_imp.cpp:175) ==20790== by 0x8758A34: yaSSL::ServerKeyExchange::build(yaSSL::SSL&) (yassl_imp.cpp:1603) ==20790== by 0x8773C86: yaSSL::sendServerKeyExchange(yaSSL::SSL&, yaSSL::BufferOutput) (handshake.cpp:856) ==20790== by 0x8750623: yaSSL_accept (ssl.cpp:346) ==20790== by 0x86EE5C1: ssl_do (viossl.c:202) ==20790== by 0x86EE956: sslaccept (viossl.c:256) ==20790== by 0x82C799E: check_connection(THD*) (sql_connect.cc:805) ==20790== by 0x82C7FEC: login_connection(THD*) (sql_connect.cc:955) ==20790== by 0x82C81A7: handle_one_connection (sql_connect.cc:1107) ==20790== by 0x402BFD9: start_thread (pthread_create.c:297) ==20790== by 0x41A592D: clone (in /usr/lib/debug/libc-2.7.so) ==20790== ==20790== Invalid write of size 1 ==20790== at 0x4024BAE: memcpy (mc_replace_strmem.c:402) ==20790== by 0x875EF22: yaSSL::DH_Server::build(yaSSL::SSL&) (yassl_imp.cpp:198) ==20790== by 0x8758A34: yaSSL::ServerKeyExchange::build(yaSSL::SSL&) (yassl_imp.cpp:1603) ==20790== by 0x8773C86: yaSSL::sendServerKeyExchange(yaSSL::SSL&, yaSSL::BufferOutput) (handshake.cpp:856) ==20790== by 0x8750623: yaSSL_accept (ssl.cpp:346) ==20790== by 0x86EE5C1: ssl_do (viossl.c:202) ==20790== by 0x86EE956: sslaccept (viossl.c:256) ==20790== by 0x82C799E: check_connection(THD*) (sql_connect.cc:805) ==20790== by 0x82C7FEC: login_connection(THD*) (sql_connect.cc:955) ==20790== by 0x82C81A7: handle_one_connection (sql_connect.cc:1107) ==20790== by 0x402BFD9: start_thread (pthread_create.c:297) ==20790== by 0x41A592D: clone (in /usr/lib/debug/libc-2.7.so) ==20790== Address 0x7e1a88d is 1 bytes after a block of size 12 alloc'd ==20790== at 0x4022AB8: malloc (vg_replace_malloc.c:207) ==20790== by 0x876578F: operator new(unsigned, yaSSL::new_t) (yassl_int.cpp:43) ==20790== by 0x8767348: operator new[](unsigned, yaSSL::new_t) (yassl_int.cpp:58) ==20790== by 0x875ECDB: yaSSL::DH_Server::build(yaSSL::SSL&) (yassl_imp.cpp:175) ==20790== by 0x8758A34: yaSSL::ServerKeyExchange::build(yaSSL::SSL&) (yassl_imp.cpp:1603) ==20790== by 0x8773C86: yaSSL::sendServerKeyExchange(yaSSL::SSL&, yaSSL::BufferOutput) (handshake.cpp:856) ==20790== by 0x8750623: yaSSL_accept (ssl.cpp:346) ==20790== by 0x86EE5C1: ssl_do (viossl.c:202) ==20790== by 0x86EE956: sslaccept (viossl.c:256) ==20790== by 0x82C799E: check_connection(THD*) (sql_connect.cc:805) ==20790== by 0x82C7FEC: login_connection(THD*) (sql_connect.cc:955) ==20790== by 0x82C81A7: handle_one_connection (sql_connect.cc:1107) ==20790== by 0x402BFD9: start_thread (pthread_create.c:297) ==20790== by 0x41A592D: clone (in /usr/lib/debug/libc-2.7.so) ==20790== ==20790== Invalid write of size 1 ==20790== at 0x4024BB5: memcpy (mc_replace_strmem.c:402) ==20790== by 0x875EF22: yaSSL::DH_Server::build(yaSSL::SSL&) (yassl_imp.cpp:198) ==20790== by 0x8758A34: yaSSL::ServerKeyExchange::build(yaSSL::SSL&) (yassl_imp.cpp:1603) ==20790== by 0x8773C86: yaSSL::sendServerKeyExchange(yaSSL::SSL&, yaSSL::BufferOutput) (handshake.cpp:856) ==20790== by 0x8750623: yaSSL_accept (ssl.cpp:346) ==20790== by 0x86EE5C1: ssl_do (viossl.c:202) ==20790== by 0x86EE956: sslaccept (viossl.c:256) ==20790== by 0x82C799E: check_connection(THD*) (sql_connect.cc:805) ==20790== by 0x82C7FEC: login_connection(THD*) (sql_connect.cc:955) ==20790== by 0x82C81A7: handle_one_connection (sql_connect.cc:1107) ==20790== by 0x402BFD9: start_thread (pthread_create.c:297) ==20790== by 0x41A592D: clone (in /usr/lib/debug/libc-2.7.so) ==20790== Address 0x7e1a88e is 2 bytes after a block of size 12 alloc'd ==20790== at 0x4022AB8: malloc (vg_replace_malloc.c:207) ==20790== by 0x876578F: operator new(unsigned, yaSSL::new_t) (yassl_int.cpp:43) ==20790== by 0x8767348: operator new[](unsigned, yaSSL::new_t) (yassl_int.cpp:58) ==20790== by 0x875ECDB: yaSSL::DH_Server::build(yaSSL::SSL&) (yassl_imp.cpp:175) ==20790== by 0x8758A34: yaSSL::ServerKeyExchange::build(yaSSL::SSL&) (yassl_imp.cpp:1603) ==20790== by 0x8773C86: yaSSL::sendServerKeyExchange(yaSSL::SSL&, yaSSL::BufferOutput) (handshake.cpp:856) ==20790== by 0x8750623: yaSSL_accept (ssl.cpp:346) ==20790== by 0x86EE5C1: ssl_do (viossl.c:202) ==20790== by 0x86EE956: sslaccept (viossl.c:256) ==20790== by 0x82C799E: check_connection(THD*) (sql_connect.cc:805) ==20790== by 0x82C7FEC: login_connection(THD*) (sql_connect.cc:955) ==20790== by 0x82C81A7: handle_one_connection (sql_connect.cc:1107) ==20790== by 0x402BFD9: start_thread (pthread_create.c:297) ==20790== by 0x41A592D: clone (in /usr/lib/debug/libc-2.7.so) ==20790== ==20790== Invalid write of size 1 ==20790== at 0x4024BBF: memcpy (mc_replace_strmem.c:402) ==20790== by 0x875EF22: yaSSL::DH_Server::build(yaSSL::SSL&) (yassl_imp.cpp:198) ==20790== by 0x8758A34: yaSSL::ServerKeyExchange::build(yaSSL::SSL&) (yassl_imp.cpp:1603) ==20790== by 0x8773C86: yaSSL::sendServerKeyExchange(yaSSL::SSL&, yaSSL::BufferOutput) (handshake.cpp:856) ==20790== by 0x8750623: yaSSL_accept (ssl.cpp:346) ==20790== by 0x86EE5C1: ssl_do (viossl.c:202) ==20790== by 0x86EE956: sslaccept (viossl.c:256) ==20790== by 0x82C799E: check_connection(THD*) (sql_connect.cc:805) ==20790== by 0x82C7FEC: login_connection(THD*) (sql_connect.cc:955) ==20790== by 0x82C81A7: handle_one_connection (sql_connect.cc:1107) ==20790== by 0x402BFD9: start_thread (pthread_create.c:297) ==20790== by 0x41A592D: clone (in /usr/lib/debug/libc-2.7.so) ==20790== Address 0x7e1a88f is 3 bytes after a block of size 12 alloc'd ==20790== at 0x4022AB8: malloc (vg_replace_malloc.c:207) ==20790== by 0x876578F: operator new(unsigned, yaSSL::new_t) (yassl_int.cpp:43) ==20790== by 0x8767348: operator new[](unsigned, yaSSL::new_t) (yassl_int.cpp:58) ==20790== by 0x875ECDB: yaSSL::DH_Server::build(yaSSL::SSL&) (yassl_imp.cpp:175) ==20790== by 0x8758A34: yaSSL::ServerKeyExchange::build(yaSSL::SSL&) (yassl_imp.cpp:1603) ==20790== by 0x8773C86: yaSSL::sendServerKeyExchange(yaSSL::SSL&, yaSSL::BufferOutput) (handshake.cpp:856) ==20790== by 0x8750623: yaSSL_accept (ssl.cpp:346) ==20790== by 0x86EE5C1: ssl_do (viossl.c:202) ==20790== by 0x86EE956: sslaccept (viossl.c:256) ==20790== by 0x82C799E: check_connection(THD*) (sql_connect.cc:805) ==20790== by 0x82C7FEC: login_connection(THD*) (sql_connect.cc:955) ==20790== by 0x82C81A7: handle_one_connection (sql_connect.cc:1107) ==20790== by 0x402BFD9: start_thread (pthread_create.c:297) ==20790== by 0x41A592D: clone (in /usr/lib/debug/libc-2.7.so) ==20790== ==20790== Invalid write of size 1 ==20790== at 0x4024BD7: memcpy (mc_replace_strmem.c:402) ==20790== by 0x875EF22: yaSSL::DH_Server::build(yaSSL::SSL&) (yassl_imp.cpp:198) ==20790== by 0x8758A34: yaSSL::ServerKeyExchange::build(yaSSL::SSL&) (yassl_imp.cpp:1603) ==20790== by 0x8773C86: yaSSL::sendServerKeyExchange(yaSSL::SSL&, yaSSL::BufferOutput) (handshake.cpp:856) ==20790== by 0x8750623: yaSSL_accept (ssl.cpp:346) ==20790== by 0x86EE5C1: ssl_do (viossl.c:202) ==20790== by 0x86EE956: sslaccept (viossl.c:256) ==20790== by 0x82C799E: check_connection(THD*) (sql_connect.cc:805) ==20790== by 0x82C7FEC: login_connection(THD*) (sql_connect.cc:955) ==20790== by 0x82C81A7: handle_one_connection (sql_connect.cc:1107) ==20790== by 0x402BFD9: start_thread (pthread_create.c:297) ==20790== by 0x41A592D: clone (in /usr/lib/debug/libc-2.7.so) ==20790== Address 0x7e1a8ac is not stack'd, malloc'd or (recently) free'd ==20790== ==20790== Syscall param socketcall.send(msg) points to uninitialised byte(s) ==20790== at 0x40335FE: send (in /usr/lib/debug/libpthread-2.7.so) ==20790== by 0x876482A: yaSSL::SSL::Send(unsigned char const*, unsigned) (yassl_int.cpp:1116) ==20790== by 0x87649C6: yaSSL::SSL::flushBuffer() (yassl_int.cpp:1110) ==20790== by 0x8750673: yaSSL_accept (ssl.cpp:352) ==20790== by 0x86EE5C1: ssl_do (viossl.c:202) ==20790== by 0x86EE956: sslaccept (viossl.c:256) ==20790== by 0x82C799E: check_connection(THD*) (sql_connect.cc:805) ==20790== by 0x82C7FEC: login_connection(THD*) (sql_connect.cc:955) ==20790== by 0x82C81A7: handle_one_connection (sql_connect.cc:1107) ==20790== by 0x402BFD9: start_thread (pthread_create.c:297) ==20790== by 0x41A592D: clone (in /usr/lib/debug/libc-2.7.so) ==20790== Address 0x7e1c8cf is 759 bytes inside a block of size 786 alloc'd ==20790== at 0x4022AB8: malloc (vg_replace_malloc.c:207) ==20790== by 0x876578F: operator new(unsigned, yaSSL::new_t) (yassl_int.cpp:43) ==20790== by 0x8767348: operator new[](unsigned, yaSSL::new_t) (yassl_int.cpp:58) ==20790== by 0x8768D56: yaSSL::output_buffer::output_buffer(unsigned) (buffer.cpp:200) ==20790== by 0x8764902: yaSSL::SSL::flushBuffer() (yassl_int.cpp:1100) ==20790== by 0x8750673: yaSSL_accept (ssl.cpp:352) ==20790== by 0x86EE5C1: ssl_do (viossl.c:202) ==20790== by 0x86EE956: sslaccept (viossl.c:256) ==20790== by 0x82C799E: check_connection(THD*) (sql_connect.cc:805) ==20790== by 0x82C7FEC: login_connection(THD*) (sql_connect.cc:955) ==20790== by 0x82C81A7: handle_one_connection (sql_connect.cc:1107) ==20790== by 0x402BFD9: start_thread (pthread_create.c:297) ==20790== by 0x41A592D: clone (in /usr/lib/debug/libc-2.7.so) 081024 0:01:56 [Note] Got signal 15 to shutdown mysqld 081024 0:01:56 [Note] /home/cmiller/work/mysqlbzr/mysql-5.1-bugteam/sql/mysqld: Normal shutdown 081024 0:01:56 [Note] Event Scheduler: Purging the queue. 0 events 081024 0:01:57 InnoDB: Starting shutdown... --20790-- VALGRIND INTERNAL ERROR: Valgrind received a signal 11 (SIGSEGV) - exiting --20790-- si_code=1; Faulting address: 0x9761B084; sp: 0x65E8AE68 valgrind: the 'impossible' happened: Killed by fatal signal ==20790== at 0x380216C6: vgPlain_arena_free (m_mallocfree.c:206) ==20790== by 0x38033548: vgPlain_cli_free (replacemalloc_core.c:108) ==20790== by 0x38001C11: die_and_free_mem (mc_malloc_wrappers.c:122) ==20790== by 0x38002687: vgMemCheck_free (mc_malloc_wrappers.c:319) ==20790== by 0x38035B6F: vgPlain_scheduler (scheduler.c:1269) ==20790== by 0x38048B18: run_a_thread_NORETURN (syswrap-linux.c:89) ==20790== by 0x38048DE2: vgModuleLocal_start_thread_NORETURN (syswrap-linux.c:212) ==20790== by 0x3806F538: (within /usr/lib/valgrind/x86-linux/memcheck) ==20790== by 0x37: ??? ==20790== by 0x65E8A9B3: ??? ==20790== by 0xF: ??? sched status: running_tid=10 Thread 1: status = VgTs_WaitSys ==20790== at 0x4030590: pthread_cond_wait@@GLIBC_2.3.2 (in /usr/lib/debug/libpthread-2.7.so) ==20790== by 0x82C2E6F: main (mysqld.cc:4413) Thread 9: status = VgTs_WaitSys ==20790== at 0x4034385: do_sigwait (sigwait.c:62) ==20790== by 0x403442E: sigwait (sigwait.c:100) ==20790== by 0x82BD9D3: signal_hand (mysqld.cc:2710) ==20790== by 0x402BFD9: start_thread (pthread_create.c:297) ==20790== by 0x41A592D: clone (in /usr/lib/debug/libc-2.7.so) Thread 10: status = VgTs_Runnable ==20790== at 0x402265C: free (vg_replace_malloc.c:323) ==20790== by 0x85B844F: ut_free_all_mem (ut0mem.c:351) ==20790== by 0x85A581F: innobase_shutdown_for_mysql (srv0start.c:1956) ==20790== by 0x852B221: innobase_end(handlerton*, ha_panic_function) (ha_innodb.cc:1705) ==20790== by 0x83F7199: ha_finalize_handlerton(st_plugin_int*) (handler.cc:392) ==20790== by 0x84B8B7A: plugin_deinitialize(st_plugin_int*, bool) (sql_plugin.cc:815) ==20790== by 0x84B8DAF: reap_plugins() (sql_plugin.cc:903) ==20790== by 0x84B9509: plugin_shutdown() (sql_plugin.cc:1512) ==20790== by 0x82BFFB5: clean_up(bool) (mysqld.cc:1238) ==20790== by 0x82C2EF3: unireg_end() (mysqld.cc:1166) ==20790== by 0x82C3950: kill_server(void*) (mysqld.cc:1108) ==20790== by 0x82C3970: kill_server_thread (mysqld.cc:1129) ==20790== by 0x402BFD9: start_thread (pthread_create.c:297) ==20790== by 0x41A592D: clone (in /usr/lib/debug/libc-2.7.so) Note: see also the FAQ.txt in the source distribution. It contains workarounds to several common problems. If that doesn't help, please report this bug to: www.valgrind.org In the bug report, send all the above text, the valgrind version, and what Linux distro you are using. Thanks.