On Tue, Jun 20, 2006 at 01:27:46AM +0200, Fr??d??ric Bothamy wrote:
> Package: bash
> Version: 3.1-4
> Severity: normal
> Tags: l10n
>
> Hello,
>
> Here are the steps to reproduce the problem:
>
> - have (and use) an fr_FR.UTF-8 locale
> - install the dlocate package
> - generate dpkg-list (localized) using this command (from
> /etc/cron.daily/dlocate):
>
> LINES=40 COLUMNS=200 dpkg -l "*" | sed -e '1,5d' -e 's/ */ /g' >
> /var/lib/dlocate/dpkg-list
>
> - use dlocate like this:
> $ dlocate -l openoffice
>
> The final lines read:
>
> $ dlocate -l openoffice
>
> [...]
>
> un openoffice.org2-l10n-el <n?ant> (aucune
> description n'est disponible)
> pn openoffice.org2-l10n-en-gb <n?ant> (aucune
> description n'est disponible)
> pn openoffice.org2-l10n-en-us <n?ant> (aucune
> description n'est disponible)
> /usr/bin/dlocate: line 55: 14278 Done egrep "$1" $DPKGLIST
> 14279 Erreur de segmentation | while read stat name ver descr; do
> printf "%-2s %-${fieldw}.${fieldw}s %-${fieldw}.${fieldw}s
> %-${fieldd}.${fieldd}s\\n" "$stat" "$name" "$ver" "$descr";
> done
> $
>
> If I change the printf command with /usr/sbin/printf, the segfault no
Do you mean coreutils /usr/bin/printf?
> longer occurs. If I generate the dpkg-list file with the C locale, the
> segfault no longer occurs. If I execute the dlocate command with the C
> locale, the segfault no longer occurs.
>
> I don't really know how to get a backtrace from a builtin bash
> command. So any advice would be welcome.
apt-get source bash dpkg-dev
cd bash-...
DEB_BUILD_OPTIONS=nostrip dpkg-buildpackage -rfakeroot
gdb --args ./debian/bash/usr/bin/bash dlocate -l openoffice
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]