Forum > Unix

External SIGSEGV

(1/1)

RastaManKing:
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  window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i < x.length; i++) { x[i].style.maxHeight='none'; x[i].style.height = Math.min(x[i].clientHeight+15,306)+'px'; x[i].style.resize = "vertical";}};} ---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  window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i < x.length; i++) { x[i].style.maxHeight='none'; x[i].style.height = Math.min(x[i].clientHeight+15,306)+'px'; x[i].style.resize = "vertical";}};} ---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

Navigation

[0] Message Index

Go to full version