473,748 Members | 7,142 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

"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.AccessVi olationExceptio n
Exception Message: Attempted to read or write protected memory. This is
often an indication that other memory is corrupt.
Exception Target Site: WSAGetOverlappe dResult

---- Stack Trace ----
System.Net.OSSO CK.WSAGetOverla ppedResult(sock etHandle As SafeCloseSocket ,
overlapped As IntPtr, bytesTransferre d As UInt32&, wait As Boolean, ignored
As IntPtr)
Ghost.exe: N 00000
System.Net.Sock ets.BaseOverlap pedAsyncResult. CompletionPortC allback(errorCo de
As UInt32, numBytes As UInt32, nativeOverlappe d As NativeOverlappe d*)
Ghost.exe: N 00177
System.Threadin g._IOCompletion Callback.Perfor mIOCompletionCa llback(errorCod e
As UInt32, numBytes As UInt32, pOVERLAP As NativeOverlappe d*)
Ghost.exe: N 00103
Nov 21 '06 #1
2 4185
Hi Pieter,

I search for this in groups.google.c om, "Attempted to read or write
protected memory AccessViolation Exception", and came up with this:

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

Does that help?

--
Dave Sexton

"Pieter" <pi************ ****@hotmail.co mwrote in message
news:uT******** ******@TK2MSFTN GP04.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.AccessVi olationExceptio n
Exception Message: Attempted to read or write protected memory. This
is often an indication that other memory is corrupt.
Exception Target Site: WSAGetOverlappe dResult

---- Stack Trace ----
System.Net.OSSO CK.WSAGetOverla ppedResult(sock etHandle As
SafeCloseSocket , overlapped As IntPtr, bytesTransferre d As UInt32&, wait
As Boolean, ignored As IntPtr)
Ghost.exe: N 00000

System.Net.Sock ets.BaseOverlap pedAsyncResult. CompletionPortC allback(errorCo de
As UInt32, numBytes As UInt32, nativeOverlappe d As NativeOverlappe d*)
Ghost.exe: N 00177

System.Threadin g._IOCompletion Callback.Perfor mIOCompletionCa llback(errorCod e
As UInt32, numBytes As UInt32, pOVERLAP As NativeOverlappe d*)
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.e xe, 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******** ******@TK2MSFTN GP02.phx.gbl...
Hi Pieter,

I search for this in groups.google.c om, "Attempted to read or write
protected memory AccessViolation Exception", 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

2
22823
by: hvaisane | last post by:
Valgrind says ==11604== Invalid read of size 4 ==11604== at 0x8048ABB: main (foo.cc:36) ==11604== Address 0x1B92415C is 4 bytes inside a block of size 8 free'd ==11604== at 0x1B90514F: operator delete(void*) (vg_replace_malloc.c:156) ==11604== by 0x804A1BA: __gnu_cxx::new_allocator<Foo>::deallocate(Foo*, unsigned) (new_allocator.h:86) ==11604== by 0x8049C08: std::_Vector_base<Foo, std::allocator<Foo> >::_M_deallocate(Foo*,...
0
4116
by: humbleaptience | last post by:
I'm migrating from 1.1 to 2.0. This code worked fine in 1.1 , but now it throws an exception. public static int LLtoUTM(int datumIn, int datumOut, double p_lat, double p_lon,ref double UTMNorthing,ref double UTMEasting,ref int UTMZone) { int errno; //This is the formula for calculating which Zone a point is in at a particular lat/long
8
10993
by: MikeJ | last post by:
In my office, we have workstations with standard Win 2000 images (OS plus standard apps like Office, etc.) as developers, we then install our development tools on top of those images. other developers in my office have installed VS8 and use it with no problems. however, on a new workstation that I recently got, I have installed VS8, and get this error whenever I try to access a C# project or create a new C# project: "Project 'XYZ'...
2
2035
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 down. System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt. at ProjApi.Proj.pj_init_plus(String pjstr) at coordinate.LLtoUTM(Int32 datumIn, Int32 datumOut,...
2
2728
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 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...
0
1803
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 tables from my db (MS Access db). DB is connnected properly and it works, but I'm unable to open DB and drag and drop tables on DataSet.xsd.... Finally, my goal is to make connection between CrystalReports and DataSet... It seems so far... :(
0
1640
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 happens is that when I get to call this method: public static extern int SCardListReaderGroups(int hContext, ref string cGroups, ref int nStringSize); I get the "Attempted to read or write protected memory" exception. I've tried editbin.exe...
6
4499
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 exception occurs pointing to FileSaveDialog1.ShowDialog(). The exception also indicates some problem with system.drawing.dll. The exception text is: "Attempted to read or write protected memory. This is often an
2
7520
by: thiefhunter | last post by:
Wordpress image upload has worked well for months. Suddenly, I get "failed to write file to disk" though nothing has changed. Read the wp forums and worked with my hosting co to do the following: Checked the php.ini file to read: upload_tmp_dir="/tmp" Changed "/tmp" to be a tmp folder inside wp-content/images permissions set to 777 restarted database What else can I do? My host co can't or won't help further since it's my own...
0
8991
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8830
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9541
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9247
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6074
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4602
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3312
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2782
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2215
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.