SIGSEGV errors are memory related errors. It usually happens if you:
- use pointer incorrectly, usually uninitialized pointer
- accessing/writing prohibited memory location
- using uninitialized object
When asking question related with coding error, it is usually better if you can show us the source code. So we can tell you where you did it wrong.
For example, you should get SIGSEGV error if you run this code below:
procedure TForm1.Button1Click(Sender: TObject);
var
Data: ^Char;
begin
Data[12345] := 'a';
end;
Reason:
The variable Data points to memory location "12345". But you haven't requested the space. So if you're trying to write the data 'a' on the location, your OS (Windows, Linux, etc) knows you did something wrong (because you haven't made the memory space request) and it sends you an
external SIGSEGV error.