Bug#766357: [libnet-cups-perl] bad free() when finalizing the result of getDestinations()
gregor herrmann
gregoa at debian.org
Wed Oct 22 17:04:37 UTC 2014
Control: tag -1 + unreproducible
On Wed, 22 Oct 2014 09:44:34 -0400, Jean Privat wrote:
Thanks for your bug report!
Unfortunately, all these three tests ...
> $ perl /usr/share/doc/libnet-cups-perl/examples/list_dests.pl
[..]
> ~~~perl
> use Net::CUPS;
> {
> $sc = Net::CUPS->new();
> my @pl = $sc->getDestinations();
> print("A\n");
> }
> print("B\n");
> ~~~
>
> When executed, it prints only A
>
> ~~~
> A
> *** Error in `perl': free(): invalid pointer: 0x0000000001fba634 ***
> Abandon
> ~~~
>
> Removing the `my` in `my @pl` force delay the error at the end of the
> program. thus A and B are printed
>
> ~~~
> $ perl c.pl
> A
> B
> *** Error in `perl': free(): invalid pointer: 0x0000000002459384 ***
> Abandon
> ~~~
... work without any problems for me.
The only thing I notice is ...
> --- System information. ---
> Architecture: amd64
> Kernel: Linux 3.16-3-amd64
>
> Debian Release: jessie/sid
> 990 testing security.debian.org
> 990 testing http.debian.net
> 500 unstable http.debian.net
> 500 stable security.debian.org
> 500 stable http.debian.net
> 500 stable dl.google.com
> 1 experimental http.debian.net
>
> --- Package information. ---
> Depends (Version) | Installed
> ================================- -==============
> perl (>= 5.20.0-4) | 5.20.1-1
> perlapi-5.20.0 |
> libc6 (>= 2.4) |
> libcups2 (>= 1.6.0) |
... that you are on testing and I'm on unstable but I have no idea if
this make a difference.
Anyone else with test results or ideas?
Maybe running /usr/share/doc/libnet-cups-perl/examples/list_dests.pl
under gdb sheds a light where this is happening?
Cheers,
gregor
--
.''`. Homepage: http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06
: :' : Debian GNU/Linux user, admin, and developer - http://www.debian.org/
`. `' Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe
`- NP: Element Of Crime: Alle vier Minuten
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: Digital Signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20141022/e6276aaf/attachment.sig>
More information about the pkg-perl-maintainers
mailing list