Re: dom - r23445 - abiword/trunk/src/af/xap/xp

From: Dominic Lachowicz <domlachowicz_at_gmail.com>
Date: Thu Apr 10 2008 - 05:06:29 CEST

Uwog: "please backport"

Sum1: nice catch

On Wed, Apr 9, 2008 at 9:26 PM, sum1abi@gmail.com <sum1abi@gmail.com> wrote:
>
> On Wed, Apr 9, 2008 at 6:16 PM, <cvs@abisource.com> wrote:
> >
> > Author: dom
> > Date: 2008-04-10 00:16:24 +0200 (Thu, 10 Apr 2008)
> > New Revision: 23445
> >
> > Modified:
> > abiword/trunk/src/af/xap/xp/xap_Strings.cpp
> > Log:
> > Refactor getValueUTF8(), in a blind attempt to resolve #11533. Sum1's DrWatson backtrace of 2.6.2 is @ http://pastebin.ca/978855
>
> Thanks for fixing this bug, Dom. I added the pastebin backtrace to
> Bug 11509 for archival purposes.
>
> >
> > 1) Return if toStranslate is null.
>
> This is the real cause of the crash. Some of the localized normal.awt
> templates have invalid or unknown lang attributes that cause the NULL
> pointer to be passed in. I fixed one template in r23446 and will look
> for other problematic ones.
>
> > 2) Route the UTF8 code through the general-purpose code
> > 3) Don't throw exceptions
> >
> > Sum1: if this doesn't fix the problem for you, it would be useful to know what version of glib you're using and what the stringset's m_encoding is
> >
>

-- 
Counting bodies like sheep to the rhythm of the war drums.
Received on Thu Apr 10 05:07:37 2008

This archive was generated by hypermail 2.1.8 : Thu Apr 10 2008 - 05:07:37 CEST