[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#110285: liblocale-gettext-perl: causes debconf to segfault on ia64



Le Mon, Aug 27, 2001 at 10:53:18AM -0500, Branden Robinson écrivait:
> With liblocale-gettext-perl installed, debconf segfaults.
> Without it installed, debconf works fine.
> 
> This bug is apparently ia64-specific.

I really don't know what to do with this. Can anyone on debian-ia64 help
me to undertstand this one ?

The bug is certainly not only liblocale-gettext-perl's fault ... we need to
find the simplest test case that will make perl segfault while using this
module.

Does "perl -MLocale::gettext -e '1'" segfault ? Does it segfault only when
trying to actually use one of the gettext functions ?

Can you try to look a bit further for the segfault (with an strace for
example) ?

Cheers,

PS: I'm leaving the complete bug report for people on debian-ia64 :

> Here's a transcript of the carnage:
> 
> butthead:/net/morimoto/home/branden# apt-get install apt-listchanges
> Reading Package Lists... Done
> Building Dependency Tree... Done
> The following extra packages will be installed:
>   liblocale-gettext-perl 
> The following NEW packages will be installed:
>   apt-listchanges liblocale-gettext-perl 
> 0 packages upgraded, 2 newly installed, 0 to remove and 48  not upgraded.
> Need to get 47.4kB of archives. After unpacking 311kB will be used.
> Do you want to continue? [Y/n] 
> Get:1 http://archive.progeny.com unstable/main liblocale-gettext-perl 1.01-10 [14.9kB]
> Get:2 http://archive.progeny.com unstable/main apt-listchanges 1.55 [32.6kB]
> Fetched 47.4kB in 0s (100kB/s)       
> Preconfiguring packages ...
> Selecting previously deselected package liblocale-gettext-perl.
> (Reading database ... 70755 files and directories currently installed.)
> Unpacking liblocale-gettext-perl (from .../liblocale-gettext-perl_1.01-10_ia64.deb) ...
> Selecting previously deselected package apt-listchanges.
> Unpacking apt-listchanges (from .../apt-listchanges_1.55_all.deb) ...
> Setting up liblocale-gettext-perl (1.01-10) ...
> 
> Setting up apt-listchanges (1.55) ...
> dpkg: error processing apt-listchanges (--configure):
>  subprocess post-installation script killed by signal (Segmentation fault)
> Errors were encountered while processing:
>  apt-listchanges
> E: Sub-process /usr/bin/dpkg returned an error code (1)
> butthead:/net/morimoto/home/branden# dpkg -P apt-listchanges
> (Reading database ... 70778 files and directories currently installed.)
> Removing apt-listchanges ...
> Purging configuration files for apt-listchanges ...
> dpkg: error processing apt-listchanges (--purge):
>  subprocess post-removal script killed by signal (Segmentation fault)
> Errors were encountered while processing:
>  apt-listchanges
> butthead:/net/morimoto/home/branden# ls /var/lib/dpkg/info/apt-listchanges.*
> /var/lib/dpkg/info/apt-listchanges.list  /var/lib/dpkg/info/apt-listchanges.postrm
> butthead:/net/morimoto/home/branden# file /var/lib/dpkg/info/apt-listchanges.postrm
> /var/lib/dpkg/info/apt-listchanges.postrm: Bourne shell script text executable
> butthead:/net/morimoto/home/branden# sh -x /var/lib/dpkg/info/apt-listchanges.postrm remove
> + set -e
> + '[' remove = purge ']'
> + '[' remove = purge -a -e /usr/share/debconf/confmodule ']'
> + exit 0
> butthead:/net/morimoto/home/branden# sh -x /var/lib/dpkg/info/apt-listchanges.postrm purge 
> + set -e
> + '[' purge = purge ']'
> + rm -f /etc/apt-listchanges.conf /etc/apt-listchanges.conf.old /etc/apt/listchanges.conf
> + '[' purge = purge -a -e /usr/share/debconf/confmodule ']'
> + . /usr/share/debconf/confmodule
> ++ '[' '!' '' ']'
> ++ exec /usr/share/debconf/frontend /var/lib/dpkg/info/apt-listchanges.postrm purge
> Segmentation fault
> butthead:/net/morimoto/home/branden# dpkg-reconfigure debconf
> Segmentation fault
> butthead:/net/morimoto/home/branden# dpkg -P liblocale-gettext-perl
> dpkg: dependency problems prevent removal of liblocale-gettext-perl:
>  apt-listchanges depends on liblocale-gettext-perl.
> dpkg: error processing liblocale-gettext-perl (--purge):
>  dependency problems - not removing
> Errors were encountered while processing:
>  liblocale-gettext-perl
> butthead:/net/morimoto/home/branden# dpkg -P liblocale-gettext-perl apt-listchanges
> (Reading database ... 70768 files and directories currently installed.)
> Removing apt-listchanges ...
> Purging configuration files for apt-listchanges ...
> dpkg: error processing apt-listchanges (--purge):
>  subprocess post-removal script killed by signal (Segmentation fault)
> dpkg: dependency problems prevent removal of liblocale-gettext-perl:
>  apt-listchanges depends on liblocale-gettext-perl.
> dpkg: error processing liblocale-gettext-perl (--purge):
>  dependency problems - not removing
> Errors were encountered while processing:
>  apt-listchanges
>  liblocale-gettext-perl
> butthead:/net/morimoto/home/branden# dpkg -P --force-depends liblocale-gettext-perl apt-listchanges
> (Reading database ... 70767 files and directories currently installed.)
> Removing apt-listchanges ...
> Purging configuration files for apt-listchanges ...
> dpkg: error processing apt-listchanges (--purge):
>  subprocess post-removal script killed by signal (Segmentation fault)
> dpkg: liblocale-gettext-perl: dependency problems, but removing anyway as you request:
>  apt-listchanges depends on liblocale-gettext-perl.
> Removing liblocale-gettext-perl ...
> Errors were encountered while processing:
>  apt-listchanges
> butthead:/net/morimoto/home/branden# vi /var/lib/dpkg/info/apt-listchanges.postrm 
> [removed debconf invocation from postrm script]
> butthead:/net/morimoto/home/branden# dpkg -P apt-listchanges
> (Reading database ... 70755 files and directories currently installed.)
> Removing apt-listchanges ...
> Purging configuration files for apt-listchanges ...
> butthead:/net/morimoto/home/branden# dpkg-reconfigure debconf
> butthead:/net/morimoto/home/branden# echo $?
> 0
> 
> -- System Information
> Debian Release: testing/unstable
> Architecture: ia64
> Kernel: Linux butthead 2.4.5-ia64-smp #1 SMP Tue Jul 10 18:15:05 MDT 2001 ia64
> Locale: LANG=C, LC_CTYPE=C

-- 
Raphaël Hertzog -+- http://strasbourg.linuxfr.org/~raphael/
Le bouche à oreille du Net : http://www.beetell.com
Naviguer sans se fatiguer à chercher : http://www.deenoo.com
Formation Linux et logiciel libre : http://www.logidee.com



Reply to: