SIGSEGV Exception in arccos function lazarus / 12-Debugger ---------------------------------------------------------------------- Leymarie · 2007-10-03 16:15 Hello, I’m working since 2 weeks to convert an Delphi simulation program into Lazarus to work on a Linux platform. After 2 weeks, the code is compiled on the Linux platform but I had some problem with the arccos function of the math unit. Arccos(0.5) return : External SIGSEGV Exception !!! and arccos(0.499) works The arccos function should works on the -1,1 segment !!! People could help me ? thanks ---------------------------------------------------------------------- antonio · 2007-10-03 17:58 Is unit Math platform specific? I can't reproduce that on WinXP. ---------------------------------------------------------------------- Leymarie · 2007-10-04 07:58 Hi, Thank you for your response. I have also no problem on W2k ... On my Linux plateform the arccos function give the right value from -0.4999 to 0.4999 but I have always a problem above 0.5. I tried directly arccos(0.5) or by using a variable temp:=0.5; arccos(temp); with temp define as single, double, real or extended. there is no difference ... always the same SIGSEGV exception thanks in advance for your help ---------------------------------------------------------------------- Leymarie · 2007-10-04 08:13 a new information is, on my linux platform arccos(1.1) return Invalid argument exception wich is normal for arccos function so, this function read the argument in a proper way ...