Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2011-12

SynEdit crash

4 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Bart

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

Reply by email

Martin
to Bart

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

Bart wrote 49 lines
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 http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply by email

Martin
to Martin

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

Martin wrote 78 lines
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 > > http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply by email

Bart
to Martin
Martin wrote 7 lines
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

Thanks.
That's why I asked here before investigating further.

Bart

Reply by email