473,387 Members | 1,700 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

"Attempted to read or write protected memory" since 10 days...

Hi,

Since 10 days (the first time was the 10th of november) I have some weird
exception happening in an application here:
All (except 1 of the total of 5) users had this error now 1 of 2 times
during the last 10 days. It happens mostly during startup or closing of the
application, but sometimes just in the middle of nowhere. It doesn't point
to anyting special. I don't get a clue...

It's a Windows Forms VB.NET 2005 application. I roll out updates regulary
(once a week), but nothing special has changed in the last update before the
first error.

Does anybody has any idea why this happens?
Thansk a lot in advance, any help will be really appreciated,

Pieter

This is the full exception:

Exception Source: System
Exception Type: System.AccessViolationException
Exception Message: Attempted to read or write protected memory. This is
often an indication that other memory is corrupt.
Exception Target Site: WSAGetOverlappedResult

---- Stack Trace ----
System.Net.OSSOCK.WSAGetOverlappedResult(socketHan dle As SafeCloseSocket,
overlapped As IntPtr, bytesTransferred As UInt32&, wait As Boolean, ignored
As IntPtr)
Ghost.exe: N 00000
System.Net.Sockets.BaseOverlappedAsyncResult.Compl etionPortCallback(errorCode
As UInt32, numBytes As UInt32, nativeOverlapped As NativeOverlapped*)
Ghost.exe: N 00177
System.Threading._IOCompletionCallback.PerformIOCo mpletionCallback(errorCode
As UInt32, numBytes As UInt32, pOVERLAP As NativeOverlapped*)
Ghost.exe: N 00103
Nov 21 '06 #1
2 2715
Hi Pieter,

I search for this in groups.google.com, "Attempted to read or write
protected memory AccessViolationException", and came up with this:

http://groups.google.com/group/micro...00262e8f7ffc8b

Does that help?

--
Dave Sexton

"Pieter" <pi****************@hotmail.comwrote in message
news:uT**************@TK2MSFTNGP04.phx.gbl...
Hi,

Since 10 days (the first time was the 10th of november) I have some weird
exception happening in an application here:
All (except 1 of the total of 5) users had this error now 1 of 2 times
during the last 10 days. It happens mostly during startup or closing of
the application, but sometimes just in the middle of nowhere. It doesn't
point to anyting special. I don't get a clue...

It's a Windows Forms VB.NET 2005 application. I roll out updates regulary
(once a week), but nothing special has changed in the last update before
the first error.

Does anybody has any idea why this happens?
Thansk a lot in advance, any help will be really appreciated,

Pieter

This is the full exception:

Exception Source: System
Exception Type: System.AccessViolationException
Exception Message: Attempted to read or write protected memory. This
is often an indication that other memory is corrupt.
Exception Target Site: WSAGetOverlappedResult

---- Stack Trace ----
System.Net.OSSOCK.WSAGetOverlappedResult(socketHan dle As
SafeCloseSocket, overlapped As IntPtr, bytesTransferred As UInt32&, wait
As Boolean, ignored As IntPtr)
Ghost.exe: N 00000

System.Net.Sockets.BaseOverlappedAsyncResult.Compl etionPortCallback(errorCode
As UInt32, numBytes As UInt32, nativeOverlapped As NativeOverlapped*)
Ghost.exe: N 00177

System.Threading._IOCompletionCallback.PerformIOCo mpletionCallback(errorCode
As UInt32, numBytes As UInt32, pOVERLAP As NativeOverlapped*)
Ghost.exe: N 00103

Nov 21 '06 #2
Great! That does indeed help!! :-)
We have NOD32 too...

I had this error in the eventlog:
Event Type: Error
Event Source: .NET Runtime 2.0 Error Reporting
Event Category: None
Event ID: 1000
Date: 21/11/2006
Time: 11:35:13
User: N/A
Computer:
Description:
Faulting application myapplication.exe, version 1.0.0.0, stamp 455c858c,
faulting module imon.dll, version 2.50.25.0, stamp 42ae8989, debug? 0, fault
address 0x0000cd29.
Apparently that imon.dll file caused the trouble.

It's just weird it happened only since 10 days, and not before. The
application and NOD32 are already more than a year istsalled on the
clients...

Thanks a lot!

Pieter
"Dave Sexton" <dave@jwa[remove.this]online.comwrote in message
news:Oy**************@TK2MSFTNGP02.phx.gbl...
Hi Pieter,

I search for this in groups.google.com, "Attempted to read or write
protected memory AccessViolationException", and came up with this:

http://groups.google.com/group/micro...00262e8f7ffc8b

Does that help?

--
Dave Sexton

Nov 21 '06 #3

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

Similar topics

4
by: Askari | last post by:
Yesterday, ALL code in python work and nothing when I close(finish) a code. Today, when I close, some raise this windows error : Instruction at "0x00FC3D70" use memory address "0x00000000". Can't...
53
by: Alf P. Steinbach | last post by:
So, I got the itch to write something more... I apologize for not doing more on the attempted "Correct C++ Tutorial" earlier, but there were reasons. This is an UNFINISHED and RAW document,...
3
by: Justin To via AccessMonster.com | last post by:
I just distributed a FE mde file throught my department, and while stress testing on the performance of the new release, 3 users got the following error: The instruction at ... referenced memory...
0
by: antsays | last post by:
I am trying to serialize a collection to disk using the code provided. This works just fine but when I try do copy and past the xml file to another location or sometimes even just click on the...
10
by: schears | last post by:
Why? Running on windows 2000 with all updates, 2G Memory, 117G Hard Drive space available. This was not an issue until I added some code to two of my c files. Any suggestions? Thanks
2
by: humbleaptience | last post by:
I have a web application that uses a DLL using DLLImport. Twice I have put the application live on the net and it has been used hundreds or thousands of time before it has been strangely brought...
2
by: Pieter | last post by:
Hi, Since 10 days (the first time was the 10th of november) I have some weird exception happening in an application here: All (except 1 of the total of 5) users had this error now 1 of 2 times...
0
by: Mike | last post by:
How can i handle "attempted to read or write protected memory. this is often an indication that other memory is corrupt" I use VS 2005 framework 2.0 On the server explorer window I try to open...
0
by: nieve | last post by:
Hello all, I'm working on a c# application using smart cards. I've been using vs2008 on an XP machine and everything was ok till I tried installing and running a demo on a vista machine. What...
6
by: Scott Gravenhorst | last post by:
Windows XP SP3 My application is set to open a SaveFile dialog when an exit is requested. When I click the app's close button, the save dialog opens, but when I click to change the folder, the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
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
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...

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.