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

TextureMesh Segmentation Fault #1132

Open
yinbc opened this issue Apr 16, 2024 · 7 comments
Open

TextureMesh Segmentation Fault #1132

yinbc opened this issue Apr 16, 2024 · 7 comments

Comments

@yinbc
Copy link

yinbc commented Apr 16, 2024

Issue Description:

I encountered a segmentation fault error while running the TextureMesh module in OpenMVS version 2.3.0. The process terminates unexpectedly after "Segmentation fault (core dumped)". The following is the output from the console.

In addition, ply can be successfully generated without "--export-type obj".

Console Output:

22:49:25 [App     ] Command line: TextureMesh /data/scene_0077_dense.mvs -m /data/scene_0077_dense_mesh.ply -w /data --export-type obj
22:49:25 [App     ] CUDA device 0 initialized: Tesla P40 (compute capability 6.1; memory 22.38GB)
22:49:25 [App     ] Camera model loaded: platform 0; camera  0; f 0.571x0.572; poses 13
22:49:25 [App     ] Scene loaded from interface format (3ms):
        13 images (13 calibrated) with a total of 30.00 MPixels (2.31 MPixels/image)
        1930 points, 0 vertices, 0 faces
22:49:26 [App     ] Mesh loaded: 78623 vertices, 157148 faces (69ms)
Initialized views 13 (100%, 7s98ms)            
22:49:53 [App     ] Assigning the best view to each face completed: 157148 faces (27s422ms)
22:50:35 [App     ] Generating texture atlas and image completed: 679 patches, 8192 image size, 1 textures (41s555ms)
22:50:35 [App     ] Mesh texturing completed: 78623 vertices, 157148 faces (1m8s988ms)
Segmentation fault (core dumped)
@yinbc
Copy link
Author

yinbc commented Apr 17, 2024

Update, I found that the program crashes when executing "const auto texIdx = faceTexindices[idxFace];" in Mesh::SaveOBJ. After testing, I found that faceTexindices is empty. What is the meaning of faceTexindices?

@cdcseacave
Copy link
Owner

cdcseacave commented Apr 17, 2024 via email

@yinbc
Copy link
Author

yinbc commented Apr 17, 2024

@cdcseacave Thank you for your reply. I am using the latest master branch. I have sent my data and command line to your email.

@cdcseacave
Copy link
Owner

cdcseacave commented Apr 17, 2024 via email

@ansj11
Copy link

ansj11 commented Jun 24, 2024

Hi, I want to use this repo to extract texture, but I got failed when building the main branch. will the develop branch solve my problem?

@yinbc
Copy link
Author

yinbc commented Jun 24, 2024

Hi, I want to use this repo to extract texture, but I got failed when building the main branch. will the develop branch solve my problem?

yes,it worked for me,you can try it

@yinbc
Copy link
Author

yinbc commented Jun 24, 2024

Latest develop branch

On Wed, Apr 17, 2024 at 18:03 yinbc @.> wrote: @cdcseacave https://github.com/cdcseacave Thank you for your reply. I am using the latest master branch. I have sent my data and command line to your email. — Reply to this email directly, view it on GitHub <#1132 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAVMH3VLORDRB7A3HENPCUTY52FNVAVCNFSM6AAAAABGJUEA3CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANRRGQ4DGNRTHE . You are receiving this because you were mentioned.Message ID: @.>

thank you!

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

3 participants