-
Bug
-
Resolution: Not an Issue
-
P4
-
None
-
1.1.5
-
x86
-
windows_nt
Name: chT40241 Date: 11/12/97
This propblem is related to 4061955. We were asked to enter a new bug since that one was related to debugging.
When calling to create dialogs from C++ code through JNI it appears that clearing the event queue when the window is disposed is problematic. The window hangs until some other event is entered into the queue such as a mouse movement. This functionality was caused by the fix to 4051487 which adds a special event to the queue and then waits for that event to arrive before destroying the window. The problem appears to be that there is no thread actually pumping the message queue to see this special event. This problem has been around since 1.1.2 and is keeping use from shiping. The current fix in 1.1.5G puts about 500 milliseconds to wait for this special event. This is not really a fix because, since the message queue is not getting pumped, the messages that the original bug was concerned with are not getting handled and can cause the exact same crash. For our product, the long delay before bringing down the dialog sits about as well as the infinitie hang that we had before.
I have previously provided Chuck Hickey with a zip file called TestVM.zip which contains an application that shows this problem.
======================================================================