Exception on Application.Exit()

G

Guest

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
 
S

Scott M.

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?
 
G

Guest

That also doesn't help...

Scott M. said:
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 said:
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
 
O

Oleg Starodumov

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/easywindbg.html#debugdeadlocks
What will be on the call stack of the thread that is showing the message?
 

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