Re: System.AccessViolationException in .NET 2.0 application

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Do you think that obfuscation could play a role in this random AV
exceptions? (I'm using Xenocode).
I saw an AV occurr consistently when opening a simple window in my
application. Then, I tried obfuscation the application again and it
worked fine.
Could this be the cause?
Thanks
Andrea

On Thu, 02 Aug 2007 03:10:43 GMT, jetan@xxxxxxxxxxxxxxxxxxxx ("Jeffrey
Tan[MSFT]") wrote:

Hi Andrea,

Thank you for the feedback.

The current information is not enough for us to analysis the root cause.

Since you can reproduce now, is it possible for you to create a little
sample project and send to me for local reproduce? Also, does this problem
only occur on Vista x64? Can you reproduce it on x86 Windows?

Since the detailed information can only be seen from unmanaged code side,
we have to use windbg to perform unmanaged debugging over it. If you want
to debug it yourself, please follow my blog entry below to setup windbg and
obtain a native call stack of this AV exception:
"How to debug application crash/hang in production environment?"
http://blogs.msdn.com/msdnts/archive/2006/11/24/how-to-debug-application-cra
sh-hang-in-production-environment.aspx

Thanks.

Best regards,
Jeffrey Tan
Microsoft Online Community Support
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
.



Relevant Pages

  • RE: Need help to convert the following c# code to vb
    ... I agree that Reflector will not provide comment. ... thank you for pointint out the obfuscation issue of Reflector. ... Microsoft Online Community Support ... where an initial response from the community or a Microsoft Support ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: System.AccessViolationException in .NET 2.0 application
    ... I have no idea about the Xenocode obfuscation. ... not modify the code execution path and intervene the JITed code. ... Microsoft Online Community Support ... where an initial response from the community or a Microsoft Support ...
    (microsoft.public.dotnet.general)
  • I encounter the same error, but my data does not have the benefit of record tags.
    ... Microsoft Online Community Support ... You can send feedback directly to my manager at: ... where an initial response from the community or a Microsoft Support ... I am having trouble creating one input flat file. ...
    (microsoft.public.biztalk.general)
  • Re: float("nan") in set or as key
    ... Fortran where things like exceptions were unheard of, ... Fortrans didn't also have support for traps. ... Failing to support the standard is a bad thing. ...
    (comp.lang.python)
  • Where & How : GDI+ 1.1 for Visual_Studio_2008
    ... I can not find any reference for it in the Platform SDK. ... Version 1.1 in only distributed with Windows VISTA. ... Microsoft Online Community Support ... where an initial response from the community or a Microsoft Support ...
    (microsoft.public.win32.programmer.gdi)