Infrequent program termination

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Jim McGrail

    #1

    Infrequent program termination

    Background:

    I am investigating a problem involving a windows .NET application that is
    being developed in C# with Visual Studio 2003.

    It is a multi-threaded application that uses MSMQ to communicate between the
    threads.

    The problem is that the program infrequently terminates with no indication
    of why it terminated.

    There are no exceptions thrown and it happens very infrequently (1 in 300
    executions).

    The termination appears to be caused by an interaction of events and cannot
    be recreated (doing the same actions will not cause the termination).

    Questions:

    Can a program terminate with no indication of what caused the termination
    (no exception thrown)?

    Could this be caused by thread blocking / waiting? (This doesn't seem
    likely)

    Could this be caused by thread deadlock? (This doesn't seem likely either)

    Does anyone have any experiences similar to this one?


Working...