Bug #24488 Valgrind warning: Invalid read

Submitted: 21 Nov 2006 21:43 Modified: 27 Nov 2006 18:45
Reporter: Lars Thalmann Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server Severity:S3 (Non-critical)
Version:5.1 source OS:
Assigned to: Mats Kindahl CPU Architecture:Any

[21 Nov 2006 21:43] Lars Thalmann
Description:
VALGRIND: 'Invalid read of size 1'
    COUNT: 8
    FUNCTION: mysql_client_binlog_statement(THD*)    FILES:    master.err
    TESTS:    mysqlbinlog_base64 rpl_row_mysqlbinlog
    STACK: at 0x791413: mysql_client_binlog_statement(THD*) (sql_binlog.cc:151)
             by 0x6152BD: mysql_execute_command(THD*) (sql_parse.cc:5133)
             by 0x6170EE: mysql_parse(THD*, char*, unsigned) (sql_parse.cc:6052)
             by 0x60E700: dispatch_command(enum_server_command, THD*, char*, unsigned) (sql_parse.cc:1835)
             by 0x60E1EB: do_command(THD*) (sql_parse.cc:1619)
             by 0x60D5C8: handle_one_connection (sql_parse.cc:1234)
             by 0x4D3AC63: start_thread (in /lib64/tls/libpthread-0.60.so)
             by 0x52F3242: clone (in /lib64/tls/libc-2.3.2.so)
           Address 0x6B2675B is 5 bytes after a block of size 78 alloc'd
             at 0x4A18B63: malloc (vg_replace_malloc.c:149)
             by 0x9407EE: my_malloc (my_malloc.c:35)
             by 0x791201: mysql_client_binlog_statement(THD*) (sql_binlog.cc:61)
             by 0x6152BD: mysql_execute_command(THD*) (sql_parse.cc:5133)
             by 0x6170EE: mysql_parse(THD*, char*, unsigned) (sql_parse.cc:6052)
             by 0x60E700: dispatch_command(enum_server_command, THD*, char*, unsigned) (sql_parse.cc:1835)
             by 0x60E1EB: do_command(THD*) (sql_parse.cc:1619)
             by 0x60D5C8: handle_one_connection (sql_parse.cc:1234)
             by 0x4D3AC63: start_thread (in /lib64/tls/libpthread-0.60.so)
             by 0x52F3242: clone (in /lib64/tls/libc-2.3.2.so)

How to repeat:
Pushbuild
[23 Nov 2006 15:22] 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/15765

ChangeSet@1.2373, 2006-11-23 16:21:53+01:00, mats@romeo.(none) +1 -0
  BUG#24488 (Valgrind warnings on invalid read in mysql_client_binlog_statement):
  Disabling debug printouts for valgrind builds that print unallocated memory.
[27 Nov 2006 18:45] Paul DuBois
Noted in 5.1.14 changelog.

Some unnecessary Valgrind warnings were removed from the server.

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

Page generated in 0.039 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.