[Lazarus] debugger create SIGDEV and app terminate

FreeMan freeman35 at delphiturkiye.com
Thu Oct 8 08:32:43 CEST 2015


Hello,
fpc r32922 lazarus r49987 el capitan qt x64

code is:
........
finally
     Screen.Cursor := crDefault;
     Background := False;
     try
       if Assigned(FRM_) then begin
         if FRM_.MEM_.State in[dsEdit, dsInsert]then FRM_.MEM_.Cancel;
         FRM_.MEM_.Close;
         FreeAndNil(FRM_);
       end;
     except
     end;
   end;

I get this error and application terminate

Project project1 raised exception class 'External: SIGSEGV'.

In file 'src/Randevu/Appointment.pas' at line 1182:

if FRM_.MEM_.State in[dsEdit, dsInsert]then FRM_.MEM_.Cancel;


This error create if debugger is active. But I can NOT remove debug info 
while compile. Allways debug info adding to compiled application. 
CrossCompile as well.
In  "Project Options --> Debugging --> Generate debugging info for GDB 
(slower / increase exe-size) this checkbox True or False. *NOT* affect

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20151008/02f7eeb2/attachment-0002.html>


More information about the Lazarus mailing list