How to fix error: "Project project1 raised exception class 'External: SIGSEGV'". lazarus / 31-LCL ---------------------------------------------------------------------- m4u_hoahoctro · 2012-12-28 16:04 Hi all I am Vietnamese I am learning wrtting an application by lazarus when i press f9, success built, but when i press a button i put on the form1, it show a dialog: "Project project1 raised exception class 'External: SIGSEGV'". How to repaire it ? My computer: Xp Sp3 32 bit using NIS 2013 ---------------------------------------------------------------------- Blaazen · 2012-12-28 16:24 Welcome to our forum. What is the code in OnClick event of the button ? What is your Lazarus version ? ---------------------------------------------------------------------- m4u_hoahoctro · 2012-12-29 02:08 Code of the button: Quotevar   s,sc,scc,scc1,scc2:string;   i,i1,i2,i3,i4,i5,i6,i7,dn,mn,dem,dem1,dem2,vt1,vt2,vt3,vt4,vt5,code: integer;   kq1,kq,cd,cd1,cd2,cd3,cd4:real;   vl:boolean; begin    s:='';    s:=s+Edit2.Text;  i:=0;    while i1 then kq:=exp(ln(cd2)*cd1);        scc:='';        scc1:='';        scc2:='';        str(kq,scc);        insert(scc,s,vt5);        i2:=0;        while i2