Subj : Threads terminate with no exception To : comp.programming.threads From : Timothy Madden Date : Mon Jul 11 2005 08:22 pm Hello I have a strange problem in my WinNT service application. I use Win2000 SP4, Visual C++ 6.0 SP6 and WinDbg. The problem is sometimes my threads terminate unexpectedly and wiht no exception. They just vanish. WinDbg stops at an ntdll!NtTerminateThread+0xb function without normally returning all functions listed in Calls stack. I told it to display notifications if unknown exceptions occur and it displays nothing. Once I've seen a message like this in Visual C++ debuger: 'Exception 0x0000006 (Unknonwn name)'. I use catch(...) in all my thread functions and no exception is catched I can not even reproduce the error. It seams to manifest after I signal an event indicating a shutdown request to all threads (they all wait on this event any time they need to syncronise). This event gets signaled after an exception indicating an error or after an user request to stop my service. Anyone knows what could produce this behaviour and why could threads terminate silently and with no error ? Thank you "Timothy Madden" Romania .