Re: [BLACKBOX] AW: [BLACKBOX] Illegal Memory Access with Windows 7

From: [at]} <Romiras>
Date: Sun, 21 Jul 2013 14:29:09 +0300


Hi, everyone.


It looks that I found the way how to cause bug mentioned above. For this purpose I used small GC benchmark for D language run-time and adapted it for Component Pascal with some modifications.

I tested on Windows XP with 2 GB, Windows 8 with 4 GB and in Linux/Wine with 4 GB. On all of these machine I reproduced a bug.

If I use patched version of module Kernel by user luowy from September 2012, a bug didn't reproduced for me.


Please compile and run an encoded module TestGCAlloc1 attached below:

StdCoder.Decode ..,, ..jZ....3Qw7uP5PRPPNR9Rbf9b8R79FTvMf1GomCrlAy2xhX,Cb2x
 hXhC6FU1xhiZiVBhihgmRiioedhgrZcZRiXFfaqmSrtuGfa4700zdGrr8rmCLLCJuyKtYcZRiX
 7.2.s,6xF.,k,5TWyql.bnayKmKKqGomC5XzET1.PuP.MHT9N9ntumaU2,CJuyKtQC98P9PP7O
 NbXmb.2.Ic6k2ERW.,6.cUGpmWLuOpoKqvCbHZiYpedhA704TeKKw.bHfEWUmL.6..D.7z,6.,
 sUGpmWbBxhYhAbndMHT9NY6Mw.sQq2Y6cwB.0.RT,w,ow3E.0E.ENV00.bnUGLu8ro8quGrmCL
 WKqtE0E.kNE.0.p.0.4.I3l6w1.0E65.IX32.2.Cp69UPoZ0cUXDF9fR5uPPPP1fP7PNZvQRtI
 dHf.2UlbcZpC.c9h0E.8z,U...B.0UJUDUzjdDZcJZd33YIhgnZi5Rc,ZhgxhXBavgVB2YU2Yc
 IZB2YU2YU223ONRvMFPP1fQL96TfP,NRRPOBvPZPPNPS,7NHvQdfQHfM6NN76ZPMR9NTPP,7P1
 fQDPN,NMN9PTnkGroyKrCLLqEE00,l40GE0WUsHZPODPORfC,76,7Od9RVvQpt9TtNH9RFPR3f
 95vPPv97O9VeQTvNZPMPPPHfPDP9NOMRvNfPMDPNT7NZPRR9RHPP9v939PTfMTNP1vQdPNZv93
 PNRvMUjwgXJgZpByGt4KrGqjmqk8rnoZY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K0mq44M8HtCP6666.44QfehfUIbxMOdPNqEE00,,K2rN1,,,,q.22sHf9RRtIdfQHfPD983NGd
 Ht4Kuaqr2YWAZv2YDhioNGR9RFNON76VN8r76T0NePP66,VUMFgVU229WUYcjRbBgV3pd23YIh
 gn,kMum4qE,GpmCLu.EWyK,5TeK45uPRHtyKqmqm8rtumdsEdfQN9F9vQ59.XDJ..oZ1xhiZCU
 2hgnRg.sEMMH1.Z1...bf9.EWE.8T0E.E8E.k22.,6..M.3QwdONIepZhZJinpZHFdKLq6F6.X
 DJ.QiiIepZhZ7F6.Zz.6.,UfW5UXW.2.52.CLLC3b8Rn9P99F9vQ59.X5.u0n9PU.Iy5E.2.U6
 UO7.2.86.c918Rd1ggnZ6CK.Y.2..EGE.4E.E.EECOhU.YjyC.zwPA.A.2U.E,9z4U...p6.6.
 M.EJ.6.VQ.E..YVsH4EKithQVs9E3Qw7uPgBkVy4..ZE.6..E2E.U76.2n9RC,t75J.nT32kwL
 ,lsHFHEfGA,jN....
 --- end of encoding ---




2013/7/11 Campbell, Robert (Selex ES, UK) <robert.d.campbell{([at]})nowhere.xy


        Chris
        
        Thanks for this - you and Helmut are so much more organised than me!
        
        Marc's email contains updated versions of
         - Dev/Mod/Cpc486.odc
        - System/Mod/Kernel.odc
         & instructions on how to install these files.
        
        Luowy's email contains a later update to Kernel.odc.
        
        
        There is a problem with Cpc486. The problem involves mixing INTEGERs & LONGINTs, and has been discussed here more than once.
        The fix is to add one line; this fix was provided by Louwy on 19-Dec-2011 (give or take a day or two!).
        
        
        I have just installed Marc's version of Cpc486 + Louwy's INTEGER fix, and Louwy's version of Kernel.
        
        
        This has certainly helped the Window's 7 memory problem; I have not used it enough yet to know if it is now reliable, but will
        report on that later.
        
        
        Please Oms, is it possible to update the BlackBox page with a version containing a consistent set of known critical compiler fixes?
        I appreciate there is no resource to incorporate all the 'nice-to-haves', but a buggy compiler with no easy-to-find, well-documented,

         way to obtain and apply critical patches is disappointing.
        You said in August last year "..testing a few corrections we made in the kernel and in the compiler. If they turn out to be good, we will release
        a new version of BlackBox shortly thereafter."
        
        
        
        
        Thanks, Robert
        





        -----Original Message-----
        From: BlackBox [mailto:BLACKBOX{([at]})nowhere.xy
        Sent: 11 July 2013 13:56
        To: BLACKBOX{([at]})nowhere.xy
        Subject: Re: [BLACKBOX] AW: [BLACKBOX] Illegal Memory Access with Windows 7
        
        
                            *** WARNING ***
        
         This message has originated outside your organisation,
          either from an external partner or the Global Internet.
              Keep this in mind if you answer this message.
        


> -----Original Message-----
        > From: BlackBox [mailto:BLACKBOX{([at]})nowhere.xy
        > Robert (Selex ES, UK)
        > Sent: Thursday, 11 July 2013 6:22 PM
        > To: BLACKBOX{([at]})nowhere.xy
        > Subject: Re: [BLACKBOX] AW: [BLACKBOX] Illegal Memory Access with Windows
        > 7
        >
        > Does the current copy of BlackBox on the Oms site have the latest patches,
        > or can someone else remember what the final recommendation was? Precisely
        > what files should have been updated? My current copy of BlackBox.exe is
        > dated 8-Sept-2008. I suspect that the patch should have updated this.
        >
        
        Robert,
        
        Marc Frei sent an email to this mailing list with a patch attached on 30 Aug
        2012.
        
        Luowy followed this up with another modification on 6 Sep 2013 after a
        problem with the initial fix
        was reported by Romiras on 3 Sep 2012.
        
        I have sent copies of the relevant emails to you,
        
        Regards,
        Chris
        
        Chris Burrows
        http://www.cfbsoftware.com
        
        
        ----
        To unsubscribe, send a message with body "SIGNOFF BLACKBOX" to LISTSERV{([at]})nowhere.xy
        
        
        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.
        ********************************************************************
        
        
        
        ----
        To unsubscribe, send a message with body "SIGNOFF BLACKBOX" to LISTSERV{([at]})nowhere.xy
        


---- To unsubscribe, send a message with body "SIGNOFF BLACKBOX" to LISTSERV{([at]})nowhere.xy
Received on Sun Jul 21 2013 - 13:29:09 UTC

This archive was generated by hypermail 2.3.0 : Thu Sep 26 2013 - 06:29:52 UTC