[MDEV-7550] TokuDB crashes in build tests on Launchpad Created: 2015-02-06 Updated: 2017-11-13 Resolved: 2015-11-16 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Packaging, Platform Debian, Storage Engine - TokuDB |
| Affects Version/s: | 10.0.16 |
| Fix Version/s: | 10.0.23 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Otto Kekäläinen | Assignee: | Alexander Barkov |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | upstream | ||
| Issue Links: |
|
||||||||||||
| Sprint: | 10.0.22, 10.1.9-1, 10.1.9-2, 10.1.9-3 | ||||||||||||
| Description |
|
(Originally reported on mailing list, see thread at https://lists.launchpad.net/maria-developers/msg08111.html) I repeatedly get these test failures when running MariaDB builds on The build run log can be viewed at Example of a recent log: One example of the test outputs:
Make options are visible in Getting core dumps from Launchpad is not possible, nobody has file system access to builds. Only output channel is build logs. The old issue might be related: https://mariadb.atlassian.net/browse/MDEV-5618 and https://tokutek.atlassian.net/browse/DB-509 |
| Comments |
| Comment by Otto Kekäläinen [ 2015-02-06 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Failing TokuDB tests are now stopping MariaDB 10.0 from entering https://launchpad.net/ubuntu/+source/mariadb-10.0/10.0.16-1 This time the failures are different: Completed: Failed 7/4551 tests, 99.85% were successful. Others yield warnings. I have no idea what to do about these. Only fix I remember that TokuDB has created a lot of work for me during the | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Elena Stepanova [ 2015-02-06 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Assigning to serg who, according to the mailing list, was going to provide a debugging patch | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Otto Kekäläinen [ 2015-08-30 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
I checked the status of this issue by temporarily enabling TokuDB in Debian, but it still fails to build on Launchpad amd64: https://launchpadlibrarian.net/215874882/buildlog_ubuntu-vivid-amd64.mariadb-10.0_10.0.21-3~vivid1~1440875684.7954da1_BUILDING.txt.gz
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Alexander Barkov [ 2015-10-22 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
This log has a stack trace, but not very helpful: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Alexander Barkov [ 2015-10-28 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
It seems the crash is caused by this linker option:
A better stack trace:
This patch removing the linker flag seems to fix the problem on Ubuntu:
However, this is a workaround only. We should try to fix the problem in the code. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Alexander Barkov [ 2015-10-28 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
How-to-repeat instructions: Login to a Ubuntu-15.10 x86_64 machine, e.g. like this:
Make sure that you have libjemalloc_pic.a installed.
Run the following commands:
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Alexander Barkov [ 2015-11-06 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Sergei reported the problem to the upstream: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Alexander Barkov [ 2015-11-06 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Sergei Golubchik [ 2015-11-06 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
ok to push, thanks! |