-
Notifications
You must be signed in to change notification settings - Fork 215
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
on x86-64-v1, orjson throws Illegal Instruction (core dumped)
#383
Comments
x86-64-v2 is 2009-era hardware and your hardware supports it, the VM is just misconfigured. |
I don't think my comment is really actionable but I must say that I was lowkey surprised to find that over just the last 3 days, I have already seen 3 different people that, unlike the reporter in this issue, are self-hosting things on their old hardware with CPUs and are now running into this. So far I've seen Intel Core 2 Duo T5670, Intel Pentium E2200, and an old OptiPlex with Intel Core 2 Duo E4400 😄 Edit: 4 now, got another person who has AMD Phenom II X6 1090T processor; apparently AMD was late and their first x86-64-v2 processors were released in late 2011 |
At Zulip we’ve had two independent reports of this crash on pre-2009 CPUs (not just misconfigured VMs—we checked). I’m normally a strong proponent of forward progress, but hardware isn’t cheap these days. How significant is the performance boost from dropping these older CPUs? Would it be reasonable to reconsider this for now? |
Hm, ok, I've reverted 3.8.14 to use x86-64. This wasn't for performance but because some distributions are moving to a x86-64-v2 baseline and well is 14 years enough to not restrict yourself to SSE2? I guess not. |
Hello,
I was using a program that utilizes orjson, & with the update last week here, this seems to have made orjson incompatible on my VM.
With some help from the devs of the program, they helped create a Python script for reproducing the error:
Which has the core dump on line 4
Then using this script, we determined that my VM has only
x86-64-v1
support:OS: Ubuntu 22.04
VM CPU: kvm64
Host OS: Proxmox
Host CPU: Ryzen 5 5600G
Any chance for dual support of x86-64-v1 & x86-64-v2?
The text was updated successfully, but these errors were encountered: