Bug #87427 mysql_client_test:test_fetch_seek: conditional jmp or move depends on uninit val
Submitted: 15 Aug 2017 17:02 Modified: 18 Aug 2017 14:01
Reporter: Laurynas Biveinis (OCA) Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: C API (client library) Severity:S3 (Non-critical)
Version:8.0.2 OS:Linux
Assigned to: CPU Architecture:Any
Tags: valgrind

[15 Aug 2017 17:02] Laurynas Biveinis
Description:
./mtr --debug-server --big-test --valgrind mysql_client_test
...
mysqltest: At line 20: command "$MYSQL_CLIENT_TEST --getopt-ll-test=25600M $PLUGIN_AUTH_CLIENT_OPT >> $MYSQLTEST_VARDIR/log/mysql_client_test.out.log 2>&1" failed
...
$ less var/log/mysql_client_test.out.log 
...
==5803== 
==5803== Conditional jump or move depends on uninitialised value(s)
==5803==    at 0x4C30D29: strlen (vg_replace_strmem.c:454)
==5803==    by 0x6A5E955: vfprintf (vfprintf.c:1637)
==5803==    by 0x6A65506: fprintf (fprintf.c:32)
==5803==    by 0x183DA5: test_fetch_seek (mysql_client_test.c:8014)
==5803==    by 0x15838C: main (mysql_client_fw.c:1420)
==5803== 
==5803== Conditional jump or move depends on uninitialised value(s)
==5803==    at 0x4C30D29: strlen (vg_replace_strmem.c:454)
==5803==    by 0x6A5E955: vfprintf (vfprintf.c:1637)
==5803==    by 0x6A65506: fprintf (fprintf.c:32)
==5803==    by 0x183E6A: test_fetch_seek (mysql_client_test.c:8024)
==5803==    by 0x15838C: main (mysql_client_fw.c:1420)
==5803== 
==5803== Conditional jump or move depends on uninitialised value(s)
==5803==    at 0x4C30D29: strlen (vg_replace_strmem.c:454)
==5803==    by 0x6A5E955: vfprintf (vfprintf.c:1637)
==5803==    by 0x6A65506: fprintf (fprintf.c:32)
==5803==    by 0x183F19: test_fetch_seek (mysql_client_test.c:8032)
==5803==    by 0x15838C: main (mysql_client_fw.c:1420)
==5803== 
==5803== Conditional jump or move depends on uninitialised value(s)
==5803==    at 0x4C30D29: strlen (vg_replace_strmem.c:454)
==5803==    by 0x6A5E955: vfprintf (vfprintf.c:1637)
==5803==    by 0x6A65506: fprintf (fprintf.c:32)
==5803==    by 0x183FBC: test_fetch_seek (mysql_client_test.c:8040)
==5803==    by 0x15838C: main (mysql_client_fw.c:1420)
==5803== 

How to repeat:
See above
[16 Aug 2017 6:19] MySQL Verification Team
Hello Laurynas,

Thank you for the report and feedback.

Thanks,
Umesh
[18 Aug 2017 14:01] Erlend Dahl
Posted by developer:
 
This was a regression from

Author:     Abhishek Ranjan <abhishek.ar.ranjan@oracle.com>
AuthorDate: Wed May 24 11:35:19 2017
Commit:     Abhishek Ranjan <abhishek.ar.ranjan@oracle.com>
CommitDate: Thu May 25 11:22:50 2017

    WL#9687 : Change default for explicit_defaults_for_timestamp to ON

but it has been fixed in 8.0.3.