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

seg fault init_map #4

Open
Janphr opened this issue Feb 21, 2025 · 1 comment
Open

seg fault init_map #4

Janphr opened this issue Feb 21, 2025 · 1 comment

Comments

@Janphr
Copy link

Janphr commented Feb 21, 2025

Hey,

when i execute plan.py i get a segmentation fault when self.planner.init_map is called.
I added some prints to the c++ function, to narrow it down more, but it seems like it doesn't even reach the function body.
Any idea what might cause it?

Thanks!

@Divepit
Copy link

Divepit commented Mar 11, 2025

I am seeing the same issue, I have tracked it down to the arguments passed to self.planner.init_map().

When passing the reshaped matrices like trav.reshape(-1, trav.shape[-1]).astype(np.double) to the function, there is a segmentation fault in the function call on the C++ side in OfflineElePlanner::InitMap:

Thread 1 "python3" received signal SIGSEGV, Segmentation fault.
0x0000000000000000 in ?? ()

But I have not figured out how to fix it yet. Notably I am using Ubuntu 24.04 and it might be that the issue lies in some newer version of Eigen or Pybind compared to when this was originally written.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants