Sender: tim AT picard DOT skynet DOT be Message-ID: <3B2F14DE.6D63C862@falconsoft.be> Date: Tue, 19 Jun 2001 11:01:18 +0200 From: Tim Van Holder Organization: Anubex N.V. X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.4.4-win4lin i686) X-Accept-Language: en, nl-BE, nl MIME-Version: 1.0 To: neo_1061 AT hotmail DOT com, djgpp AT delorie DOT com Subject: Re: Peculiar behavior of program. References: <3b2efaa3 DOT 496489 AT news DOT primus DOT ca> <3B2F0771 DOT A2A1596A AT falconsoft DOT be> <3b2f09f2 DOT 4416801 AT news DOT primus DOT ca> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Reply-To: djgpp AT delorie DOT com Graaagh the Mighty wrote: > > On Tue, 19 Jun 2001 10:04:01 +0200, Tim Van Holder > sat on a tribble, which squeaked: > > >This is all very interesting, but it would be a LOT more informative > >and helpful if you posted the code that resulted in the broken > >behaviour. > > It's about a thousand lines long and the bug is *very* unstable -- > almost any change whatsoever stops it reproducing. And we can hardly be expected to find the problem if we can't see the code, now can we? > I won't have a problem once I can get a decent traceback. Why is it > not generating the "call frame traceback EIPs"? And why does it crash > Windows? A protected mode task should be utterly unable to bring the > OS down, unless it invokes a kernel function or device driver that is > buggy or doesn't enforce its preconditions. Bad memory accesses can do this too - you might be copying a lot of data to a wild pointer which happens to point to part of your executable code; when you then reach that code, it will execute potentially invalid code that could totally screw up the system. This definitely includes Windows 9x/ME rebooting - it does a lousy job of isolating a DOS box (or any app for that matter) from the rest of the system. -- Tim Van Holder - Anubex N.V. =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= This message was posted using plain text. I do not endorse any products or services that may be hyperlinked to this message.