Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

tank control apllication exits

Hello

 

i have an application with an tank control. In some kinds the application is closed without an Exception when the ctor ist called. The following exit code ist sended to the Trace

 

Das Programm "[2224] TTStudio.vshost.exe: Verwaltet" wurde mit Code -1073741819 (0xc0000005) beendet."

 

 

Has somebody an Idea?

 

Best regards

 

Gerald

0 Kudos
Message 1 of 7
(4,607 Views)

Here is an Dump from the WinDbg Tool

 

ModLoad: 09660000 096b2000   C:\Projekte\Visual Studio\Develop\Solutions\TTStudio.Master\SEW.Test.TTStudio.Main\bin\Debug\NationalInstruments.UI.WindowsForms.dll
ModLoad: 096c0000 09830000   image096c0000
ModLoad: 09830000 099a0000   image09830000
ModLoad: 096c0000 09830000   C:\Projekte\Visual Studio\Develop\Solutions\TTStudio.Master\SEW.Test.TTStudio.Main\bin\Debug\NationalInstruments.UI.dll
ModLoad: 09c40000 09c78000   image09c40000
ModLoad: 09c80000 09cb8000   image09c80000
ModLoad: 09c40000 09c78000   C:\Projekte\Visual Studio\Develop\Solutions\TTStudio.Master\SEW.Test.TTStudio.Main\bin\Debug\NationalInstruments.Common.dll
ModLoad: 725b0000 72622000   C:\Windows\system32\RichEd20.DLL
ModLoad: 16ab0000 16b1e000   image16ab0000
ModLoad: 09530000 0959e000   image09530000
ModLoad: 16ab0000 16b1e000   C:\Projekte\Visual Studio\Develop\Solutions\TTStudio.Master\SEW.Test.TTStudio.Main\bin\Debug\NationalInstruments.UI.Styles3D.dll
ModLoad: 72060000 720e7000   C:\Windows\WinSxS\x86_microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.1434_none_d08b6002442c891f\MSVCP80.dll
ModLoad: 74f40000 74f45000   C:\Windows\system32\MSIMG32.dll
(1414.140c): Unknown exception - code c0000090 (first chance)
(1414.140c): Unknown exception - code c0000090 (first chance)
(1414.140c): Unknown exception - code c0000090 (first chance)
(1414.140c): Unknown exception - code c0000090 (first chance)
(1414.140c): Unknown exception - code c0000090 (first chance)
(1414.140c): Unknown exception - code c0000090 (first chance)
(1414.140c): Unknown exception - code c0000090 (first chance)
(1414.140c): Access violation - code c0000005 (first chance)
First chance exceptions are reported before any exception handling.
This exception may be expected and handled.
eax=7747ec3c ebx=7a39e528 ecx=00000000 edx=00000004 esi=000713c0 edi=7a39e514
eip=7702d292 esp=00070ee8 ebp=00071264 iopl=0         nv up ei pl nz na pe nc
cs=001b  ss=0023  ds=0023  es=0023  fs=003b  gs=0000             efl=00010206
ntdll!RtlUnwind+0x15:
7702d292 56              push    esi

0 Kudos
Message 2 of 7
(4,594 Views)
How does the Visual Studio stack trace look?
0 Kudos
Message 3 of 7
(4,591 Views)

Hello KrisJa

 

I don´t have an Stack trace because when the I can´t set an breakPoint

 

Best regards

 

Gerald

0 Kudos
Message 4 of 7
(4,589 Views)

Is this a precompiled executable or do you have the sourcecode?

 

If you have the source you should be able to run in Debug mode and if an unhandled exception happens in that case, you should be kicked into VS studio where you can get the stack trace... Normally you don' t need breakpoints for that.

 

Or I am missing something?

0 Kudos
Message 5 of 7
(4,580 Views)
I can debug until the contructor of the TankControl is called. When I take the step Into the ctor of the tank control the Application exits and no try catch block is able to cath this exception. 
0 Kudos
Message 6 of 7
(4,578 Views)
But what if you just remove the try catch? You should be able to get a stack trace in that case, because the exception will be unhandled... I recently had a first chance exception happening here and I could see it happening in VS..
0 Kudos
Message 7 of 7
(4,576 Views)