473,546 Members | 2,289 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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;.relo ad;~*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\Adv isor 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\syst em32\kernel32.d ll
ModLoad: 7c9c0000 7d1d4000 C:\WINDOWS\syst em32\SHELL32.dl l
ModLoad: 77c10000 77c68000 C:\WINDOWS\syst em32\msvcrt.dll
ModLoad: 77f10000 77f56000 C:\WINDOWS\syst em32\GDI32.dll
ModLoad: 77d40000 77dd0000 C:\WINDOWS\syst em32\USER32.dll
ModLoad: 77dd0000 77e6b000 C:\WINDOWS\syst em32\ADVAPI32.d ll
ModLoad: 77e70000 77f01000 C:\WINDOWS\syst em32\RPCRT4.dll
ModLoad: 77f60000 77fd6000 C:\WINDOWS\syst em32\SHLWAPI.dl l
ModLoad: 5d090000 5d127000 C:\WINDOWS\syst em32\COMCTL32.d ll
ModLoad: 77c00000 77c08000 C:\WINDOWS\syst em32\VERSION.dl l
ModLoad: 7c140000 7c22e000 C:\WINDOWS\syst em32\MFC70.DLL
ModLoad: 7c000000 7c054000 C:\WINDOWS\syst em32\MSVCR70.dl l
ModLoad: 74c80000 74cac000 C:\WINDOWS\syst em32\OLEACC.dll
ModLoad: 76080000 760e5000 C:\WINDOWS\syst em32\MSVCP60.dl l
ModLoad: 774e0000 7761c000 C:\WINDOWS\syst em32\ole32.dll
ModLoad: 77120000 771ac000 C:\WINDOWS\syst em32\OLEAUT32.d ll
ModLoad: 763b0000 763f9000 C:\WINDOWS\syst em32\comdlg32.d ll
ModLoad: 7c080000 7c0f7000 C:\WINDOWS\syst em32\MSVCP70.dl l
(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!DbgBreakP oint:
7c901230 cc int 3
0:000> g
ModLoad: 5cb70000 5cb96000 C:\WINDOWS\syst em32\ShimEng.dl l
ModLoad: 6f880000 6fa4a000 C:\WINDOWS\AppP atch\AcGenral.D LL
ModLoad: 76b40000 76b6d000 C:\WINDOWS\syst em32\WINMM.dll
ModLoad: 77be0000 77bf5000 C:\WINDOWS\syst em32\MSACM32.dl l
ModLoad: 769c0000 76a73000 C:\WINDOWS\syst em32\USERENV.dl l
ModLoad: 5ad70000 5ada8000 C:\WINDOWS\syst em32\UxTheme.dl l
ModLoad: 773d0000 774d2000
C:\WINDOWS\WinS xS\x86_Microsof t.Windows.Commo n-Controls_6595b6 4144ccf1df_6.0. 2600.2180_x-ww_a84f1ff9\com ctl32.dll
ModLoad: 10000000 10030000
C:\PROGRA~1\COM MON~1\SYMANT~1\ ANTISPAM\asOEHo ok.dll
ModLoad: 76fd0000 7704f000 C:\WINDOWS\syst em32\CLBCATQ.DL L
ModLoad: 77050000 77115000 C:\WINDOWS\syst em32\COMRes.dll
ModLoad: 20000000 202c5000 C:\WINDOWS\syst em32\xpsp2res.d ll
ModLoad: 7d1e0000 7d492000 C:\WINDOWS\syst em32\msi.dll
ModLoad: 00c40000 00c64000 C:\Program Files\Fidelity
Investments\Adv isor CHANNEL 6.65\AMGlobalHe lpers.dll
ModLoad: 00c70000 00d82000 C:\Program Files\Fidelity
Investments\Adv isor CHANNEL 6.65\AMBusiness .dll
ModLoad: 71b20000 71b32000 C:\WINDOWS\syst em32\MPR.dll
ModLoad: 5fe80000 5fe9b000 C:\WINDOWS\syst em32\odbccp32.d ll
ModLoad: 00d90000 00da7000 C:\WINDOWS\syst em32\odbcint.dl l
ModLoad: 77fe0000 77ff1000 C:\WINDOWS\syst em32\Secur32.dl l
ModLoad: 00db0000 00ded000 C:\Program Files\Fidelity
Investments\Adv isor CHANNEL 6.65\Jet.dll
ModLoad: 1b740000 1b7c8000 C:\Program Files\Common Files\Microsoft
Shared\DAO\dao3 60.dll
ModLoad: 1b000000 1b170000 C:\WINDOWS\syst em32\MSJET40.DL L
ModLoad: 1b5d0000 1b665000 C:\WINDOWS\syst em32\mswstr10.d ll
ModLoad: 0f9a0000 0f9ab000 C:\WINDOWS\syst em32\vbajet32.d ll
ModLoad: 0f9c0000 0fa22000 C:\WINDOWS\syst em32\expsrv.dll
ModLoad: 1b2c0000 1b2cd000 C:\WINDOWS\syst em32\MSJTER40.D LL
ModLoad: 1b2d0000 1b2f6000 C:\WINDOWS\syst em32\MSJINT40.D LL
ModLoad: 1b810000 1b84a000 C:\WINDOWS\Syst em32\msjtes40.d ll
ModLoad: 0f9a0000 0f9ab000 C:\WINDOWS\syst em32\VBAJET32.D LL
ModLoad: 732e0000 732e5000 C:\WINDOWS\syst em32\RichEd32.d ll
ModLoad: 74e30000 74e9c000 C:\WINDOWS\syst em32\RICHED20.d ll
ModLoad: 06de0000 06dfe000 C:\Program Files\Fidelity
Investments\Adv isor CHANNEL 6.65\DABase.dll
ModLoad: 06e00000 06e7c000 C:\Program Files\Apoint2K\ Apoint.DLL
ModLoad: 06e80000 06e8d000 C:\WINDOWS\syst em32\Vxdif.dll
ModLoad: 76ee0000 76f1c000 C:\WINDOWS\syst em32\Rasapi32.d ll
ModLoad: 76e90000 76ea2000 C:\WINDOWS\syst em32\rasman.dll
ModLoad: 71ab0000 71ac7000 C:\WINDOWS\syst em32\WS2_32.dll
ModLoad: 71aa0000 71aa8000 C:\WINDOWS\syst em32\WS2HELP.dl l
ModLoad: 5b860000 5b8b4000 C:\WINDOWS\syst em32\NETAPI32.d ll
ModLoad: 76eb0000 76edf000 C:\WINDOWS\syst em32\TAPI32.dll
ModLoad: 76e80000 76e8e000 C:\WINDOWS\syst em32\rtutils.dl l
ModLoad: 77c70000 77c93000 C:\WINDOWS\syst em32\msv1_0.dll
ModLoad: 76d60000 76d79000 C:\WINDOWS\syst em32\iphlpapi.d ll
ModLoad: 0ffd0000 0fff8000 C:\WINDOWS\syst em32\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\syst em32\kernel32.d ll -
kernel32!RaiseE xception+0x52:
7c81eb33 5e pop esi

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

Nov 17 '05 #1
1 3900

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\syst em32\kernel32.d ll -
kernel32!RaiseE xception+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
5018
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 Event I think the whole OnThreadException routine could be replaced with two lines of code: if (ShowThreadExceptionDialog(t.Exception) ==...
0
248
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 Full Memory: Only application data i available
9
2304
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. // THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER // EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE...
0
918
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 I run the application outside the IDE (but still compiled for debug), I get a system message that an unhandled exception has occurred in my...
3
1836
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 something but my codes breaks at the difition of my class: "Public Class MainForm" ....so I'm assuming that the OutOfMemoryException occurs in the...
1
6306
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 want to, prevent your app from terminating on an unhandled exception, and for me this is important. In an Ivr app it will let me hang up the phone...
7
15663
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 Debugger for the CLR Exceptions And when my debugger hits the TcpClient.Connect statement and the server is not available - I get the following...
5
5138
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, if there is a bug in the program that causes an exception, I want the program to crash. If there is an unhandled exception the program is in an...
6
4768
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 chance exception of type 'System.UnauthorizedAccessException' occurred in Microsoft.VisualBasic.dll A first chance exception of type...
0
7694
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
7947
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7461
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7792
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
1
5360
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
3470
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1921
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1046
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
747
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.