Segmentation fault when calling `bin/PreprocessMesh`
See original GitHub issueHi,
after following the build instructions of https://github.com/facebookresearch/DeepSDF/issues/81#issuecomment-953495747 I get a segmentation fault when I try to run
bin/PreprocessMesh -m in.obj -o out.npz
Is this a known issue? Are there any current workarounds?
Thanks
Issue Analytics
- State:
- Created 2 years ago
- Comments:5
Top Results From Across the Web
Segmentation Fault when calling member of a struct
The seg fault happens when I try to print the member name of the struct stacklist[NumberOfStacks] points to. What am I doing wrong...
Read more >Identify what's causing segmentation faults (segfaults)
A segmentation fault (aka segfault) is a common condition that causes programs to crash; they are often associated with a file named core...
Read more >Segmentation fault when calling C function with special ...
when calling a C function with a special shape in Julia, it crashes. signal (11): Segmentation fault while loading /home/lizz/dev/dump/test.jl, ...
Read more >Common Causes of Segmentation Faults (Segfaults)
A segmentation fault (often called a segfault) can occur if a program you are running attempts to access an invalid memory location.
Read more >Segmentation fault - Wikipedia
In computing, a segmentation fault (often shortened to segfault) or access violation is a fault, or failure condition, raised by hardware with memory...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Here’s what I did to build the program and all dependencies. You need to be root for some of these commands to work. Also, this will not work if you’re running the program in a remote SSH session, you need to have a screen (I tried some workarounds but I couldn’t get it to work).
Anyway, I suggest you not spend too much time trying to make this code work. There’s a much better python library called
mesh-to-sdf
(https://pypi.org/project/mesh-to-sdf/) that does the same thing without any of the hassle. Justpip install mesh-to-sdf
and you’re good to go. Still won’t work in a remote session unfortunately, but it’s also way faster than the code in this repo.Here’s the full list of commands (disclaimer: don’t just copy-paste the whole thing, make sure that every command executes successfully):
Thank you very much for your help!