Comment 22 for bug 8254

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Mon, 20 Sep 2004 08:50:44 +0200
From: Christian Perrier <email address hidden>
To: <email address hidden>, <email address hidden>, <email address hidden>
Subject: Re: More progress about the "Arabic crash" in Debian Installer

Quoting Christian Perrier (<email address hidden>):
> > What is so special in these words=A0? If I'm correct, there is a shad=
da
> > in them (at least this is what I find in looking in an Unicode table=A0=
:
> > U0651=3D=3D"Arabic shadda") but trying with it alone did not trigger =
the
> > crash.
>=20
> Yet more progress.....
>=20
> There are indeed two shadda characters in this string
>=20
> Removing any of the two shaddas removes the case for the crash.
>=20
> Keeping the two shaddas with the character before and the character
> after for each make the script crashing (see out.crash).
>=20
> Removing ANY character in out.crash (including the space character!)=20
> prevents it from crashing.
>=20
>=20
>=20

> #! /bin/sh
> /usr/bin/whiptail "--menu" "menu" "20" "33" "12" "--" "??? ???" ""=20

Another info.

The crash only happens when the current locale is a UTF-8 locale

export LC_ALL=3DC=A0; ./out --> no crash
export LC_ALL=3Dfr_FR.UTF-8=A0; ./out --> crash

(Steve tried with another UTF-8 locale and had the crash)

IF the locale is not UTF-8, the characters are not interpreted as
Arabic and thus the crash does not happen

Another info=A0: Steve tried without libfribidi0 and the crash didn't hap=
pen

--=20