Bug#568607: libogg-vorbis-perl: dup syscall yields fd leak

Niko Tyni ntyni at debian.org
Sun Feb 7 14:45:48 UTC 2010


On Sun, Feb 07, 2010 at 02:09:09AM +0100, Vincent Lefevre wrote:
> tags 568607 patch
> thanks
> 
> Actually, $ogg->clear solves the problem. But then, the clear method
> should be called when the object is destroyed. I've attached a patch.
> This patch calls ov_clear directly, but this seems to work even when
> ov_clear has already been called (doing $ogg->clear twice is allowed
> and does the same thing anyway).

Nice, thanks.

However, I think this package (and libogg-vorbis-header-perl
too for that matter) should rather be removed from Debian as
it's clearly dead upstream and there are maintained alternatives
(libogg-vorbis-header-pureperl-perl and libogg-vorbis-decoder-perl)
available.

Ogg::Vorbis has been failing its test suite without the dup() patch
for a long time.

As you're clearly using Ogg::Vorbis, did you have a particular reason
for choosing it over the others? Is there something it can do and 
the others can't?

@pkg-perl: any opinions?
-- 
Niko Tyni   ntyni at debian.org





More information about the pkg-perl-maintainers mailing list