Bug 1312274

Summary: MySql is crashing in reload_acl_and_cache at the time of calling rotate_relay_log.
Product: Red Hat Enterprise Linux 6 Reporter: Jan Kurik <jkurik>
Component: mysqlAssignee: Jakub Dorňák <jdornak>
Status: CLOSED ERRATA QA Contact: qe-baseos-daemons
Severity: medium Docs Contact:
Priority: urgent    
Version: 6.8CC: byte, databases-maint, fkrska, hhorak, jdornak, kfujii, kvolny, moagrawa, ovasik, psklenar
Target Milestone: rcKeywords: Patch, ZStream
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Previously, when the rotate_relay_log() function was called, an unresolved concurrent access to a shared resource occurred. As a consequence, MySQL terminated unexpectedly with a segmentation fault. To fix this bug, a mutex lock on the resource is now used during the rotate_relay_log() call, and MySQL no longer crashes in this scenario.
Story Points: ---
Clone Of: 1281370 Environment:
Last Closed: 2016-03-22 15:49:13 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On: 1281370, 1289986    
Bug Blocks:    

Description Jan Kurik 2016-02-26 09:54:01 UTC
This bug has been copied from bug #1281370 and has been proposed
to be backported to 6.7 z-stream (EUS).

Comment 5 Karel Volný 2016-03-08 15:18:14 UTC
do we have any reproducer - I cannot find anything useful in the original bug ...?

Comment 6 Jakub Dorňák 2016-03-08 16:58:23 UTC
Unfortunately not, but custommer (being provided with testing build) confirmed that the issue is fixed by the patch.

Comment 7 Karel Volný 2016-03-09 14:49:45 UTC
SnityOnly - no reproducer, other tests passed

Comment 9 errata-xmlrpc 2016-03-22 15:49:13 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2016-0481.html