HighTechTalks DotNet Forums  

Exception on Application.Exit()

Dotnet Framework (CLR) microsoft.public.dotnet.framework.clr


Discuss Exception on Application.Exit() in the Dotnet Framework (CLR) forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Armin Prosch
 
Posts: n/a

Default Exception on Application.Exit() - 10-29-2006 , 04:54 PM






Hello,

when my application shuts down via Application.Exit() I get a message box
with the text ["unknown software exception" 0x80000003 on .....]. In the
application I use DirectShow (via directshow.net) and managed DirectX.
Besides that I start a tcp listener in a seperate thread but gracefully close
it via thread.join(number of milliseconds).

This exception did not pop up 5 days ago. Does somebody know where I can
look at when debugging or just a few hints where to look at in the internet
or sdk?

Thanks in advance, Armin


Reply With Quote
  #2  
Old   
Scott M.
 
Posts: n/a

Default Re: Exception on Application.Exit() - 10-29-2006 , 05:29 PM






Not sure about your exception, but why are you not closing the form(s),
rather than calling Application.Exit(), which is a much more abrupt way of
terminating your application?

"Armin Prosch" <ArminProsch (AT) discussions (DOT) microsoft.com> wrote

Quote:
Hello,

when my application shuts down via Application.Exit() I get a message box
with the text ["unknown software exception" 0x80000003 on .....]. In the
application I use DirectShow (via directshow.net) and managed DirectX.
Besides that I start a tcp listener in a seperate thread but gracefully
close
it via thread.join(number of milliseconds).

This exception did not pop up 5 days ago. Does somebody know where I can
look at when debugging or just a few hints where to look at in the
internet
or sdk?

Thanks in advance, Armin




Reply With Quote
  #3  
Old   
Armin Prosch
 
Posts: n/a

Default Re: Exception on Application.Exit() - 11-01-2006 , 02:52 PM



That also doesn't help...

"Scott M." wrote:

Quote:
Not sure about your exception, but why are you not closing the form(s),
rather than calling Application.Exit(), which is a much more abrupt way of
terminating your application?

"Armin Prosch" <ArminProsch (AT) discussions (DOT) microsoft.com> wrote in message
news:2496E759-4C16-43AC-B1C6-5EE1CEBA92AC (AT) microsoft (DOT) com...
Hello,

when my application shuts down via Application.Exit() I get a message box
with the text ["unknown software exception" 0x80000003 on .....]. In the
application I use DirectShow (via directshow.net) and managed DirectX.
Besides that I start a tcp listener in a seperate thread but gracefully
close
it via thread.join(number of milliseconds).

This exception did not pop up 5 days ago. Does somebody know where I can
look at when debugging or just a few hints where to look at in the
internet
or sdk?

Thanks in advance, Armin





Reply With Quote
  #4  
Old   
Oleg Starodumov
 
Posts: n/a

Default Re: Exception on Application.Exit() - 11-02-2006 , 10:15 AM




Can this problem be reproduced under native or mixed mode debugger?
If it can, what are the symptoms (when running under debugger), and what
is on the call stack?

If it cannot be reproduced in that way, try to attach debugger to the application
while it is showing the message, and obtain the call stack.
I would recommend to start with WinDbg or CDB in this case, as shown here:
http://www.debuginfo.com/articles/ea...debugdeadlocks
What will be on the call stack of the thread that is showing the message?

--
Oleg
[VC++ MVP http://www.debuginfo.com/]






Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.