472,371 Members | 1,365 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,371 software developers and data experts.

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 2429
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
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
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
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
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
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
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
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
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
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,...
2
by: Kemmylinns12 | last post by:
Blockchain technology has emerged as a transformative force in the business world, offering unprecedented opportunities for innovation and efficiency. While initially associated with cryptocurrencies...
0
by: antdb | last post by:
Ⅰ. Advantage of AntDB: hyper-convergence + streaming processing engine In the overall architecture, a new "hyper-convergence" concept was proposed, which integrated multiple engines and...
0
hi
by: WisdomUfot | last post by:
It's an interesting question you've got about how Gmail hides the HTTP referrer when a link in an email is clicked. While I don't have the specific technical details, Gmail likely implements measures...
0
by: Carina712 | last post by:
Setting background colors for Excel documents can help to improve the visual appeal of the document and make it easier to read and understand. Background colors can be used to highlight important...
0
BLUEPANDA
by: BLUEPANDA | last post by:
At BluePanda Dev, we're passionate about building high-quality software and sharing our knowledge with the community. That's why we've created a SaaS starter kit that's not only easy to use but also...
0
by: Rahul1995seven | last post by:
Introduction: In the realm of programming languages, Python has emerged as a powerhouse. With its simplicity, versatility, and robustness, Python has gained popularity among beginners and experts...
1
by: Johno34 | last post by:
I have this click event on my form. It speaks to a Datasheet Subform Private Sub Command260_Click() Dim r As DAO.Recordset Set r = Form_frmABCD.Form.RecordsetClone r.MoveFirst Do If...
1
by: ezappsrUS | last post by:
Hi, I wonder if someone knows where I am going wrong below. I have a continuous form and two labels where only one would be visible depending on the checkbox being checked or not. Below is the...
0
DizelArs
by: DizelArs | last post by:
Hi all) Faced with a problem, element.click() event doesn't work in Safari browser. Tried various tricks like emulating touch event through a function: let clickEvent = new Event('click', {...

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.