Bug #45631 rpl_plugin_load.test causes valgrind failures

Submitted: 20 Jun 2009 7:31 Modified: 18 Sep 2009 22:32
Reporter: Sergey Petrunya Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server Severity:S3 (Non-critical)
Version:5.1 OS:Linux (Ubuntu hardy )
Assigned to: CPU Architecture:Any

[20 Jun 2009 7:31] Sergey Petrunya
Description:
rpl_plugin_load test will fail when run under valgrind on Ubuntu hardy:

rpl.rpl_plugin_load 'stmt'               w2 [ fail ]  Found warnings/errors in server log file!
        Test ended at 2009-06-18 23:37:35
mysqltest: Logging to ''.
mysqltest: Results saved in ''.
mysqltest: Connecting to server localhost:13010 (socket /space/buildbot/valgrind/build/mysql-test/var/tmp/2/mysqld.1.sock) as 'root', connection 'default', attempt 0 ...
mysqltest: ... Connected.
mysqltest: Start processing test commands from './include/check-warnings.test' ...
file_name	line
/space/buildbot/valgrind/build/mysql-test/var/2/log/mysqld.1.err	==18591==    at 0x4C2508B: memcpy (mc_replace_strmem.c:402)
/space/buildbot/valgrind/build/mysql-test/var/2/log/mysqld.1.err	==18591==    at 0x4C2508B: memcpy (mc_replace_strmem.c:402)
^ Found warnings!!
mysqltest: ... Done processing test commands.
mysqltest: Test has succeeded!
ok
mysqltest: Logging to ''.
mysqltest: Results saved in ''.
mysqltest: Connecting to server localhost:13011 (socket /space/buildbot/valgrind/build/mysql-test/var/tmp/2/mysqld.2.sock) as 'root', connection 'default', attempt 0 ...
mysqltest: ... Connected.
mysqltest: Start processing test commands from './include/check-warnings.test' ...
file_name	line
/space/buildbot/valgrind/build/mysql-test/var/2/log/mysqld.2.err	==18641==    at 0x4C2508B: memcpy (mc_replace_strmem.c:402)
/space/buildbot/valgrind/build/mysql-test/var/2/log/mysqld.2.err	==18641==    at 0x4C2508B: memcpy (mc_replace_strmem.c:402)
^ Found warnings!!
mysqltest: ... Done processing test commands.
mysqltest: Test has succeeded!
ok

 - saving '/space/buildbot/valgrind/build/mysql-test/var/2/log/rpl.rpl_plugin_load-stmt/' to '/space/buildbot/valgrind/build/mysql-test/var/log/rpl.rpl_plugin_load-stmt/'

Retrying test, attempt(2/3)...

How to repeat:
* Build with BUILD/compile-pentium64-valgrind-max
* Run tests with  "perl mysql-test-run.pl --parallel=2 --force --skip-ndb"
* Observe the failure.

Build/Test logs can be viewed here:
http://askmonty.org/buildbot/builders/hardy-amd64-dbg/builds/66/
[22 Jun 2009 23:17] Davi Arnaut
Supplied link has no information about valgrind warnings. I guess you confused it with the link for Bug#45632
[23 Jun 2009 11:00] Sergey Petrunya
Sorry, wrong url. The correct one is: 
http://askmonty.org/buildbot/builders/hardy-amd64-valgrind/builds/72/steps/test/logs/stdio
[14 Sep 2009 9:17] Sveta Smirnova
Thank you for the feedback.

I can not repeat described behavior. Please try with current sources and inform us if problem still exists.
[18 Sep 2009 22:32] Sergey Petrunya
Yes. Tried the latest bzr sources and it is gone. Seems to be fixed (and in our tree too after the merge). Changing status to closed.

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.056 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.