SuspendThread failed (win32?)

Bryce McKinlay mckinlay@redhat.com
Tue Sep 7 17:56:00 GMT 2004


Rutger Ovidius wrote:
>I was trying to track down a threading problem with a sample class,
>but when I run it a popup box says "Fatal error: SuspendThread failed"
>(not the problem I was looking for..). This only seems to be on win32
>in my (brief) testing.
>>Any hints on what I might be doing wrong?
>>
This error comes from the garbage collector. It means that the GC is 
trying to suspend the application's threads so that it can, but the 
win32 SuspendThread call is failing. You can look at this code in 
boehm-gc/win32-threads.c. I havn't heard of this error occuring before. 
Perhaps something is going wrong when registering the threads with the 
GC. A win32 expert, or investigation with gdb (check that the argument 
being passed to SuspendThread looks valid) may be able to tell you more.
Regards
Bryce


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /