-----Original Message----- From: ros-dev-bounces@reactos.com [mailto:ros-dev-bounces@reactos.com] On Behalf Of Gunnar Dalsnes Sent: Thursday, November 18, 2004 11:42 PM To: 'ReactOS Development List' Subject: RE: [ros-dev] question about some old changes (hartmut)
Also, you say that if the thread was suspended, the Waiter->WaitListEntry wasn't in any list. But a suspend is implemented as a wait on an semaphore, so the the WaitListEntry should be linked to the semaphore in this case.
I meant the thread was paused after a timer interrupt or an other thread was wake up.
I have tried to undo the changes in the commit and removed the call to KeRemoveAllWaitsThread in PsTerminateCurrentThread, and ros seem to work as before. Do you remeber what triggered the crash? Terminating a suspended thread?
The crash occurs after hitting a ctrl-c while ros was compiled on ros. The bugcheck occurs in a sequence RemoveEntryList/KeRemoveAllWaitsThread. I cannot remember the correct back trace.
- Hartmut