Author Topic: External SIGSEGV  (Read 4477 times)


  • New Member
  • *
  • Posts: 15
External SIGSEGV
« on: December 13, 2018, 10:04:08 am »
Hello again xD
another problem with my multi-threading,
im taking baby steps but slowly advancing.
now im getting a different external exception:
External: SIGSEGV
This external exceptions are killing me! xD

well following the debbuger this error pops up on here:
Code: Pascal  [Select]
  1. constructor TMyThread.Create(CreateSuspended: boolean);
  2. begin
  3.   inherited Create(CreateSuspended); //<--Here is the error...
  4.   FreeOnTerminate := True;
  5. end;

any ideas on what might be the trouble? i have -dUseCThreads on compiler custom options and {IFDEF Unix}cthreads{ENDIF} on my main unit...
the type definition is like this(Basically taken straight from the wiki multithreading example):
Code: Pascal  [Select]
  1. Type
  3.     { TMyThread }
  5.     TMyThread = class(TThread)
  6.     protected
  7.       procedure Execute; override;
  8.     public
  9.       constructor Create(CreateSuspended : boolean);
  10.     end;

Thanks in advance :)

EDIT: I should mention im trying this on linux x86_64