Home Support



Select your language:

AVG Support Community

Share tips and solutions on AVG Products

Have a question?

Community topics

AVG Gurus

These community experts are here to help

  • (AB) Alan Binch
  • (BA) Borislav Angelov
  • (VB) Vladimir Bartl
  • (SK) Subhadeep Kanungo
  • (MS) Miloslav Serba
Keshav JoisKeshav Jois 

Access Violation Exception


We have windows application which is crashing from 3rd Aug 2015. This windows application is being used by 200,000 users and it is brand name in Australia. Our contact center is taking major strain. When the end user turn off AVG and run the application, it works perfectly fine. Has there been any change in the recent update of AVG  Free 2015?

Below is the call stack
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.AccessViolationException
   at System.Windows.Forms.UnsafeNativeMethods.CallWindowProc(IntPtr, IntPtr, Int32, IntPtr, IntPtr)
   at System.Windows.Forms.NativeWindow.DefWndProc(System.Windows.Forms.Message ByRef)
   at System.Windows.Forms.Control.DefWndProc(System.Windows.Forms.Message ByRef)
   at System.Windows.Forms.Control.WmKeyChar(System.Windows.Forms.Message ByRef)
   at System.Windows.Forms.Control.WndProc(System.Windows.Forms.Message ByRef)
   at System.Windows.Forms.TextBoxBase.WndProc(System.Windows.Forms.Message ByRef)
   at System.Windows.Forms.TextBox.WndProc(System.Windows.Forms.Message ByRef)
   at DevExpress.XtraEditors.Mask.MaskBox.BaseWndProc(System.Windows.Forms.Message ByRef)
   at DevExpress.XtraEditors.Mask.MaskBox+MaskStrategy+SimpleStrategy.DoWndProc(System.Windows.Forms.Message ByRef)
   at DevExpress.XtraEditors.Mask.MaskBox.WndProc(System.Windows.Forms.Message ByRef)
   at DevExpress.XtraEditors.TextBoxMaskBox.WndProc(System.Windows.Forms.Message ByRef)
   at System.Windows.Forms.Control+ControlNativeWindow.OnMessage(System.Windows.Forms.Message ByRef)
   at System.Windows.Forms.Control+ControlNativeWindow.WndProc(System.Windows.Forms.Message ByRef)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr, Int32, IntPtr, IntPtr)
   at System.Windows.Forms.NativeWindow.DefWndProc(System.Windows.Forms.Message ByRef)
   at DevExpress.XtraSpellChecker.Native.TextBoxNativeWindowWrapper.WndProc(System.Windows.Forms.Message ByRef)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr, Int32, IntPtr, IntPtr)
   at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG ByRef)
   at System.Windows.Forms.Application+ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr, Int32, Int32)
   at System.Windows.Forms.Application+ThreadContext.RunMessageLoopInner(Int32, System.Windows.Forms.ApplicationContext)
   at System.Windows.Forms.Application+ThreadContext.RunMessageLoop(Int32, System.Windows.Forms.ApplicationContext)
   at System.Windows.Forms.Application.Run(System.Windows.Forms.Form)
Any help is greatly appreciated ?
Komal Sathish KumarKomal Sathish Kumar (Avast)
Hi Keshav, we apologize for the inconvenience caused. We request you to have a look on this article to know about Whitelisting an application in AVG ( http://avgread.me/1QPQ1KH ). Thanks. Komal, AVG Customer Care.
Keshav JoisKeshav Jois
Thanks  Komal for your quick response. We will follow up on whitelisting approach and  we would let you know if we run into anymore issues.
-980156917-980156917 (Avast)
That's nice to know, Keshav. I really appreciate that.
AvinashAvinash (Avast) 
Hello K Morse. Please follow the instructions in the article to know about Whitelisting an application in AVG ( http://avgread.me/1QPQ1KH ) and submit it to AVG. Thank you.
Keshav JoisKeshav Jois
Hi Avinash,

We have rasied the request for whitelisting for third party dll (DevExpress.XtraEditors.v14.2.dll) which we are using in our project on 4/08/2015.  We haven't heard from anyone so far on our request. Is there anyway to view the status of whitelisting request?
KishoreKishore (Avast) 
Hello Keshav. I would like to let you know that you will not be notified on the status of the request. However, the AVG Team will process the request and make the necessary changes after the approval by the development team. Thank you. Kishore, AVG Customer Care.
K MorseK Morse
I understand AVG doesn't typically notify vendors when a request has been acted upon, but it would be great to know how long the whitelisting process typically takes.
KishoreKishore (Avast) 
Hello Keshav. I understand how something like this can really try your patience. I request you to try the steps in the following article http://avgread.me/18WB2dg . If you face any issue with it, please feel free to contact us back for any further assistance. Thank you.
Randy RiesenbergRandy Riesenberg
I'm seeing the same behavior when programming in Visual Studio.  It affects multi-line textboxes.  Typing in the textbox causes an AccessViolationException.  Pasting or backspacing does not.  If I then disable the AVG protection the AccessViolations do not happen.  If I re-enable AVG protection I still do not get the AccessViolation until the next time I run the application.
Antoni UrbanAntoni Urban

Your latest upgrade is causing big problems. I have to disable AVG to be able to debug my Visual Studio 2013 Windows applications (the error message is saying "Access Violation"). In case of Web applications, Visual Studio is complaining about port being occupied by someone else.

Please investigate the issue, otherwise you will lose a big percent of clients (all programmers).

Good luck - Antoni
Keshav JoisKeshav Jois


We have been testing by upgrading the AVG everyday to see if the issue is fixed, but no luck yet :( . At the same time, we are advising all our customers( thousands of customers every day) to disable/uninstall AVG to avoid the crash. It would be good if AVG fixes the issue as soon as possible. 
BalasubramanianBalasubramanian (Avast) 
Hello Keshav, Antoni and Randy I apologize for the inconvenience caused. Please follow these steps to send us diagnostic information from your computer.
This information will allow us to analyze the situation and provide you with solution:
1) Click this link http://www.avg.com/filedir/util/AVG_SysInfo.exe to download the AVG SysInfo tool.
2) Run the downloaded tool.
3) Click Accept to confirm the license agreement, and then click Continue.
4) Once the screen Output created is shown, fill in any additional details, or click Attach if you want to attach any additional files, such as screenshots.
5) Click Send, fill in your email address, and then click Send again.
6) We will analyze the received files and provide you with further information.

