Bug #21925 func_in test fails in 5.1
Submitted: 30 Aug 2006 15:07 Modified: 31 Aug 2006 21:26
Reporter: Reggie Burnett Email Updates:
Status: Duplicate Impact on me:
None 
Category:MySQL Server: Tests Severity:S3 (Non-critical)
Version: OS:
Assigned to: Magnus Blåudd CPU Architecture:Any

[30 Aug 2006 15:07] Reggie Burnett
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
[30 Aug 2006 15:27] Valeriy Kravchuk
Thank you for a problem report. How exactly you built that 5.1-BK? configure command line or exact BUILD/compile* script used is needed. Does this test fail if run alone?
[30 Aug 2006 15:33] Reggie Burnett
Fails in 5.1 pushbuild run
[30 Aug 2006 16:06] Valeriy Kravchuk
Can't repeat with 5.1-BK (ChangeSet@1.2286, 2006-08-29 16:39:09+03:00) when run as a separate test case, even with --valgrind. Do not know how to check pushbuilds, sorry.
[31 Aug 2006 21:26] Elliot Murphy
Duplicate of bug#21477
[15 Sep 2006 15:56] Magnus Blåudd
Will remove disabling of func_in