-
-
Notifications
You must be signed in to change notification settings - Fork 510
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
crash on s390x #2853
Comments
Hello @akostadinov Thank you for your detailed report and efforts to provide all the necessary information. Unfortunately, Manticore Search is not compatible with the s390x architecture. We have never officially supported this platform, and there were no plans to do so in the past or in the foreseeable future. Additionally, we have not conducted any tests or development to make Manticore compatible with s390x, and we currently do not have access to the required hardware for testing or debugging purposes. If support for the s390x architecture is mission-critical for your company, we invite you to explore our professional services. Through these services, we can discuss potential options to address your specific requirements. Alternatively, we would be glad to review a pull request that adds support for s390x and includes the necessary tests in the CI pipeline. We appreciate your understanding, and if you have any further questions or need clarification, please let us know. |
@akostadinov
Your backtrace includes enough to locate the problem. Actually, that is just a few lines to be changed, and it is explicitly marked already (you can locate by exact match of 'since such cast gives garbage' in the sources).
Commit 96b5a5c includes few fixes addressing big-endian arch. You can try it. |
@klirichek , wow, thanks a lot for this update! I just managed to try it out and my trivial INSERT/SELECT did work. I'll have to get it examined more thoroughly and will update you. FYI this is the image that I've built quay.io/3scale/searchd:s390x_be Update: my intention is to follow-up on this once folks have a chance to test it a little bit more. This means January or even more likely February. Happy holidays to all. |
Bug Description:
Hello. Manticore search crashes when run on s390x architecture. It is enough to insert a single index entry and then
select *
. The following is how you can run it. The image I've built is public (to run with docker and no selinux, usedocker
instead ofpodman
and remove option--security-opt=label=disable
).At this point I connect with
mysql
cli like this:The result in the container is:
Find the core dump attached core.work_0.2.gz
To build manticore on s390 with the existing semi-cross compile mechanism, one needs a few modificaitons: akostadinov@8494125
The deb packages can be downloaded here: https://filetransfer.io/data-package/IzVHQlul#link
This is the manticode configuration file: manticore.conf.gz
To build the image that I've built, place the debs in a directory name
debs
and the following Dockerfile :Dockerfile.gz
You can build everything on x86/arm64 machine instead of real hardware:
qemu-static
package of your distrodist/build_dockers/cross/sysroots/debian.sh
andfinalize.sh
to enforces390x
architecture--arch s390x
But debugging under the qemu emulation didn't yield any meaningful results for me.
Please let me know in case I can provide any additional information.
Manticore Search Version:
6.3.8
Operating System Version:
RHEL9, Ubuntu jammy, Fedora 40
Have you tried the latest development version?
None
Internal Checklist:
To be completed by the assignee. Check off tasks that have been completed or are not applicable.
The text was updated successfully, but these errors were encountered: