possible file descriptor leaks
Posted: 2013-03-08T13:51:12-07:00
I'm using the magickwand library for my C application in Ubuntu environment.
But there is one file decriptor open when one image is read while not closed after the process is done.
If I do this in a loop, I could see a lot of file descriptors increasing without close from /proc/<pid>/fd.
I also tested the sample code from imagemagic website, which has the same issue.
The version I'm using is 6.6.9.7 which is fetched by aptitute.
So I download the latest one from imagemagick website where the version is 6.8.3-8, and the bug went away.
I think something was fixed, but I couldn't find anything about it in the changelog, anyone could explaine it?
I wanna know what is the root cause of this issue.
Thanks
But there is one file decriptor open when one image is read while not closed after the process is done.
If I do this in a loop, I could see a lot of file descriptors increasing without close from /proc/<pid>/fd.
I also tested the sample code from imagemagic website, which has the same issue.
The version I'm using is 6.6.9.7 which is fetched by aptitute.
So I download the latest one from imagemagick website where the version is 6.8.3-8, and the bug went away.
I think something was fixed, but I couldn't find anything about it in the changelog, anyone could explaine it?
I wanna know what is the root cause of this issue.
Thanks