Bug 1111191 - mariadb segfauls when built with gcc 4.9
Summary: mariadb segfauls when built with gcc 4.9
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: mariadb
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jakub Dorňák
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 1112013 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-06-19 12:38 UTC by Mikko Tiihonen
Modified: 2014-10-06 10:58 UTC (History)
3 users (show)

Fixed In Version: mariadb-10.0.12-8.fc21
Clone Of:
Environment:
Last Closed: 2014-10-06 10:58:04 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Patch for mariadb.spec to enable the workaroud and update to 10.0.12 (2.77 KB, patch)
2014-06-19 12:38 UTC, Mikko Tiihonen
no flags Details | Diff

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.


Note You need to log in before you can comment on or make changes to this bug.