Crash in hp_allocate_variable_chunkset() in mysql-55-eb
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
percona-projects-qa |
Invalid
|
High
|
Philip Stoev |
Bug Description
When executing a RQG workload, mysqld under valgrind crashed as follows:
#4 0x0000000000967062 in hp_allocate_
at /home/philips/
#5 0x0000000000967342 in hp_reallocate_
at /home/philips/
#6 0x00000000009682af in heap_update (info=0xf77f390, old_record=
at /home/philips/
#7 0x00000000009605c5 in ha_heap::update_row (this=0x1559dfd0, old_data=0x15ce2bc0 "", new_data=0x15ce1690 "")
at /home/philips/
#8 0x000000000076915d in handler:
at /home/philips/
#9 0x0000000000695009 in mysql_update (thd=0x15b4b120, table_list=
limit=
at /home/philips/
#10 0x00000000005f6f18 in mysql_execute_
#11 0x00000000005fed7b in mysql_parse (thd=0x15b4b120,
rawbuf=
at /home/philips/
#12 0x00000000005f2cf5 in dispatch_command (command=COM_QUERY, thd=0x15b4b120,
packet=
#13 0x00000000005f1f52 in do_command (thd=0x15b4b120) at /home/philips/
#14 0x00000000006d7beb in do_handle_
#15 0x00000000006d7832 in handle_
#16 0x00000035a7207761 in start_thread () from /lib64/
#17 0x00000035a6ee098d in clone () from /lib64/libc.so.6
valgrind report:
==13299== Thread 36:
==13299== Invalid read of size 8
==13299== at 0x967062: hp_allocate_
==13299== by 0x967341: hp_reallocate_
==13299== by 0x9682AE: heap_update (hp_update.c:43)
==13299== by 0x9605C4: ha_heap:
==13299== by 0x76915C: handler:
==13299== by 0x695008: mysql_update(THD*, TABLE_LIST*, List<Item>&, List<Item>&, Item*, unsigned int, st_order*, unsigned long long, enum_duplicates, bool,
unsigned long long*, unsigned long long*) (sql_update.cc:713)
==13299== by 0x5F6F17: mysql_execute_
==13299== by 0x5FED7A: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5503)
==13299== by 0x5F2CF4: dispatch_
==13299== by 0x5F1F51: do_command(THD*) (sql_parse.cc:771)
==13299== by 0x6D7BEA: do_handle_
==13299== by 0x6D7831: handle_
==13299== by 0x35A7207760: start_thread (in /lib64/
==13299== by 0x1A4BB6FF: ???
==13299== Address 0x101010101010301 is not stack'd, malloc'd or (recently) free'd
Related branches
Changed in percona-projects-qa: | |
milestone: | none → 5.5.13-eb |
Changed in percona-projects-qa: | |
status: | New → In Progress |
importance: | Undecided → High |
Changed in percona-projects-qa: | |
status: | Incomplete → Invalid |
RQG command line:
perl runall.pl --basedir= /home/philips/ bzr/mysql- 55-eb --grammar= conf/engines/ heap/heap_ ddl_multi. yy --mysqld= --max_heap_ table_size= 3Gb --threads=40 --debug --mysqld= --log-output= file --reporter= MemoryUsage, Shutdown --queries=1M --duration=3600 --validator=None --valgrind
RQG version-info:
revision-id: philips@ eve-20110516114 945-jq7hk3ny4ir oovjq
date: 2011-05-16 14:49:45 +0300
build-date: 2011-05-16 16:51:19 +0300
revno: 746
branch-nick: randgen-heap