Test suite results for test file webtbs/tw0753.pp

Test run data :

Free Pascal Compiler Test Suite Results

View Test suite results

Please specify search criteria:
File:
Operating system:
Processor:
Version
Date
Submitter
Machine
Comment
Limit
Cond
Category
Only failed tests
Hide skipped tests
List all tests

Test file "webtbs/tw0753.pp" information:

t_id 684
t_adddate 2003/10/03
t_result 217
t_knownrunerror 0

Detailed test run results:

Record count: 50

Total = 50

OK=50 Percentage= 100.00

Result type Cat. Count Percentage First date Last Date
Successfully run 50 100.0 2024/10/19 07:29:00 50 2024/10/19 13:36:00 24
i386 4 8.0 2024/10/19 09:39:00 55 2024/10/19 10:27:00 65
m68k 3 6.0 2024/10/19 07:29:00 50 2024/10/19 10:22:00 40
sparc 2 4.0 2024/10/19 10:30:00 43 2024/10/19 11:16:00 40
powerpc 6 12.0 2024/10/19 08:40:00 51 2024/10/19 12:56:00 67
arm 2 4.0 2024/10/19 09:36:00 32 2024/10/19 10:03:00 32
x86_64 11 22.0 2024/10/19 08:27:00 30 2024/10/19 13:36:00 24
powerpc64 10 20.0 2024/10/19 08:43:00 65 2024/10/19 11:23:00 69
mips 2 4.0 2024/10/19 09:54:00 35 2024/10/19 10:28:00 38
mipsel 2 4.0 2024/10/19 09:59:00 38 2024/10/19 10:35:00 142
aarch64 3 6.0 2024/10/19 08:15:00 27 2024/10/19 09:32:00 28
sparc64 2 4.0 2024/10/19 09:25:00 118 2024/10/19 11:33:00 117
riscv64 1 2.0 2024/10/19 11:10:00 26 2024/10/19 11:10:00 26
loongarch64 2 4.0 2024/10/19 09:45:00 25 2024/10/19 10:17:00 30
linux 33 66.0 2024/10/19 07:29:00 50 2024/10/19 11:38:00 25
go32v2 2 4.0 2024/10/19 09:39:00 55 2024/10/19 10:27:00 65
solaris 7 14.0 2024/10/19 13:22:00 24 2024/10/19 13:36:00 24
aix 8 16.0 2024/10/19 08:40:00 51 2024/10/19 12:56:00 67
3.3.1 30 60.0 2024/10/19 08:27:00 30 2024/10/19 12:56:00 67
3.2.3 20 40.0 2024/10/19 07:29:00 50 2024/10/19 13:36:00 24

Source:

{ %RESULT=217 }

{$MODE objfpc}
{$H+}
program stackcrash;
uses
  sysutils;

type
  TMyClass = class
  public
    procedure Proc1;
    procedure Proc2;
  end;

procedure TMyClass.Proc1;
var
  x, y: Integer;
begin
  try
    exit;
  except
    on e: Exception do begin e.Message := '[Proc1]' + e.Message; raise e end;
  end;
end;

procedure TMyClass.Proc2;
var
  x: array[0..7] of Byte;
  crash: Boolean;
begin
  crash := True;        // <--- ! This corrupts the stack?!?
  raise Exception.Create('I will crash now...');
end;

var
  obj: TMyClass;
begin
  obj := TMyClass.Create;
  obj.Proc1;
  WriteLn('Proc1 done, calling Proc2...');
  obj.Proc2;
  WriteLn('Proc2 done');
end.

Link to SVN view of webtbs/tw0753.pp source.