Yixin-Hu / TetWild

Robust Tetrahedral Meshing in the Wild.
https://yixin-hu.github.io/tetwild.pdf
GNU General Public License v3.0
612 stars 98 forks source link

Abnormal program termination: received signal 11 (Segmentation fault) #79

Closed AadityaKhetan closed 3 years ago

AadityaKhetan commented 3 years ago

Abnormal program termination: received signal 11 (Segmentation fault) while running tetwild in ubuntu. I am using command - sudo docker run --rm -v "$(pwd)":/shared yixinhu/tetwild --input test1.stl --output test.msh

Yixin-Hu commented 3 years ago

Hi, could you share the log?

Arthur-272 commented 3 years ago

Hi there, we are working together and here is the log that you asked for. image

Arthur-272 commented 3 years ago

Hey there, thank you for the reply, the issue has been solved. We just needed to go to the directory where the object file was stored and run it there and then VOILA!. Not sure what is the explanation behind this, but whatever keeps the ball rolling!

Yixin-Hu commented 3 years ago

That makes sense. The termination looks like related to the input or the input parser.

aprath1 commented 2 years ago

Hey there, thank you for the reply, the issue has been solved. We just needed to go to the directory where the object file was stored and run it there and then VOILA!. Not sure what is the explanation behind this, but whatever keeps the ball rolling!

@Arthur-272 I am still having this issue in Ubuntu. Do you mean to run from the directory where the .STL file is located, if so could you please let me know how you mounted the directory, with '-v' command

aprath1 commented 2 years ago

For any one else scratching their heads on this, here is what worked for me :)

  1. Put your test.stl object in a folder (named 'data' here) and this need to be inside your current working directory (=> "$(pwd)")
  2. modify the command like this sudo docker run --rm -v "$(pwd)":/data yixinhu/tetwild --input data/Spinner_Press.stl --output data/test.msh
xk-huang commented 1 year ago

xI changed data/Spinner_Press.stl to /data/Spinner_Press.stl, and it worked.