[MDEV-18737] Spider "Out of memory" on armv7hl Created: 2019-02-25 Updated: 2019-07-25 Resolved: 2019-07-25 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Storage Engine - Spider, Tests |
| Affects Version/s: | 10.4.3, 10.3.13 |
| Fix Version/s: | 10.4.7 |
| Type: | Bug | Priority: | Critical |
| Reporter: | Michal Schorm | Assignee: | Kentoku Shiba (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | spider, tests | ||
| Environment: |
Fedora build system - Fedora 28, 29, Rawhide (developement branch) |
||
| Attachments: |
|
| Description |
|
Hello from the Fedora project, With recent 10.3.13 new bug has emerged, however it triggers only on armv7hl architecture. Each time, the Spider SE testsuite is being run, it fails most of the tests with:
The bug doesn't seem to exist on previous versions, nor different architectures (as far as I can test), nor different parts of the testsuite. All of the tests fails with specific error, where only the number differs (somewhere between 2,5GB - 3,2GB )
The behaviour is 100% reproducible in our build system on Fedora 28 to Rawhide (latest developement version). That suggests it shouldn't be caused by something like a new GCC or other build requirements. Looking at 10.3.13 changelog, I'd blame this one: The Fedora web interface to package sources can be found here: I made pull request containing the rebase to 10.3.13: The builds you can examine, for respective Fedora versions, can be found here: The list of failing tests:
The parameters the Spider tests were ran with:
Attaching the test logs for respective Fedora versions |
| Comments |
| Comment by Michal Schorm [ 2019-02-26 ] | ||||||||||||||||||||||||||||
|
The just released 10.4.3 RC version is affected as well !! Here lies the build log for examination: | ||||||||||||||||||||||||||||
| Comment by Ian Gilfillan [ 2019-04-01 ] | ||||||||||||||||||||||||||||
|
Noting that this bug is preventing 10.3.13 (and will also do so for the imminent 10.3.14) from being packaged into Fedora, so increasing priority. | ||||||||||||||||||||||||||||
| Comment by Kentoku Shiba (Inactive) [ 2019-04-07 ] | ||||||||||||||||||||||||||||
|
mschorm | ||||||||||||||||||||||||||||
| Comment by Michal Schorm [ 2019-04-07 ] | ||||||||||||||||||||||||||||
|
I will try to get you an affected environment.
UPDATE 2:
Let me know once you have it ready, or if there's any problem. | ||||||||||||||||||||||||||||
| Comment by Kentoku Shiba (Inactive) [ 2019-04-09 ] | ||||||||||||||||||||||||||||
|
mschorm | ||||||||||||||||||||||||||||
| Comment by Michal Schorm [ 2019-04-11 ] | ||||||||||||||||||||||||||||
|
Kentoku | ||||||||||||||||||||||||||||
| Comment by Kentoku Shiba (Inactive) [ 2019-04-30 ] | ||||||||||||||||||||||||||||
|
mschorm | ||||||||||||||||||||||||||||
| Comment by Kentoku Shiba (Inactive) [ 2019-05-01 ] | ||||||||||||||||||||||||||||
|
mschorm | ||||||||||||||||||||||||||||
| Comment by Michal Schorm [ 2019-06-04 ] | ||||||||||||||||||||||||||||
|
Kentoku So you should now have granted access to the machine. I set it up on arm03-packager00.cloud.fedoraproject.org machine. Steps to reproduce:
That will result into a message like:
| ||||||||||||||||||||||||||||
| Comment by Kentoku Shiba (Inactive) [ 2019-06-04 ] | ||||||||||||||||||||||||||||
|
mschorm
| ||||||||||||||||||||||||||||
| Comment by Michal Schorm [ 2019-06-10 ] | ||||||||||||||||||||||||||||
|
I contacted the admins. In case it wouldn't work now, we can check that you use the key the server is expecting (either you or us will send it to other - question is through which channel. It is only a public key, but you may not like to paste it here). | ||||||||||||||||||||||||||||
| Comment by Kentoku Shiba (Inactive) [ 2019-06-10 ] | ||||||||||||||||||||||||||||
|
mschorm
| ||||||||||||||||||||||||||||
| Comment by Michal Schorm [ 2019-06-12 ] | ||||||||||||||||||||||||||||
|
I created a debug build of 3.0.15 and installed it there. (there was 3.0.13 previously). You - same as me - should be able to use "sudo" on your account, so you can install / upgrade / downgrade any tool or package you may need. | ||||||||||||||||||||||||||||
| Comment by Kentoku Shiba (Inactive) [ 2019-06-17 ] | ||||||||||||||||||||||||||||
|
mschorm This issue looks memory alignment issue of variable argument when calling my_multi_malloc(). This method assume variable argument as a pair of pointer and uint, but caller put it as a pair of pointer and some integer. On armv7hl, this causes an issue. For fixed this, I added a cast to uint for every length values. Thank you for your cooperation. | ||||||||||||||||||||||||||||
| Comment by Michal Schorm [ 2019-06-18 ] | ||||||||||||||||||||||||||||
|
The very first test looks promising. So far, I did one run of released 10.3.15 tarball patched with the commit you made. In the following days, I aim to prepare updates in Fedora to 10.3.15 and 10.4.5. Even though, I'd think it would be nice to have it fixed in the first 10.4 GA release, with this patch in hand, I don't really rush to have it there. I'll post an update here, once I'll successfully create those updates and verify the issue is no more. . Thanks a lot. | ||||||||||||||||||||||||||||
| Comment by Michal Schorm [ 2019-07-19 ] | ||||||||||||||||||||||||||||
|
The 10.3.16 and 10.4.6 looks fine with the patch. The ticket may be closed. | ||||||||||||||||||||||||||||
| Comment by Kentoku Shiba (Inactive) [ 2019-07-25 ] | ||||||||||||||||||||||||||||
|
Merged into 10.4 tree. Thanks. |