Random System.AccessViolationException

Bug reports.
padamec
Posts: 1
Joined: Thu Mar 20, 2014 12:41 pm

Random System.AccessViolationException

Post by padamec » Thu Mar 20, 2014 12:54 pm

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
Attachments
RanorexInvalidMemory.PNG
RanorexInvalidMemory.PNG (14.44 KiB) Viewed 1737 times

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: Random System.AccessViolationException

Post by Support Team » Wed Mar 26, 2014 5:00 pm

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
.
Image

pierre2
Posts: 6
Joined: Tue Nov 03, 2015 11:16 am

Re: Random System.AccessViolationException

Post by pierre2 » Tue Nov 03, 2015 11:26 am

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!
Attachments
access-violation.png
access-violation.png (20.28 KiB) Viewed 1267 times

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: Random System.AccessViolationException

Post by Support Team » Thu Nov 05, 2015 4:19 pm

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)
Attachments
NLog.txt
(1.35 KiB) Downloaded 57 times
.
Image

jon.hansen
Posts: 8
Joined: Tue Nov 18, 2014 12:16 pm
Location: Denmark

Re: Random System.AccessViolationException

Post by jon.hansen » Wed Feb 17, 2016 9:43 am

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

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: Random System.AccessViolationException

Post by Support Team » Wed Feb 24, 2016 4:38 pm

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)
.
Image