-
Notifications
You must be signed in to change notification settings - Fork 826
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
png reader leaks fd if invalid png is read and user_error_fn is hit #1783
Comments
fd leaking in b6ce472, but we are still also leaking structs:
|
still have leaking in tiff and jpeg:
|
jpeg leak looks spurious. replicated tiff leak on ubuntu as well. It looks like if the |
cannot replicate jpeg leak on ubuntu. closing. |
@springmeyer - nm, got it:) |
…to stderr on fail - refs mapnik#1783
This problem was exposed by the invalid png at #1782. I saw that repeated map loads with this invalid png lead to "too many files open" errors.
valgrind --leak-check=full ./tests/cpp_tests/image_io_test-bin
should also show the leak. jpeg/tiff reader also may suffer from the same issue.The text was updated successfully, but these errors were encountered: