IDE segfault
Original Reporter info from Mantis: FPCCore
-
Reporter name: FPC core team
Original Reporter info from Mantis: FPCCore
- Reporter name: FPC core team
Description:
This has happened with the current 1.9.5 release of the IDE (12-03-04)as well as the prior release (11-30-04) for the Linux-1386 platform.
In the IDE with a source file loaded, pressing ENTER causes a segfault. I went through the source and changed line 4762 and 4777 to:
Addaction(eaInsertLine,SCP,CurPos,IdentStr,GetFlags);
These 2 lines had been corrected to allow the flags to handle the indention, which is the source of the crash. After recompiling the IDE with the above changes, the segfault no longer occurs.
I'm too new to FPC to have any familiarity with the various routines or I would submit a more complete fix.
Additional information:
Reporter: jem Miller
EMail: mlsoft at sbcglobal dot net
Mantis conversion info:
- Mantis ID: 5421
- OS: Linux
- Version: 1.9.5