You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I am experiencing a strange segmentation fault issue when iterating over directories and generating ply files. I am running this on an M3 mac, OS v14.7, using PyMeshLab v2023.12.post2 & python 3.10.
Pseudocode
main.py:
fordirinos.listdir(root_dir):
try:
ms=generate_ply_files(dir)
# do some other stuff with msexceptException:
print("error")
If i start with processing dir1 and an error is thrown from generate_ply_files, then I receive a segmentation fault when I move on to processing dir2. The seg fault is triggered when calling ms.load_new_mesh('root_dir/dir2/mesh1.ply'). If no errors are thrown when processing dir1, then no seg faults occur either.
I hope this is clear, but let me know if you need anything else. Thanks!
The text was updated successfully, but these errors were encountered:
That's strange, and it seems very difficult to debug.
I don't even know where to start since a new MeshSet instance is created every time...
What kind of error is thrown when processing dir1? Have you tried the same example on other platforms?
Hello,
I am experiencing a strange segmentation fault issue when iterating over directories and generating ply files. I am running this on an M3 mac, OS v14.7, using PyMeshLab v2023.12.post2 & python 3.10.
Pseudocode
main.py:
generate_ply_files:
Behavior
My root_dir has the following structure:
If i start with processing
dir1
and an error is thrown fromgenerate_ply_files
, then I receive a segmentation fault when I move on to processingdir2
. The seg fault is triggered when callingms.load_new_mesh('root_dir/dir2/mesh1.ply')
. If no errors are thrown when processingdir1
, then no seg faults occur either.I hope this is clear, but let me know if you need anything else. Thanks!
The text was updated successfully, but these errors were encountered: