IntegerList bad index value
Original Reporter info from Mantis: abtaylr
-
Reporter name: Arlen B Taylor
Original Reporter info from Mantis: abtaylr
- Reporter name: Arlen B Taylor
Description:
Exceptions: Exception with message "Bad Index cnt=139 cap=139 idx=840"
Context: TGDBMIDebuggerCommandExecute.State: dsPause
$0000000001219AD3 line 2506 of sourcesyneditor.pas
$0000000001219559 line 2459 of sourcesyneditor.pas
$0000000000C40466 line 6177 of sourceeditor.pp
$0000000000BA2521 line 1577 of debugmanager.pas
$0000000000BDDB9F line 5905 of dbgintfdebuggerbase.pp
$000000000133796A line 11581 of ddbmidebugger.pp
The error comes up when the file application.inc line 107 is reached:
FLastKeyDownKeys := TWordList.Create;<br/>
<br/>
Incrementally stepping forward takes you to the unit IntegerList which is part of
LazUtils. The file has 138 lines, but the execution takes you to line 139 with
the resulting error.
Steps to reproduce:
I had upgraded from Lazarus 1.6 to 2.02 when the error was first encountered. To insure that I wasn't causing the error, I deleted all prior files, including .fpc.cfg, .fppkg, .lazarus, fpc and lazarus files from .config, examined /usr/lib, /usr/local/lib, /usr/lib32, /usr/lib64, /lib, /lib32, /lib64 for errant old files. My newly upgraded /fpc and /lazarus folders. I then did completely new downloads of fpc and lazarus and rebuilt again.
To make sure I wasn't contaminating the build with old project files, I did 'clean and build' before checking again to see if the issue reproduced. It did.
Mantis conversion info:
- Mantis ID: 35770
- OS: Kubuntu
- OS Build: 19.04
- Build: 61470
- Platform: x86_64-linux-gnu
- Version: 2.0.2