Test suite results for test file webtbs/tw0754.pp

Test run data :

Run ID:
Operating system: go32v2
Processor: i386
Version: 3.2.3
Fails/OK/Total: 56/8074/8130
Version: 3.2.3
Full version: 3.2.3-1373-gae0fe8a6a0
Comment: -O2 -Fl/home/muller/sys-root/djgpp/lib -Fl/home/muller/sys-root/djgpp/lib/gcc/djgpp/6.10 -Fd
Machine: cfarm26
Category: 1
SVN revisions: fdf93c5b29:c17a0e20f5:ae0fe8a6a0:d1c29e6cb9
Submitter: pierre
Date: 2024/04/28 02:24:00 <> 2024/04/09
Previous run: 940043
Next run: 941534

Hide skipped tests

Hide successful tests

Test file "webtbs/tw0754.pp" information:

t_id 685
t_adddate 2003/10/03
t_result 0
t_knownrunerror 0

Detailed test run results:

tr_idruntr_oktr_skiptr_result
479879912940804FalseFalseFailed to run

Record count: 1

Log of 940804:

use_temp_dir set to false
verbose set to true
need_cwsdpmi set to true
Using DOSBOX executable: /home/muller/bin/dosbox
Using ./tw0754.exe
Using DosBoxDir=./
Using target dosbox.conf ./dosbox.conf
"copy_con_to_file=$wrapper_output" transformed into "copy_con_to_file=./dosbox.out"
"mount c $DosBoxDir" transformed into "mount c ./"
"$exit" transformed into "exit"
CopyFile "/home/muller/pas/gitlab-fpc-source-fixes/tests/utils/dosbox/exitcode.exe" -> "./EXITCODE.EXE"
CopyFile "./tw0754.exe" -> "./TEST.EXE"
CopyLOG: Early LOG Init complete
LOG: DOSBox-X's working directory: /home/muller/pas/gitlab-fpc-source-fixes/tests/output/go32v2/webtbs/chunk000020000webtbs
LOG: Logging init: beginning logging proper. This is the end of the early init logging
LOG: Logging: No logfile was given. All further logging will be discarded.
LOG: DOSBox-X version 2023.10.06 Commit 59744fe (Linux SDL2 32-bit)
LOG: SDL: version 2.28.2, Video dummy, Audio dummy
LOG: Host keyboard layout is now  ()
LOG: Mapper keyboard layout is now  ()
LOG: SDL2 reports desktop display mode 1024 x 768
LOG: Configured windowposition: -
LOG: SDL: Current window pixel format: SDL_PIXELFORMAT_RGB888
LOG: SDL: You are running in 24 bpp mode, this will slow down things!
LOG: Screen report: Method 'None' (-1.000 x -1.000 pixels) at (0.000 x 0.000) (-1.000 x -1.000 mm) (-0.039 x -0.039 in) (-1.000 x -1.000 DPI)
LOG: ISA BCLK: 8333333.333Hz (25000000/3)
LOG: monopal: green, 
LOG: Active save slot: 1 [Empty]
LOG: USING AVI+ZMBV
LOG: Max 1048576 sz 16384
LOG: Final 16384
ALSA lib seq_hw.c:466:(snd_seq_hw_open) open /dev/snd/seq failed: Permission denied
LOG: MT32: failed to locate ROMs.
LOG: MT32 emulation requires the PCM and CONTROL ROM files.
LOG: To eliminate this error message, check the DOSBox-X wiki.
LOG: The ROM files are: CM32L_CONTROL.ROM and CM32L_PCM.ROM or MT32_CONTROL.ROM and MT32_PCM.ROM
LOG: MIDI:Opened device:none
LOG: Pentium CMPXCHG8B emulation is enabled
LOG: VOODOO LFB now at d0000000
LOG: Serial1: BASE 3f8h
LOG: Serial2: BASE 2f8h
LOG: disney=true. For compatibility with other DOSBox forks and SVN, LPT1 has been reserved for Disney Sound Source. Initializing it now.
LOG: DOSBox-X also supports disney=false and parallel1=disney
LOG: MPU-401 Registering I/O ports as if IBM PC MPU-401 at base 330h
LOG: Memory I/O complexity optimization enabled aka option 'memory io optimization 1'. If the game or demo is unable to draw to the screen properly, set the option to false.
LOG: The 'scanline render on demand' option is available and may provide a modest boost in video render performance if set to true.
LOG: Screen report: Method 'None' (-1.000 x -1.000 pixels) at (0.000 x 0.000) (-1.000 x -1.000 mm) (-0.039 x -0.039 in) (-1.000 x -1.000 DPI)
LOG: Allocated APM BIOS pm entry point at f000:ce40
LOG: Writing code to fce40
LOG: Writing code to fce60
LOG: Screen report: Method 'None' (-1.000 x -1.000 pixels) at (0.000 x 0.000) (-1.000 x -1.000 mm) (-0.039 x -0.039 in) (-1.000 x -1.000 DPI)
LOG: ISA Plug & Play BIOS enabled
LOG: VGA ROM BIOS init callback
LOG: pixratio 1.001, dw false, dh false
LOG: Aspect ratio: 640 x 480  xToY=1.333 yToX=0.750
LOG: menuScale=1
LOG: surface consider=640x497 final=640x497
LOG: Screen report: Method 'None' (-1.000 x -1.000 pixels) at (0.000 x 0.000) (-1.000 x -1.000 mm) (-0.039 x -0.039 in) (-1.000 x -1.000 DPI)
LOG: WARNING: No translation support (to host) for code page 0
LOG:    1437277 ERROR BIOS:Keyboard layout file auto not found
LOG:    1437277 ERROR BIOS:Keyboard layout file auto not found
LOG: XMS: 50 handles allocated for use by the DOS environment
LOG: EMS page frame at 0xe000-0xefff
LOG: COMMAND.COM env size:             720 bytes
LOG: COMMAND.COM environment block:    0x0701 sz=0x002d
LOG: COMMAND.COM main body (PSP):      0x072f sz=0x009a
LOG: COMMAND.COM stack:                0x0749
LOG: pixratio 1.350, dw false, dh false
LOG: Aspect ratio: 720 x 540  xToY=1.333 yToX=0.750
LOG: menuScale=1
LOG: surface consider=720x417 final=720x417
LOG: Screen report: Method 'None' (-1.000 x -1.000 pixels) at (0.000 x 0.000) (-1.000 x -1.000 mm) (-0.039 x -0.039 in) (-1.000 x -1.000 DPI)
File "/home/muller/bin/cwsdpmi.exe" -> "./CWSDPMI.EXE"
Trying to open ./dosbox.out
Successfully opened ./dosbox.out, copying content to output
22: HAVE FUN WITH DOSBox-X !                                                       Drive C is mounted as local directory ./1 files open
23: 2 files open
24: 3 files open
25: 4 files open
26: 5 files open
27: 6 files open
28: 7 files open
29: 8 files open
30: 9 files open
31: 10 files open
32: 11 files open
33: 12 files open
34: 13 files open
35: 14 files open
36: 15 files open
37: 16 files open
38: 17 files open
39: 18 files open
40: 19 files open
41: 20 files open
42: 21 files open
43: 22 files open
44: 23 files open
45: 24 files open
46: 25 files open
47: 26 files open
48: 27 files open
49: 28 files open
50: 29 files open
51: 30 files open
52: 31 files open
53: 32 files open
54: 33 files open
55: 34 files open
56: 35 files open
57: 36 files open
58: 37 files open
59: 38 files open
60: 39 files open
61: 40 files open
62: 41 files open
63: 42 files open
64: 43 files open
65: 44 files open
66: 45 files open
67: 46 files open
68: 47 files open
69: 48 files open
70: 49 files open
71: 50 files open
72: 51 files open
73: 52 files open
74: 53 files open
75: 54 files open
76: 55 files open
77: 56 files open
78: 57 files open
79: 58 files open
80: 59 files open
81: 60 files open
82: 61 files open
83: 62 files open
84: 63 files open
85: 64 files open
86: 65 files open
87: 66 files open
88: 67 files open
89: 68 files open
90: 69 files open
91: 70 files open
92: 71 files open
93: 72 files open
94: 73 files open
95: 74 files open
96: 75 files open
97: 76 files open
98: 77 files open
99: 78 files open
100: 79 files open
101: 80 files open
102: 81 files open
103: 82 files open
104: 83 files open
105: 84 files open
106: 85 files open
107: 86 files open
108: 87 files open
109: 88 files open
110: 89 files open
111: 90 files open
112: 91 files open
113: 92 files open
114: 93 files open
115: 94 files open
116: 95 files open
117: 96 files open
118: 97 files open
119: 98 files open
120: 99 files open
121: 100 files open
122: 101 files open
123: 102 files open
124: 103 files open
125: 104 files open
126: 105 files open
127: 106 files open
128: 107 files open
129: 108 files open
130: 109 files open
131: 110 files open
132: 111 files open
133: 112 files open
134: 113 files open
135: 114 files open
136: 115 files open
137: 116 files open
138: 117 files open
139: 118 files open
140: 119 files open
141: 120 files open
142: 121 files open
143: 122 files open
144: 123 files open
145: 124 files open
146: 125 files open
147: 126 files open
148: 127 files open
149: 128 files open
150: 129 files open
151: 130 files open
152: 131 files open
153: 132 files open
154: 133 files open
155: 134 files open
156: 135 files open
157: 136 files open
158: 137 files open
159: 138 files open
160: 139 files open
161: 140 files open
162: 141 files open
163: 142 files open
164: 143 files open
165: 144 files open
166: 145 files open
167: 146 files open
168: 147 files open
169: 148 files open
170: 149 files open
171: 150 files open
172: Runtime error 6 at $00001BC7
173:   $00001BC7
174:   $00001795
175: 
ExitCode=6
Test finished with ExitCode=6

