Error "\player.exe caused an Access Violation " when running Genymotion for Android emulator - genymotion

When I start running GenyMotion I got error "player.exe has stopped working".
But when I check the file crash.txt on C:\Users\user\AppData\Local\Genymobile then the error said :
Error occured on Thursday, June 18, 2015 at 10:45:34.
C:\Program Files\Genymobile\Genymotion\player.exe caused an Access Violation at location 06FA361C in module C:\Windows\system32\ig4icd32.dll Reading from location 00000000.
Registers:
eax=0bc73600 ebx=00000004 ecx=0bc95600 edx=00000000 esi=00000000 edi=0bd79108
eip=06fa361c esp=0d18f3d0 ebp=0bd79100 iopl=0 nv up ei pl nz na pe nc
cs=0023 ss=002b ds=002b es=002b fs=0053 gs=002b efl=00010202
AddrPC Params
06FA361C 00000001 00000004 00000000 ig4icd32.dll!ShSetEncryptionMethod
06FA7CDF 0BC95600 00000004 00000000 ig4icd32.dll!ShSetEncryptionMethod
Any help will be appreciate.
Thanks in advance.

I was able to resolve this error by doing the following:
I opened up virtual box and started the device from there with no problems. Then closed it and restarted it from Genymotion again and it worked. Tried this because the error prompt from Genymotion which says "open the virtual device from VirtualBox to find out the cause" . Not exactly sure how the access violation error relates to the above process though, but hopefully this helps.

Related

Application crashes with access violation exception in mso20win32client.dll when use MAPI

