OpenStitching / stitching

A Python package for fast and robust Image Stitching
Apache License 2.0
2.11k stars 162 forks source link

"Segmentation fault" error #184

Closed mariiak2021 closed 10 months ago

mariiak2021 commented 10 months ago

Hi @lukasalexanderweber

Thank you for the great work! I'm having some troubles with the algorithm since yesterday and though you might provide some information. While using stitching pipeline I'm getting error: "Segmentation fault" without any further explanation. It is not "Stitching error" and happening sometime during cropping by my tests, although I can't get precise place or understand what could cause the error. I haven't done any changes to my code since yesterday. Will appreciate any ideas!

Best, Mariia

mariiak2021 commented 10 months ago

I read some other errors with cropping. Should add that I'm running code on remote Linux server

lukasalexanderweber commented 10 months ago

What do you mean with " I read some other errors with cropping. "

mariiak2021 commented 10 months ago

@lukasalexanderweber I mean other issues like https://github.com/OpenStitching/stitching/issues/119

lukasalexanderweber commented 10 months ago

Quite sure this isn't related to the stitching package: https://stackoverflow.com/questions/2346806/what-is-a-segmentation-fault

mariiak2021 commented 10 months ago

Hi @lukasalexanderweber you are right - I've solved segmentation error but still getting errors: free(): invalid size or munmap_chunk(): invalid pointer. Have no idea how to solve them. Can't make even one stitching.

lukasalexanderweber commented 10 months ago

This is also really C++ specific: https://stackoverflow.com/questions/32118545/munmap-chunk-invalid-pointer.

Don't you have a way to test it locally and make sure your installation on the remote server is correct

mariiak2021 commented 10 months ago

Closing as the problem was solved!