5.1 valgrind errors on innodb_plugin.innodb_bug56680

Bug #759441 reported by Laurynas Biveinis
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MySQL Server
Unknown
Unknown
Percona Server moved to https://jira.percona.com/projects/PS
Invalid
Low
Unassigned
5.1
Invalid
Low
Unassigned

Bug Description

5.1 configured with debug and valgrind support:

innodb_plugin.innodb_bug56680 w2 [ fail ] Found warnings/errors in server log file!
        Test ended at 2011-04-13 07:15:15
line
==21202== Thread 50:
==21202== Conditional jump or move depends on uninitialised value(s)
==21202== at 0x5054E40: inflateReset2 (in /lib/libz.so.1.2.3.4)
==21202== by 0x5054F2F: inflateInit2_ (in /lib/libz.so.1.2.3.4)
==21202== by 0x9102CF: page_zip_decompress (page0zip.c:2919)
==21202== by 0x902E2C: page_cur_insert_rec_zip_reorg (page0cur.c:1198)
==21202== by 0x9031BA: page_cur_insert_rec_zip (page0cur.c:1279)
==21202== by 0x900C76: page_cur_tuple_insert (page0cur.ic:264)
==21202== by 0x96EB52: btr_cur_optimistic_insert (btr0cur.c:1281)
==21202== by 0x9215CE: row_ins_index_entry_low (row0ins.c:2107)
==21202== by 0x9218B0: row_ins_index_entry (row0ins.c:2188)
==21202== by 0x921AF3: row_ins_index_entry_step (row0ins.c:2273)
==21202== by 0x921D3C: row_ins (row0ins.c:2405)
==21202== by 0x921F4F: row_ins_step (row0ins.c:2515)
==21202== by 0x928869: row_insert_for_mysql (row0mysql.c:1159)
==21202== by 0x8C98AA: ha_innobase::write_row(unsigned char*) (ha_innodb.cc:5135)
==21202== by 0x7B2C2F: handler::ha_write_row(unsigned char*) (handler.cc:4785)
==21202== by 0x7E4184: copy_data_between_tables(st_table*, st_table*, List<Create_field>&, bool, unsigned int, st_order*, unsigned long long*, unsigned long long*, enum_enable_or_disable, bool) (sql_table.cc:8010)
==21202== Conditional jump or move depends on uninitialised value(s)
==21202== at 0x5054E40: inflateReset2 (in /lib/libz.so.1.2.3.4)
==21202== by 0x5054F2F: inflateInit2_ (in /lib/libz.so.1.2.3.4)
==21202== by 0x9102CF: page_zip_decompress (page0zip.c:2919)
==21202== by 0x906C0C: page_copy_rec_list_end (page0page.c:688)
==21202== by 0x96A18A: btr_compress (btr0btr.c:2748)
==21202== by 0x97159E: btr_cur_compress_if_useful (btr0cur.c:2848)
==21202== by 0x970A42: btr_cur_pessimistic_update (btr0cur.c:2365)
==21202== by 0x91E0DB: row_ins_clust_index_entry_by_modify (row0ins.c:348)
==21202== by 0x92152E: row_ins_index_entry_low (row0ins.c:2097)
==21202== by 0x9218E4: row_ins_index_entry (row0ins.c:2197)
==21202== by 0x921AF3: row_ins_index_entry_step (row0ins.c:2273)
==21202== by 0x921D3C: row_ins (row0ins.c:2405)
==21202== by 0x921F4F: row_ins_step (row0ins.c:2515)
==21202== by 0x928869: row_insert_for_mysql (row0mysql.c:1159)
==21202== by 0x8C98AA: ha_innobase::write_row(unsigned char*) (ha_innodb.cc:5135)
==21202== by 0x7B2C2F: handler::ha_write_row(unsigned char*) (handler.cc:4785)
^ Found warnings in /home/laurynas/percona/src/percona-server/Percona-Server/mysql-test/var/2/log/mysqld.1.err
ok

 - saving '/home/laurynas/percona/src/percona-server/Percona-Server/mysql-test/var/2/log/innodb_plugin.innodb_bug56680/' to '/home/laurynas/percona/src/percona-server/Percona-Server/mysql-test/var/log/innodb_plugin.innodb_bug56680/'

Revision history for this message
Yasufumi Kinoshita (yasufumi-kinoshita) wrote :

You should test build with bundled zlib.
It should not be bug of MySQL, but your /lib/libz.so.1.2.3.4.

The bundled zlib seems not to have such function "inflateReset2".

mysql-5.1.56_test/zlib> grep inflateReset2 *
mysql-5.1.56_test/zlib>

Revision history for this message
Stewart Smith (stewart) wrote :

This is probably one of those zlib warnings that are false positives (see zlib FAQ) and i think we may have another bug open for this (we should add suppressions *OR* switch to always using bundled zlib)

affects: percona-projects-qa → percona-server
Revision history for this message
Laurynas Biveinis (laurynas-biveinis) wrote :
Changed in percona-server:
status: New → Invalid
importance: Undecided → Low
Revision history for this message
Laurynas Biveinis (laurynas-biveinis) wrote :

This is not an upstream bug http://bugs.mysql.com/bug.php?id=59874. Its stacktrace is in zlib deflate, and the stacktrace of this one is in zlib inflateInit. These two issues are only related in that both originate in zlib, otherwise they are not.

Revision history for this message
Shahriyar Rzayev (rzayev-sehriyar) wrote :

Percona now uses JIRA for bug reports so this bug report is migrated to: https://jira.percona.com/browse/PS-1855

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.