EXCEPTION_ACCESS_VIOLATION in module msvcrt.dll Error while replaying script

39 views
Skip to first unread message

Priyanka Tiwari

unread,
Sep 26, 2011, 4:53:00 AM9/26/11
to LoadRunner

Hello All,

I am facing this error while replaying an exsiting script.

vugen.exe caused an EXCEPTION_ACCESS_VIOLATION in module msvcrt.dll
at
001B:77BD8EFA, wcslen()+0008 byte(s)


EAX=FFFFFFFE EBX=00000000 ECX=0000000C EDX=3B9B0029 ESI=0A9E36D0
EDI=FFFFFFFE EBP=0012E4A4 ESP=0012E4A4 EIP=77BD8EFA FLG=00010282
CS=001B DS=0023 SS=0023 ES=0023 FS=003B GS=0000


Could you please help me and provide the main cause for this error?

Prajeesh Nair

unread,
Sep 26, 2011, 6:48:16 AM9/26/11
to LR-Loa...@googlegroups.com
Hi,

Which version of LR are you using? Is it a very old version?

ACCESS_VIOLATION is usually caused when your script is trying to access uninitialized variable. Try doing the following to resolve the issue.
1. Comment a line on your script which deals with any kind of variable
2. Now check if you still get this error
a. If yes, goto step 1 and comment the next line which deal with variables.
b. If no, great!!!

Often ACCESS_VIOLATION is caused to scripting error.

Suresh Babu

unread,
Sep 26, 2011, 7:51:40 AM9/26/11
to lr-loa...@googlegroups.com
Mostly these are caused due to insufficient access rights. Take admin rights from your system administrator and try again.

James Pulley

unread,
Sep 26, 2011, 8:55:01 AM9/26/11
to LoadRunner
I'm with Suresh. A good 90% of these issues can be resolved by
checking the installation requirements for the tool (without regard to
vendor) and then matching them against what you have in place in your
environment. Mismatch OS, Browser, access rights, aggressive use of
anti virus, etc... can all compromise the system in such a way that
oddball tool issues crop up.

James Pulley, http://www.loadrunnerbythehour.com/PricingMatrix

On Sep 26, 7:51 am, Suresh Babu <soor...@gmail.com> wrote:
> Mostly these are caused due to insufficient access rights. Take admin rights
> from your system administrator and try again.
>

Raj

unread,
Sep 26, 2011, 1:38:48 PM9/26/11
to LoadRunner
I believe this is related to the variables been handled incorrectly...
Are you using any char /int /arrays in your script? If so, double
check the usage of it.. If you have assigned in wrong parameters,
these errors are prone to pop-up...

On Sep 26, 5:55 am, James Pulley <loadrunner-li...@jamespulley.com>
wrote:
> I'm with Suresh.   A good 90% of these issues can be resolved by
> checking the installation requirements for the tool (without regard to
> vendor) and then matching them against what you have in place in your
> environment.  Mismatch OS, Browser, access rights, aggressive use of
> anti virus, etc... can all compromise the system in such a way that
> oddball tool issues crop up.
>
> James Pulley,http://www.loadrunnerbythehour.com/PricingMatrix
Reply all
Reply to author
Forward
0 new messages