Following program<div id="yMail_cursorElementTracker_1591603730710"><br></div><div id="yMail_cursorElementTracker_1591603730924">program test;</div><div id="yMail_cursorElementTracker_1591603741299">{$IFDEF UNIX}</div><div id="yMail_cursorElementTracker_1591603776944">uses cthreads;</div><div id="yMail_cursorElementTracker_1591603789156">{$ENDIF}</div><div id="yMail_cursorElementTracker_1591603810572">begin</div><div id="yMail_cursorElementTracker_1591603815861">     writeln('test');</div><div id="yMail_cursorElementTracker_1591603836045">end.</div><div id="yMail_cursorElementTracker_1591603843463"><br></div><div id="yMail_cursorElementTracker_1591603844096">Compile with FPC 3.0.4 on FreeBSD 12. When run test program, it causes segmentation fault. </div><div id="yMail_cursorElementTracker_1591604052081"><br></div><div id="yMail_cursorElementTracker_1591604052609">What is wrong? Without cthreads unit, it run fine.<br><br><div id="ymail_android_signature">Zamrony P. Juhara<br>https://v3.juhara.com<br>https://github.com/zamronypj<br><br>Fano Framework<br>https://fanoframework.github.io<br><br>mod_pascal<br>https://zamronypj.github.io/mod_pascal</div></div>