2006/7/21, Mattias Gaertner <[EMAIL PROTECTED]>:
On Wed, 19 Jul 2006 18:58:39 -0400
"Alexandre Leclerc" <[EMAIL PROTECTED]> wrote:

> 2006/7/19, Mattias Gaertner <[EMAIL PROTECTED]>:
> > Can you create a backtrace?
>
> Program received signal SIGSEGV, Segmentation fault.
> $0040319a in SYSTEM_ALIGNEDFWDMOVESSE_3$formal$formal$SMALLINT ()
> (gdb) backtrace
> #0  $0040319a in SYSTEM_ALIGNEDFWDMOVESSE_3$formal$formal$SMALLINT ()
> #1  $00403283 in SYSTEM_FORWARDS_SSE_3 ()
> #2  $000901a0 in ?? ()
> #3  $04048438 in ?? ()
> #4  $05f70030 in ?? ()
> #5  $000480d8 in ?? ()
> #6  $00409bf7 in fpc_widestr_setlength ()
> #7  $0006f34c in ?? ()
> #8  $00000000 in ?? () from
> #9  $0006f34c in ?? ()
> #10 $050d2e10 in ?? ()
> #11 $0006fa48 in ?? ()
> #12 $0051be00 in TLRSOBJECTWRITER__WRITE (BUFFER={formal} $404842c,
> COUNT=86472224, this=$51bf4c) at LResources.pp:3419
> #13 $0051c9ef in TLRSOBJECTWRITER__WRITEWIDESTRING (VALUE=$404842c,
> this=$5277620) at LResources.pp:3762

Does length(ws) return the right value? That means the number of characters
(bytes div 2)?

Is there a simple way to get that information with gdb in command line
running lazarus? (Because I do not feel like rebuilding again with a
break point, etc.)

doing 'break WriteWideStringContent' or
TLRSObjectWriter.WriteWideStringContent does not work. I'm still
learning to work with comand line gdb.

--
Alexandre Leclerc

_________________________________________________________________
    To unsubscribe: mail [EMAIL PROTECTED] with
               "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to