IDE crashes whenever trying to open any Javascript file
Original Reporter info from Mantis: leledumbo_cool@yahoo.co.id @leledumbo
-
Reporter name: Mario Ray Mahardhika
Original Reporter info from Mantis: leledumbo_cool@yahoo.co.id @leledumbo
- Reporter name: Mario Ray Mahardhika
Description:
Opening any Javascript file using any method (open from project inspector, from open dialog, etc.) will crash the IDE with ERangeError.
Steps to reproduce:
- Open the IDE
- Open any Javascript file (stacktrace below is from opening a Javascript file that's part of current project from project inspector)
- IDE will crash
Additional information:
The crash generates the following stack trace:
TApplication.HandleException: ERangeError
Range check error
Stack trace:
$000000000112F832 GETFOLDCONFIG, line 2003 of synedithighlighterfoldbase.pas
$000000000120D54C DOMARKUPPARENTFOLDATROW, line 649 of syneditmarkupfoldcoloring.pas
$000000000120F71C PREPAREMARKUPFORROW, line 1002 of syneditmarkupfoldcoloring.pas
$0000000001076769 PREPAREMARKUPFORROW, line 588 of syneditmarkup.pp
$00000000010EDCFC PAINTLINES, line 1712 of lazsyntextarea.pp
$00000000010ED66F PAINTTEXTLINES, line 1798 of lazsyntextarea.pp
$00000000010ED0AA DOPAINT, line 1417 of lazsyntextarea.pp
$00000000010D9AE2 PAINT, line 1301 of syneditmiscclasses.pp
$00000000010EAE7B DOPAINT, line 1068 of lazsyntextarea.pp
$00000000010D9AE2 PAINT, line 1301 of syneditmiscclasses.pp
$000000000133A752 DOPAINT, line 1352 of sourcesyneditor.pas
$00000000010D9AE2 PAINT, line 1301 of syneditmiscclasses.pp
$0000000000A3ABCA PAINT, line 4000 of synedit.pp
$0000000000700E9B PAINTWINDOW, line 118 of include/customcontrol.inc
$00000000006DD7A1 PAINTHANDLER, line 4840 of include/wincontrol.inc
$00000000006E40D5 WMPAINT, line 6828 of include/wincontrol.inc
$0000000000700D6C WMPAINT, line 98 of include/customcontrol.inc
QWidget::repaint: Recursive repaint detected
FreeFormEditor: FormEditor1=TFormEditor
Hint: (lazarus) [TMainIDE.Destroy] B -> inherited Destroy... TMainIDE
Hint: (lazarus) [TMainIDE.Destroy] END
Mantis conversion info:
- Mantis ID: 36387
- OS: linux
- OS Build: Rolling release
- Platform: x86_64
- Version: 2.1 (SVN)
- Fixed in version: 2.0.8
- Fixed in revision: 62317 (#c9a2548c)
- Monitored by: » @martin_frb (Martin Friebe)
- Target version: 2.0.8