SynEdit crash while trying to open a specific project session
Original Reporter info from Mantis: Ask
-
Reporter name: Alexander S. Klenin
Original Reporter info from Mantis: Ask
- Reporter name: Alexander S. Klenin
Description:
from debug log:
TIDEAnchorDockMaster.MakeIDEWindowDockSite MainIDE:TMainIDEBar
TIDEAnchorDockMaster.LoadUserLayout anchordocklayout.xml
TIDEAnchorDockMaster.LoadUserLayout restoring ...
TApplication.HandleException List index (2) out of bounds
Stack trace:
$0047E64F
Warning: SynEdit.Paint called during PaintLock
TApplication.HandleException: there was another exception during showing the first exception
Stack trace:
$0079FB85 TSYNCUSTOMHIGHLIGHTER__SCANRANGES, line 1336 of synedithighlighter.pp
$00753274 TCUSTOMSYNEDIT__PAINT, line 3036 of synedit.pp
$0056B457 TCUSTOMCONTROL__PAINTWINDOW, line 132 of ./include/customcontrol.inc
$0055434F TWINCONTROL__PAINTHANDLER, line 4686 of ./include/wincontrol.inc
$005588BA TWINCONTROL__WMPAINT, line 6560 of ./include/wincontrol.inc
$0056B342 TCUSTOMCONTROL__WMPAINT, line 112 of ./include/customcontrol.inc
$0040BECA
$00555905 TWINCONTROL__WNDPROC, line 5241 of ./include/wincontrol.inc
$0075A58E TCUSTOMSYNEDIT__WNDPROC, line 6606 of synedit.pp
$00611079 DELIVERMESSAGE, line 110 of lclmessageglue.pas
$00589EF0 SENDPAINTMESSAGE, line 532 of win32callback.inc
$00587145 WINDOWPROC, line 1970 of win32callback.inc
$7D9472D8
$7D947568
$7D947D93
$7D947E46
$7D61EA2E
Steps to reproduce:
- Open attached project
=> Lazarus crashes with either
"List out of bounds" or "Range check error".
I was unable to reliably determine what causes which message.
Additional information:
If .lps file is removed, the problem almost goes away --
no "List out of bounds", but still very rare random range checks.
Mantis conversion info:
- Mantis ID: 18105
- Version: 0.9.29 (SVN)
- Fixed in version: 0.9.29 (SVN)
- Fixed in revision: 28648 (#e558b5e0)
- Target version: 0.9.30