I get exceptions when run examples boxtype.lua,
pack.lua and symbols.lua. (in Windows 2000)
run> flua.exe boxtype.lua
0 [main] flua 980 hadle_exceptions: Exception
STATUS_ACCESS_VIOLATION
In flua.exe.stack file:
Exception: STATUS_ACCESS_VIOLATION at eip=0044C87A
eax=00000000 ebx=0022F80C ecx=0A041638 edx=0A02E7D8
esi=0022F80C edi=0A01C1B8
ebp=0022F794 esp=0022F77C
program=D:\lua\lua-fltk-1.0-win32\flua.exe
cs=001B ds=0023 es=0023 fs=003B gs=0000 ss=0023
Stack trace:
Frame     Function  Args
0022F794  0044C87A  (0022F80C, 00000000, 0022F7D4,
0044C855)
0022F7C4  0044C969  (0022F80C, 0A041638, 0022F814,
0044CA4E)
0022F814  0044CA5E  (0A011130, 0A011130, 0022F864,
00448360)
0022F844  0044CF1B  (0A011130, 0A0562F0, 0A056160,
0044D068)
0022F864  0044CF76  (0A011130, 0A016730, 0A011550,
0044C1E2)
0022F8C4  0044855B  (0A011130, 0A011540, 00000001,
0044D068)
0022F934  0044B639  (0A011130, 0A02CF20, 0A011510,
00000005)
0022F994  00448489  (0A011130, 0A011500, 00000001,
0044D068)
0022FA04  0044B639  (0A011130, 0A04CB98, 0A0114A0,
0044C1F1)
0022FA64  00448489  (0A011130, 0A011490, FFFFFFFF,
0044D068)
0022FAD4  0044B670  (0A011130, 0A0175B8, 0A011470,
0044AD4F)
0022FB34  00448489  (0A011130, 0A011460, 00000000,
6100D54B)
0022FBA4  0044B639  (0A011130, 0A04CA60, 0A011460,
0044864A)
0022FC04  00448489  (0A011130, 0A011450, FFFFFFFF,
004487AF)
0022FC24  00448584  (0A011130, 0022FD6C, 00000000,
61053D73)
0022FD34  00448A65  (0A011130, 00448568, 0022FD6C,
27786F62)
End of stack trace (more stack frames may be present)
Same exception raised, when i run pack.lua and symbols.lua
Logged In: NO
This behaviour seems to be generally caused by a large
number (25-40) boxes opened simultaneously. This script
reproduces it (in Windows 98):
w = Window{600, 400; box=Boxtype.flat, color=12}
max=40
for i=1, max do
Box{i*5,i*5,20,20; box=Boxtype.flat}
end
w:end_layout()
w:show()