project1 = nil crash
Original Reporter info from Mantis: Martin @martin_frb
-
Reporter name: Martin Friebe
Original Reporter info from Mantis: Martin @martin_frb
- Reporter name: Martin Friebe
Description:
procedure TMainIDE.OnApplicationIdle(Sender: TObject; var Done: Boolean);
calls UpdateHighlighters (and maybe others) that use Project1
but project1 may be nil
e.g. in TMainIDE.DoNoProjectWizard
Additional information:
trace from http://forum.lazarus.freepascal.org/index.php/topic,19307.msg109803.html#msg109803
Stack trace:
$08436CCC TPROJECT__UNITCOUNT, line 3941 of project.pp
$0843A95C TPROJECT__UPDATEALLSYNTAXHIGHLIGHTER, line 5085 of project.pp
$080F07FE TMAINIDEBASE__UPDATEHIGHLIGHTERS, line 1407 of mainbase.pas
$080E116F TMAINIDE__ONAPPLICATIONIDLE, line 12368 of main.pp
$080A5384 TAPPLICATION__NOTIFYIDLEHANDLER, line 688 of ./include/application.inc
$080A46ED TAPPLICATION__IDLE, line 401 of ./include/application.inc
$0809F186 TCUSTOMFORM__SHOWMODAL, line 2910 of ./include/customform.inc
$0863F65D SHOWPROJECTWIZARDDLG, line 97 of projectwizarddlg.pas
$080CD160 TMAINIDE__DONOPROJECTWIZARD, line 6510 of main.pp
$080BDE27 TMAINIDE__SETUPSTARTPROJECT, line 2239 of main.pp
$080BAD90 TMAINIDE__STARTIDE, line 1460 of main.pp
$0805E794 main, line 111 of lazarus.pp
Mantis conversion info:
- Mantis ID: 23529
- Version: 1.1 (SVN)
- Fixed in revision: 39626 (#14935d59)