LeakSanitizer fails build at gen_lex_hash invocation
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
MySQL Server |
Unknown
|
Unknown
|
||||
Percona Server moved to https://jira.percona.com/projects/PS | Status tracked in 5.7 | |||||
5.5 |
Fix Released
|
Medium
|
Laurynas Biveinis | |||
5.6 |
Fix Released
|
Medium
|
Laurynas Biveinis | |||
5.7 |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Copy of http://
AddressSanitizer build with LeakSanitizer enabled will fail at gen_lex_hash invocation:
[ 16%] Generating lex_hash.h
=======
==22469==ERROR: LeakSanitizer: detected memory leaks
Direct leak of 13100 byte(s) in 1 object(s) allocated from:
#0 0x7f673682f8ca in realloc (/usr/lib/
#1 0x4018b1 in add_struct_
#2 0x401afb in add_structs_
#3 0x401b6d in add_structs_
#4 0x401b6d in add_structs_
#5 0x401b6d in add_structs_
#6 0x401b6d in add_structs_
#7 0x401b6d in add_structs_
#8 0x401b6d in add_structs_
#9 0x401f00 in print_find_
#10 0x400c82 in main /mnt/workspace/
#11 0x7f67363ee82f in __libc_start_main (/lib/x86_
SUMMARY: AddressSanitizer: 13100 byte(s) leaked in 1 allocation(s).
sql/CMakeFiles/
make[2]: *** [sql/lex_hash.h] Error 23
make[2]: *** Deleting file 'sql/lex_hash.h'
tags: | added: asan ci |
tags: | added: upstream |
https:/ /github. com/percona/ percona- server/ pull/506, https:/ /github. com/percona/ percona- server/ pull/507, https:/ /github. com/percona/ percona- server/ pull/508