Re: Memory could not be read errors

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Steve McLellan (sjm.NOSPAM)
Date: 06/23/04


Date: Wed, 23 Jun 2004 18:06:01 +0100

Has this code worked before? Does it run if it's not doing anything?

Main()
{

}

Can you get other code to run properly? From what you've said, it sounds
like you've just got some code that's not working. Crashing on one machine
but not another may not be significant; if it crashes on 5 dual processor
machines but doesn't on 5 single processors then it is more significant. If
you're doing threading, that would be a big thing to look at, especially if
you're trying to use UI elements from different threads.

See if you can disable big chunks of the code and run it for a bit, see
which chunks seem to cause problems.

Good luck!

Steve

"Sean" <Sean@discussions.microsoft.com> wrote in message
news:B5A593F9-BF2A-4E34-A649-8B564358A46A@microsoft.com...
> The error message: 0x791f0d83 referenced memory at 0x0000000003. The
memory could not be "read". Click OK to terminate and Cancel to debug.
> When I debug, it states that it is an unhandled exception and the debugger
can not trap the error (or something similar). Interesting enough the same
exact error message has been reported on the web for a completely unrelated
.NET project. The address is closest to two open DLLs in memory,
mscoree.dll and mscorwks.dll both associated with the Framework. The other
error I seem to get a lot is ExecutionEngine Exception
>
> I've been trying to track this spurious error down. I've modified the app
to do the same exact tasks, in order, repeatedly to generate some type of
duplication pathway. What I have found is my .NET app throws the error at
what appears to be a random piont in the code. It is not trappable, and
from the log files, it never occurs at the same point twice.
>
> The other thing is is that the same exact sequence runs without problems
on a laptop computer but not a the dual processor. The dual proc has 2GB of
memory. Both have the same security structure. The dual is also on RAID.
>
> To me, its a system issue so I've tried to remove completely Studio and
the Framework and then reinstall. No luck. I've scanned the disk for
errors and that's fine. I've taken out each of the DIMMs and managed to
reproduce the error with each DIMM by themselves. Other than a system
rebuild, I don't know what else to try.
>
> It was also suggested that interop could play a role on a dual proc with
threading errors. To this end, I've finally removed all my old interop code
and upgraded it to managed except for an old grid control which is not
displayed.
>
> Can anyone tell me what the possible sources of memory could not be read
errors and how to do anymore diagnostics?



Relevant Pages

  • Re: Zone Alarm Pro 6.1 excessive memory usage?
    ... But the simple fact is that VB and his ilk don't want you using anything better than WFW, not sure why, but they don't. ... As for memory use, if you are running the latest updates for ZA, have a clean system, have a NAT device in front of your computer so that ZA doesn't have to deal with the normal background chatter of the Internet, then you should not have any issues with Memory Use by ZA. ... I don't see a Dual CPU option for the 8400, do you mean Hyper-Threaded as what you are calling Dual Processor? ... Again, you won't be able to diagnose it without their code/technical documents, you can guess about it, but you would do better to uninstall and reinstall it, then see if the problem comes back, if not, reinstall SP2 and see how it works, follow by reinstalling apps until the problem comes back. ...
    (comp.security.firewalls)
  • Re: Zone Alarm Pro 6.1 excessive memory usage?
    ... But the simple fact is that VB and his ilk don't want you using anything better than WFW, not sure why, but they don't. ... As for memory use, if you are running the latest updates for ZA, have a clean system, have a NAT device in front of your computer so that ZA doesn't have to deal with the normal background chatter of the Internet, then you should not have any issues with Memory Use by ZA. ... I don't see a Dual CPU option for the 8400, do you mean Hyper-Threaded as what you are calling Dual Processor? ... Again, you won't be able to diagnose it without their code/technical documents, you can guess about it, but you would do better to uninstall and reinstall it, then see if the problem comes back, if not, reinstall SP2 and see how it works, follow by reinstalling apps until the problem comes back. ...
    (comp.security.firewalls)
  • Re: Zone Alarm Pro 6.1 excessive memory usage?
    ... As for memory use, if you are running the latest updates for ZA, have a clean system, have a NAT device in front of your computer so that ZA doesn't have to deal with the normal background chatter of the Internet, then you should not have any issues with Memory Use by ZA. ... I don't see a Dual CPU option for the 8400, do you mean Hyper-Threaded as what you are calling Dual Processor? ... ZAP uses about 22MB of memory at first, then over a period of an hour or two vsmon.exe grows to over one gigabyte and keeps growing. ... Again, you won't be able to diagnose it without their code/technical documents, you can guess about it, but you would do better to uninstall and reinstall it, then see if the problem comes back, if not, reinstall SP2 and see how it works, follow by reinstalling apps until the problem comes back. ...
    (comp.security.firewalls)
  • Re: forcing the compiler to reload from memory with c++0x
    ... according to the language and memory ... compiler can technically do *more* optimizing than it could previously ... volatile is the right answer - you just need to adds lots of code ... threading, and conversely it is typically stated as "useless" by those ...
    (comp.programming.threads)
  • VMWare ESX and FBSD 7.2 AMD64 guest
    ... two processors, and 8GB of memory. ... running with the exact same environment. ... I'd appreciate any feedback on tweaks that I can make (either to VMWare, ... or FreeBSD itself) to make the virtualized environment much more efficient. ...
    (freebsd-questions)