Description of problem:
since the update to version 10.0.12 mariadb server crash. Problem seen with akonadi in kde. Currently akonadi is broken: we can see this crash in the log file ~/.local/share/akonadi/db_data/mysql.err
Version-Release number of selected component (if applicable):
Update mariadb to 10.0.12-1mga5
Steps to Reproduce:
1. akonadictl restart
2. see log file ~/.local/share/akonadi/db_data/mysql.err content
this crash is fixed by building mariadb package with the following additionnal flags when gcc-4.9.x is used (tested and working): -DCMAKE_C_FLAGS="-fno-delete-null-pointer-checks" -DCMAKE_CXX_FLAGS="-fno-delete-null-pointer-checks"
this solution is found here https://mariadb.atlassian.net/browse/MDEV-6360
Steps to Reproduce:
Not working here, i did rebuild mariadb and added the -DCMAKE_C_FLAGS="-fno-delete-null-pointer-checks" -DCMAKE_CXX_FLAGS="-fno-delete-null-pointer-checks" in the cmake.
I see gcc being called now with no-delete-null-pointer-check flag, but akonadi still doesnt starts.
(In reply to Daniel Lucio from comment #1)
> Not working here, i did rebuild mariadb and added the
> -DCMAKE_CXX_FLAGS="-fno-delete-null-pointer-checks" in the cmake.
Where did you add those flags exactly?
@Frederic: If you already rebuilt the package and it works for you, could you please provide a diff to the SPEC file please?
FYI: i've contacted upstream, there's a MDEV on it, and they are not just gonna add this blindly, but they are gonna investigate why exactly
this 'll take some time, i imagine...
full backtrace from blino... looks exactly like the one in the MDEV:
This is my diff file regarding mariadb.spec
--- mariadb.spec~ 2014-06-16 18:36:35.000000000 +0200
+++ mariadb.spec 2014-06-21 10:36:35.000000000 +0200
@@ -503,7 +503,9 @@
- -DCMAKE_BUILD_TYPE=RelWithDebInfo \
+ -DCMAKE_C_FLAGS="-fno-delete-null-pointer-checks" \
+ -DCMAKE_CXX_FLAGS="-fno-delete-null-pointer-checks" \
+ -DCMAKE_BUILD_TYPE=Release \
Created attachment 5271 [details]
mariadb.spec diff file
why do you want to get rid of debug info?
i've committed the FLAGS, and started a build... can you check if this works?
I confirm akonadi is back, thanks!
I confirm too.
(In reply to AL13N from comment #7)
> why do you want to get rid of debug info?
Because this working solution was posted on mariadb dashboard (https://mariadb.atlassian.net/browse/MDEV-6360) and I didn't investigate more from my side. I will try to rebuild mriadb from my side but this time with -DCMAKE_BUILD_TYPE=RelWithDebInfo to see if it's really necessary to change it. I will report this result ASAP.
mariadb works also with -DCMAKE_BUILD_TYPE=RelWithDebInfo (tested) so it's like you want.
*** Bug 13699 has been marked as a duplicate of this bug. ***
Fixed with mariadb-10.0.12-2.mga5.