Second Chance Exception Terminates Application

M

MKJ

Oleg said:
*You can download Debugging Tools for Windows and install them:
http://www.microsoft.com/whdc/ddk/debugging/default.mspx

Then run the following command at the moment when you see the erro
message:
cdb -pn AM665.exe -pv -c ".dump c:\am665.dmp;q"

It will produce the minidump file in c:\am665.dmp (you can us
another path/file name
if you want). You can send this dump to developers of th
application,
it will help them to analyze the problem.

After you have made the minidump, you can run another command an
post
its output here, so that we could see where is the reason of th
error:

cdb -z c:\am665.dmp -c ".symfix c:\symdir;.reload;~*kv;q"

Note that this command will download symbols from Microsoft symbo
server
to c:\symdir directory, which must exist before running the command
(you can use any other directory, of course).

Regards,
Oleg *


Thanks, Oleg.

So far, I have done the following:

1. Downloaded the Debugger Tools
2. Run application to generate the error
3. Tried to execute the command you mentioned. My system tells m
that it does not recognize "cdb"
4. Ran the program in the GUI Debugger (windbg.exe) and was able t
generate what is posted below.
5. I will keep working and try to figure out how get the system t
recognize the cdb command.

CommandLine: "C:\Program Files\Fidelity Investments\Advisor CHANNE
6.65\AM665.exe"
Symbol search path is: *** Invalid ***
****************************************************************************
* Symbol loading may be unreliable without a symbol search path.
*
* Use .symfix to have the debugger choose a symbol path.
*
* After setting your symbol path, use .reload to refresh symbo
locations. *
****************************************************************************
Executable search path is:
ModLoad: 00400000 004a6000 image00400000
ModLoad: 7c900000 7c9b0000 ntdll.dll
ModLoad: 7c800000 7c8f4000 C:\WINDOWS\system32\kernel32.dll
ModLoad: 7c9c0000 7d1d4000 C:\WINDOWS\system32\SHELL32.dll
ModLoad: 77c10000 77c68000 C:\WINDOWS\system32\msvcrt.dll
ModLoad: 77f10000 77f56000 C:\WINDOWS\system32\GDI32.dll
ModLoad: 77d40000 77dd0000 C:\WINDOWS\system32\USER32.dll
ModLoad: 77dd0000 77e6b000 C:\WINDOWS\system32\ADVAPI32.dll
ModLoad: 77e70000 77f01000 C:\WINDOWS\system32\RPCRT4.dll
ModLoad: 77f60000 77fd6000 C:\WINDOWS\system32\SHLWAPI.dll
ModLoad: 5d090000 5d127000 C:\WINDOWS\system32\COMCTL32.dll
ModLoad: 77c00000 77c08000 C:\WINDOWS\system32\VERSION.dll
ModLoad: 7c140000 7c22e000 C:\WINDOWS\system32\MFC70.DLL
ModLoad: 7c000000 7c054000 C:\WINDOWS\system32\MSVCR70.dll
ModLoad: 74c80000 74cac000 C:\WINDOWS\system32\OLEACC.dll
ModLoad: 76080000 760e5000 C:\WINDOWS\system32\MSVCP60.dll
ModLoad: 774e0000 7761c000 C:\WINDOWS\system32\ole32.dll
ModLoad: 77120000 771ac000 C:\WINDOWS\system32\OLEAUT32.dll
ModLoad: 763b0000 763f9000 C:\WINDOWS\system32\comdlg32.dll
ModLoad: 7c080000 7c0f7000 C:\WINDOWS\system32\MSVCP70.dll
(e4c.bf4): Break instruction exception - code 80000003 (first chance)
eax=00251ea4 ebx=7ffd7000 ecx=00000000 edx=00000001 esi=00251f1
edi=00251ea4
eip=7c901230 esp=0013fb20 ebp=0013fc94 iopl=0 nv up ei pl nz n
pe nc
cs=001b ss=0023 ds=0023 es=0023 fs=003b gs=0000
efl=00000202
*** ERROR: Symbol file could not be found. Defaulted to export symbol
for ntdll.dll -
ntdll!DbgBreakPoint:
7c901230 cc int 3
0:000> g
ModLoad: 5cb70000 5cb96000 C:\WINDOWS\system32\ShimEng.dll
ModLoad: 6f880000 6fa4a000 C:\WINDOWS\AppPatch\AcGenral.DLL
ModLoad: 76b40000 76b6d000 C:\WINDOWS\system32\WINMM.dll
ModLoad: 77be0000 77bf5000 C:\WINDOWS\system32\MSACM32.dll
ModLoad: 769c0000 76a73000 C:\WINDOWS\system32\USERENV.dll
ModLoad: 5ad70000 5ada8000 C:\WINDOWS\system32\UxTheme.dll
ModLoad: 773d0000 774d2000
C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.2180_x-ww_a84f1ff9\comctl32.dll
ModLoad: 10000000 10030000
C:\PROGRA~1\COMMON~1\SYMANT~1\ANTISPAM\asOEHook.dll
ModLoad: 76fd0000 7704f000 C:\WINDOWS\system32\CLBCATQ.DLL
ModLoad: 77050000 77115000 C:\WINDOWS\system32\COMRes.dll
ModLoad: 20000000 202c5000 C:\WINDOWS\system32\xpsp2res.dll
ModLoad: 7d1e0000 7d492000 C:\WINDOWS\system32\msi.dll
ModLoad: 00c40000 00c64000 C:\Program Files\Fidelity
Investments\Advisor CHANNEL 6.65\AMGlobalHelpers.dll
ModLoad: 00c70000 00d82000 C:\Program Files\Fidelity
Investments\Advisor CHANNEL 6.65\AMBusiness.dll
ModLoad: 71b20000 71b32000 C:\WINDOWS\system32\MPR.dll
ModLoad: 5fe80000 5fe9b000 C:\WINDOWS\system32\odbccp32.dll
ModLoad: 00d90000 00da7000 C:\WINDOWS\system32\odbcint.dll
ModLoad: 77fe0000 77ff1000 C:\WINDOWS\system32\Secur32.dll
ModLoad: 00db0000 00ded000 C:\Program Files\Fidelity
Investments\Advisor CHANNEL 6.65\Jet.dll
ModLoad: 1b740000 1b7c8000 C:\Program Files\Common Files\Microsoft
Shared\DAO\dao360.dll
ModLoad: 1b000000 1b170000 C:\WINDOWS\system32\MSJET40.DLL
ModLoad: 1b5d0000 1b665000 C:\WINDOWS\system32\mswstr10.dll
ModLoad: 0f9a0000 0f9ab000 C:\WINDOWS\system32\vbajet32.dll
ModLoad: 0f9c0000 0fa22000 C:\WINDOWS\system32\expsrv.dll
ModLoad: 1b2c0000 1b2cd000 C:\WINDOWS\system32\MSJTER40.DLL
ModLoad: 1b2d0000 1b2f6000 C:\WINDOWS\system32\MSJINT40.DLL
ModLoad: 1b810000 1b84a000 C:\WINDOWS\System32\msjtes40.dll
ModLoad: 0f9a0000 0f9ab000 C:\WINDOWS\system32\VBAJET32.DLL
ModLoad: 732e0000 732e5000 C:\WINDOWS\system32\RichEd32.dll
ModLoad: 74e30000 74e9c000 C:\WINDOWS\system32\RICHED20.dll
ModLoad: 06de0000 06dfe000 C:\Program Files\Fidelity
Investments\Advisor CHANNEL 6.65\DABase.dll
ModLoad: 06e00000 06e7c000 C:\Program Files\Apoint2K\Apoint.DLL
ModLoad: 06e80000 06e8d000 C:\WINDOWS\system32\Vxdif.dll
ModLoad: 76ee0000 76f1c000 C:\WINDOWS\system32\Rasapi32.dll
ModLoad: 76e90000 76ea2000 C:\WINDOWS\system32\rasman.dll
ModLoad: 71ab0000 71ac7000 C:\WINDOWS\system32\WS2_32.dll
ModLoad: 71aa0000 71aa8000 C:\WINDOWS\system32\WS2HELP.dll
ModLoad: 5b860000 5b8b4000 C:\WINDOWS\system32\NETAPI32.dll
ModLoad: 76eb0000 76edf000 C:\WINDOWS\system32\TAPI32.dll
ModLoad: 76e80000 76e8e000 C:\WINDOWS\system32\rtutils.dll
ModLoad: 77c70000 77c93000 C:\WINDOWS\system32\msv1_0.dll
ModLoad: 76d60000 76d79000 C:\WINDOWS\system32\iphlpapi.dll
ModLoad: 0ffd0000 0fff8000 C:\WINDOWS\system32\rsaenh.dll
(e4c.bf4): C++ EH exception - code e06d7363 (first chance)
(e4c.bf4): C++ EH exception - code e06d7363 (!!! second chance !!!)
eax=0013f51c ebx=77d4e2ae ecx=00000000 edx=00000003 esi=0013f5ac
edi=0013f5ac
eip=7c81eb33 esp=0013f518 ebp=0013f56c iopl=0 nv up ei pl nz na
po nc
cs=001b ss=0023 ds=0023 es=0023 fs=003b gs=0000
efl=00000206
*** ERROR: Symbol file could not be found. Defaulted to export symbols
for C:\WINDOWS\system32\kernel32.dll -
kernel32!RaiseException+0x52:
7c81eb33 5e pop esi
 
