Bug #61985 | Valgrind errors on myisam-blob and almost_full 5.5 rev 3477 | ||
---|---|---|---|
Submitted: | 26 Jul 2011 14:04 | Modified: | 11 Mar 2014 9:17 |
Reporter: | Laurynas Biveinis (OCA) | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: MyISAM storage engine | Severity: | S3 (Non-critical) |
Version: | 5.5 | OS: | Linux (Ubuntu 11.06 x64) |
Assigned to: | CPU Architecture: | Any |
[26 Jul 2011 14:04]
Laurynas Biveinis
[9 Aug 2011 8:40]
Valeriy Kravchuk
What exact version, 5.5.x, you had used? I was not able to repeat with current mysql-5.5 (5.5.16) on 64-bit Fedora Core 14.
[9 Aug 2011 8:42]
Valeriy Kravchuk
bzr revno returns 3486 in my case.
[9 Aug 2011 8:44]
Laurynas Biveinis
I've have used bzr version, revision 3477 of lp:mysql-server/5.5.
[9 Aug 2011 12:36]
Sveta Smirnova
Thank you for the report. I can not repeat described behavior. Please send us all options you use when run cmake.
[10 Aug 2011 3:42]
Laurynas Biveinis
The exact CMake options used are CFLAGS= -USAFEMALLOC -UFORCE_INIT_OF_VARS -DHAVE_purify -O0 -g3 -gdwarf-2 CXXFLAGS= -USAFEMALLOC -UFORCE_INIT_OF_VARS -DHAVE_purify -O0 -g3 -gdwarf-2 cmake . -DCMAKE_BUILD_TYPE=RelWithDebInfo -DWITH_VALGRIND=ON -DBUILD_CONFIG=mysql_release -DFEATURE_SET=community -DWITH_EMBEDDED_SERVER=OFF This and the rest of that build output can be found at http://jenkins.percona.com/job/mysql-5.5-trunk-valgrind/11/BUILD_TYPE=valgrind,Host=ubuntu... The tests fail with a week-old 5.5 trunk too (rev 3483), the full log is at http://jenkins.percona.com/job/mysql-5.5-trunk-valgrind/12/BUILD_TYPE=valgrind,Host=ubuntu... Thank you.
[10 Aug 2011 17:53]
Sveta Smirnova
Thank you for the feedback. Verified as described.
[13 Sep 2012 12:41]
MySQL Verification Team
still happens on 5.7.0 today: Thread 23: Conditional jump or move depends on uninitialised value(s) at: chk_del (mi_check.c:191) by: ha_myisam::check (ha_myisam.cc:862) by: handler::ha_check (handler.cc:3972) by: mysql_admin_table (sql_admin.cc:638) by: Sql_cmd_check_table::execute(THD*) (sql_admin.cc:1052) by: mysql_execute_command(THD*) (sql_parse.cc:4788) by: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:6054) by: dispatch_command (sql_parse.cc:1314) by: do_handle_one_connection(THD*) (sql_connect.cc:969) by: handle_one_connection (sql_connect.cc:885) by: start_thread (pthread_create.c:309) by: clone (clone.S:115) (gdb) p thd->query_string $1 = { string = { str = 0x15ce6040 "check table `t2`", length = 16 }, cs = 0x1210fa0 } (gdb)
[11 Mar 2014 9:17]
Erlend Dahl
This has been fixed in 5.7.4: Tor Didriksen 2014-01-29 Bug#14580121 VALGRIND FAILURE IN CHK_DEL() IN MYISAM CODE Bug#61985 Valgrind errors on myisam-blob and almost_full 5.5 rev 3477 Initialize variables, to avoid valgrind warnings.