drop table if exists `t1`; create table `t1`(`a` polygon NOT NULL)engine=myisam; insert into `t1` values (geomfromtext("point(0 1)")); insert into `t1` values (geomfromtext("point(1 0)")); select * from (select polygon(`t1`.`a`) as `p` from `t1` order by `t1`.`a`) `d`; [sbester@levovo mysql-5.1.53-linux-x86_64]$ valgrind -v --leak-check=full --show-reachable=yes --db-attach=no --tool=memcheck --num-callers=50 ./bin/mysqld --no-defaults --basedir=. --datadir=./data --skip-gr --skip-na --myisam-recover=force ==32256== Memcheck, a memory error detector ==32256== Copyright (C) 2002-2009, and GNU GPL'd, by Julian Seward et al. ==32256== Using Valgrind-3.5.0 and LibVEX; rerun with -h for copyright info ==32256== Command: ./bin/mysqld --no-defaults --basedir=. --datadir=./data --skip-gr --skip-na --myisam-recover=force ==32256== --32256-- Valgrind options: --32256-- -v --32256-- --leak-check=full --32256-- --show-reachable=yes --32256-- --db-attach=no --32256-- --tool=memcheck --32256-- --num-callers=50 --32256-- Contents of /proc/version: --32256-- Linux version 2.6.33.3-85.fc13.x86_64 (mockbuild@x86-02.phx2.fedoraproject.org) (gcc version 4.4.4 20100503 (Red Hat 4.4.4-2) (GCC) ) #1 SMP Thu May 6 18:09:49 UTC 2010 --32256-- Arch and hwcaps: AMD64, amd64-sse3-cx16 --32256-- Page sizes: currently 4096, max supported 4096 --32256-- Valgrind library directory: /usr/lib64/valgrind --32256-- Reading syms from /home/sbester/mysql/5.1/mysql-5.1.53-linux-x86_64/bin/mysqld (0x400000) --32256-- Reading syms from /usr/lib64/valgrind/memcheck-amd64-linux (0x38000000) --32256-- object doesn't have a dynamic symbol table --32256-- Reading syms from /lib64/ld-2.12.so (0x30e1000000) --32256-- Reading debug info from /usr/lib/debug/lib64/ld-2.12.so.debug .. --32256-- Reading suppressions file: /usr/lib64/valgrind/default.supp --32256-- REDIR: 0x30e1017590 (strlen) redirected to 0x3803f6f7 (vgPlain_amd64_linux_REDIR_FOR_strlen) --32256-- Reading syms from /usr/lib64/valgrind/vgpreload_core-amd64-linux.so (0x4801000) --32256-- Reading syms from /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so (0x4a02000) ==32256== WARNING: new redirection conflicts with existing -- ignoring it --32256-- new: 0x30e1017590 (strlen ) R-> 0x04a06340 strlen --32256-- REDIR: 0x30e1017400 (index) redirected to 0x4a05f80 (index) --32256-- REDIR: 0x30e1017480 (strcmp) redirected to 0x4a06900 (strcmp) --32256-- Reading syms from /lib64/libpthread-2.12.so (0x30e1800000) --32256-- Reading debug info from /usr/lib/debug/lib64/libpthread-2.12.so.debug .. --32256-- Reading syms from /lib64/libz.so.1.2.3 (0x30e2400000) --32256-- object doesn't have a symbol table --32256-- Reading syms from /lib64/libdl-2.12.so (0x30e2000000) --32256-- Reading debug info from /usr/lib/debug/lib64/libdl-2.12.so.debug .. --32256-- Reading syms from /lib64/libcrypt-2.12.so (0x30ed400000) --32256-- Reading debug info from /usr/lib/debug/lib64/libcrypt-2.12.so.debug .. --32256-- Reading syms from /lib64/libnsl-2.12.so (0x30f2800000) --32256-- Reading debug info from /usr/lib/debug/lib64/libnsl-2.12.so.debug .. --32256-- Reading syms from /lib64/libm-2.12.so (0x30e1c00000) --32256-- Reading debug info from /usr/lib/debug/lib64/libm-2.12.so.debug .. --32256-- Reading syms from /lib64/libc-2.12.so (0x30e1400000) --32256-- Reading debug info from /usr/lib/debug/lib64/libc-2.12.so.debug .. --32256-- Reading syms from /lib64/libfreebl3.so (0x30ecc00000) --32256-- Reading debug info from /usr/lib/debug/lib64/libfreebl3.so.debug .. --32256-- REDIR: 0x30e1481ad0 (__GI_strrchr) redirected to 0x4a05e00 (__GI_strrchr) --32256-- REDIR: 0x30e1480060 (strnlen) redirected to 0x4a06280 (strnlen) --32256-- REDIR: 0x30e1482850 (memset) redirected to 0x4a07540 (memset) --32256-- REDIR: 0x30e1482690 (memmove) redirected to 0x4a075b0 (memmove) --32256-- REDIR: 0x30e147ffe0 (strlen) redirected to 0x480155c (_vgnU_ifunc_wrapper) ==32256== WARNING: new redirection conflicts with existing -- ignoring it --32256-- new: 0x30e1480010 (__GI_strlen ) R-> 0x04a062e0 strlen --32256-- REDIR: 0x30e1480010 (__GI_strlen) redirected to 0x4a06300 (__GI_strlen) --32256-- REDIR: 0x30e1479610 (calloc) redirected to 0x4a043d3 (calloc) --32256-- REDIR: 0x30e1483c60 (memcpy) redirected to 0x4a069d0 (memcpy) --32256-- REDIR: 0x30e14799d0 (malloc) redirected to 0x4a050db (malloc) --32256-- Reading syms from /lib64/libgcc_s-4.4.4-20100630.so.1 (0x30ec000000) --32256-- Reading debug info from /usr/lib/debug/lib64/libgcc_s-4.4.4-20100630.so.1.debug .. ==32256== WARNING: new redirection conflicts with existing -- ignoring it --32256-- new: 0x30e1480010 (__GI_strlen ) R-> 0x04a062e0 strlen --32256-- REDIR: 0x30e147a750 (free) redirected to 0x4a04ceb (free) --32256-- REDIR: 0x30e1485260 (strchrnul) redirected to 0x4a07620 (strchrnul) --32256-- REDIR: 0x30e1480220 (__GI_strncmp) redirected to 0x4a06800 (__GI_strncmp) --32256-- REDIR: 0x30e147fa30 (strcpy) redirected to 0x480155c (_vgnU_ifunc_wrapper) --32256-- REDIR: 0x30e1524280 (???) redirected to 0x4a06360 (strcpy) --32256-- REDIR: 0x30e147fa60 (__GI_strcpy) redirected to 0x4a06430 (__GI_strcpy) --32256-- REDIR: 0x30e147e5e0 (__GI_strcmp) redirected to 0x4a068b0 (__GI_strcmp) --32256-- REDIR: 0xffffffffff600400 (???) redirected to 0x3803f6ed (vgPlain_amd64_linux_REDIR_FOR_vtime) --32256-- REDIR: 0x30e1485210 (__GI___rawmemchr) redirected to 0x4a07670 (__GI___rawmemchr) --32256-- REDIR: 0x30e1481aa0 (rindex) redirected to 0x480155c (_vgnU_ifunc_wrapper) ==32256== WARNING: new redirection conflicts with existing -- ignoring it --32256-- new: 0x30e1481ad0 (__GI_strrchr ) R-> 0x04a05dd0 rindex --32256-- REDIR: 0x30e147e4f0 (index) redirected to 0x480155c (_vgnU_ifunc_wrapper) ==32256== WARNING: new redirection conflicts with existing -- ignoring it --32256-- new: 0x30e147e520 (__GI_strchr ) R-> 0x04a05e90 index --32256-- REDIR: 0x30e147e520 (__GI_strchr) redirected to 0x4a05ec0 (__GI_strchr) --32256-- REDIR: 0x30e1482260 (bcmp) redirected to 0x480155c (_vgnU_ifunc_wrapper) --32256-- REDIR: 0x30e1482290 (__GI_memcmp) redirected to 0x4a07160 (bcmp) --32256-- REDIR: 0x30e147e5a0 (strcmp) redirected to 0x480155c (_vgnU_ifunc_wrapper) --32256-- REDIR: 0x30e1527820 (__strcmp_ssse3) redirected to 0x4a06860 (strcmp) --32256-- REDIR: 0x30e1480140 (strncat) redirected to 0x4a06170 (strncat) --32256-- REDIR: 0x30e1483380 (mempcpy) redirected to 0x4a07690 (mempcpy) --32256-- REDIR: 0x30e14821e0 (memchr) redirected to 0x4a069a0 (memchr) --32256-- REDIR: 0x30e1483990 (stpcpy) redirected to 0x480155c (_vgnU_ifunc_wrapper) --32256-- REDIR: 0x30e1525c20 (???) redirected to 0x4a07200 (stpcpy) --32256-- REDIR: 0x30e147abd0 (realloc) redirected to 0x4a0518c (realloc) --32256-- REDIR: 0x30e14801e0 (strncmp) redirected to 0x480155c (_vgnU_ifunc_wrapper) --32256-- REDIR: 0x30e1528a80 (__strncmp_ssse3) redirected to 0x4a067a0 (strncmp) 101007 18:56:31 [Note] Plugin 'FEDERATED' is disabled. --32256-- REDIR: 0xffffffffff600000 (???) redirected to 0x3803f6e3 (vgPlain_amd64_linux_REDIR_FOR_vgettimeofday) 101007 18:56:33 InnoDB: Started; log sequence number 0 24936751 --32256-- REDIR: 0x30e14839c0 (__GI_stpcpy) redirected to 0x4a072d0 (__GI_stpcpy) --32256-- Reading syms from /lib64/libnss_files-2.12.so (0xdfe6000) --32256-- Reading debug info from /usr/lib/debug/lib64/libnss_files-2.12.so.debug .. --32256-- REDIR: 0x30e14851e0 (rawmemchr) redirected to 0x480155c (_vgnU_ifunc_wrapper) ==32256== WARNING: new redirection conflicts with existing -- ignoring it --32256-- new: 0x30e1485210 (__GI___rawmemchr ) R-> 0x04a07650 rawmemchr 101007 18:56:34 [Note] ./bin/mysqld: ready for connections. Version: '5.1.53-valgrind-max-debug' socket: '/tmp/mysql.sock' port: 3306 Source distribution ==32256== Thread 11: ==32256== Conditional jump or move depends on uninitialised value(s) ==32256== at 0x9D1B1E: my_malloc (my_malloc.c:32) ==32256== by 0x98124C: _mi_write_blob_record (mi_dynrec.c:293) ==32256== by 0x9880E5: mi_write (mi_write.c:146) ==32256== by 0x99E435: ha_myisam::write_row(unsigned char*) (ha_myisam.cc:780) ==32256== by 0x7B2EC7: handler::ha_write_row(unsigned char*) (handler.cc:4654) ==32256== by 0x831674: select_union::send_data(List&) (sql_union.cc:64) ==32256== by 0x701C94: end_send(JOIN*, st_join_table*, bool) (sql_select.cc:12316) ==32256== by 0x6FFD1D: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11536) ==32256== by 0x6FF98B: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11410) ==32256== by 0x6FF4B3: do_select(JOIN*, List*, st_table*, Procedure*) (sql_select.cc:11168) ==32256== by 0x6E82B9: JOIN::exec() (sql_select.cc:2331) ==32256== by 0x6E8AB1: mysql_select(THD*, Item***, TABLE_LIST*, unsigned int, List&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:2534) ==32256== by 0x8349DB: mysql_derived_filling(THD*, st_lex*, TABLE_LIST*) (sql_derived.cc:294) ==32256== by 0x834275: mysql_handle_derived(st_lex*, bool (*)(THD*, st_lex*, TABLE_LIST*)) (sql_derived.cc:56) ==32256== by 0x6C8417: open_and_lock_tables_derived(THD*, TABLE_LIST*, bool) (sql_base.cc:5054) ==32256== by 0x685C93: open_and_lock_tables(THD*, TABLE_LIST*) (mysql_priv.h:1522) ==32256== by 0x67EA57: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5092) ==32256== by 0x675CD9: mysql_execute_command(THD*) (sql_parse.cc:2292) ==32256== by 0x6810C4: mysql_parse(THD*, char*, unsigned int, char const**) (sql_parse.cc:6051) ==32256== by 0x6735E3: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1260) ==32256== by 0x67257D: do_command(THD*) (sql_parse.cc:888) ==32256== by 0x67081B: handle_one_connection (sql_connect.cc:1136) ==32256== by 0x30E1807760: start_thread (pthread_create.c:301) ==32256== by 0xE27470F: ??? ==32256== ==32256== Conditional jump or move depends on uninitialised value(s) ==32256== at 0x9840FE: _mi_rec_pack (mi_dynrec.c:1005) ==32256== by 0x981287: _mi_write_blob_record (mi_dynrec.c:298) ==32256== by 0x9880E5: mi_write (mi_write.c:146) ==32256== by 0x99E435: ha_myisam::write_row(unsigned char*) (ha_myisam.cc:780) ==32256== by 0x7B2EC7: handler::ha_write_row(unsigned char*) (handler.cc:4654) ==32256== by 0x831674: select_union::send_data(List&) (sql_union.cc:64) ==32256== by 0x701C94: end_send(JOIN*, st_join_table*, bool) (sql_select.cc:12316) ==32256== by 0x6FFD1D: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11536) ==32256== by 0x6FF98B: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11410) ==32256== by 0x6FF4B3: do_select(JOIN*, List*, st_table*, Procedure*) (sql_select.cc:11168) ==32256== by 0x6E82B9: JOIN::exec() (sql_select.cc:2331) ==32256== by 0x6E8AB1: mysql_select(THD*, Item***, TABLE_LIST*, unsigned int, List&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:2534) ==32256== by 0x8349DB: mysql_derived_filling(THD*, st_lex*, TABLE_LIST*) (sql_derived.cc:294) ==32256== by 0x834275: mysql_handle_derived(st_lex*, bool (*)(THD*, st_lex*, TABLE_LIST*)) (sql_derived.cc:56) ==32256== by 0x6C8417: open_and_lock_tables_derived(THD*, TABLE_LIST*, bool) (sql_base.cc:5054) ==32256== by 0x685C93: open_and_lock_tables(THD*, TABLE_LIST*) (mysql_priv.h:1522) ==32256== by 0x67EA57: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5092) ==32256== by 0x675CD9: mysql_execute_command(THD*) (sql_parse.cc:2292) ==32256== by 0x6810C4: mysql_parse(THD*, char*, unsigned int, char const**) (sql_parse.cc:6051) ==32256== by 0x6735E3: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1260) ==32256== by 0x67257D: do_command(THD*) (sql_parse.cc:888) ==32256== by 0x67081B: handle_one_connection (sql_connect.cc:1136) ==32256== by 0x30E1807760: start_thread (pthread_create.c:301) ==32256== by 0xE27470F: ??? ==32256== ==32256== Conditional jump or move depends on uninitialised value(s) ==32256== at 0x9812BF: _mi_write_blob_record (mi_dynrec.c:302) ==32256== by 0x9880E5: mi_write (mi_write.c:146) ==32256== by 0x99E435: ha_myisam::write_row(unsigned char*) (ha_myisam.cc:780) ==32256== by 0x7B2EC7: handler::ha_write_row(unsigned char*) (handler.cc:4654) ==32256== by 0x831674: select_union::send_data(List&) (sql_union.cc:64) ==32256== by 0x701C94: end_send(JOIN*, st_join_table*, bool) (sql_select.cc:12316) ==32256== by 0x6FFD1D: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11536) ==32256== by 0x6FF98B: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11410) ==32256== by 0x6FF4B3: do_select(JOIN*, List*, st_table*, Procedure*) (sql_select.cc:11168) ==32256== by 0x6E82B9: JOIN::exec() (sql_select.cc:2331) ==32256== by 0x6E8AB1: mysql_select(THD*, Item***, TABLE_LIST*, unsigned int, List&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:2534) ==32256== by 0x8349DB: mysql_derived_filling(THD*, st_lex*, TABLE_LIST*) (sql_derived.cc:294) ==32256== by 0x834275: mysql_handle_derived(st_lex*, bool (*)(THD*, st_lex*, TABLE_LIST*)) (sql_derived.cc:56) ==32256== by 0x6C8417: open_and_lock_tables_derived(THD*, TABLE_LIST*, bool) (sql_base.cc:5054) ==32256== by 0x685C93: open_and_lock_tables(THD*, TABLE_LIST*) (mysql_priv.h:1522) ==32256== by 0x67EA57: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5092) ==32256== by 0x675CD9: mysql_execute_command(THD*) (sql_parse.cc:2292) ==32256== by 0x6810C4: mysql_parse(THD*, char*, unsigned int, char const**) (sql_parse.cc:6051) ==32256== by 0x6735E3: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1260) ==32256== by 0x67257D: do_command(THD*) (sql_parse.cc:888) ==32256== by 0x67081B: handle_one_connection (sql_connect.cc:1136) ==32256== by 0x30E1807760: start_thread (pthread_create.c:301) ==32256== by 0xE27470F: ??? ==32256== 101007 18:56:54 [Note] Got signal 15 to shutdown mysqld 101007 18:56:54 [Note] ./bin/mysqld: Normal shutdown ^[[A 101007 18:56:56 InnoDB: Starting shutdown... 101007 18:56:59 InnoDB: Shutdown completed; log sequence number 0 24936751 101007 18:56:59 [Note] ./bin/mysqld: Shutdown complete --32256-- Discarding syms at 0x30ec002910-0x30ec012f48 in /lib64/libgcc_s-4.4.4-20100630.so.1 due to munmap() --32256-- Discarding syms at 0xdfe8110-0xdff0258 in /lib64/libnss_files-2.12.so due to munmap() ==32256== ==32256== HEAP SUMMARY: ==32256== in use at exit: 2,448 bytes in 9 blocks ==32256== total heap usage: 33,140 allocs, 33,131 frees, 54,508,603 bytes allocated ==32256== ==32256== Searching for pointers to 9 not-freed blocks ==32256== Checked 96,053,520 bytes ==32256== ==32256== Thread 1: ==32256== 272 bytes in 1 blocks are possibly lost in loss record 1 of 7 ==32256== at 0x4A04481: calloc (vg_replace_malloc.c:418) ==32256== by 0x30E1011752: _dl_allocate_tls (dl-tls.c:300) ==32256== by 0x30E180700F: pthread_create@@GLIBC_2.2.5 (allocatestack.c:570) ==32256== by 0x9F8D8C: my_thread_global_init (my_thr_init.c:115) ==32256== by 0x9CA338: my_init (my_init.c:81) ==32256== by 0x666AA1: main (mysqld.cc:4336) ==32256== ==32256== 272 bytes in 1 blocks are possibly lost in loss record 2 of 7 ==32256== at 0x4A04481: calloc (vg_replace_malloc.c:418) ==32256== by 0x30E1011752: _dl_allocate_tls (dl-tls.c:300) ==32256== by 0x30E180700F: pthread_create@@GLIBC_2.2.5 (allocatestack.c:570) ==32256== by 0x909E40: os_thread_create (os0thread.c:172) ==32256== by 0x8FF7E2: recv_recovery_from_checkpoint_finish (log0recv.c:2917) ==32256== by 0x935660: innobase_start_or_create_for_mysql (srv0start.c:1543) ==32256== by 0x8AE1BA: innobase_init(void*) (ha_innodb.cc:1999) ==32256== by 0x7AA602: ha_initialize_handlerton(st_plugin_int*) (handler.cc:435) ==32256== by 0x875732: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1019) ==32256== by 0x875FA6: plugin_init(int*, char**, int) (sql_plugin.cc:1246) ==32256== by 0x666220: init_server_components() (mysqld.cc:4003) ==32256== by 0x666CF4: main (mysqld.cc:4474) ==32256== ==32256== 272 bytes in 1 blocks are possibly lost in loss record 3 of 7 ==32256== at 0x4A04481: calloc (vg_replace_malloc.c:418) ==32256== by 0x30E1011752: _dl_allocate_tls (dl-tls.c:300) ==32256== by 0x30E180700F: pthread_create@@GLIBC_2.2.5 (allocatestack.c:570) ==32256== by 0x909E40: os_thread_create (os0thread.c:172) ==32256== by 0x9356C7: innobase_start_or_create_for_mysql (srv0start.c:1588) ==32256== by 0x8AE1BA: innobase_init(void*) (ha_innodb.cc:1999) ==32256== by 0x7AA602: ha_initialize_handlerton(st_plugin_int*) (handler.cc:435) ==32256== by 0x875732: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1019) ==32256== by 0x875FA6: plugin_init(int*, char**, int) (sql_plugin.cc:1246) ==32256== by 0x666220: init_server_components() (mysqld.cc:4003) ==32256== by 0x666CF4: main (mysqld.cc:4474) ==32256== ==32256== 272 bytes in 1 blocks are possibly lost in loss record 4 of 7 ==32256== at 0x4A04481: calloc (vg_replace_malloc.c:418) ==32256== by 0x30E1011752: _dl_allocate_tls (dl-tls.c:300) ==32256== by 0x30E180700F: pthread_create@@GLIBC_2.2.5 (allocatestack.c:570) ==32256== by 0x909E40: os_thread_create (os0thread.c:172) ==32256== by 0x9356DB: innobase_start_or_create_for_mysql (srv0start.c:1592) ==32256== by 0x8AE1BA: innobase_init(void*) (ha_innodb.cc:1999) ==32256== by 0x7AA602: ha_initialize_handlerton(st_plugin_int*) (handler.cc:435) ==32256== by 0x875732: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1019) ==32256== by 0x875FA6: plugin_init(int*, char**, int) (sql_plugin.cc:1246) ==32256== by 0x666220: init_server_components() (mysqld.cc:4003) ==32256== by 0x666CF4: main (mysqld.cc:4474) ==32256== ==32256== 272 bytes in 1 blocks are possibly lost in loss record 5 of 7 ==32256== at 0x4A04481: calloc (vg_replace_malloc.c:418) ==32256== by 0x30E1011752: _dl_allocate_tls (dl-tls.c:300) ==32256== by 0x30E180700F: pthread_create@@GLIBC_2.2.5 (allocatestack.c:570) ==32256== by 0x909E40: os_thread_create (os0thread.c:172) ==32256== by 0x9356EF: innobase_start_or_create_for_mysql (srv0start.c:1596) ==32256== by 0x8AE1BA: innobase_init(void*) (ha_innodb.cc:1999) ==32256== by 0x7AA602: ha_initialize_handlerton(st_plugin_int*) (handler.cc:435) ==32256== by 0x875732: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1019) ==32256== by 0x875FA6: plugin_init(int*, char**, int) (sql_plugin.cc:1246) ==32256== by 0x666220: init_server_components() (mysqld.cc:4003) ==32256== by 0x666CF4: main (mysqld.cc:4474) ==32256== ==32256== 272 bytes in 1 blocks are possibly lost in loss record 6 of 7 ==32256== at 0x4A04481: calloc (vg_replace_malloc.c:418) ==32256== by 0x30E1011752: _dl_allocate_tls (dl-tls.c:300) ==32256== by 0x30E180700F: pthread_create@@GLIBC_2.2.5 (allocatestack.c:570) ==32256== by 0x909E40: os_thread_create (os0thread.c:172) ==32256== by 0x935744: innobase_start_or_create_for_mysql (srv0start.c:1617) ==32256== by 0x8AE1BA: innobase_init(void*) (ha_innodb.cc:1999) ==32256== by 0x7AA602: ha_initialize_handlerton(st_plugin_int*) (handler.cc:435) ==32256== by 0x875732: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1019) ==32256== by 0x875FA6: plugin_init(int*, char**, int) (sql_plugin.cc:1246) ==32256== by 0x666220: init_server_components() (mysqld.cc:4003) ==32256== by 0x666CF4: main (mysqld.cc:4474) ==32256== ==32256== 816 bytes in 3 blocks are possibly lost in loss record 7 of 7 ==32256== at 0x4A04481: calloc (vg_replace_malloc.c:418) ==32256== by 0x30E1011752: _dl_allocate_tls (dl-tls.c:300) ==32256== by 0x30E180700F: pthread_create@@GLIBC_2.2.5 (allocatestack.c:570) ==32256== by 0x909E40: os_thread_create (os0thread.c:172) ==32256== by 0x93524C: innobase_start_or_create_for_mysql (srv0start.c:1288) ==32256== by 0x8AE1BA: innobase_init(void*) (ha_innodb.cc:1999) ==32256== by 0x7AA602: ha_initialize_handlerton(st_plugin_int*) (handler.cc:435) ==32256== by 0x875732: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1019) ==32256== by 0x875FA6: plugin_init(int*, char**, int) (sql_plugin.cc:1246) ==32256== by 0x666220: init_server_components() (mysqld.cc:4003) ==32256== by 0x666CF4: main (mysqld.cc:4474) ==32256== ==32256== LEAK SUMMARY: ==32256== definitely lost: 0 bytes in 0 blocks ==32256== indirectly lost: 0 bytes in 0 blocks ==32256== possibly lost: 2,448 bytes in 9 blocks ==32256== still reachable: 0 bytes in 0 blocks ==32256== suppressed: 0 bytes in 0 blocks ==32256== ==32256== Use --track-origins=yes to see where uninitialised values come from ==32256== ERROR SUMMARY: 13 errors from 10 contexts (suppressed: 6 from 6) ==32256== ==32256== 2 errors in context 1 of 10: ==32256== Thread 11: ==32256== Conditional jump or move depends on uninitialised value(s) ==32256== at 0x9812BF: _mi_write_blob_record (mi_dynrec.c:302) ==32256== by 0x9880E5: mi_write (mi_write.c:146) ==32256== by 0x99E435: ha_myisam::write_row(unsigned char*) (ha_myisam.cc:780) ==32256== by 0x7B2EC7: handler::ha_write_row(unsigned char*) (handler.cc:4654) ==32256== by 0x831674: select_union::send_data(List&) (sql_union.cc:64) ==32256== by 0x701C94: end_send(JOIN*, st_join_table*, bool) (sql_select.cc:12316) ==32256== by 0x6FFD1D: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11536) ==32256== by 0x6FF98B: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11410) ==32256== by 0x6FF4B3: do_select(JOIN*, List*, st_table*, Procedure*) (sql_select.cc:11168) ==32256== by 0x6E82B9: JOIN::exec() (sql_select.cc:2331) ==32256== by 0x6E8AB1: mysql_select(THD*, Item***, TABLE_LIST*, unsigned int, List&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:2534) ==32256== by 0x8349DB: mysql_derived_filling(THD*, st_lex*, TABLE_LIST*) (sql_derived.cc:294) ==32256== by 0x834275: mysql_handle_derived(st_lex*, bool (*)(THD*, st_lex*, TABLE_LIST*)) (sql_derived.cc:56) ==32256== by 0x6C8417: open_and_lock_tables_derived(THD*, TABLE_LIST*, bool) (sql_base.cc:5054) ==32256== by 0x685C93: open_and_lock_tables(THD*, TABLE_LIST*) (mysql_priv.h:1522) ==32256== by 0x67EA57: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5092) ==32256== by 0x675CD9: mysql_execute_command(THD*) (sql_parse.cc:2292) ==32256== by 0x6810C4: mysql_parse(THD*, char*, unsigned int, char const**) (sql_parse.cc:6051) ==32256== by 0x6735E3: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1260) ==32256== by 0x67257D: do_command(THD*) (sql_parse.cc:888) ==32256== by 0x67081B: handle_one_connection (sql_connect.cc:1136) ==32256== by 0x30E1807760: start_thread (pthread_create.c:301) ==32256== by 0xE27470F: ??? ==32256== ==32256== ==32256== 2 errors in context 2 of 10: ==32256== Conditional jump or move depends on uninitialised value(s) ==32256== at 0x9840FE: _mi_rec_pack (mi_dynrec.c:1005) ==32256== by 0x981287: _mi_write_blob_record (mi_dynrec.c:298) ==32256== by 0x9880E5: mi_write (mi_write.c:146) ==32256== by 0x99E435: ha_myisam::write_row(unsigned char*) (ha_myisam.cc:780) ==32256== by 0x7B2EC7: handler::ha_write_row(unsigned char*) (handler.cc:4654) ==32256== by 0x831674: select_union::send_data(List&) (sql_union.cc:64) ==32256== by 0x701C94: end_send(JOIN*, st_join_table*, bool) (sql_select.cc:12316) ==32256== by 0x6FFD1D: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11536) ==32256== by 0x6FF98B: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11410) ==32256== by 0x6FF4B3: do_select(JOIN*, List*, st_table*, Procedure*) (sql_select.cc:11168) ==32256== by 0x6E82B9: JOIN::exec() (sql_select.cc:2331) ==32256== by 0x6E8AB1: mysql_select(THD*, Item***, TABLE_LIST*, unsigned int, List&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:2534) ==32256== by 0x8349DB: mysql_derived_filling(THD*, st_lex*, TABLE_LIST*) (sql_derived.cc:294) ==32256== by 0x834275: mysql_handle_derived(st_lex*, bool (*)(THD*, st_lex*, TABLE_LIST*)) (sql_derived.cc:56) ==32256== by 0x6C8417: open_and_lock_tables_derived(THD*, TABLE_LIST*, bool) (sql_base.cc:5054) ==32256== by 0x685C93: open_and_lock_tables(THD*, TABLE_LIST*) (mysql_priv.h:1522) ==32256== by 0x67EA57: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5092) ==32256== by 0x675CD9: mysql_execute_command(THD*) (sql_parse.cc:2292) ==32256== by 0x6810C4: mysql_parse(THD*, char*, unsigned int, char const**) (sql_parse.cc:6051) ==32256== by 0x6735E3: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1260) ==32256== by 0x67257D: do_command(THD*) (sql_parse.cc:888) ==32256== by 0x67081B: handle_one_connection (sql_connect.cc:1136) ==32256== by 0x30E1807760: start_thread (pthread_create.c:301) ==32256== by 0xE27470F: ??? ==32256== ==32256== ==32256== 2 errors in context 3 of 10: ==32256== Conditional jump or move depends on uninitialised value(s) ==32256== at 0x9D1B1E: my_malloc (my_malloc.c:32) ==32256== by 0x98124C: _mi_write_blob_record (mi_dynrec.c:293) ==32256== by 0x9880E5: mi_write (mi_write.c:146) ==32256== by 0x99E435: ha_myisam::write_row(unsigned char*) (ha_myisam.cc:780) ==32256== by 0x7B2EC7: handler::ha_write_row(unsigned char*) (handler.cc:4654) ==32256== by 0x831674: select_union::send_data(List&) (sql_union.cc:64) ==32256== by 0x701C94: end_send(JOIN*, st_join_table*, bool) (sql_select.cc:12316) ==32256== by 0x6FFD1D: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11536) ==32256== by 0x6FF98B: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11410) ==32256== by 0x6FF4B3: do_select(JOIN*, List*, st_table*, Procedure*) (sql_select.cc:11168) ==32256== by 0x6E82B9: JOIN::exec() (sql_select.cc:2331) ==32256== by 0x6E8AB1: mysql_select(THD*, Item***, TABLE_LIST*, unsigned int, List&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:2534) ==32256== by 0x8349DB: mysql_derived_filling(THD*, st_lex*, TABLE_LIST*) (sql_derived.cc:294) ==32256== by 0x834275: mysql_handle_derived(st_lex*, bool (*)(THD*, st_lex*, TABLE_LIST*)) (sql_derived.cc:56) ==32256== by 0x6C8417: open_and_lock_tables_derived(THD*, TABLE_LIST*, bool) (sql_base.cc:5054) ==32256== by 0x685C93: open_and_lock_tables(THD*, TABLE_LIST*) (mysql_priv.h:1522) ==32256== by 0x67EA57: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5092) ==32256== by 0x675CD9: mysql_execute_command(THD*) (sql_parse.cc:2292) ==32256== by 0x6810C4: mysql_parse(THD*, char*, unsigned int, char const**) (sql_parse.cc:6051) ==32256== by 0x6735E3: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1260) ==32256== by 0x67257D: do_command(THD*) (sql_parse.cc:888) ==32256== by 0x67081B: handle_one_connection (sql_connect.cc:1136) ==32256== by 0x30E1807760: start_thread (pthread_create.c:301) ==32256== by 0xE27470F: ??? ==32256== --32256-- --32256-- used_suppression: 6 dl-hack3-cond-1 ==32256== ==32256== ERROR SUMMARY: 13 errors from 10 contexts (suppressed: 6 from 6)