Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2015-10

debugger create SIGDEV and app terminate

1 message · 1 person ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

FreeMan

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.freepascal.org/pipermail/lazarus/attachments/20151008/02f7eeb2/attachment-0001.html>

Reply by email