TThread crash on 10.14 Mojave? lazarus / 15-macOS - Mac OS X ---------------------------------------------------------------------- rossh_lz · 2019-07-16 15:31 Not sure if this is 10.14 Mojave error, or my specific computer gone wonky. Now on 10.14, any use of a TThread has a fatal instant crash, both in Cocoa and Carbon.  Project was all OK in older 10.13 OSX. I only have one iMac to work with here.   I tried the latest svn of FPC... no joy. Attached is a bare bones test app.  Could someone please compile and run this on 10.14 and report back.    press the button - success or crash. Many thanks ---------------------------------------------------------------------- skalogryz · 2019-07-16 17:11 Project -> View Project Source replace Code: Text  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i uses  {$IFDEF UNIX}{$IFDEF UseCThreads}  cthreads,  {$ENDIF}{$ENDIF}  Interfaces, with Code: Text  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i uses  {$IFDEF UNIX}  cthreads,  {$ENDIF}  Interfaces,  It should do the trick. Similar threads: https://forum.lazarus.freepascal.org/index.php?topic=6437.0 https://forum.lazarus.freepascal.org/index.php/topic=39028 ---------------------------------------------------------------------- rossh_lz · 2019-07-16 17:41 Thank you.   Yes, that did the trick.