This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: SuspendThread failed (win32?)


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]