Bug #92671 UBSAN: Re-enable disabled unit tests due to undefined gmock behavior
Submitted: 4 Oct 2018 13:59 Modified: 5 Oct 2018 14:13
Reporter: Jon Olav Hauglid Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Compiling Severity:S3 (Non-critical)
Version:8.0.15 OS:Any
Assigned to: CPU Architecture:Any

[4 Oct 2018 13:59] Jon Olav Hauglid
Description:
A number of unit tests are currently disabled for UBSAN testing with this comment:
/*
   HAVE_UBSAN: undefined behaviour in gmock.
   runtime error: member call on null pointer of type 'const struct ResultHolder'
  */
 #if !defined(HAVE_UBSAN)

This is no longer the case - these test can be reenabled.

How to repeat:
Remove disabling and check that it now works.
[5 Oct 2018 14:13] Paul Dubois
Posted by developer:
 
Fixed in 8.0.15.

Work was done for test suite. No changelog entry needed.