Bug #47810 rpl.rpl_trigger.test fails with valgrind errors with the innodb plugin
Submitted: 4 Oct 2009 10:29 Modified: 5 Oct 2009 8:38
Reporter: Georgi Kodinov Email Updates:
Status: Duplicate Impact on me:
None 
Category:MySQL Server: InnoDB Plugin storage engine Severity:S3 (Non-critical)
Version:5.1+ OS:Linux (Fedora Core 11/x86_64)
Assigned to: CPU Architecture:Any

[4 Oct 2009 10:29] Georgi Kodinov
Description:
rpl.rpl_trigger.test fails with valgrind errors with the innodb plugin as follows (see the full log file for more details) : 
....

==20164== 64 bytes in 1 blocks are indirectly lost in loss record 3 of 150
==20164==    at 0x4A05E5D: malloc (vg_replace_malloc.c:195)
==20164==    by 0x5F95F05: ???
==20164==    by 0x5F961D5: ???
==20164==    by 0x5F4ABA0: ???
==20164==    by 0x5F4A4E4: ???
==20164==    by 0x5F490C8: ???
==20164==    by 0x5F4AE14: ???
==20164==    by 0x5F50B4D: ???
==20164==    by 0x5F53B6C: ???
==20164==    by 0x5EE6C8D: ???
==20164==    by 0x5F7EA72: ???
==20164==    by 0x5F094AB: ???
==20164==    by 0x7E6376: ha_initialize_handlerton(st_plugin_int*) (handler.cc:435)
==20164==    by 0x8B28FA: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1014)
==20164==    by 0x8B316B: plugin_init(int*, char**, int) (sql_plugin.cc:1238)
==20164==    by 0x699980: init_server_components() (mysqld.cc:3928)
....

How to repeat:
compile with valgrind (BUILD/compile-pentium-valgrind-max) and run
mysql-test$ ./mysql-test-run.pl --valgrind rpl_trigger.test

Suggested fix:
"Cure" the valgrind errors. Possibly related to Bug #46656.
[4 Oct 2009 10:30] Georgi Kodinov
the valgrind error log

Attachment: mysqld.1.err.zip (application/zip, text), 6.58 KiB.

[4 Oct 2009 10:32] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

  http://lists.mysql.com/commits/85666

3152 Georgi Kodinov	2009-10-04
      rpl.rpl_trigger made experimental because of bug #47810 :
      rpl.rpl_trigger.test fails with valgrind errors with the innodb plugin
[4 Oct 2009 23:28] Luis Soares
See also: BUG#46656.
[5 Oct 2009 8:38] Georgi Kodinov
Duplicate of bug #46656
[6 Oct 2009 9:01] Bugs System
Pushed into 5.1.40 (revid:joro@sun.com-20091006073316-lea2cpijh9r6on7c) (version source revid:joro@sun.com-20091004103155-dmze5cijl34kwmib) (merge vers: 5.1.40) (pib:11)
[22 Oct 2009 6:35] Bugs System
Pushed into 6.0.14-alpha (revid:alik@sun.com-20091022063126-l0qzirh9xyhp0bpc) (version source revid:alik@sun.com-20091019135554-s1pvptt6i750lfhv) (merge vers: 6.0.14-alpha) (pib:13)
[22 Oct 2009 7:07] Bugs System
Pushed into 5.5.0-beta (revid:alik@sun.com-20091022060553-znkmxm0g0gm6ckvw) (version source revid:alik@sun.com-20091013094238-g67x6tgdm9a7uik0) (merge vers: 5.5.0-beta) (pib:13)
[18 Dec 2009 10:33] Bugs System
Pushed into 5.1.41-ndb-7.1.0 (revid:jonas@mysql.com-20091218102229-64tk47xonu3dv6r6) (version source revid:jonas@mysql.com-20091218095730-26gwjidfsdw45dto) (merge vers: 5.1.41-ndb-7.1.0) (pib:15)
[18 Dec 2009 10:49] Bugs System
Pushed into 5.1.41-ndb-6.2.19 (revid:jonas@mysql.com-20091218100224-vtzr0fahhsuhjsmt) (version source revid:jonas@mysql.com-20091217101452-qwzyaig50w74xmye) (merge vers: 5.1.41-ndb-6.2.19) (pib:15)
[18 Dec 2009 11:04] Bugs System
Pushed into 5.1.41-ndb-6.3.31 (revid:jonas@mysql.com-20091218100616-75d9tek96o6ob6k0) (version source revid:jonas@mysql.com-20091217154335-290no45qdins5bwo) (merge vers: 5.1.41-ndb-6.3.31) (pib:15)
[18 Dec 2009 11:18] Bugs System
Pushed into 5.1.41-ndb-7.0.11 (revid:jonas@mysql.com-20091218101303-ga32mrnr15jsa606) (version source revid:jonas@mysql.com-20091218064304-ezreonykd9f4kelk) (merge vers: 5.1.41-ndb-7.0.11) (pib:15)