Bug #56882 | binlog_base64_flag fails on valgrind and win debug max platforms | ||
---|---|---|---|
Submitted: | 20 Sep 2010 22:54 | Modified: | 30 Nov 2010 22:23 |
Reporter: | Luis Soares | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Replication | Severity: | S3 (Non-critical) |
Version: | mysql-next-mr-bugfixing | OS: | Any |
Assigned to: | Luis Soares | CPU Architecture: | Any |
Tags: | valgrind |
[20 Sep 2010 22:54]
Luis Soares
[20 Sep 2010 23:02]
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/118653 3295 Luis Soares 2010-09-21 BUG#56882: binlog_base64_flag fails on valgrind and win debug max platforms In some cases, the variable err in mysql_client_binlog_statement would not be initialized but still some conditional jumps would rely on its value. This is for instance the case when a BINLOG event is truncated and it returns an error. In this case the 'err' variable is not initialized at that time, but we jump to the label 'end' and then check the following condition: if ((error || err) && ... ) This makes valgrind complain that there is a conditional jump or move depending on an uninitialized value. We fix this by initializing the variable err to 0.
[21 Sep 2010 11:35]
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/118704 3298 Luis Soares 2010-09-21 BUG#56882: binlog_base64_flag fails on valgrind and win debug max platforms In some cases, the variable err in mysql_client_binlog_statement would not be initialized but still some conditional jumps would rely on its value. This is for instance the case when a BINLOG event is truncated and it returns an error. In this case the 'err' variable is not initialized at that time, but we jump to the label 'end' and then check the following condition: if ((error || err) && ... ) This makes valgrind complain that there is a conditional jump or move depending on an uninitialized value. We fix this by initializing the variable err to 0.
[21 Sep 2010 11:41]
Luis Soares
Queued in mysql-next-mr-bugfixing: - http://pb2.norway.sun.com/web.py?template=push_details&push=1588818
[2 Oct 2010 18:15]
Bugs System
Pushed into mysql-next-mr (revid:alexander.nozdrin@oracle.com-20101002181053-6iotvl26uurcoryp) (version source revid:alexander.nozdrin@oracle.com-20101002180917-h0n62akupm3z20nt) (pib:21)
[13 Nov 2010 16:17]
Bugs System
Pushed into mysql-trunk 5.6.99-m5 (revid:alexander.nozdrin@oracle.com-20101113155825-czmva9kg4n31anmu) (version source revid:vasil.dimov@oracle.com-20100629074804-359l9m9gniauxr94) (merge vers: 5.6.99-m4) (pib:21)
[30 Nov 2010 22:23]
Jon Stephens
Issue does not appear in any release. No changelog entry necessary. Closed without further action.