Page 1 of 1

Random System.AccessViolationException

Posted: Thu Mar 20, 2014 12:54 pm
by padamec
Hello I keep getting this exception randomly during execution of test cases,
It is produced by both Ranorex-4.1.2 as well as Ranorex-5.0.0 at random intervals

System.Threading._IOCompletionCallback.PerformIOCompletionCallback
[img]RanorexInvalidMemory.PNG[/img]

my pc is Windows Server Datacenter SP2, 64bit, 2.4GHz Xenon
I have .NET framework 3.5 SP1

Re: Random System.AccessViolationException

Posted: Wed Mar 26, 2014 5:00 pm
by Support Team
Hello,

Have you also installed all the Ranorex prerequisites?
Did you install Ranorex with the setup.exe?
Please also tell us which version of the Windows Server Datacenter you are using?

Thanks,
Markus

Re: Random System.AccessViolationException

Posted: Tue Nov 03, 2015 11:26 am
by pierre2
Hello,

I keep getting the same error inside Ranorex Studio, when running my test suite.

I run Ranorex Studio 5.4.1 with Microsoft .NET framework 4.5.2. I have installed Ranorex with the setup.exe.

The PC I am using is a Windows 7 Ultimate, Service Pack 1, 64 bit, two 2,93 GHz CPUs and 12 GB of RAM.

Thank you for the help!

Re: Random System.AccessViolationException

Posted: Thu Nov 05, 2015 4:19 pm
by Support Team
Hi pierre2,

May I ask you if you could enable the internal logging by copying the attached NLog.config* file into the following directory

C:\Program Files (x86)\Ranorex 5.4\RanorexStudio\bin

After starting Ranorex as Administrator and reproducing the issue, the log file can be found in C:\Temp\
Please upload or send this generated logfile to [email protected].

*Since the Forum does not allow to attach .config file, please rename the attached Nlog.txt to Nlog.config before copying into the mentioned directory.

Thank you.
Regards,
Markus (S)

Re: Random System.AccessViolationException

Posted: Wed Feb 17, 2016 9:43 am
by jon.hansen
Hi,

I have observed this exception as well. It happens occasionally.
The log file has been forwarded to you.

Ranorex 5.4.5
Windows 7 x64
.Net Frameowrk 4.6.1

Re: Random System.AccessViolationException

Posted: Wed Feb 24, 2016 4:38 pm
by Support Team
Hi Jon,

Thank you for sending us the log file. As already discussed by email we will also need the dump files for our further analysis.

In case any other should also face this exception, please try to create a dump file using Procdump?
To do so, please start Ranorex Studio by using the following command line argument

Code: Select all

.\procdump.exe -ma -n 5 -e 1 -f "System.Threading.ThreadAbortException" -f "System.AccessViolationException" -g -x . <pathToStudio>\RanorexStudio.exe
Thank you in advance.

Regards,
Markus (S)