[MDEV-14902] Crash while building TokuDB on Fedora 27 Created: 2018-01-09 Updated: 2018-07-16 Resolved: 2018-07-16 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Compiling, Storage Engine - TokuDB |
| Affects Version/s: | 10.2 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Major |
| Reporter: | Valerii Kravchuk | Assignee: | Unassigned |
| Resolution: | Not a Bug | Votes: | 0 |
| Labels: | compile, tokudb | ||
| Environment: |
[openxs@fc23 server]$ uname -a |
||
| Description |
|
I get segmentation fault while linking libtokuportability_static_conv.a:
It happened to me last week and still happens with current code:
cmake command line was (from fc -l):
make -j 4 failed with MyRocks, but it may be a topic for other bug report... |
| Comments |
| Comment by Valerii Kravchuk [ 2018-01-09 ] | ||||||||||||||||||||||||||||||
|
I was able to build after disabling tokudb:
| ||||||||||||||||||||||||||||||
| Comment by Elena Stepanova [ 2018-01-09 ] | ||||||||||||||||||||||||||||||
|
It appears that buildbot's Fedora 27 builds 10.3 fine, including TokuDB:
Although of course it uses different cmake options. | ||||||||||||||||||||||||||||||
| Comment by Elena Stepanova [ 2018-01-10 ] | ||||||||||||||||||||||||||||||
|
Builds with the same cmake options, too.
You have 4.14.8, it's the only difference that I see right away. | ||||||||||||||||||||||||||||||
| Comment by Elena Stepanova [ 2018-01-13 ] | ||||||||||||||||||||||||||||||
|
Installed newest Fedora 27 from official downloads (4.14.13-300.fc27.x86_64), got the same segfault.
I have no idea what we can and/or should do about it, though. serg, any thoughts? Same happens with 10.2, not just current, but for example 10.2.10. I didn't check other versions, but it doesn't look like it's related to any recent changes on our side. | ||||||||||||||||||||||||||||||
| Comment by Sergei Golubchik [ 2018-07-14 ] | ||||||||||||||||||||||||||||||
|
I've just built 10.2 as of 1cc1d0429da14a041a6240c6fce17e0d31cad8e2 on fedora 27, using
and everything compiled just fine. | ||||||||||||||||||||||||||||||
| Comment by Elena Stepanova [ 2018-07-14 ] | ||||||||||||||||||||||||||||||
|
serg, if you mean buildbot Fedora27 VM, it's not the latest, that's the point. It has 4.13.15-300.fc27.x86_64, and according to my comments above, there everything worked, but on 4.14.13-300.fc27.x86_64 I got the segfault. | ||||||||||||||||||||||||||||||
| Comment by Sergei Golubchik [ 2018-07-15 ] | ||||||||||||||||||||||||||||||
|
Do you have any way for me to repeat/observe this? I've upgraded the VM (sudo dnf upgrade), but didn't get any crash either | ||||||||||||||||||||||||||||||
| Comment by Elena Stepanova [ 2018-07-15 ] | ||||||||||||||||||||||||||||||
|
I tried that too, got the current is fedora27-amd64 4.17.5-100.fc27.x86_64, and it didn't crash to me either. It appears that the problem is gone on this version (I tried 10.2 server of the time when the crash was observed, so it's not changes in the code). I could try to find an image of 4.14.13-300, but I don't see much point in it. valerii, can you confirm that it doesn't crash for you anymore on the recent Fedora 27? | ||||||||||||||||||||||||||||||
| Comment by Valerii Kravchuk [ 2018-07-16 ] | ||||||||||||||||||||||||||||||
|
I was able to build current 10.2 successfully today:
Current kernel is a bit older (no reboot happened yet):
But we can probably close this report as not repeatable with recent kernels any more. | ||||||||||||||||||||||||||||||
| Comment by Elena Stepanova [ 2018-07-16 ] | ||||||||||||||||||||||||||||||
|
Closing as "not a bug" in the sense that apparently it wasn't a MariaDB code problem, see comments above. |