From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,7272aa7508a3d83f X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newscon06.news.prodigy.com!prodigy.net!newsfeed-00.mathworks.com!nntp.TheWorld.com!not-for-mail From: Robert A Duff Newsgroups: comp.lang.ada Subject: Re: pointer questions Date: 30 Oct 2005 17:26:57 -0500 Organization: The World Public Access UNIX, Brookline, MA Message-ID: References: <19cfb$4361207d$4995001$19541@ALLTEL.NET> NNTP-Posting-Host: shell01.theworld.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: pcls4.std.com 1130711217 24005 192.74.137.71 (30 Oct 2005 22:26:57 GMT) X-Complaints-To: abuse@TheWorld.com NNTP-Posting-Date: Sun, 30 Oct 2005 22:26:57 +0000 (UTC) User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Xref: g2news1.google.com comp.lang.ada:6061 Date: 2005-10-30T17:26:57-05:00 List-Id: "Jeffrey R. Carter" writes: > Dr. Adrian Wrigley wrote: > > > My stock trading software originally used very large arrays > > of pricing data (around 1GB of data). This worked fine for many > > months. One day, I decided to add a level of redirection, using > > a large array of access values. After that, the program would > > fail mysteriously every few months. But why? > > So your stack was ECC memory, but your heap was not? That's hard to believe. Dr. Wrigley said the hardware failures turned from "insideous" to "catastophic" when he changed some sort of Things to pointers-to-Things. I take that to mean, he got wrong answers before, and crashes after. Is that right, Dr. Wrigley? Either way, the lesson should be "use reliable hardware"! - Bob