----
To unsubscribe, send a message with body "SIGNOFF BLACKBOX" to LISTSERV{([at]})LISTS.OBERON.CH
Selex ES Ltd
Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS14 3EL
A company registered in England & Wales. Company no. 02426132
********************************************************************
This email and any attachments are confidential to the intended
recipient and may also be privileged. If you are not the intended
recipient please delete it from your system and notify the sender.
You should not copy it or use it for any purpose nor disclose or
distribute its contents to any other person.
********************************************************************
nu.&I8=߽
z{mʗbqb
z{m}ޝxjǺ
z{Ch+bv!~)^{\rtf1\ansi\ansicpg1252\fromtext \fbidis \deff0{\fonttbl
{\f0\fswiss Arial;}
{\f1\fmodern Courier New;}
{\f2\fnil\fcharset2 Symbol;}
{\f3\fmodern\fcharset0 Courier New;}}
{\colortbl\red0\green0\blue0;\red0\green0\blue255;}
\uc1\pard\plain\deftab360 \f0\fs20 Luowy\par
\par
Thanks for this.\par
\par
This week the old version of the Kernel is now TRAPing very rarely, and when it does the trap occurs when OldBlock is called from line 4\par
of NewBlock.\par
\par
\par
With your new version of NewBlock (coded below) I have never has this trap. So it looks as if the patch has solved this problem.\par
\par
But really my evidence is pretty weak. Presumably, when you made the changes you saw a possibility of the error I described? I would say your thinking\par
is more convincing than my experiments that the patch is correct. (Testing is never a substitute for careful design.)\par
\par
\par
Anyway, thanks. I will keep using this patch, and report if I ever see this problem again.\par
\par
Regards\par
\par
Robert\par
\par
\par
\par
\par
Hi Robert,\par
\par
I make a patch for the Kernel.NewBlock ,you'd better test it again.\par
\par
Regards, \par
luowy\par
\par
\par
StdCoder.Decode ..,, ..00,...3QwdONl9RhOO9vRbf9b8R7fJHPNGomCrlAyIhgs,CbKBhZ\par
xi2,CoruKu4qouqm8rtuGfa4.hOO9vRb1Y66wb8RTfQ9vQRtIdvPZHWKqtCa.E.U5UD200.5Qw\par
dONlnayKmKKqCLLCJuGqayKm6F9vQ5nsH3.bnayKmKa2,Cor.kay4.qorGqmQCU2,CJuyKtQC9\par
8P9PP7ONbXmb.2.2wBk5Eg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UQiUI54KEiGEG52Y3pd2h,A,98HaIX0\par
mtYbUAgUQ3.d0P.HUn,.M1HM0aU3p7U7MG23od7ZddoYcYijZCYbUM8,7JFW7c8G19fPNPMZvN\par
996FPN19Q,d80GEWGJ81..U7kX8rrSLYKqkg7Qig2YmxBamRq.a.HWmxBu02Yyg5b96d8G9m4k\par
2ElUABgnZi0ZBsIRdJ..Z1H76L761P8rN1M0MGIA576..H.8KLC5I5WGty4R,g3196IgiQidVf\par
6BH767022kK.a.KIagcBU7.396sIU4,EK.A7.UdUV,A,cMR,I5W0o3kKM8,7F.J,q0k2kWuYBU\par
7kWmY7FtK4ICC0.a.KnI0GryKECLs44q1BPRNnwIiZ,,d8U7Um,ZPNEtQ5.2YuEbaYv.H.jmYm\par
2.0GW22.WGe8peKoIiHE.Zf9.Q5M0sE.k2MFR0A,9Wv.HMF.akYUx226JM1M08KEkb.2Zo,H,A\par
,H0.UUI8UCV3l2WGJoad2YbBB.q.akWM1.r,90680Gl0mF.JN8MMElumtEEiWo2Yh2YoRidlRq\par
k2A74KEuHE0HEGJYkYuqtKKtGLICJLU4,EK.A7.8qI0mJ0GuUdYZUAgd2Y3p7r,sQHXUobU.MF\par
ZPMbPNFtIRNE7eIFdMRtQM82ZnBB0mJQad2Y2B7GnIgcC,od13ZVZhg,YZUYinVdQ5I8UHp3cE\par
NvPElam4akWuYUo7j1QbBIklbeZlVyKrGLtyKqmqm8rtumdGb1ZimZh2hgnRg.AyI,.ELCoruK\par
u.GomCrl0U1VV,b1IC...Qii..70,cwE.E86.,.H.,6..M.3Qwd0ZORNPNZvQRtIIepZBG20ks\par
H3.bf9ZORNPNG20EtD.2.i8SE.sc6.,k,,UnpZHldGrwmqmGomCb.AS.c9Ajg,0EtXU.6..W.e\par
32.86.c918R.Y62.7.,..Y22U,2.,E.EECOh6.0Eyuv.2bXl.k.E.0.3gwJ.0..I16.M.EJcj2\par
.0E65.2..bD1...\par
--- end of encoding ---\par
\par
\par
\par
\par
----- ?? ----- \par
???: Robert Campbell \par
? ?: [BLACKBOX] Illegal Memory Access with Windows 7 - Update 4\par
? ?: 2013?8?21? 3:37:05\par
\par
The story continues ...\par
\par
A couple of my colleagues have Windows 7 machines at home, and they have tested \par
my BlackBox installation on them.\par
\par
Both machines were able to allocate 1600 MByte, which means that my 800 MByte \par
limit is some strange interaction with BlackBox\par
and Windows 7 (both 32-bit & 64-bit) (* as configured by our IT supplier *). I \par
wonder if I will ever be able to find the cause.\par
\par
(Remember, a C# .NET test on both these machines could return 1700 MBtye.)\par
\par
\par
I attach a simpler test program designed to check the available memory, rather \par
than to stress the garbage collector (in both .pdf & StdCoder formats).\par
\par
\par
When I run it on XP machines it allocates about 150 10 MByte Blobs.\par
\par
But when I run it many times it sometimes crashes (usually after about 10 runs, \par
sometimes after rather more.)\par
\par
The error is that 'b' is NIL in the "WHILE b.size ...." line of this procedure \par
called from Kernel.NewBlock.\par
\par
PROCEDURE OldBlock (size: INTEGER): FreeBlock; (* size MOD 16 = 0 *)\par
VAR b, l: FreeBlock; s, i: INTEGER;\par
BEGIN\par
IF debug & (watcher # NIL) THEN watcher(3) END;\par
s := size - 4;\par
i := MIN(N - 1, s DIV 16);\par
WHILE (i # N - 1) & (free[i] = sentinel) DO INC(i) END;\par
b := free[i]; l := NIL;\par
WHILE b.size < s DO l := b; b := b.next END;\par
IF b # sentinel THEN\par
IF l = NIL THEN free[i] := b.next ELSE l.next := b.next END\par
ELSE b := NIL\par
END;\par
RETURN b\par
END OldBlock;\par
\par
\par
It seems that even with the latest patches discussed there is still a logical \par
error in the BlackBox allocation code.\par
\par
I noticed that Helmut Zinn also reported a crash with his tests.\par
\par
\par
Regards\par
\par
Robert\par
\par
\par
\par
\par
StdCoder.Decode ..,, ..6X....3Qw7uP5PRPPNR9Rbf9b8R79FTvMf1GomCrlAy2xhX,Cb2x\par
hXhC6FU1xhiZiVBhihgmRiioedhgrZcZRiXFfaqmSrtuGfa4700zdGrr8rmCLLCJuyKtYcZRiX\par
7.2.s,MHF.,k,5TWyql.bnayKmKKqGomC5XzET1.PuP.MHT9N9ntumaU2,CJuyKtQC98P9PP7O\par
NbXmb.2.Qn5k2k7T.,6.,U08J99SdfJHPNjvQCJuGKfaqmY6MwdONl1QCh0708T,U..w.gb5U.\par
2U18J99SqorGqmQCbWBxhYFWUl1UnNHEWUmr.6.Qc3k5kRK.,6.,.fR.cU.ktAcoZimBhWhioh\par
gnZcZRCY.2.A42U.EGE.U,.5uPffQHPNZ96RONjHyuv.U.2m,.0.1cUZT1E.cBE.676.k.0.C2\par
..4.0t.E.4,go.E,8Mtr.0E.6E2.676.k.U1,.U.E.mP,U02.ANIU2U.ob,k,8Mtr.0E.sB6.,\par
US.,.1.4Itaqkmawpr,E.2UE08E.s.kEHK,Ah,I.3Qw7ONhvETPPPPMR9N9fQbf9b8RO3U.Ay2\par
hgq,.RdJ.0EtD.2.00,6.c,E.g0Ck80.5.48.Zj1E..U4.,k8E66.zTHT8Ff8H986,7J9vQdPE\par
N9PTvMrN0Fd8,767OMdPN,76,dC,76Z7A,761ORDPRb9R,76Z7AXtA,76,d8HN1H68J764ouGL\par
oyKt0GR0GE8pr8qm8Lu0GW0mV4qq0LlKKqmKE0GJM1PMGP8ITeId86,tHf9RrN1PM15uHRuIdO\par
1,76bPOpPN,76v76,NAV76J76X7AZ7B,d8,,in2WGJMAVFEqIVaLuKKEIZdUIBfEhcB2YUIcgx\par
hW3YUgbU6ITOGR8J9eI,76duH,761eIZOEn86,tHB86,dEn8J9uCPM1,76NOORvO,76v76..Ie\par
3RcDJe2hVU2YU2YU.ErKKwGLE0GR6HHXvgVU2YU66.IggxhWFR0W0ZBqEE0GE22U3pd2RbBg,V\par
eITuE98FfeI986,7FTf8rN1,76hOEZO1,76IgVRiZZZUYhdphf32p76m2i10WXpho3YU2YU.e1\par
HeHdOFDOFZuCP668oWSoYuo40GEcH9uJ,783PMbnIiHECKrG5pND,FMin40GE0WAxdD3eB2YUE\par
Eo76PHfPamR0GbKof.uGlm4N76bPOAZvgVU220W7pcU2ZgBB.,ND,dHH8HH76,Fd0GEWmluKuM\par
D,lO0HMaGE0GeWoWuIE0mWWpYGJE0mWUU660WgBBohZ3jo,IgVFLuqmWbv2YWBgn,22Eqa4r76\par
HeH586FtMRnIin4q.,FEw7df958O1fQ,78Dt8DN8r76,76,N1,7622HWU2YU2YXFEgdDZcU2Yp\par
2aU2YxEM0GEGJYUDhCmIrqEE0WU2298HbOGB86,tMR1UUgaU2Yx.G3.C2EESmI0GEKIb.,769e\par
H.y2mYvgVU.sIdfQHfPD96Ft738PTfMb9619PNvP4KuKKm0GRSmIiHEyouGb7pho3YcQAmGEKn\par
IiHEy2mYBU3FE0GWyqRqk4qkWuIW0WIhA42oZBgVBIUU2YU2Y2hgqZcZJgpxgigeiZhjBgYhVB\par
IUUUIV,,Gor8ssHpmsETfPdfQT9PNPNZvQRtIQcoJigZcZRiX3Ulb8..umVyKrG5EWKqtCK.Q6\par
AgdFt.85...CLL.U2V.Iy2U.UIU.U76.0E..k.8ssHpmcIf9P9fQbf9bWGhigFWE.4Te.sQRdI\par
f9P9HWE.8z,2.0.T3D.DJ.2U.sU.ktumdsIdPSNPN7ONbvM,Mw.ELMSN12Umz.6..F.x00.32.\par
oZ,ZC.G20U2U...W00k.0.0.0nMf32UoLk,6HnW,U,.0qLG18Mtr.0E..UO.,.1E.c80S45.2U\par
EC.6..mEw7169rwKiEw3c0Cy2xBq4sET1.UG.,..W.0.A,,U.yen791tc0MyfU.az86.r8OmOG\par
W77Q,...\par
--- end of encoding ---\par
\par
\par
----\par
To unsubscribe, send a message with body "SIGNOFF BLACKBOX" to LISTSERV{([at]})LISTS.OBERON.CH\par
Selex ES Ltd\par
Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS14 3EL\par
A company registered in England & Wales. Company no. 02426132\par
********************************************************************\par
This email and any attachments are confidential to the intended\par
recipient and may also be privileged. If you are not the intended\par
recipient please delete it from your system and notify the sender.\par
You should not copy it or use it for any purpose nor disclose or\par
distribute its contents to any other person.\par
********************************************************************}}nu.&I8=߽
Received on Tue Aug 27 2013 - 10:52:40 UTC
This archive was generated by hypermail 2.3.0 : Thu Sep 26 2013 - 06:29:50 UTC