I had compiled Lazarus with -gh and got that small result:

> [EMAIL PROTECTED]:~/lazarus/trunk$ valgrind lazarus ==14960== Memcheck, a
> memory error detector for x86-linux. ==14960== Copyright (C)
> 2002-2004, and GNU GPL'd, by Julian Seward et al. ==14960== Using
> valgrind-2.2.0, a program supervision framework for x86-linux.
> ==14960== Copyright (C) 2000-2004, and GNU GPL'd, by Julian Seward
> et al. @@ unlikely looking definition in unparsed remains ";"
> Speicherzugriffsfehler [EMAIL PROTECTED]:~/lazarus/trunk$


(This is my first time i use a memory error dectoctor)
Flo

>> (gdb) backtrace #0 0x0834bb66 in
>> TCUSTOMCODETOOL__FINDDEEPESTNODEATPOS (STARTNODE=0xb75f7b54,
>> P=2220, EXCEPTIONONNOTFOUND=false, this=0xb764f1a4) at
>> customcodetool.pas:2004 #1 0x0834bb1b in
>> TCUSTOMCODETOOL__FINDDEEPESTNODEATPOS (STARTNODE=0xb75f80c4,
>> P=2220, EXCEPTIONONNOTFOUND=true, this=0xb764f1a4) at
>> customcodetool.pas:1994 #2 0x08378432 in
>> TPASCALPARSERTOOL__BUILDSUBTREEANDFINDDEEPESTNODEATPOS (
>> STARTNODE=0xb767ed54, P=2220, EXCEPTIONONNOTFOUND=true,
>> this=0xb764f1a4) at pascalparsertool.pas:3666 #3 0x0834e367 in
>> TFINDDECLARATIONTOOL__FINDDECLARATION (CURSORPOS= {X = 19, Y =
>> 101, CODE = 0xb76dae94}, SEARCHSMARTFLAGS=[FSFINCLUDEDIRECTIVE],
>> NEWTOOL=0x0, NEWNODE=0x0, NEWPOS= {X = -1073743720, Y =
>> -1073744072, CODE = 0xbffff6f0}, NEWTOPLINE=-1073743736,
>> this=0xb764f1a4) at finddeclarationtool.pas:1142 #4 0x083509a2
>> in TFINDDECLARATIONTOOL__FINDSMARTHINT (CURSORPOS= {X = 19, Y =
>> 101, CODE = 0xb76dae94}, this=0xb764f1a4) at
>> finddeclarationtool.pas:1725 #5 0x081db00d in
>> TCODETOOLMANAGER__FINDSMARTHINT (CODE=0xb76dae94, X=19, Y=101,
>> this=0xb7870014) at codetoolmanager.pas:1339 #6 0x080a1b32 in
>> TMAINIDE__ONSRCNOTEBOOKSHOWHINTFORSOURCE ( SRCEDIT=0xb76daf34,
>> CLIENTPOS={X = 191, Y = 127}, CARETPOS= {X = 19, Y = 101},
>> this=0xb7b610f4) at main.pp:10851 #7 0x0828d593 in
>> TSOURCENOTEBOOK__SHOWSYNEDITHINT (MOUSEPOS= {X = 275, Y = 296},
>> this=0xb7750028) at uniteditor.pp:5155 #8 0x0828d268 in
>> TSOURCENOTEBOOK__HINTTIMER (SENDER=0xb76cb114, this=0xb7750028)
>> at uniteditor.pp:5088 #9 0x0818bb29 in TCUSTOMTIMER__DOONTIMER
>> (this=0xb76cb114) at customtimer.pas:176 #10 0x0818baa5 in
>> TCUSTOMTIMER__TIMER (this=0xb76cb114) at customtimer.pas:152 #11
>> 0x081aa538 in GTKTIMERCB (DATA=0xb7ba5e04) at
>> gtkcallback.inc:2339 #12 0xb7fc9aee in g_main_set_poll_func ()
>> from /usr/lib/libglib-1.2.so.0 #13 0xb7d379e0 in
>> __after_morecore_hook () from /lib/tls/i686/cmov/libc.so.6 #14
>> 0x0899e048 in ?? () #15 0xbffff9e8 in ?? () #16 0xb7fda24c in ??
>> () from /usr/lib/libglib-1.2.so.0 #17 0x00000000 in ?? () #18
>> 0xbffff9e8 in ?? () #19 0xb7fc8b37 in g_get_current_time () from
>> /usr/lib/libglib-1.2.so.0 Previous frame inner to this frame
>> (corrupt stack?) (gdb)
>>
>> I hope it will help you to find the bug.
>
>
> It seems there is a memory corruption. The bug above is the result
> of some former bug. Can you run the IDE with a memprofiler like
> heaptrace or valgrind? Build lazarus with -gh: make OPT='-gh' Then
> run in gdb.
>
> Mattias

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

Reply via email to