Description:
Errors are (from /dev/shm/var-n_stm-5/log/mysqltest-time) :
==18346== Memcheck, a memory error detector.
==18346== Copyright (C) 2002-2006, and GNU GPL'd, by Julian Seward et al.
==18346== Using LibVEX rev 1606, a library for dynamic binary translation.
==18346== Copyright (C) 2004-2006, and GNU GPL'd, by OpenWorks LLP.
==18346== Using valgrind-3.2.0, a dynamic binary instrumentation framework.
==18346== Copyright (C) 2000-2006, and GNU GPL'd, by Julian Seward et al.
==18346== For more details, rerun with: -v
==18346==
mysqltest: At line 137: query 'insert into t2 select C.a*2, 'no' from t1 A, t1 B, t1
C' failed: 2013: Lost connection to MySQL server during query
==18346==
==18346== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 3 from 2)
==18346== malloc/free: in use at exit: 256 bytes in 1 blocks.
==18346== malloc/free: 1,412 allocs, 1,411 frees, 343,780 bytes allocated.
==18346== For counts of detected errors, rerun with: -v
==18346== searching for pointers to 1 not-freed blocks.
==18346== checked 1,881,176 bytes.
==18346==
==18346== 256 bytes in 1 blocks are still reachable in loss record 1 of 1
==18346== at 0x4A18B63: malloc (vg_replace_malloc.c:149)
==18346== by 0x4C837F6: my_malloc (my_malloc.c:35)
==18346== by 0x4C8950A: init_dynamic_string (string.c:40)
==18346== by 0x40E20D: run_query (mysqltest.c:4657)
==18346== by 0x409B0F: main (mysqltest.c:5351)
{
<insert a suppression name here>
Memcheck:Leak
fun:_vgrZU_libcZdsoZa_malloc
fun:my_malloc
fun:init_dynamic_string
fun:run_query
fun:main
}
==18346==
==18346== LEAK SUMMARY:
==18346== definitely lost: 0 bytes in 0 blocks.
==18346== possibly lost: 0 bytes in 0 blocks.
==18346== still reachable: 256 bytes in 1 blocks.
==18346== suppressed: 0 bytes in 0 blocks.
(the last lines may be the most important ones)
Result from queries before failure can be found in r/func_in.log
How to repeat:
build 5.1
Description: Errors are (from /dev/shm/var-n_stm-5/log/mysqltest-time) : ==18346== Memcheck, a memory error detector. ==18346== Copyright (C) 2002-2006, and GNU GPL'd, by Julian Seward et al. ==18346== Using LibVEX rev 1606, a library for dynamic binary translation. ==18346== Copyright (C) 2004-2006, and GNU GPL'd, by OpenWorks LLP. ==18346== Using valgrind-3.2.0, a dynamic binary instrumentation framework. ==18346== Copyright (C) 2000-2006, and GNU GPL'd, by Julian Seward et al. ==18346== For more details, rerun with: -v ==18346== mysqltest: At line 137: query 'insert into t2 select C.a*2, 'no' from t1 A, t1 B, t1 C' failed: 2013: Lost connection to MySQL server during query ==18346== ==18346== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 3 from 2) ==18346== malloc/free: in use at exit: 256 bytes in 1 blocks. ==18346== malloc/free: 1,412 allocs, 1,411 frees, 343,780 bytes allocated. ==18346== For counts of detected errors, rerun with: -v ==18346== searching for pointers to 1 not-freed blocks. ==18346== checked 1,881,176 bytes. ==18346== ==18346== 256 bytes in 1 blocks are still reachable in loss record 1 of 1 ==18346== at 0x4A18B63: malloc (vg_replace_malloc.c:149) ==18346== by 0x4C837F6: my_malloc (my_malloc.c:35) ==18346== by 0x4C8950A: init_dynamic_string (string.c:40) ==18346== by 0x40E20D: run_query (mysqltest.c:4657) ==18346== by 0x409B0F: main (mysqltest.c:5351) { <insert a suppression name here> Memcheck:Leak fun:_vgrZU_libcZdsoZa_malloc fun:my_malloc fun:init_dynamic_string fun:run_query fun:main } ==18346== ==18346== LEAK SUMMARY: ==18346== definitely lost: 0 bytes in 0 blocks. ==18346== possibly lost: 0 bytes in 0 blocks. ==18346== still reachable: 256 bytes in 1 blocks. ==18346== suppressed: 0 bytes in 0 blocks. (the last lines may be the most important ones) Result from queries before failure can be found in r/func_in.log How to repeat: build 5.1