I have developed an application which uses MAPI to retrieve and process emails. When I configure office exchange server to retrieve emails using MAPI then it is crashing when i close the application. The crash is happening only when I have outlook365. With other version of outlook(2013 or earlier) then there is no crash but app hangs when we Uninitialize MAPI upon closing the application.
The crash dump point an access violation exception in mso20win32client.dll.
Here is the crash dump details :
{
This dump file has an exception of interest stored in it.
The stored exception information can be accessed via .ecxr.
(4848.2ad4): Access violation - code c0000005 (first/second chance not available)
eax=00000000 ebx=00efeecc ecx=00000040 edx=00eff4f8 esi=00000000 edi=00000484
eip=77342f3c esp=00efe734 ebp=00efe7a4 iopl=0 nv up ei pl nz na po nc
cs=0023 ss=002b ds=002b es=002b fs=0053 gs=002b efl=00000202
ntdll!NtWaitForSingleObject+0xc:
77342f3c c20c00 ret 0Ch
0:000> .ecxr
Unable to load image C:\Program Files (x86)\Common Files\Microsoft
Shared\Office16\mso20win32client.dll, Win32 error 0n2
*** WARNING: Unable to verify timestamp for mso20win32client.dll
*** ERROR: Module load completed but symbols could not be loaded for mso20win32client.dll
eax=00000000 ebx=6601b270 ecx=00000040 edx=00eff4f8 esi=1290db00 edi=0c23b8c0
eip=5dfd97b4 esp=00eff4bc ebp=00eff4ec iopl=0 nv up ei pl nz na po nc
cs=0023 ss=002b ds=002b es=002b fs=0053 gs=002b efl=00010202
mso20win32client+0x197b4:
5dfd97b4 8b4104 mov eax,dword ptr [ecx+4] ds:002b:00000044=????????
The full dump I am not posting as it is very big.
Can someone please guide me on this??
Thanks in advance.

exception in launching cygwin in windows

I have installed cygwin on my windows 10 machine, but while launching getting following exception under file minttty.exe.stackdump:
Exception: STATUS_ACCESS_VIOLATION at rip=000FFFFC4AF
rax=00000000FFFFC4AF rbx=00000000008356F0 rcx=00000000008356FC
rdx=0000000000835868 rsi=0000000000836064 rdi=00000000FFFFC4AF
r8 =0000000000000004 r9 =0000000000000000 r10=0000000000000000
r11=0000000000000246 r12=0000000000000001 r13=00000000FFFFC4EC
r14=0000000000000000 r15=0000000000000000
rbp=0000000000000001 rsp=00000000FFFFC298
program=C:\cygwin64\bin\mintty.exe, pid 7888, thread main
cs=0033 ds=002B es=002B fs=0053 gs=002B ss=002B
Right now launching C:\cygwin64\bin\mintty.exe directly, for opening terminal

how to debug a crash in an optimized program

I'm trying to debug a crash appening only on some cpu and only when compiled with gcc optmiziation on (-03), it doesn't happen with -O0. both compile are with -g
I embedded dr. mingw in the application because the crash is happening on a pc the is not mine.
I got the following crash report:
Error occured on Thursday, August 14, 2014 at 12:07:08.
C:\Users\Schüle\Arena\Engines\Vajolet\vajolettestc\vajolet2c.exe caused an Access Violation at location 0040C826 in module C:\Users\Schüle\Arena\Engines\Vajolet\vajolettestc\vajolet2c.exe Writing to location 023C8000.
Registers:
eax=000036b3 ebx=0299d130 ecx=00df885d edx=023ba528 esi=be220226 edi=023b9178
eip=0040c826 esp=0299cf30 ebp=0299fe78 iopl=0 nv up ei ng nz ac po cy
cs=0023 ss=002b ds=002b es=002b fs=0053 gs=002b efl=00010297
AddrPC Params
0040C826 0299FEC0 00DFAFE0 00DFAFE0 vajolet2c.exe-------------------
Error occured on Thursday, August 14, 2014 at 13:24:32.
C:\Users\Schüle\Arena\Engines\Vajolet\vajolettestc\vajolet2c.exe caused an Access Violation at location 0040C826 in module C:\Users\Schüle\Arena\Engines\Vajolet\vajolettestc\vajolet2c.exe Writing to location 00C68000.
Registers:
eax=00002dad ebx=02bfd130 ecx=00b5887d edx=00c5c940 esi=bfffffff edi=00c5b8d8
eip=0040c826 esp=02bfcf30 ebp=02bffe78 iopl=0 nv up ei ng nz na po cy
cs=0023 ss=002b ds=002b es=002b fs=0053 gs=002b efl=00010287
AddrPC Params
0040C826 02BFFEC0 00B5AFE0 00B5AFE0 vajolet2c.exe
both times the program crashed with Program Counter at address 0x0040C826 if I am not wrong.
I created a map of my file linking the program with the linker option "-Wl,-Map,prog.map" a
inside the map file i found this line :
.....
.text 0x0040a130 0x48f0 search.o
0x0040a140 search::printPV(
0x0040a720 search::printAllPV(
0x0040bac0 search::StartThinking(
.text 0x0040ea20 0x8940 position.0
.....
so I think the problem is inside the StartThinking Function.
How can I get some more information from gcc? Can I create a disassembly mixed with code?
thank you
after searching on internet I found that I can create an asm file with asm mixed to c code with the option -Wa,-adhln.
after that I calculated the offset to search in the asm file by doing 0x0040c826-0x0040a130 and I found the wrong instruction.
the sam file pointed me to the wrong c++ line!!

Windbg work so slowly?

This dump file has an exception of interest stored in it.
The stored exception information can be accessed via .ecxr.
(10e0.cd8): Wake debugger - code 80000007 (first/second chance not available)
eax=7c9bc668 ebx=00000000 ecx=00000000 edx=7c9bc080 esi=00000198 edi=00000000
eip=7c95847c esp=0006fc0c ebp=0006fc7c iopl=0 nv up ei pl zr na pe nc
cs=001b ss=0023 ds=0023 es=0023 fs=003b gs=0000 efl=00000246
ntdll!KiFastSystemCallRet:
7c95847c c3 ret
0:000> .ecxr
eax=7c9bc668 ebx=00000000 ecx=00000000 edx=7c9bc080 esi=00000198 edi=00000000
eip=7c95847c esp=0006fc0c ebp=0006fc7c iopl=0 nv up ei pl zr na pe nc
cs=001b ss=0023 ds=0023 es=0023 fs=003b gs=0000 efl=00000246
ntdll!KiFastSystemCallRet:
7c95847c c3 ret
0:000> kb
*** Stack trace for last set context - .thread/.cxr resets it
ChildEBP RetAddr Args to Child
0006fc08 7c957b99 7c821d1e 00000198 00000000 ntdll!KiFastSystemCallRet
*** ERROR: Symbol file could not be found. Defaulted to export symbols for kernel32.dll -
0006fc0c 7c821d1e 00000198 00000000 00000000 ntdll!ZwWaitForSingleObject+0xc
WARNING: Stack unwind information not available. Following frames may be wrong.
0006fc7c 7c821c8d 00000198 ffffffff 00000000 kernel32!WaitForSingleObjectEx+0x88
*** ERROR: Symbol file could not be found. Defaulted to export symbols for w3dt.dll -
0006fc90 5a604692 00000198 ffffffff 00000000 kernel32!WaitForSingleObject+0x12
*** ERROR: Module load completed but symbols could not be loaded for w3wp.exe
0006ff0c 0100187c 00000007 002e3bd8 00000000 w3dt!IPM_MESSAGE_PIPE::operator=+0x1b31
0006ff44 01001a27 00000007 002e3bd8 002e46d8 w3wp+0x187c
0006ffc0 7c82f23b 00000000 00000000 7ffdf000 w3wp+0x1a27
0006fff0 00000000 010018f8 00000000 78746341 kernel32!ProcessIdToSessionId+0x209
load the symbols...and just wait....use the common command,like the '!threads',
and it works so slowly,here is the kb result,how to solve this problem?
waitting for a long time,and it shows:
0:000> .load sos
0:000> !threadpool
*** ERROR: Symbol file could not be found. Defaulted to export symbols for mscorwks.dll -
PDB symbol for mscorwks.dll not loaded
Failed to load data access DLL, 0x80004005
Verify that 1) you have a recent build of the debugger (6.2.14 or newer)
2) the file mscordacwks.dll that matches your version of mscorwks.dll is
in the version directory
3) or, if you are debugging a dump file, verify that the file
mscordacwks_<arch>_<arch>_<version>.dll is on your symbol path.
4) you are debugging on the same architecture as the dump file.
For example, an IA64 dump file must be debugged on an IA64
machine.
You can also run the debugger command .cordll to control the debugger's
load of mscordacwks.dll. .cordll -ve -u -l will do a verbose reload.
If that succeeds, the SOS command should work on retry.
If you are debugging a minidump, you need to make sure that your executable
path is pointing to mscorwks.dll as well.
so what's the problem?
Is your Internet connection slow?
WinDBG would fetch some symbol images from Mircosoft's site if they are not locally available. It occurs to me once that windbg almost freezes when loading some symbols because of my slow Internet connection.
Well, windbg is slow. period :)
You can try and use local symbols , but if you are using the MS symbol server be ready for some slow debugging.

