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
possible file descriptor leaks
-
- Posts: 3
- Joined: 2013-03-08T13:37:41-07:00
- Authentication code: 6789
-
- Posts: 3
- Joined: 2013-03-08T13:37:41-07:00
- Authentication code: 6789
Re: possible file descriptor leaks
Could anyone explain it? I really wanna know if it's a fixed bug or something wrong with my system?
Thanks.
Thanks.
-
- Posts: 3
- Joined: 2013-03-08T13:37:41-07:00
- Authentication code: 6789
Re: possible file descriptor leaks
Anyone knows it?