473,511 Members | 10,195 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Memory could not be read errors

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?
Jul 21 '05 #1
1 2515
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" <Se**@discussions.microsoft.com> wrote in message
news:B5**********************************@microsof t.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?
Jul 21 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

31
9771
by: lawrence | last post by:
I'm not sure how this is normally done, on a large site, perhaps one running Phorum. Occassionally a thread will have hundreds of entries, perhaps a meg or two worth of data. You won't necessarily...
6
3670
by: Ganesan selvaraj | last post by:
I using C# .net. i want to split the text files based of the some condition. my source text file size may be 4 kb to 4 gb. some time when i split the i got the "out of memory exception. when i...
72
3533
by: ravi | last post by:
I have a situation where i want to free the memory pointed by a pointer, only if it is not freed already. Is there a way to know whether the memory is freed or not?
1
314
by: Sean | last post by:
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...
11
3755
by: skumar434 | last post by:
Hi everybody, I am faceing problem while assigning the memory dynamically to a array of structures . Suppose I have a structure typedef struct hom_id{ int32_t nod_de; int32_t hom_id;
2
3253
by: Mike | last post by:
Hi, I am new to C and having problems with the following program. Basically I am trying to read some files, loading data structures into memory for latter searching. I am trying to use structres...
2
21942
by: Ilkka | last post by:
I have created an C++ application with Windows Forms, ADO and SQL server 2005. Now I need to change something and started debugging the code. Then suddenly I receive an error. "An unhandled...
13
2662
by: kolmogolov | last post by:
/* Hi, I have removed things irrelevant to reproducing the problem. What's wrong with my code? Thanks in advance for any hint! 1166425362 */ #include <stdio.h> #include <stdlib.h> #include...
2
6901
by: Andrus | last post by:
I need compile in-memory assembly which references to other in-memory assembly. Compiling second assembly fails with error Line: 0 - Metadata file 'eed7li9m, Version=0.0.0.0, Culture=neutral,...
0
7251
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7367
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7430
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
7089
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7517
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
5072
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3230
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3217
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
451
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.