possible file descriptor leaks

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
yyf2085089
Posts: 3
Joined: 2013-03-08T13:37:41-07:00
Authentication code: 6789

possible file descriptor leaks

Post by yyf2085089 »

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
yyf2085089
Posts: 3
Joined: 2013-03-08T13:37:41-07:00
Authentication code: 6789

Re: possible file descriptor leaks

Post by yyf2085089 »

Could anyone explain it? I really wanna know if it's a fixed bug or something wrong with my system?
Thanks.
yyf2085089
Posts: 3
Joined: 2013-03-08T13:37:41-07:00
Authentication code: 6789

Re: possible file descriptor leaks

Post by yyf2085089 »

Anyone knows it?
Post Reply