segfault-t failing under recent AddressSanitizer
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 |
Invalid
|
Undecided
|
Unassigned | |||
5.6 |
Fix Released
|
Low
|
Laurynas Biveinis | |||
5.7 |
Fix Released
|
Low
|
Laurynas Biveinis |
Bug Description
Copy of https:/
[28 Mar 11:43] Laurynas Biveinis
Description:
5.6.35 on Ubuntu Yakkety, GCC compiler with ASan:
unittest/
...
# Run 3 FatalSignalDeat
/home/laurynas/
Result: died but not with expected error.
Expected: .*ASAN:SIGSEGV.*
Actual msg:
[ DEATH ] ASAN:DEADLYSIGNAL
[ DEATH ] =======
[ DEATH ] ==8818==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x5564895c0b0f bp 0x7fff12e59450 sp 0x7fff12e59280 T0)
[ DEATH ] #0 0x5564895c0b0e in segfault_
[ DEATH ] #1 0x55648aa755c1 in void testing:
[ DEATH ] #2 0x55648aa755c1 in void testing:
[ DEATH ] #3 0x55648aa6263e in testing:
[ DEATH ] #4 0x55648aa628db in testing:
[ DEATH ] #5 0x55648aa62a62 in testing:
[ DEATH ] #6 0x55648aa62fb0 in testing:
[ DEATH ] #7 0x55648aa76144 in bool testing:
[ DEATH ] #8 0x55648aa76144 in bool testing:
[ DEATH ] #9 0x55648aa6376c in testing:
[ DEATH ] #10 0x55648a14637b in RUN_ALL_TESTS() /home/laurynas/
[ DEATH ] #11 0x55648a14637b in main /home/laurynas/
[ DEATH ] #12 0x7f2f909f03f0 in __libc_start_main (/lib/x86_
[ DEATH ] #13 0x556489563569 in _start (/home/
[ DEATH ]
[ DEATH ] AddressSanitizer can not provide additional info.
[ DEATH ] SUMMARY: AddressSanitizer: SEGV /home/laurynas/
[ DEATH ] ==8818==ABORTING
[ DEATH ]
not ok 3
How to repeat:
See above
Suggested fix:
Looks like both "ASAN:SIGSEGV" and "ASAN:DEADLYSIGNAL" should be expected
tags: | added: asan ci upstream |
https:/ /github. com/percona/ percona- server/ pull/1587 /github. com/percona/ percona- server/ pull/1588
https:/