[Debconf-devel] Bug#478409: Bug#478409: debconf: dpkg-preconfigure --apt segfaults during upgrade to lenny (after perl unpacked)

Daniel Kahn Gillmor dkg-debian.org at fifthhorseman.net
Tue Apr 29 03:16:52 UTC 2008


Thanks for the quick response, Joey.

On Mon 2008-04-28 22:11:38 -0400, Joey Hess wrote:

> perl -e 'use Debconf::ConfModule'

That does the trick, even as a non-root user:

0 rtguest at clam:~$ perl -e 'use Debconf::ConfModule'
Segmentation fault
139 rtguest at clam:~$ 

> What happens if you dpkg --configure locales ? Does the problem then
> stop happening? 

0 clam:~# dpkg --configure locales
dpkg: dependency problems prevent configuration of locales:
 locales depends on glibc-2.7-1; however:
  Package glibc-2.7-1 is not installed.
dpkg: error processing locales (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 locales
1 clam:~#  perl -e 'use Debconf::ConfModule'
Segmentation fault
139 clam:~# 

> Your strace shows that it's just finished loading Encode.so when it
> crashes, which looks suspiciously like a problem involving
> locales. You might also try forcing your locale to C and seeing if
> that prevents the crash.

i'm never quite sure which environment variables are the relevant
ones, but i don't think forcing it to C helps any:

0 rtguest at clam:~$ LOCALE=C LANGUAGE=C LANG=C LC_ALL=C perl -e 'use Debconf::ConfModule'
Segmentation fault
139 rtguest at clam:~$ 

> This kind of problem is always a bug in perl, or in an XS module
> loaded into perl. Since debconf contains no XS modules of its own,
> it's almost certianly a perl bug of some variety.

That makes sense.  Any thoughts about which package to re-assign this
to?  Or other next steps?

     --dkg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 826 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/debconf-devel/attachments/20080428/b6b544d2/attachment.pgp 


More information about the Debconf-devel mailing list