[Debconf-devel] Bug#641957: Infinite loop in /usr/share/debconf/frontend because of unitialized value in WrapI18N.pm

Joey Hess joeyh at debian.org
Sun Sep 18 16:17:42 UTC 2011


Eric Buchlin wrote:
> I tried to upgrade to testing just after a fresh install of squeeze (netinst, KDE):
> I changed squeeze to testing in /etc/apt/sources.list, and made an update and upgrade 
> within aptitude (interactive). During the installation of libc6,
> /usr/share/debconf/frontend has an infinite loop (and takes 100% CPU), with messages
> 
> ---
> Use of uninitialized value $text in concatenation (.) or string at /usr/share/perl5/Text/WrapI18N.pm line 101, <GEN1> line 5.
> substr outside of string at /usr/share/perl5/Text/WrapI18N.pm line 130, <GEN1> line 5.
> ---

> Then the same happens if I try with apt-get -f dist-upgrade (-f is needed
> by apt-get, and the same happens with LANG=C).

Seems that you can reproduce the bug on demand. So can you please try
the following:

1. Install the attached Encoding.pm file as /usr/share/perl5/DebConf/Encoding.pm
   (This instruments the calls to WrapI18N so we can see what text is
   making it fail.)
2. Run the `script` command to take a typescript.
3. Run apt-get again to reproduce the problem.
4. Reply with the typescript.

-- 
see shy jo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Encoding.pm
Type: text/x-perl
Size: 3253 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debconf-devel/attachments/20110918/1ce144be/attachment.pm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 828 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/debconf-devel/attachments/20110918/1ce144be/attachment.pgp>


More information about the Debconf-devel mailing list