valgrind: m_mallocfree.c:268 (mk_plain_bszB): Assertion 'bszB != 0' failed | AND | valgrind: m_mallocfree.c:294 (get_bszB_as_is): Assertion 'bszB_lo == bszB_hi' failed. | AFTER various Bitmap Valgrind errors
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona Server moved to https://jira.percona.com/projects/PS |
Confirmed
|
High
|
Laurynas Biveinis | ||
5.1 |
New
|
Undecided
|
Unassigned | ||
5.5 |
New
|
Undecided
|
Unassigned | ||
5.6 |
Confirmed
|
High
|
Laurynas Biveinis |
Bug Description
valgrind: m_mallocfree.c:294 (get_bszB_as_is): Assertion 'bszB_lo == bszB_hi' failed.
valgrind: Heap block lo/hi size mismatch: lo = 98, hi = 0.
This is probably caused by your program erroneously writing past the
end of a heap block and corrupting heap metadata. If you fix any
invalid writes reported by Memcheck, this assertion failure will
probably go away. Please try that before reporting this as a bug.
And (another trial):
valgrind: m_mallocfree.c:268 (mk_plain_bszB): Assertion 'bszB != 0' failed.
valgrind: This is probably caused by your program erroneously writing past the
end of a heap block and corrupting heap metadata. If you fix any
invalid writes reported by Memcheck, this assertion failure will
probably go away. Please try that before reporting this as a bug.
And this after various other bitmap related (inc one strncpy) Valgrind messages. Full error logs attached for review.
For reference, run commands
[roel@qaserver 271485]$ cat cmd654 cmdrun_ 654 cmdrun_ 654 column_ names --reporter= Shutdown, Backtrace, QueryTimeout, ErrorLog, ErrorLogAlarm --mysqld= --log-output= none --mysqld= --sql_mode= ONLY_FULL_ GROUP_BY --grammar= conf/percona_ qa/5.6/ 5.6.yy --gendata= conf/percona_ qa/5.6/ 5.6.zz --basedir= /ssd/Percona- Server- 5.6.10- alpha60. 2-347-debug- valgrind. Linux.x86_ 64 --valgrind --reporter= ValgrindErrors --validator= MarkErrorLog --threads=1 --views --mysqld= --slow_ query_log --mysqld= --innodb_ track_changed_ pages=1 --mysqld= --innodb_ max_bitmap_ file_size= 4097 --mysqld= --innodb_ changed_ pages=ON --mysqld= --innodb_ max_changed_ pages=2 --mysqld=--userstat --mysqld= --innodb_ flush_method= O_DIRECT --mysqld= --innodb_ file_per_ table=1 --mysqld= --innodb_ file_format= barracuda --mtr-build- thread= 740 --mask=29089 --vardir1= /ssd/271485/ cmdrun_ 654 > /ssd/271485/ cmdrun654. log 2>&1" cmdrun_ 996 cmdrun_ 996 column_ names --reporter= Shutdown, Backtrace, QueryTimeout, ErrorLog, ErrorLogAlarm --mysqld= --log-output= none --mysqld= --sql_mode= ONLY_FULL_ GROUP_BY --grammar= conf/percona_ qa/5.6/ 5.6.yy --gendata= conf/percona_ qa/5.6/ 5.6.zz --basedir= /ssd/Percona- Server- 5.6.10- alpha60. 2-347-debug- valgrind. Linux.x86_ 64 --valgrind --reporter= ValgrindErrors --validator= MarkErrorLog --threads=1 --validator= Transformer --mysqld= --slow_ query_log --mysqld= --innodb_ track_changed_ pages=1 --mysqld= --innodb_ max_bitmap_ file_size= 4097 --mysqld= --innodb_ changed_ pages=ON --mysqld= --innodb_ max_changed_ pages=2 --mysqld=--userstat --mysqld= --innodb_ log_file_ size=1048576 --mysqld= --innodb_ log_files_ in_group= 10 --mysqld= --innodb_ log_buffer_ size=10485761 --mysqld= --innodb_ file_per_ table=1 --mysqld= --innodb_ file_format= barracuda --mtr-build- thread= 761 --mask=40187 --vardir1= /ssd/271485/ cmdrun_ 996 > /ssd/271485/ cmdrun996. log 2>&1"
ps -ef | grep 'cmdrun_654' | grep -v grep | awk '{print $2}' | xargs sudo kill -9
rm -Rf /ssd/271485/
mkdir /ssd/271485/
cd /ssd/randgen
bash -c "set -o pipefail; perl runall.pl --queries=100000000 --seed=578 --duration=300 --querytimeout=60 --short_
[roel@qaserver 271485]$ cat cmd996
ps -ef | grep 'cmdrun_996' | grep -v grep | awk '{print $2}' | xargs sudo kill -9
rm -Rf /ssd/271485/
mkdir /ssd/271485/
cd /ssd/randgen
bash -c "set -o pipefail; perl runall.pl --queries=100000000 --seed=26384 --duration=300 --querytimeout=60 --short_