Hi everyone, I am using version 2.1.1 on Linux and calling this procedure in a thread:
procedure TestNullRef; var p: ^integer; begin p := nil; try p^ := 13; // now this should raise exc! ShowMessage(IntToStr(p^)); except ShowMessage('TestNullRef: ' + Exception(ExceptObject).Message); // should reach! end; end; The problem is that caller thread just hangs up and the exception handler doesn't get called. When I call this procedure in my main thread everything is just fine. Is there anything that renders exc. handling useless under threads? Any explanations? Regards, Utku. _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal