Date: Sat, 10 Aug 2002 18:26:38 +0200 (CEST) From: Martin Blapp <mb@imp.ch> To: "Kevin B. Hendricks" <kevin.hendricks@sympatico.ca> Cc: <dev@porting.openoffice.org>, <openoffice@FreeBSD.ORG> Subject: Re: [porting-dev] Re: Crash with Test-Document in the second run. Memory allocation problem Message-ID: <20020810182303.J92422-100000@levais.imp.ch> In-Reply-To: <200208101218.43420.kevin.hendricks@sympatico.ca>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi,
>
> pType ppThis
(gdb) pType ppThis
type = struct _rtl_uString {
sal_Int32 refCount;
sal_Int32 length;
sal_Unicode buffer[1];
} **
> If it is the unicode buffer then throw out every high byte (which should be
> zero) and you get the hex string:
>
> 74 53 72 61 72 57 74 69 72 65 35 20 30 2e 65 00
>
> As the asci string.
>
> Looking this up in my ascii table gives the following nonsense:
> tSrarWtEre5 0.e
>
Starwriter5.0 ? ;-)
> Which looks like nonsense to me.? Please try:
>
> print * ppThis
> print * pStr
This one seems to be one.
(gdb) print * ppThis
$6 = (struct _rtl_uString *) 0x8390a40
This one not.
(gdb) print * pStr
$7 = {refCount = 1474660693, length = -326937770, buffer = {59412}}
Martin
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-openoffice" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020810182303.J92422-100000>
