Skip to content
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

Segmentation fault when calling open3d.geometry.get_rotation_matrix_from_quaternion() #6839

Open
3 tasks done
komorekm opened this issue Jun 21, 2024 · 0 comments
Open
3 tasks done
Labels
bug Not a build issue, this is likely a bug.

Comments

@komorekm
Copy link

komorekm commented Jun 21, 2024

Checklist

Describe the issue

When running the function open3d.geometry.get_rotation_matrix_from_quaternion() on the array [ 0.0045347, -0.00669564, -0.00132431, 0.99996642] i get a segmentation fault. The issue occurs with numpy 2.0.0, using i.e. numpy 1.26.4 solves the problem.

Steps to reproduce the bug

import open3d as o3d 

array = [ 0.0045347,  -0.00669564, -0.00132431,  0.99996642]

R = o3d.geometry.get_rotation_matrix_from_quaternion(array)

Error message

Segmentation fault (core dumped)

Expected behavior

R = array([[-0.99986921, -0.00905136, -0.01340284],
[ 0.00908683, -0.99995537, -0.00258781],
[-0.01337882, -0.00270926, 0.99990683]])

No response

Open3D, Python and System information

- Operating system: Ubuntu 20.04.1
- Python version: Python 3.10.14
- Open3D version: 0.18.0
- System architecture: x86
- Is this a remote workstation?: no
- How did you install Open3D?: pip

Additional information

No response

@komorekm komorekm added the bug Not a build issue, this is likely a bug. label Jun 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Not a build issue, this is likely a bug.
Projects
None yet
Development

No branches or pull requests

1 participant