IE8 crashing after browsing a site for a few minutes

All,
I've a problem with a site I coded. It works fine under other browsers, but IE8 crashes after clicking around a few times. It doesn't show any error message, just crashes.
I attached WinDbg and made a dump when it crashed. When analyzing the dump WinDbg show this:
This dump file has an exception of interest stored in it.
The stored exception information can be accessed via .ecxr.
(e58.1fa8): Access violation - code c0000005 (first/second chance not available)
eax=00000000 ebx=00000000 ecx=06c00050 edx=00000000 esi=06c00050 edi=06c00050
eip=3cf07b98 esp=016cdb38 ebp=016cdc48 iopl=0 nv up ei pl zr na pe nc
cs=001b ss=0023 ds=0023 es=0023 fs=003b gs=0000 efl=00210246
mshtml!CDoc::OnUrlImgCtxChange+0x242:
3cf07b98 8b4308 mov eax,dword ptr [ebx+8] ds:0023:00000008=????????
0:008> .ecxr
eax=00000000 ebx=00000000 ecx=06c00050 edx=00000000 esi=06c00050 edi=06c00050
eip=3cf07b98 esp=016cdb38 ebp=016cdc48 iopl=0 nv up ei pl zr na pe nc
cs=001b ss=0023 ds=0023 es=0023 fs=003b gs=0000 efl=00210246
mshtml!CDoc::OnUrlImgCtxChange+0x242:
3cf07b98 8b4308 mov eax,dword ptr [ebx+8] ds:0023:00000008=????????
Not sure if this is connected with JS, but I'm using jquery 1.6.2, jquery.fancybox 1.3.4, jquery.orbit 1.2.3, cufon, modernizr 2.0 and HTML5 Boilerplate.[1].
Any idea what it might be or what do try next?
Just to put my own comment as an answer:
This was caused by a JQuery bug #9823
See this other question on SE for more details.

Resources