I've tried changing const to constref and recompile fgl unit, no effect :( -- View this message in context: http://free-pascal-general.1045716.n5.nabble.com/Segmentation-fault-gone-if-compiled-with-glh-tp3334353p3335091.html Sent from the Free Pascal - General mailing list archive at Nabble.com.