O

Oleg Starodumov

So far, I have done the following:

1. Downloaded the Debugger Tools
2. Run application to generate the error
3. Tried to execute the command you mentioned. My system tells me
that it does not recognize "cdb"

You should run it from the installation directory of Debugging Tools,
it is located there. But it is not important now.
4. Ran the program in the GUI Debugger (windbg.exe) and was able to
generate what is posted below.

Good work!
(e4c.bf4): C++ EH exception - code e06d7363 (first chance)
(e4c.bf4): C++ EH exception - code e06d7363 (!!! second chance !!!)
eax=0013f51c ebx=77d4e2ae ecx=00000000 edx=00000003 esi=0013f5ac
edi=0013f5ac
eip=7c81eb33 esp=0013f518 ebp=0013f56c iopl=0 nv up ei pl nz na
po nc
cs=001b ss=0023 ds=0023 es=0023 fs=003b gs=0000
efl=00000206
*** ERROR: Symbol file could not be found. Defaulted to export symbols
for C:\WINDOWS\system32\kernel32.dll -
kernel32!RaiseException+0x52:
7c81eb33 5e pop esi

There is an unhandled C++ exception.

Now please run "kv" command and post its output here.
It will let us see which module is throwing the exception.
(The command can display some error and warning messages,
but don't worry about them, just post as it is)

Since you have also managed to produce the dump,
you can load the dump and run "kv" there, without reproducing
the problem one more time.

Regards,
Oleg
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top