Bug 1111191

Summary: mariadb segfauls when built with gcc 4.9
Product: [Fedora] Fedora Reporter: Mikko Tiihonen <mikko.tiihonen>
Component: mariadbAssignee: Jakub Dorňák <jdornak>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: hhorak, jdornak, rh-bugzilla
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: mariadb-10.0.12-8.fc21 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-10-06 10:58:04 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Patch for mariadb.spec to enable the workaroud and update to 10.0.12 none

Description Mikko Tiihonen 2014-06-19 12:38:04 UTC
Created attachment 910371 [details]
Patch for mariadb.spec to enable the workaroud and update to 10.0.12

MariaDB segfaults very often when built with gcc 4.9. The workaround is to use -fno-delete-null-pointer-checks when compiling.

See:
https://mariadb.atlassian.net/browse/MDEV-6340
https://mariadb.atlassian.net/browse/MDEV-6360

While at it you can use the attached mariadb.spec patch to enable the workaround and update to 10.0.12.

Comment 1 Jakub Dorňák 2014-06-23 14:55:48 UTC
I have applied Your patch (added option -fno-delete-null-pointer-checks).
Please try version 10.0.12-2.fc21.

Comment 2 Mikko Tiihonen 2014-06-25 11:16:23 UTC
No crashes observed after 10.0.12-2.fc21 update

Comment 3 Jakub Dorňák 2014-06-27 09:46:38 UTC
*** Bug 1112013 has been marked as a duplicate of this bug. ***

Comment 4 Honza Horak 2014-10-06 10:58:04 UTC
Closing as per comment #2.