enterprise-support team mailing list archive
-
enterprise-support team
-
Mailing list archive
-
Message #05403
[Bug 1580993] [NEW] LeakSanitizer fails build at gen_lex_hash invocation
Public bug reported:
Copy of http://bugs.mysql.com/bug.php?id=80014:
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/x86_64-linux-gnu/libasan.so.2+0x988ca)
#1 0x4018b1 in add_struct_to_map(hash_lex_struct*) /mnt/workspace/percona-server-5.5-asan-param/BUILD_TYPE/release-asan/Host/ubuntu-xenial-64bit/sql/gen_lex_hash.cc:239
#2 0x401afb in add_structs_to_map(hash_lex_struct*, int) /mnt/workspace/percona-server-5.5-asan-param/BUILD_TYPE/release-asan/Host/ubuntu-xenial-64bit/sql/gen_lex_hash.cc:261
#3 0x401b6d in add_structs_to_map(hash_lex_struct*, int) /mnt/workspace/percona-server-5.5-asan-param/BUILD_TYPE/release-asan/Host/ubuntu-xenial-64bit/sql/gen_lex_hash.cc:265
#4 0x401b6d in add_structs_to_map(hash_lex_struct*, int) /mnt/workspace/percona-server-5.5-asan-param/BUILD_TYPE/release-asan/Host/ubuntu-xenial-64bit/sql/gen_lex_hash.cc:265
#5 0x401b6d in add_structs_to_map(hash_lex_struct*, int) /mnt/workspace/percona-server-5.5-asan-param/BUILD_TYPE/release-asan/Host/ubuntu-xenial-64bit/sql/gen_lex_hash.cc:265
#6 0x401b6d in add_structs_to_map(hash_lex_struct*, int) /mnt/workspace/percona-server-5.5-asan-param/BUILD_TYPE/release-asan/Host/ubuntu-xenial-64bit/sql/gen_lex_hash.cc:265
#7 0x401b6d in add_structs_to_map(hash_lex_struct*, int) /mnt/workspace/percona-server-5.5-asan-param/BUILD_TYPE/release-asan/Host/ubuntu-xenial-64bit/sql/gen_lex_hash.cc:265
#8 0x401b6d in add_structs_to_map(hash_lex_struct*, int) /mnt/workspace/percona-server-5.5-asan-param/BUILD_TYPE/release-asan/Host/ubuntu-xenial-64bit/sql/gen_lex_hash.cc:265
#9 0x401f00 in print_find_structs() /mnt/workspace/percona-server-5.5-asan-param/BUILD_TYPE/release-asan/Host/ubuntu-xenial-64bit/sql/gen_lex_hash.cc:310
#10 0x400c82 in main /mnt/workspace/percona-server-5.5-asan-param/BUILD_TYPE/release-asan/Host/ubuntu-xenial-64bit/sql/gen_lex_hash.cc:395
#11 0x7f67363ee82f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2082f)
SUMMARY: AddressSanitizer: 13100 byte(s) leaked in 1 allocation(s).
sql/CMakeFiles/GenServerSource.dir/build.make:70: recipe for target 'sql/lex_hash.h' failed
make[2]: *** [sql/lex_hash.h] Error 23
make[2]: *** Deleting file 'sql/lex_hash.h'
** Affects: mysql-server
Importance: Unknown
Status: Unknown
** Affects: percona-server
Importance: Medium
Assignee: Laurynas Biveinis (laurynas-biveinis)
Status: Triaged
** Affects: percona-server/5.5
Importance: Medium
Assignee: Laurynas Biveinis (laurynas-biveinis)
Status: In Progress
** Affects: percona-server/5.6
Importance: Medium
Assignee: Laurynas Biveinis (laurynas-biveinis)
Status: Triaged
** Affects: percona-server/5.7
Importance: Medium
Assignee: Laurynas Biveinis (laurynas-biveinis)
Status: Triaged
** Tags: asan ci upstream
** Also affects: percona-server/5.6
Importance: Undecided
Status: New
** Also affects: percona-server/5.5
Importance: Undecided
Status: New
** Also affects: percona-server/5.7
Importance: Undecided
Status: New
** Changed in: percona-server/5.5
Assignee: (unassigned) => Laurynas Biveinis (laurynas-biveinis)
** Changed in: percona-server/5.6
Assignee: (unassigned) => Laurynas Biveinis (laurynas-biveinis)
** Changed in: percona-server/5.7
Assignee: (unassigned) => Laurynas Biveinis (laurynas-biveinis)
** Tags added: asan ci
** Tags added: upstream
** Bug watch added: MySQL Bug System #80014
http://bugs.mysql.com/bug.php?id=80014
** Also affects: mysql-server via
http://bugs.mysql.com/bug.php?id=80014
Importance: Unknown
Status: Unknown
** Changed in: percona-server/5.5
Importance: Undecided => Medium
** Changed in: percona-server/5.6
Importance: Undecided => Medium
** Changed in: percona-server/5.7
Importance: Undecided => Medium
** Changed in: percona-server/5.5
Status: New => In Progress
** Changed in: percona-server/5.6
Status: New => Triaged
** Changed in: percona-server/5.7
Status: New => Triaged
--
You received this bug notification because you are a member of Ubuntu
Server/Client Support Team, which is subscribed to MySQL.
Matching subscriptions: Ubuntu Server/Client Support Team
https://bugs.launchpad.net/bugs/1580993
Title:
LeakSanitizer fails build at gen_lex_hash invocation
To manage notifications about this bug go to:
https://bugs.launchpad.net/mysql-server/+bug/1580993/+subscriptions
Follow ups