-
-
Notifications
You must be signed in to change notification settings - Fork 649
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
libvips segfault during mapim with bicubic interpolation #1180
Comments
Oh dear, that's bad. I guess there's an off-by-one problem somewhere. It seems to work in 8.8, I'll try 8.7. I don't remember touching any of that code, funny. |
Duh I had DEBUG off. With it on, I see the assert fail on 8.8 as well. Thanks for the great report, I'll investigate. |
As an additional piece of information, it looks like it applies to the other interpolation types, too, suggesting that it might have something to do with boundary conditions when kernel footprint steps outside of the image.
Thanks again! |
OK, fixed in git master plus the head of the 8.7 branch. Thank you very much for finding this awful problem @erdmann ! I'll wait a few days before pushing out 8.7.4, in case anything else comes up. |
I think this should land in 8.7.3 (instead than 8.7.4) because 8.7.3 isn't released yet. |
Yes, I goofed. I've moved it back to 8.7.3. |
Hi John, Thanks for the very fast response. This seems to solve the segfault problem, but I now get artifacts along the right and bottom edges of the image using cubic interpolation. I'm expecting that when I do Here is a demonstration of the issue:
Thanks again! |
Sorry, accidentally closed. |
we had the clip in the wrong place see #1180
You're right, the clip was in the wrong place. I improved the test as well. Could you test again, please? |
Looks great! All of my personal tests pass (tested on master). Thanks again. |
Hi John,
I'm finding that libvips is segfaulting whenever it performs
mapim
using bicubic interpolation. Here is a demonstration using a debug build from tag v8.7.2 (though the problem seems to go back a few versions):Many thanks in advance for having a look!
The text was updated successfully, but these errors were encountered: