External SIGSEGV lazarus / 66-Unix ---------------------------------------------------------------------- RastaManKing · 2018-12-13 09:04 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][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i constructor TMyThread.Create(CreateSuspended: boolean);begin  inherited Create(CreateSuspended); //<--Here is the error...  FreeOnTerminate := True;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][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i Type     { TMyThread }     TMyThread = class(TThread)    protected      procedure Execute; override;    public      constructor Create(CreateSuspended : boolean);    end; Thanks in advance EDIT: I should mention im trying this on linux x86_64 ---------------------------------------------------------------------- MoCityMM · 2020-02-20 10:47 Maybe the same issue with fix? https://www.daniweb.com/programming/software- development/threads/463385/thread-problem-error-constructors- destructors-and-class-operators ---------------------------------------------------------------------- rvk · 2020-02-20 11:48 Can you show the code where you create the instance of TMyThread?