Once the information  is sent our level two technical team will analyze your files and will communicate to your only via email. Thank you.
Craig WilsonCraig Wilson
This is really easy to recreate with Visual Studio 2013 and the latest AVG installed:

1. Create a Winforms application
2. Add a standard TextBox to the Form and make Multi-Line
3. Run application

As soon as any text is typed into the TextBox, the application throws an AccessViolationException. I have the same issue which means AVG has to be either disabled or removed from any of the development systems as it makes debugging impossible.
Rajarajan SooiyachanthRajarajan Sooiyachanth (Avast)
Hello Craig, I really apologize for the inconvenience caused. I kindly request you to send us the diagnostic information from your computer by following the instructions provided by the technician "Balasubramanian S" from AVG . The information will allow us to analyze the situation and provide you with solution. Please feel free to contact us back for any further assistance. Thank you.
Keshav JoisKeshav Jois

Hi Balasubramanian,

We have already ran the diagnostics tools(few weeks ago) and sent the results to AVG. I am not sure how much more information do you require to reproduce the issue.

We have created a demo application to reproduce the issue. Run the application and enter text in the grid while AVG is running and the application crashes. 


Hope it helps you to fix it asap.
KishoreKishore (Avast) 
Hello Keshav. Thank you for providing us with the log files. The case has been escalated to our senior technician and they are analyzing on how to resolve the issue. They will be getting back to you as soon as possible. Thank you.
Keshav JoisKeshav Jois

We were told today that AVG whitelisted our app yesterday, however our application is still crashing when we tried it today(while AVG running). Case number is 02140715, could you please look at it?
BalasubramanianBalasubramanian (Avast) 
Hello Keshav, I have checked the case reference that you have provided and found that your case has already been escalated to our level two technical team. Since there is an issue with one of the tool that is used by the technical team it is getting delayed in the reply. I would request you to wait for few more days and you will get reply from them only via email. Your patience is much appreciated. Please check for the email on spam or junk folders if it is not present in the inbox. Thank you.
Keshav JoisKeshav Jois
Hi Balasubramanian,

Any luck in troubleshooting the issue?
BalasubramanianBalasubramanian (Avast) 
Hello Keshav, as I mentioned before further assistance regarding your issue will be from our level two technical team and only via email. Please keep checking for the email. Your patience is much appreciated. Thank you.
David DBDavid DB
I'm having the same problem with eWallet Go. AVG needs to be disabled and then it works. Fix this now!!
BalasubramanianBalasubramanian (Avast) 
Hello David, sorry to hear that. Have you tried adding to the AVG' Exception?
Keshav JoisKeshav Jois
Hi Balasubramanian,

No one has contacted me from AVG ever since this issue has been raised. Its very disappointing to see such a long turn around time. Is there anything you could you do to escalate this issue?
BalasubramanianBalasubramanian (Avast) 
Hello Keshav,

Sorry for the inconvenience caused. I have checked your case record and found that your case has been successfully escalated to our level two technical team and two agents named as "Thangadurai Henry" and "Niyaz Ali" has sent you an email on 4/8/2015 and asked you to upload the sample to our FTP server, did you receive these emails?
Keshav JoisKeshav Jois
Hi Balasubramanian,

Looks like the issue has been fixed after yersterdays update(2015.0.6140). Thanks for your support.

KishoreKishore (Avast) 
Hello Keshav.
That's great to hear your issues has been resolved now. Please feel free to contact us back for further assistance.
Thank you.
Ask a question