Skip to content

Segfault on Python versions >=3.9 #102

@elkalt

Description

@elkalt

Describe the bug
CollisionMesh constructor segfaults on Python versions >=3.9.

To Reproduce
I used pyenv to get python versions 3.8.19 and 3.9.19 and ran the same test file (below) with both. Python 3.8.19 raised no errors while 3.9.19 gave a segfault.

from numpy import array
import ipctk

points = array([[-0.5, 0.5], [0.5, 0.5], [0.5, -0.5]])
edges = array([[0, 1], [1, 2], [2, 0]])
faces = array([[0, 1, 2]])

mesh = ipctk.CollisionMesh(points, edges, faces)

Environment:
Tested on both Debian Sid and macOS Monterey 12.2.1 with both raising the same issue

Additional context
I haven't tested any other functions, but I assume that there might be other issues as well.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions