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 [EMAIL PROTECTED]:~$ perl -e 'use Debconf::ConfModule'
Segmentation fault
139 [EMAIL PROTECTED]:~$ 

> 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 [EMAIL PROTECTED]:~$ LOCALE=C LANGUAGE=C LANG=C LC_ALL=C perl -e 'use 
Debconf::ConfModule'
Segmentation fault
139 [EMAIL PROTECTED]:~$ 

> 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

Attachment: pgpTX4s5prWs1.pgp
Description: PGP signature

Reply via email to