Valgrind error on main.audit_log_threadpool
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Percona Server moved to https://jira.percona.com/projects/PS | Status tracked in 5.7 | |||||
5.5 |
Invalid
|
Undecided
|
Unassigned | |||
5.6 |
Fix Released
|
High
|
Sergei Glushchenko | |||
5.7 |
Invalid
|
High
|
Unassigned |
Bug Description
On 5.6 trunk, Valgrind build:
$ ./mtr --debug-server --valgrind-mysqld audit_log_
==7496== Thread 21:
==7496== Conditional jump or move depends on uninitialised value(s)
==7496== at 0x77D715: mysql_rewrite_
==7496== by 0x664506: mysql_audit_
==7496== by 0x66B07F: LOGGER:
==7496== by 0x66B193: general_
==7496== by 0x6C2447: acl_authenticat
==7496== by 0x7069FA: check_connectio
==7496== by 0x706BC4: login_connectio
==7496== by 0x83A68C: threadpool_
==7496== by 0x83DDB7: handle_
==7496== by 0x83E075: worker_main(void*) (threadpool_
==7496== by 0xE5A984: pfs_spawn_thread (pfs.cc:1860)
==7496== by 0x58A06C9: start_thread (pthread_
==7496== by 0x64670AE: clone (clone.S:105)
==7496== Uninitialised value was created by a heap allocation
==7496== at 0x4C2CFCF: operator new(unsigned long) (vg_replace_
==7496== by 0x573CEC: handle_
==7496== by 0x572844: mysqld_main(int, char**) (mysqld.cc:6111)
==7496== by 0x56592F: main (main.cc:25)
==7496==
Not sure if the culprit is audit, threadpool, or something else. Sergei, can you take a look?