runtime error " External SIGSEGV " lazarus / 16-Databases ---------------------------------------------------------------------- rober.rcm · 2012-01-25 01:17 Hello I'm doing a system and when I run the system the following error when recording in detail table: "Raised exception class' External: SIGSEGV" " How to solve, is a place where I have a list of these runtime errors and the solution Robert sds ---------------------------------------------------------------------- Blaazen · 2012-01-25 01:32 SIGSEGV is usually raised when you forget to allocate memory or when you forget to create object and you try to read/write this memory. Is any line highlighted in your Source Editor ? If so, try to put there some breakpoints to check it. Does your debugger work well ? What platform do you use ? ---------------------------------------------------------------------- BlueIcaro · 2012-01-25 06:51 May be if you explain more info, or put your code it will easier help you /BlueIcaro ---------------------------------------------------------------------- rober.rcm · 2012-01-25 21:29 Good afternoon Thanks for the intention to help. My platform is windows. recording procedure procedure Tfrmanimais.actgravarExecute(Sender: TObject); var   chave : integer;   cliente : integer; begin   if DataModule1.SQLQueryAnimais.State in [dsEdit, dsInsert] then   begin       if ValidarCampos = true then       begin           try                chave:=DataModule1.SQLQueryAnimais.FieldByName('ID_Anim al').asInteger;                cliente := StrToInt(edit1.text);                DataModule1.SQLQueryAnimais.Post;                DataModule1.SQLQueryAnimais.ApplyUpdates;                DataModule1.SQLTransactionGeral.Commit;                AbrirConsultas;                DataModule1.SQLQueryCliente.Locate('ID_Cliente', cliente, []);                DataModule1.SQLQueryAnimais.Locate('ID_Animal', chave, []);           except                on E : Exception do                begin                    ShowMessage('Não foi possível salvar as informações, ocorreram estes erros ' + #13 + E.Message);                    DataModule1.SQLTransactionGeral.Rollback;                end;           end;       end;       HabilitarDesabilitarControles;   end; end;    sds rober ---------------------------------------------------------------------- Martin_fr · 2012-01-25 21:41 Make sure your IDE is configured for debugging, and the project compiled with debug info. see http://wiki.lazarus.freepascal.org/Debugger_Setup If it is correct setup, then when your app runs, there will be blue dots on the left of the editors. If the error happen a green arrow should show the location (you can also check the stack, menu "view" > "debug windows" > "stack" You can report the result, that may help