Source:

program test_open_files;

const
   MaxOpenTest = 150;

var
   f : array [1..MaxOpenTest] of text;
   i,count : longint;
   error : word;
   s : string;
   storeexit : pointer;
   Max : longint;

procedure Errorexit;
begin
  exitproc:=storeexit;
  if errorcode=4 then
    begin
       if count<=15 then
         begin
           Writeln('The program could not open more than 15 files !');
           Writeln('Retry after addition of the following line to config.sys file');
           Writeln('FILES=60');
           Writeln('If it still does not work after this change');
           Writeln('you probably use a too old RTL version');
           Writeln('that does not support more than 15 files');
           Writeln('open at the same time');
         end
       else
         begin
           Writeln('The program was able to open ',count,' files simultaneously');
           Writeln('If you need to be able to have more opened files');
           Writeln('Try to increase the FILES=XX value in config.sys file');
           { This is not a RTL error anymore
             as we increased the size over the ordinary 15 limit }
           erroraddr:=nil;
           errorcode:=0;
           exitcode:=0;
         end;
       { close all left open files }
       for i:=count downto 1 do
         begin
           close(f[i]);
           erase(f[i]);
         end;
    end;
end;

begin
  StoreExit:=exitproc;
  ExitProc:=@ErrorExit;
  Max:=MaxOpenTest;
  if paramcount>0 then
    begin
      val(paramstr(1),count,error);
      if error = 0 then
        Max:=count;
      count:=0;
    end;

  for i:=1 to Max do
    begin
      str(i,s);
      s:='file'+s+'.tmp';
      assign(f[i],s);
      rewrite(f[i]);
      count:=i;
      Writeln(f[i],'This is file ',i);
      Writeln(i,' files open');
      { no closing so they are finally all open }
    end;

  for i:=Max downto 1 do
    begin
      close(f[i]);
      erase(f[i]);
    end;
end.

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