[Lazarus] SynEdit crash

Martin lazarus at mfriebe.de
Sat Dec 17 16:23:54 CET 2011


copied wrong revision

was fixed in

Revision: 34177
Author: martin
Date: 14 December 2011 11:50:04
Message:
SynEdit: prevent crash if there are no images for bookmarks
----
Modified : /trunk/components/synedit/synguttermarks.pp



On 17/12/2011 15:21, Martin wrote:
>
> Allready fixed a couple of days back
>
> btw
> if you want bookmarks, you must load your own images
>
>
>
>
> Revision: 33965
> Author: martin
> Date: 05 December 2011 02:14:08
> Message:
> SynEdit: fixed potential crash in mouse click on gutter
> ----
> Modified : /trunk/components/synedit/syngutter.pp
>
>
>
> On 17/12/2011 15:16, Bart wrote:
>> Hi,
>>
>> Just experienced a synedit crash.
>>
>> A TSynEdit on a form.
>> All properties are default.
>>
>> Focus the synedit, press Ctrl+Alt+1 (not on the numeric keypad) and
>> the app will crash:
>>
>> TApplication.HandleException Resource "SynEditInternalImages" not found
>>    Stack trace:
>>    $0042AF8C
>>    $0042B07D
>>    $0045783C  TGRAPHIC__LOADFROMRESOURCENAME,  line 177 of
>> H:/PROGRAMMAS/SVNLAZ/lcl/include/graphic.inc
>>    $00562643  TSYNINTERNALIMAGE__CREATE,  line 920 of 
>> syneditmiscclasses.pp
>>    $005602D8  DOPAINTMARK,  line 88 of synguttermarks.pp
>>    $0056018E  TSYNGUTTERMARKS__PAINTMARKS,  line 151 of 
>> synguttermarks.pp
>>    $005603F0  TSYNGUTTERMARKS__PAINTLINE,  line 171 of synguttermarks.pp
>>    $0056053B  TSYNGUTTERMARKS__PAINT,  line 194 of synguttermarks.pp
>>    $0055CBB6  TSYNGUTTER__PAINT,  line 214 of syngutter.pp
>>    $0052910A  TCUSTOMSYNEDIT__PAINT,  line 3115 of synedit.pp
>>    $004EE0D9  TCUSTOMCONTROL__PAINTWINDOW,  line 132 of
>> H:/PROGRAMMAS/SVNLAZ/lcl/include/customcontrol.inc
>>    $004DD692  TWINCONTROL__PAINTHANDLER,  line 4695 of
>> H:/PROGRAMMAS/SVNLAZ/lcl/include/wincontrol.inc
>>    $004E0950  TWINCONTROL__WMPAINT,  line 6577 of
>> H:/PROGRAMMAS/SVNLAZ/lcl/include/wincontrol.inc
>>    $004EE03C  TCUSTOMCONTROL__WMPAINT,  line 112 of
>> H:/PROGRAMMAS/SVNLAZ/lcl/include/customcontrol.inc
>>    $0040AEFA
>>    $004DE6E2  TWINCONTROL__WNDPROC,  line 5250 of
>> H:/PROGRAMMAS/SVNLAZ/lcl/include/wincontrol.inc
>>    $0052FC76  TCUSTOMSYNEDIT__WNDPROC,  line 6716 of synedit.pp
>> WARNING: TLCLComponent.Destroy with LCLRefCount>0. Hint: Maybe the
>> component is processing an event?
>>
>> This happens for all Key combos Ctrl+Alt+1..0
>>
>> Lazarus 0.9.31 r33459 FPC 2.4.4 i386-win32-win32/win64 on WinMe.
>>
>> Bart
>>
>> -- 
>> _______________________________________________
>> Lazarus mailing list
>> Lazarus at lists.lazarus.freepascal.org
>> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
>
>
> -- 
> _______________________________________________
> Lazarus mailing list
> Lazarus at lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus





More information about the Lazarus mailing list