Recent

Author Topic: Project raised exception class 'External: SIGSEGV'  (Read 4307 times)

afierens

  • Newbie
  • Posts: 2
Project raised exception class 'External: SIGSEGV'
« on: October 06, 2008, 12:43:02 pm »
Dear all,

I'm in my first year of teaching at the University of Brussels. Since this year we decided to use Lazarus in stead of Delphi for our lessons. I gave my first lesson last fryday, where I asked my students to install Lazarus at home and try to remake the exercices as seen in class.

One of my students mailed me yesterday that he encounters a problem when running the project. I believe he's working under XP SP2. The compilation works, but when it comes to the debugging, he receives the error 'External: SIGSEGV'.

The excercice is quit simple: create a label, button. When the button is pressed on, the color of the label changes to red. We did the same thing in class, no problems.

Can someone help me resolve the problem?

Thx

-----------
unit UnitMainWindow;

{$mode objfpc}{$H+}

interface

uses
  Classes, SysUtils, LResources, Forms, Controls, Graphics, Dialogs, StdCtrls;

type

  { TFormVerkleur }

  TFormVerkleur = class(TForm)
    ButtonVerkleur: TButton;
    LabelVerkleur: TLabel;
    procedure ButtonVerkleurClick(Sender: TObject);
  private
    { private declarations }
  public
    { public declarations }
  end;

var
  FormVerkleur: TFormVerkleur;

implementation

{ TFormVerkleur }

procedure TFormVerkleur.ButtonVerkleurClick(Sender: TObject);
begin
   LabelVerkleur.Color := clRed;
end;

initialization
  {$I UnitMainWindow.lrs}

end.

afierens

  • Newbie
  • Posts: 2
Project raised exception class 'External: SIGSEGV'
« Reply #1 on: October 07, 2008, 01:05:12 pm »
Problem solved. Since the student was working on an riped version of XP SP2, it was enough to turn off the debugger.

 

TinyPortal © 2005-2018