From owner-freebsd-openoffice Sat Aug 10 9:25: 2 2002 Delivered-To: freebsd-openoffice@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C43F737B400 for ; Sat, 10 Aug 2002 09:24:59 -0700 (PDT) Received: from mail.imp.ch (mail.imp.ch [157.161.1.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id E5A4943E6E for ; Sat, 10 Aug 2002 09:24:58 -0700 (PDT) (envelope-from mb@imp.ch) Received: from nbs.imp.ch (nbs.imp.ch [157.161.4.7]) by mail.imp.ch (8.12.3/8.12.3) with ESMTP id g7AGOvQx081299; Sat, 10 Aug 2002 18:24:57 +0200 (CEST) (envelope-from Martin.Blapp@imp.ch) Received: from levais.imp.ch (levais.imp.ch [157.161.4.66]) by nbs.imp.ch (8.12.3/8.12.3) with ESMTP id g7AGOvYW651974; Sat, 10 Aug 2002 18:24:57 +0200 (MES) Date: Sat, 10 Aug 2002 18:26:38 +0200 (CEST) From: Martin Blapp To: "Kevin B. Hendricks" Cc: , Subject: Re: [porting-dev] Re: Crash with Test-Document in the second run. Memory allocation problem In-Reply-To: <200208101218.43420.kevin.hendricks@sympatico.ca> Message-ID: <20020810182303.J92422-100000@levais.imp.ch> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-openoffice@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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