Valgrind + jemalloc 3.6.0 gives spurious warnings. Not seen with jemalloc 4.0.4.
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Percona Server moved to https://jira.percona.com/projects/PS | Status tracked in 5.7 | |||||
5.5 |
New
|
Undecided
|
Unassigned | |||
5.6 |
Invalid
|
Undecided
|
Unassigned | |||
5.7 |
Triaged
|
Medium
|
Unassigned |
Bug Description
==8635== Using Valgrind-3.10.0 and LibVEX; rerun with -h for copyright info
==8635== Command: /sda/PS-
==8635==
==8635== Invalid write of size 8
==8635== at 0x4C2FE87: memset (vg_replace_
==8635== by 0x188D86B: pfs_malloc(
==8635== by 0x188D97D: pfs_malloc_
==8635== by 0x18900A2: init_instrument
==8635== by 0x189FB19: initialize_
==8635== by 0xE50DA4: mysqld_main(int, char**) (mysqld.cc:4693)
==8635== by 0xE485CF: main (main.cc:25)
==8635== Address 0x8c3a020 is 0 bytes inside a block of size 4,800 free'd
==8635== at 0x18354D3: my_free (my_malloc.c:132)
==8635== by 0x183536B: my_realloc (my_malloc.c:101)
==8635== by 0x1810F07: alloc_dynamic (array.c:161)
==8635== by 0x18145B8: my_hash_insert (hash.c:423)
==8635== by 0x1456756: mysql_add_
==8635== by 0x145585E: sys_var_init() (set_var.cc:60)
==8635== by 0xE50CDA: mysqld_main(int, char**) (mysqld.cc:4677)
==8635== by 0xE485CF: main (main.cc:25)
$ cat /etc/centos-release
CentOS Linux release 7.2.1511 (Core)
$ valgrind --version
valgrind-3.10.0
$ ls -l /sda/PS-
-rw-rw-r--. 1 roel roel 18957 Jan 27 22:30 /sda/PS-
Valgrind startup:
valgrind --suppressions=
PS Server version: 5.7.10-
summary: |
- Valgrind: memset > pfs_malloc + Valgrind + jemalloc 3.6.0 gives spurious warnings. Not seen with + jemalloc 4.0.4. |
tags: |
added: pkg removed: doc |
Many other errors seen in Valgrind run.