-
Notifications
You must be signed in to change notification settings - Fork 13.4k
Illegal Instruction on Intel i5-3570S #40125
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
Comments
Original issue: #urschrei/convertbng/issues/2 |
Note that Rust will use |
Building |
Running |
Uh oh!
There was an error while loading. Please reload this page.
Hi all,
I discovered this issue while working with a Python library that uses a rust binary, and I don't really speak rust at all. The original issue filed with the Python library can be found here.
The Python library in question takes in an OSGB36 coordinate pair, calls a rust binary to performs conversion to a WGS84 coordinate pair, and returns the result via the Python interface. The problem seems to have happened at the rust binary used by the library, whose source code can be found at here.
The Python code reproducing the issue is as followed:
When executed on my Intel i5-3570S system, the Python interpreter will return the followed message:
Which is also logged by the kernel in
/var/log/syslog
:This issue happened on a very specific CPU:
OS: Ubuntu 16.04.2 LTS 64bit
CPU: Intel i5-3570S
Kernel: Linux 4.4.0-64-generic #85-Ubuntu
With both Ubuntu 16.04 LTS and 14.04 LTS, on a range of CPUs including i7-6600, E3-1225v2, a QEMU virtual CPU on a KVM VPS (underlying hardware unknown) and i5-4210U, this error cannot be reproduced. Therefore it seems to be limited to Intel i5-3570S and maybe a few other processors.
We also tried to build
lonlat_bng
on various platforms. The tests did fail on i7-6600 Ubuntu 16.04 and i5-4210U Arch, but the Python script could execute the rust binary provided byconvertbng
correctly on these two platforms:Many thanks.
The text was updated successfully, but these errors were encountered: