473,395 Members | 1,422 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Second Chance Exception Terminates Application

MKJ

Oleg Starodumov wrote:
*You can download Debugging Tools for Windows and install them:
http://www.microsoft.com/whdc/ddk/de...g/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.dl l
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

--
MKJ
------------------------------------------------------------------------
Posted via http://www.codecomments.com
------------------------------------------------------------------------

Nov 17 '05 #1
1 3871

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


Nov 17 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: orekinbck | last post by:
Hi There I'm probably missing something fundamental here but I don't understand the code in the OnThreadException routine, which is found in MSDN under the topic: Application.ThreadException...
0
by: MKJ | last post by:
Following is the MiniDump File. Microsoft (R) Windows Debugger Version 6.3.0017.0 Copyright (c) Microsoft Corporation. All rights reserved. Loading Dump File User Mini Dump File with...
9
by: RalphTheExpert | last post by:
I'm getting different behavior if my code is running under the debugger or not. I have modified Winmain to look like this: // Copyright (C) 2002 Microsoft Corporation // All rights reserved....
0
by: Charles Law | last post by:
If I throw an exception in my application when running in debug in the IDE, I can single step up the chain until I display a message box detailing the error. The application then terminates. If...
3
by: elziko | last post by:
I have a procedure that creates a bitmap of a certain size and then displays it in a 3rd party component. However, if the bitmap is very large then a System.OutOfMemoryException is thrown my...
1
by: Bob | last post by:
In Vs 2005 you have new applicationsEvents.vb I was testing it in a simple app and found that it was easier to implement unhandled exception management tah it was in Vs2003 (vb.net) You can, if you...
7
by: illegal.prime | last post by:
Hi all, I've got a client/server application and just wanted to ensure that this is expected behavior. I recently set the following configuration in Visual Studio: Debug->Exceptions->Break Into...
5
by: =?Utf-8?B?c3VydHVyeg==?= | last post by:
Hi, I feel like a noob for asking this. When I publish a VB windows application, I want to disable the ability of the the user to continue when there is an unhandled exception. For example,...
6
by: zubair1 | last post by:
Hi, Today, i added some new code which was to see if a file is locked or not (in use by another application). While i did that it was showing me some errors like in the Output window:- A first...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.